summaryrefslogtreecommitdiff
path: root/scripts/bgp/vyatta-bgp.pl
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-09 17:43:36 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-09 17:43:36 -0700
commit6cfb22fef8cd535657abab13c4a0e34763498fa4 (patch)
treec7f7be2c3927f1d81fbe01cf4ec71b4a98e0714f /scripts/bgp/vyatta-bgp.pl
parented9ffaed671f21e9e6e32e49d3fb0a491cf46804 (diff)
downloadvyatta-cfg-quagga-6cfb22fef8cd535657abab13c4a0e34763498fa4.tar.gz
vyatta-cfg-quagga-6cfb22fef8cd535657abab13c4a0e34763498fa4.zip
Add ttl-security option to peer-group
Add ttl-security value as peer-group option. Also validate the range of ttl-security setting.
Diffstat (limited to 'scripts/bgp/vyatta-bgp.pl')
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index b2119dbc..849b4284 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -1009,6 +1009,10 @@ my %qcom = (
set => 'router bgp #3 ; neighbor #5 timers connect #8',
del => 'router bgp #3 ; no neighbor #5 timers connect #8',
},
+ 'protocols bgp var peer-group var ttl-security hops' => {
+ set => 'router bgp #3 ; neighbor #5 ttl-security hops #8',
+ del => 'router bgp #3 ; no neighbor #5 ttl-security hops #8',
+ },
'protocols bgp var peer-group var unsuppress-map' => {
set => 'router bgp #3 ; neighbor #5 unsuppress-map #7',
del => 'router bgp #3 ; no neighbor #5 unsuppress-map #7',