diff options
Diffstat (limited to 'templates/protocols/bgp/node.def')
-rw-r--r-- | templates/protocols/bgp/node.def | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/protocols/bgp/node.def b/templates/protocols/bgp/node.def index 520da78f..1c56426e 100644 --- a/templates/protocols/bgp/node.def +++ b/templates/protocols/bgp/node.def @@ -4,8 +4,9 @@ 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 +create: vyatta-vtysh -c "configure terminal" -c "router bgp $VAR(@)" 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 |