diff options
author | Robert Bays <rbays@roatan.(none)> | 2010-06-08 12:26:44 -0700 |
---|---|---|
committer | Robert Bays <rbays@roatan.(none)> | 2010-06-08 12:26:44 -0700 |
commit | 85012ac0520e0662e6cf321c745bb988b191184a (patch) | |
tree | e653bf579aaccf9467d33a974a7b952d2201544f /scripts/bgp/vyatta-bgp.pl | |
parent | 1e8d7504c3074d78c7078b601404a510211ed3be (diff) | |
download | vyatta-cfg-quagga-85012ac0520e0662e6cf321c745bb988b191184a.tar.gz vyatta-cfg-quagga-85012ac0520e0662e6cf321c745bb988b191184a.zip |
fix for bug 874: allow setting administrative distance
Diffstat (limited to 'scripts/bgp/vyatta-bgp.pl')
-rwxr-xr-x | scripts/bgp/vyatta-bgp.pl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl index ae496a65..444f6bde 100755 --- a/scripts/bgp/vyatta-bgp.pl +++ b/scripts/bgp/vyatta-bgp.pl @@ -611,6 +611,26 @@ my %qcom = ( set => 'router bgp #3 ; no bgp network import-check', del => 'router bgp #3 ; bgp network import-check', }, + 'protocols bgp var parameters distance' => { + set => undef, + del => undef, + }, + 'protocols bgp var parameters distance global' => { + set => 'router bgp #3 ; distance bgp @external @internal @local', + del => 'router bgp #3 ; no distance bgp', + }, + 'protocols bgp var parameters distance prefix' => { + set => undef, + del => undef, + }, + 'protocols bgp var parameters distance prefix var' => { + set => undef, + del => undef, + }, + 'protocols bgp var parameters distance prefix var distance' => { + set => 'router bgp #3 ; distance #9 #7 ', + del => 'router bgp #3 ; no distance #9 #7', + }, 'protocols bgp var parameters enforce-first-as' => { set => 'router bgp #3 ; bgp enforce-first-as', del => 'router bgp #3 ; no bgp enforce-first-as', |