diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-09 17:43:36 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-09 17:43:36 -0700 |
commit | 6cfb22fef8cd535657abab13c4a0e34763498fa4 (patch) | |
tree | c7f7be2c3927f1d81fbe01cf4ec71b4a98e0714f /scripts | |
parent | ed9ffaed671f21e9e6e32e49d3fb0a491cf46804 (diff) | |
download | vyatta-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')
-rwxr-xr-x | scripts/bgp/vyatta-bgp.pl | 4 |
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', |