From 6cfb22fef8cd535657abab13c4a0e34763498fa4 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 9 Jul 2010 17:43:36 -0700 Subject: Add ttl-security option to peer-group Add ttl-security value as peer-group option. Also validate the range of ttl-security setting. --- scripts/bgp/vyatta-bgp.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/bgp') 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', -- cgit v1.2.3