diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-08-04 21:15:38 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-08-04 21:15:38 +0200 |
commit | be69070e2449d8437a2fe0cde82c501edc8c19ad (patch) | |
tree | 1f4617190c5347fbbc0d15bbe06a7e52effe4b87 /docs/configexamples | |
parent | 30ea3e8f98970ce8165d6dcdfd26bb2ccaa0ef0e (diff) | |
download | vyos-documentation-be69070e2449d8437a2fe0cde82c501edc8c19ad.tar.gz vyos-documentation-be69070e2449d8437a2fe0cde82c501edc8c19ad.zip |
bgp: T4257: changing BGP "local-as" to "system-as"
Diffstat (limited to 'docs/configexamples')
-rw-r--r-- | docs/configexamples/azure-vpn-bgp.rst | 2 | ||||
-rw-r--r-- | docs/configexamples/azure-vpn-dual-bgp.rst | 2 | ||||
-rw-r--r-- | docs/configexamples/bgp-ipv6-unnumbered.rst | 4 | ||||
-rw-r--r-- | docs/configexamples/ha.rst | 2 | ||||
-rw-r--r-- | docs/configexamples/inter-vrf-routing-vrf-lite.rst | 16 | ||||
-rw-r--r-- | docs/configexamples/l3vpn-hub-and-spoke.rst | 22 |
6 files changed, 24 insertions, 24 deletions
diff --git a/docs/configexamples/azure-vpn-bgp.rst b/docs/configexamples/azure-vpn-bgp.rst index 7dc2f332..11d5a78b 100644 --- a/docs/configexamples/azure-vpn-bgp.rst +++ b/docs/configexamples/azure-vpn-bgp.rst @@ -122,7 +122,7 @@ Vyos configuration .. code-block:: none - set protocols bgp local-as 64499 + set protocols bgp system-as 64499 set protocols bgp neighbor 10.0.0.4 remote-as '65540' set protocols bgp neighbor 10.0.0.4 address-family ipv4-unicast soft-reconfiguration 'inbound' set protocols bgp neighbor 10.0.0.4 timers holdtime '30' diff --git a/docs/configexamples/azure-vpn-dual-bgp.rst b/docs/configexamples/azure-vpn-dual-bgp.rst index 8cf2c0ef..fc8e8bdb 100644 --- a/docs/configexamples/azure-vpn-dual-bgp.rst +++ b/docs/configexamples/azure-vpn-dual-bgp.rst @@ -138,7 +138,7 @@ Vyos configuration .. code-block:: none - set protocols bgp local-as 64499 + set protocols bgp system-as 64499 set protocols bgp neighbor 10.0.0.4 remote-as '65540' set protocols bgp neighbor 10.0.0.4 address-family ipv4-unicast soft-reconfiguration 'inbound' set protocols bgp neighbor 10.0.0.4 timers holdtime '30' diff --git a/docs/configexamples/bgp-ipv6-unnumbered.rst b/docs/configexamples/bgp-ipv6-unnumbered.rst index d8965b6b..f7a530d8 100644 --- a/docs/configexamples/bgp-ipv6-unnumbered.rst +++ b/docs/configexamples/bgp-ipv6-unnumbered.rst @@ -15,7 +15,7 @@ Configuration .. code-block:: none - set protocols bgp local-as 64496 + set protocols bgp system-as 64496 set protocols bgp address-family ipv4-unicast redistribute connected set protocols bgp address-family ipv6-unicast redistribute connected set protocols bgp neighbor eth1 interface v6only @@ -35,7 +35,7 @@ Configuration .. code-block:: none - set protocols bgp local-as 64499 + set protocols bgp system-as 64499 set protocols bgp address-family ipv4-unicast redistribute connected set protocols bgp address-family ipv6-unicast redistribute connected set protocols bgp neighbor eth1 interface v6only diff --git a/docs/configexamples/ha.rst b/docs/configexamples/ha.rst index 2a503a11..1ceda8e9 100644 --- a/docs/configexamples/ha.rst +++ b/docs/configexamples/ha.rst @@ -567,7 +567,7 @@ it is not 203.0.113.0/24. set policy route-map BGPPREPENDOUT rule 10 match ip address prefix-list 'BGPOUT' set policy route-map BGPPREPENDOUT rule 10000 action 'deny' - set protocols bgp local-as 65551 + set protocols bgp system-as 65551 set protocols bgp address-family ipv4-unicast network 192.0.2.0/24 set protocols bgp address-family ipv4-unicast redistribute connected metric '50' set protocols bgp address-family ipv4-unicast redistribute ospf metric '50' diff --git a/docs/configexamples/inter-vrf-routing-vrf-lite.rst b/docs/configexamples/inter-vrf-routing-vrf-lite.rst index e109c12c..eed848db 100644 --- a/docs/configexamples/inter-vrf-routing-vrf-lite.rst +++ b/docs/configexamples/inter-vrf-routing-vrf-lite.rst @@ -239,10 +239,10 @@ to inject configured networks into the BGP process but still inside the VRF. .. code-block:: none # set BGP global local-as - set protocols bgp local-as <ASN> + set protocols bgp system-as <ASN> # set BGP VRF local-as and redistribution - set vrf name <VRF> protocols bgp local-as <ASN> + set vrf name <VRF> protocols bgp system-as <ASN> set vrf name <VRF> protocols bgp address-family <AF IPv4/IPv6> redistribute static - Verification @@ -631,7 +631,7 @@ Full configuration from all devices set interfaces ethernet eth3 address '2001:db8::6/127' set interfaces ethernet eth3 vrf 'Internet' set protocols bgp address-family ipv4-unicast - set protocols bgp local-as '64496' + set protocols bgp system-as '64496' set vrf name Internet protocols bgp address-family ipv4-unicast export vpn set vrf name Internet protocols bgp address-family ipv4-unicast import vpn set vrf name Internet protocols bgp address-family ipv4-unicast rd vpn export '64496:100' @@ -642,7 +642,7 @@ Full configuration from all devices set vrf name Internet protocols bgp address-family ipv6-unicast rd vpn export '64496:100' set vrf name Internet protocols bgp address-family ipv6-unicast route-target vpn export '64496:100' set vrf name Internet protocols bgp address-family ipv6-unicast route-target vpn import '64496:1 64496:2' - set vrf name Internet protocols bgp local-as '64496' + set vrf name Internet protocols bgp system-as '64496' set vrf name Internet protocols bgp neighbor 10.2.2.2 address-family ipv4-unicast set vrf name Internet protocols bgp neighbor 10.2.2.2 remote-as '64497' set vrf name Internet protocols bgp neighbor 2001:db8::7 address-family ipv6-unicast @@ -660,7 +660,7 @@ Full configuration from all devices set vrf name LAN1 protocols bgp address-family ipv6-unicast redistribute static set vrf name LAN1 protocols bgp address-family ipv6-unicast route-target vpn export '64496:1' set vrf name LAN1 protocols bgp address-family ipv6-unicast route-target vpn import '64496:100 64496:50 64496:2' - set vrf name LAN1 protocols bgp local-as '64496' + set vrf name LAN1 protocols bgp system-as '64496' set vrf name LAN1 protocols static route 10.0.0.0/24 next-hop 10.1.1.2 set vrf name LAN1 protocols static route6 2001:db8:0:1::/64 next-hop 2001:db8::1 set vrf name LAN1 table '101' @@ -676,7 +676,7 @@ Full configuration from all devices set vrf name LAN2 protocols bgp address-family ipv6-unicast redistribute static set vrf name LAN2 protocols bgp address-family ipv6-unicast route-target vpn export '64496:2' set vrf name LAN2 protocols bgp address-family ipv6-unicast route-target vpn import '64496:100 64496:50 64496:1' - set vrf name LAN2 protocols bgp local-as '64496' + set vrf name LAN2 protocols bgp system-as '64496' set vrf name LAN2 protocols static route 172.16.0.0/24 next-hop 172.16.2.2 set vrf name LAN2 protocols static route6 2001:db8:0:2::/64 next-hop 2001:db8::3 set vrf name LAN2 table '102' @@ -692,7 +692,7 @@ Full configuration from all devices set vrf name Management protocols bgp address-family ipv6-unicast redistribute static set vrf name Management protocols bgp address-family ipv6-unicast route-target vpn export '64496:50' set vrf name Management protocols bgp address-family ipv6-unicast route-target vpn import '64496:1 64496:2' - set vrf name Management protocols bgp local-as '64496' + set vrf name Management protocols bgp system-as '64496' set vrf name Management protocols static route 192.168.0.0/24 next-hop 192.168.3.2 set vrf name Management protocols static route6 2001:db8:0:3::/64 next-hop 2001:db8::5 set vrf name Management table '103' @@ -751,7 +751,7 @@ Full configuration from all devices set interfaces ethernet eth3 address '2001:db8::7/127' set protocols bgp address-family ipv4-unicast redistribute connected set protocols bgp address-family ipv6-unicast redistribute connected - set protocols bgp local-as '64497' + set protocols bgp system-as '64497' set protocols bgp neighbor 10.2.2.1 address-family ipv4-unicast default-originate set protocols bgp neighbor 10.2.2.1 remote-as '64496' set protocols bgp neighbor 2001:db8::6 address-family ipv6-unicast default-originate diff --git a/docs/configexamples/l3vpn-hub-and-spoke.rst b/docs/configexamples/l3vpn-hub-and-spoke.rst index a9957095..8e1d0051 100644 --- a/docs/configexamples/l3vpn-hub-and-spoke.rst +++ b/docs/configexamples/l3vpn-hub-and-spoke.rst @@ -329,7 +329,7 @@ VPN (L3VPN) routes between them: .. code-block:: none - set protocols bgp local-as '65001' + set protocols bgp system-as '65001' set protocols bgp neighbor 10.0.0.7 address-family ipv4-vpn route-reflector-client set protocols bgp neighbor 10.0.0.7 peer-group 'RR_VPNv4' set protocols bgp neighbor 10.0.0.8 address-family ipv4-vpn route-reflector-client @@ -346,7 +346,7 @@ VPN (L3VPN) routes between them: .. code-block:: none - set protocols bgp local-as '65001' + set protocols bgp system-as '65001' set protocols bgp neighbor 10.0.0.7 address-family ipv4-vpn route-reflector-client set protocols bgp neighbor 10.0.0.7 peer-group 'RR_VPNv4' set protocols bgp neighbor 10.0.0.8 address-family ipv4-vpn route-reflector-client @@ -363,7 +363,7 @@ VPN (L3VPN) routes between them: .. code-block:: none - set protocols bgp local-as '65001' + set protocols bgp system-as '65001' set protocols bgp neighbor 10.0.0.1 address-family ipv4-vpn nexthop-self set protocols bgp neighbor 10.0.0.1 peer-group 'RR_VPNv4' set protocols bgp neighbor 10.0.0.2 address-family ipv4-vpn nexthop-self @@ -377,7 +377,7 @@ VPN (L3VPN) routes between them: .. code-block:: none - set protocols bgp local-as '65001' + set protocols bgp system-as '65001' set protocols bgp neighbor 10.0.0.1 address-family ipv4-vpn nexthop-self set protocols bgp neighbor 10.0.0.1 peer-group 'RR_VPNv4' set protocols bgp neighbor 10.0.0.2 address-family ipv4-vpn nexthop-self @@ -391,7 +391,7 @@ VPN (L3VPN) routes between them: .. code-block:: none - set protocols bgp local-as '65001' + set protocols bgp system-as '65001' set protocols bgp neighbor 10.0.0.1 address-family ipv4-vpn nexthop-self set protocols bgp neighbor 10.0.0.1 peer-group 'RR_VPNv4' set protocols bgp neighbor 10.0.0.2 address-family ipv4-vpn nexthop-self @@ -424,7 +424,7 @@ import/export based on the pre-defined parameters. set vrf name BLUE_SPOKE protocols bgp address-family ipv4-unicast redistribute connected set vrf name BLUE_SPOKE protocols bgp address-family ipv4-unicast route-target vpn export '65035:1011' set vrf name BLUE_SPOKE protocols bgp address-family ipv4-unicast route-target vpn import '65035:1030' - set vrf name BLUE_SPOKE protocols bgp local-as '65001' + set vrf name BLUE_SPOKE protocols bgp system-as '65001' set vrf name BLUE_SPOKE protocols bgp neighbor 10.50.50.2 address-family ipv4-unicast as-override set vrf name BLUE_SPOKE protocols bgp neighbor 10.50.50.2 remote-as '65035' @@ -446,7 +446,7 @@ import/export based on the pre-defined parameters. set vrf name BLUE_HUB protocols bgp address-family ipv4-unicast redistribute connected set vrf name BLUE_HUB protocols bgp address-family ipv4-unicast route-target vpn export '65035:1030' set vrf name BLUE_HUB protocols bgp address-family ipv4-unicast route-target vpn import '65035:1011 65050:2011 65035:1030' - set vrf name BLUE_HUB protocols bgp local-as '65001' + set vrf name BLUE_HUB protocols bgp system-as '65001' set vrf name BLUE_HUB protocols bgp neighbor 10.80.80.2 address-family ipv4-unicast as-override set vrf name BLUE_HUB protocols bgp neighbor 10.80.80.2 remote-as '65035' @@ -468,7 +468,7 @@ import/export based on the pre-defined parameters. set vrf name BLUE_SPOKE protocols bgp address-family ipv4-unicast redistribute connected set vrf name BLUE_SPOKE protocols bgp address-family ipv4-unicast route-target vpn export '65035:1011' set vrf name BLUE_SPOKE protocols bgp address-family ipv4-unicast route-target vpn import '65035:1030' - set vrf name BLUE_SPOKE protocols bgp local-as '65001' + set vrf name BLUE_SPOKE protocols bgp system-as '65001' set vrf name BLUE_SPOKE protocols bgp neighbor 10.60.60.2 address-family ipv4-unicast as-override set vrf name BLUE_SPOKE protocols bgp neighbor 10.60.60.2 remote-as '65035' @@ -496,7 +496,7 @@ configured L3VPN parameters. set interfaces ethernet eth0 address '10.50.50.2/24' # BGP for peering with PE - set protocols bgp local-as 65035 + set protocols bgp system-as 65035 set protocols bgp address-family ipv4-unicast network 10.0.0.80/32 set protocols bgp neighbor 10.50.50.1 ebgp-multihop '2' set protocols bgp neighbor 10.50.50.1 remote-as '65001' @@ -513,7 +513,7 @@ configured L3VPN parameters. set interfaces ethernet eth0 address '10.80.80.2/24' # BGP for peering with PE - set protocols bgp local-as 65035 + set protocols bgp system-as 65035 set protocols bgp address-family ipv4-unicast network 10.0.0.100/32 set protocols bgp address-family ipv4-unicast redistribute connected set protocols bgp neighbor 10.80.80.1 ebgp-multihop '2' @@ -531,7 +531,7 @@ configured L3VPN parameters. set interfaces ethernet eth0 address '10.60.60.2/24' # BGP for peering with PE - set protocols bgp local-as 65035 + set protocols bgp system-as 65035 set protocols bgp address-family ipv4-unicast network 10.0.0.90/32 set protocols bgp neighbor 10.60.60.1 ebgp-multihop '2' set protocols bgp neighbor 10.60.60.1 remote-as '65001' |