summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl16
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv4-unicast/remove-private-as/all/node.def1
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv6-unicast/remove-private-as/all/node.def1
-rw-r--r--templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv4-unicast/remove-private-as/all/node.def1
-rw-r--r--templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv6-unicast/remove-private-as/all/node.def1
5 files changed, 20 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index 9b8d0a3a..07bef63d 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -370,6 +370,10 @@ my %qcom = (
set => 'router bgp #3 ; address-family ipv6 ; neighbor #5 remove-private-AS',
del => 'router bgp #3 ; address-family ipv6 ; no neighbor #5 remove-private-AS',
},
+ 'protocols bgp var neighbor var address-family ipv6-unicast remove-private-as all' => {
+ set => 'router bgp #3 ; address-family ipv6 ; neighbor #5 remove-private-AS all',
+ del => 'router bgp #3 ; address-family ipv6 ; no neighbor #5 remove-private-AS all',
+ },
'protocols bgp var neighbor var address-family ipv6-unicast route-map' => {
set => undef,
del => undef,
@@ -514,6 +518,10 @@ my %qcom = (
set => 'router bgp #3 ; address-family ipv4 unicast ; neighbor #5 remove-private-AS',
del => 'router bgp #3 ; address-family ipv4 unicast ; no neighbor #5 remove-private-AS',
},
+ 'protocols bgp var neighbor var address-family ipv4-unicast remove-private-as all' => {
+ set => 'router bgp #3 ; address-family ipv4 unicast ; neighbor #5 remove-private-AS all',
+ del => 'router bgp #3 ; address-family ipv4 unicast ; no neighbor #5 remove-private-AS all',
+ },
'protocols bgp var neighbor var address-family ipv4-unicast route-map' => {
set => undef,
del => undef,
@@ -964,6 +972,10 @@ my %qcom = (
set => 'router bgp #3 ; address-family ipv6 ; neighbor #5 remove-private-AS',
del => 'router bgp #3 ; address-family ipv6 ; no neighbor #5 remove-private-AS',
},
+ 'protocols bgp var peer-group var address-family ipv6-unicast remove-private-as all' => {
+ set => 'router bgp #3 ; address-family ipv6 ; neighbor #5 remove-private-AS all',
+ del => 'router bgp #3 ; address-family ipv6 ; no neighbor #5 remove-private-AS all',
+ },
'protocols bgp var peer-group var address-family ipv6-unicast route-map' => {
set => undef,
del => undef,
@@ -1106,6 +1118,10 @@ my %qcom = (
set => 'router bgp #3 ; address-family ipv4 unicast ; neighbor #5 remove-private-AS',
del => 'router bgp #3 ; address-family ipv4 unicast ; no neighbor #5 remove-private-AS',
},
+ 'protocols bgp var peer-group var address-family ipv4-unicast remove-private-as all' => {
+ set => 'router bgp #3 ; address-family ipv4 unicast ; neighbor #5 remove-private-AS all',
+ del => 'router bgp #3 ; address-family ipv4 unicast ; no neighbor #5 remove-private-AS all',
+ },
'protocols bgp var peer-group var address-family ipv4-unicast route-map' => {
set => undef,
del => undef,
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv4-unicast/remove-private-as/all/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv4-unicast/remove-private-as/all/node.def
new file mode 100644
index 00000000..d57afa6d
--- /dev/null
+++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv4-unicast/remove-private-as/all/node.def
@@ -0,0 +1 @@
+help: Remove private AS numbers to all AS numbers in outbound route updates
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv6-unicast/remove-private-as/all/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv6-unicast/remove-private-as/all/node.def
new file mode 100644
index 00000000..d57afa6d
--- /dev/null
+++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/address-family/ipv6-unicast/remove-private-as/all/node.def
@@ -0,0 +1 @@
+help: Remove private AS numbers to all AS numbers in outbound route updates
diff --git a/templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv4-unicast/remove-private-as/all/node.def b/templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv4-unicast/remove-private-as/all/node.def
new file mode 100644
index 00000000..d57afa6d
--- /dev/null
+++ b/templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv4-unicast/remove-private-as/all/node.def
@@ -0,0 +1 @@
+help: Remove private AS numbers to all AS numbers in outbound route updates
diff --git a/templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv6-unicast/remove-private-as/all/node.def b/templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv6-unicast/remove-private-as/all/node.def
new file mode 100644
index 00000000..d57afa6d
--- /dev/null
+++ b/templates/protocols/bgp/node.tag/peer-group/node.tag/address-family/ipv6-unicast/remove-private-as/all/node.def
@@ -0,0 +1 @@
+help: Remove private AS numbers to all AS numbers in outbound route updates