diff options
author | Robert Bays <robert@vyatta.com> | 2010-07-09 15:21:07 -0700 |
---|---|---|
committer | Robert Bays <robert@vyatta.com> | 2010-07-09 15:21:07 -0700 |
commit | 76ab11b901ba09c3f715ad8ef89a3ff8222d7a03 (patch) | |
tree | 13c654a6a9df109d88f98b83689b21353d6359f4 /templates | |
parent | 190fe5814fff85932eaf83fff0e60927de046dd7 (diff) | |
download | vyatta-cfg-quagga-76ab11b901ba09c3f715ad8ef89a3ff8222d7a03.tar.gz vyatta-cfg-quagga-76ab11b901ba09c3f715ad8ef89a3ff8222d7a03.zip |
fixes for local-as and confederations
Diffstat (limited to 'templates')
-rw-r--r-- | templates/protocols/bgp/node.tag/neighbor/node.tag/local-as/node.def | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/local-as/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/local-as/node.def index 54826976..353a492b 100644 --- a/templates/protocols/bgp/node.tag/neighbor/node.tag/local-as/node.def +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/local-as/node.def @@ -1,7 +1,9 @@ -tag: +tag:1 type: u32 help: Set the local AS number [REQUIRED] comp_help: possible completions: <1-4294967294> local AS number syntax:expression: $VAR(@) >=1 && $VAR(@) <= 4294967294; "local-as must be between 1 and 4294967294" commit:expression: $VAR(@) != $VAR(../../@); "protocols bgp $VAR(../../@) neighbor $VAR(../@): you can't set local-as the same as the router AS" +commit:expression: $VAR(../remote-as/@) != $VAR(../../@); "protocols bgp $VAR(../../@) neighbor $VAR(../@): local-as can't be set on iBGP peers" +commit:expression: $VAR(../remote-as/@) != $VAR(../../parameters/confederation/peers/@); "protocols bgp $VAR(../../@) neighbor $VAR(../@): local-as can't be set on a confederation peer" |