mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 01:31:44 +02:00
bgp: T7760: remove per vrf instance system-as node
This commit is contained in:
parent
4081daff9c
commit
98ac2e11ad
@ -45,7 +45,6 @@ set interfaces vxlan vxlan2000 vni '2000'
|
||||
|
||||
set vrf name blue protocols bgp address-family ipv4-unicast redistribute connected
|
||||
set vrf name blue protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
|
||||
set vrf name blue protocols bgp system-as '100'
|
||||
set vrf name blue table '2000'
|
||||
set vrf name blue vni '2000'
|
||||
|
||||
@ -57,7 +56,6 @@ set interfaces vxlan vxlan3000 vni '3000'
|
||||
|
||||
set vrf name red protocols bgp address-family ipv4-unicast redistribute connected
|
||||
set vrf name red protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
|
||||
set vrf name red protocols bgp system-as '100'
|
||||
set vrf name red table '3000'
|
||||
set vrf name red vni '3000'
|
||||
|
||||
@ -69,7 +67,6 @@ set interfaces vxlan vxlan4000 vni '4000'
|
||||
|
||||
set vrf name green protocols bgp address-family ipv4-unicast redistribute connected
|
||||
set vrf name green protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
|
||||
set vrf name green protocols bgp system-as '100'
|
||||
set vrf name green table '4000'
|
||||
set vrf name green vni '4000'
|
||||
|
||||
@ -93,4 +90,4 @@ set interfaces bridge br4000 vrf 'green'
|
||||
|
||||
set interfaces ethernet eth4 description 'customer blue'
|
||||
set interfaces ethernet eth5 description 'customer red'
|
||||
set interfaces ethernet eth6 description 'customer green'
|
||||
set interfaces ethernet eth6 description 'customer green'
|
||||
|
||||
@ -45,7 +45,6 @@ set interfaces vxlan vxlan2000 vni '2000'
|
||||
|
||||
set vrf name blue protocols bgp address-family ipv4-unicast redistribute connected
|
||||
set vrf name blue protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
|
||||
set vrf name blue protocols bgp system-as '100'
|
||||
set vrf name blue table '2000'
|
||||
set vrf name blue vni '2000'
|
||||
|
||||
@ -57,7 +56,6 @@ set interfaces vxlan vxlan3000 vni '3000'
|
||||
|
||||
set vrf name red protocols bgp address-family ipv4-unicast redistribute connected
|
||||
set vrf name red protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
|
||||
set vrf name red protocols bgp system-as '100'
|
||||
set vrf name red table '3000'
|
||||
set vrf name red vni '3000'
|
||||
|
||||
@ -69,7 +67,6 @@ set interfaces vxlan vxlan4000 vni '4000'
|
||||
|
||||
set vrf name green protocols bgp address-family ipv4-unicast redistribute connected
|
||||
set vrf name green protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
|
||||
set vrf name green protocols bgp system-as '100'
|
||||
set vrf name green table '4000'
|
||||
set vrf name green vni '4000'
|
||||
|
||||
@ -86,4 +83,4 @@ set interfaces bridge br3000 member interface vxlan3000
|
||||
set interfaces bridge br3000 vrf 'red'
|
||||
|
||||
set interfaces ethernet eth4 description 'customer blue'
|
||||
set interfaces ethernet eth5 description 'customer red'
|
||||
set interfaces ethernet eth5 description 'customer red'
|
||||
|
||||
@ -45,7 +45,6 @@ set interfaces vxlan vxlan2000 vni '2000'
|
||||
|
||||
set vrf name blue protocols bgp address-family ipv4-unicast redistribute connected
|
||||
set vrf name blue protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
|
||||
set vrf name blue protocols bgp system-as '100'
|
||||
set vrf name blue table '2000'
|
||||
set vrf name blue vni '2000'
|
||||
|
||||
@ -57,7 +56,6 @@ set interfaces vxlan vxlan3000 vni '3000'
|
||||
|
||||
set vrf name red protocols bgp address-family ipv4-unicast redistribute connected
|
||||
set vrf name red protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
|
||||
set vrf name red protocols bgp system-as '100'
|
||||
set vrf name red table '3000'
|
||||
set vrf name red vni '3000'
|
||||
|
||||
@ -69,7 +67,6 @@ set interfaces vxlan vxlan4000 vni '4000'
|
||||
|
||||
set vrf name green protocols bgp address-family ipv4-unicast redistribute connected
|
||||
set vrf name green protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
|
||||
set vrf name green protocols bgp system-as '100'
|
||||
set vrf name green table '4000'
|
||||
set vrf name green vni '4000'
|
||||
|
||||
@ -86,4 +83,4 @@ set interfaces bridge br4000 member interface vxlan4000
|
||||
set interfaces bridge br4000 vrf 'green'
|
||||
|
||||
set interfaces ethernet eth4 description 'customer blue'
|
||||
set interfaces ethernet eth6 description 'customer green'
|
||||
set interfaces ethernet eth6 description 'customer green'
|
||||
|
||||
@ -242,7 +242,6 @@ to inject configured networks into the BGP process but still inside the VRF.
|
||||
set protocols bgp system-as <ASN>
|
||||
|
||||
# set BGP VRF local-as and redistribution
|
||||
set vrf name <VRF> protocols bgp system-as <ASN>
|
||||
set vrf name <VRF> protocols bgp address-family <AF IPv4/IPv6> redistribute static
|
||||
|
||||
- Verification
|
||||
@ -642,7 +641,6 @@ 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 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 +658,6 @@ 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 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 +673,6 @@ 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 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 +688,6 @@ 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 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'
|
||||
|
||||
@ -424,7 +424,6 @@ 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 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 +445,6 @@ 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 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 +466,6 @@ 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 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'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user