diff options
author | Stig Thormodsrud <stig@io.vyatta.com> | 2009-02-19 14:15:15 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@io.vyatta.com> | 2009-02-19 14:15:15 -0800 |
commit | 94f29c51c3f71f022071321970b11580d0b1f699 (patch) | |
tree | e57c21c2b42ab7634de615286de885d98ec01ff2 /templates/protocols/bgp | |
parent | c45f7b9f8daae3b96c76fac3363a507c22b9d9f3 (diff) | |
parent | 2e3fcceeb92aad18ba5eb62fb2403ce035493d12 (diff) | |
download | vyatta-cfg-quagga-94f29c51c3f71f022071321970b11580d0b1f699.tar.gz vyatta-cfg-quagga-94f29c51c3f71f022071321970b11580d0b1f699.zip |
Merge branch 'jenner' of http://git.vyatta.com/vyatta-cfg-quagga into jenner
Diffstat (limited to 'templates/protocols/bgp')
-rw-r--r-- | templates/protocols/bgp/node.def | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/protocols/bgp/node.def b/templates/protocols/bgp/node.def index 520da78f..803362db 100644 --- a/templates/protocols/bgp/node.def +++ b/templates/protocols/bgp/node.def @@ -4,8 +4,11 @@ help: Configure Border Gateway Protocol (BGP) parameters comp_help: \1 <1-4294967294>\tAS number syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967294 ; \ "AS number must be between 1 and 4294967294" - +begin: sudo /opt/vyatta/sbin/quagga-manager start bgpd +update: vyatta-vtysh -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 as we don't know the AS number at that point update: vyatta-vtysh -c "configure terminal" -c "router bgp $VAR(@)" \ -c "bgp network import-check" - - +delete: vyatta-vtysh -c "configure terminal" -c "no router bgp $VAR(@)" +end: sudo /opt/vyatta/sbin/quagga-manager update |