diff options
author | rbalocca <rbalocca@vyatta.com> | 2008-03-29 13:22:49 -0700 |
---|---|---|
committer | rbalocca <rbalocca@vyatta.com> | 2008-03-29 13:22:49 -0700 |
commit | 90634a97823497667468e2faba8dac05b8aa3b2b (patch) | |
tree | f0fc1b050ba68d88ccce466f4bf1c8201502354c /templates/protocols/bgp/node.def | |
parent | 918fd7e1d19554575963fd02a3c80d0e5b49c833 (diff) | |
parent | 6f4c8265f09ac6d6efd113598bbd65454d7a4865 (diff) | |
download | vyatta-cfg-quagga-90634a97823497667468e2faba8dac05b8aa3b2b.tar.gz vyatta-cfg-quagga-90634a97823497667468e2faba8dac05b8aa3b2b.zip |
Merge branch 'glendale' into hollywood
Diffstat (limited to 'templates/protocols/bgp/node.def')
-rw-r--r-- | templates/protocols/bgp/node.def | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/templates/protocols/bgp/node.def b/templates/protocols/bgp/node.def index c1b84c57..c656ab50 100644 --- a/templates/protocols/bgp/node.def +++ b/templates/protocols/bgp/node.def @@ -1,9 +1,10 @@ tag: type: u32 -help: Configure a BGP Autonomous System on this router +help: Configure BGP protocol +comp_help: \1 <1-4294967294>\tAS number syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967294; "AS number must be between 1 and 4294967294" -update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router bgp $VAR(@)\" " +update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "router bgp $VAR(@)" # we need to set default parameters in BGP here since we can't do it in -# startup scripts because we don't know the AS number -update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router bgp $VAR(@)\" -c \"bgp network import-check\" " -delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"no router bgp $VAR(@)\" " +# startup scripts as we don't know the AS number at that point +update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "router bgp $VAR(@)" -c "bgp network import-check" +delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "no router bgp $VAR(@)" |