Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 25

MPLS L3VPN Inter AS

OPtion
iBGP installation
• IGP
• LDP
• BGP
• loopback is needed for update-source
• Therefore must advertise from IGP
Inter AS option A
• VRF to VRF
Inter AS option A
• Configure any AS as a MP-BGP separately.
• We need one link between two AS per VRF.
• We can use sub-interface for interconnection.
• Run EBGP between two ASBR into VRF.
• We have no label distribution in interconnection link.
Inter AS option B
• create ipv4 and vpnv4 ebgp peer between two ASBRs.
• ASBR_AS100
(config)#default interface gig 0/3
(config)#router bgp 100
(config-router)# address-family ipv4 vrf CUST-A
(config-router-af)# no neighbor 192.168.48.8
(config)# interface gig 0/3
(config-if)# ip address 192.1.48.4 255.255.255.0
(config-if)# no shutdown
(config)# router bgp 100
(config-router)# neighbor 192.1.48.8 remote-as 200
(config-router)# address-family vpnv4
(config-router-af)# neighbor 192.1.48.8 activate
Inter AS option B
• ASBR_AS200
(config)#default interface gig 0/3
(config)#router bgp 200
(config-router)# address-family ipv4 vrf CUST-A
(config-router-af)# no neighbor 192.168.48.4
(config)# interface gig 0/3
(config-if)# ip address 192.1.48.8 255.255.255.0
(config-if)# no shutdown
(config)# router bgp 200
(config-router)# neighbor 192.1.48.4 remote-as 100
(config-router)# address-family vpnv4
(config-router-af)# neighbor 192.1.48.4 activate
Inter AS option B
Inter AS option B
• ASBR_AS100
(config)#router bgp 100
(config-router)#address-family vpnv4
(config-router-af)#neighbor 10.3.3.3 next-hop-self
• ASBR_AS200
(config)# router bgp 200
(config-router)# address-family vpnv4
(config-router-af)# neighbor 10.7.7.7 next-hop-self
Inter AS option B
• 200:1 in AS100 PEs and 100:1 in AS200 Pes
(config)#vrf definition CUST-A
(config-vrf)#address-family ipv4
(config-vrf-af)#route-target import 200:1

(config)#vrf definition CUST-A


(config-vrf)#address-family ipv4
(config-vrf-af)#route-target import 100:1
Option B verify command
• ASBR before and after next-hop-self
• show ip bgp vpnv4 all
• show bgp vpnv4 unicast all
• CE1
• ping 10.11.11.11 source 10.9.9.9
• trace 10.11.11.11 source 10.9.9.9
Option B verify command
CE1#traceroute 10.11.11.11 source 10.9.9.9
Type escape sequence to abort.
Tracing the route to 10.11.11.11
VRF info: (vrf in name/id, vrf out name/id)
1 192.168.10.1 9 msec 7 msec 6 msec
2 192.1.13.3 [MPLS: Labels 16/23 Exp 0] 16 msec 27 msec 29 msec
3 192.1.34.4 [MPLS: Label 23 Exp 0] 15 msec 16 msec 22 msec
4 192.1.48.8 [MPLS: Label 24 Exp 0] 18 msec 26 msec 23 msec
5 192.168.50.5 [MPLS: Label 22 Exp 0] 15 msec 19 msec 14 msec
6 192.168.50.11 22 msec 15 msec *
Inter AS option C
"remove ipv4 and vpnv4 peer between two ASBRs"
• ASBR1
(config)#router bgp 100
(config-router)# no neighbor 192.1.48.8
• ASBR2
(config)# router bgp 200
(config-router)# no neighbor 192.1.48.4
Inter AS option C
After removing ebgp peer between two ASBRs.
CE3#show ip route bgp
“There isn't any route from AS100”
Inter AS option C
access-list 1 permit 10.3.3.0 0.0.0.255
route-map O2B
match ip address 1
router bgp 100
neighbor 192.1.48.8 remote-as 200
redistribute ospf 1 route-map O2B
access-list 2 permit 10.7.7.0 0.0.0.255
route-map B2O
match ip address 2
router ospf 1
redistribute bgp 100 route-map B2O subnets
Inter AS option C
access-list 1 permit 10.7.7.0 0.0.0.255
route-map I2B
match ip address 1
router bgp 200
neighbor 192.1.48.4 remote-as 100
redistribute isis route-map I2B
access-list 2 permit 10.3.3.0 0.0.0.255
route-map B2I
match ip address 2
router isis
redistribute bgp 200 route-map B2I
Inter AS option C
Check route table in route-reflector routers in any As.
We must have loopback interface in any RR from other RR.
Inter AS option C
RR_AS100#sho ip route ospf
Gateway of last resort is not set
10.0.0.0/32 is subnetted, 5 subnets
O 10.1.1.1 [110/2] via 192.1.13.1, 1d12h, GigabitEthernet0/0
O 10.2.2.2 [110/2] via 192.1.23.2, 1d12h, GigabitEthernet0/1
O 10.4.4.4 [110/2] via 192.1.34.4, 1d12h, GigabitEthernet0/2
O E2 10.7.7.7 [110/1] via 192.1.34.4, 1d10h, GigabitEthernet0/2
O 192.1.100.0/24 [110/2] via 192.1.23.2, 1d12h, GigabitEthernet0/1
Inter AS option C
RR_AS200#sho ip route isis
Gateway of last resort is not set
10.0.0.0/32 is subnetted, 5 subnets
i L2 10.3.3.3 [115/10] via 192.1.78.8, 1d10h, GigabitEthernet0/2
i L2 10.5.5.5 [115/20] via 192.1.57.5, 1d12h, GigabitEthernet0/0
i L2 10.6.6.6 [115/20] via 192.1.67.6, 1d12h, GigabitEthernet0/1
i L2 10.8.8.8 [115/20] via 192.1.78.8, 1d12h, GigabitEthernet0/2
i L2 192.1.200.0/24 [115/20] via 192.1.78.8, 1d12h, GigabitEthernet0/2
[115/20] via 192.1.67.6, 1d12h, GigabitEthernet0/1
[115/20] via 192.1.57.5, 1d12h, GigabitEthernet0/0
Inter AS option C
Create MP EBGP between two RRs.
RR_AS100
router bgp 100
neighbor 10.7.7.7 remote-as 200
neighbor 10.7.7.7 update-source loopback 0
neighbor 10.7.7.7 ebgp-multihop
address-family vpnv4
neighbor 10.7.7.7 activate
Inter AS option C
router bgp 200
RR_AS200
neighbor 10.3.3.3 remote-as 100
neighbor 10.3.3.3 update-source loopback 0
neighbor 10.3.3.3 ebgp-multihop
address-family vpnv4
neighbor 10.3.3.3 activate
Inter AS option C
Option C verify command
AS100 route-reflector
#show bgp vpv4 unicast all

PE1_AS100
#show ip route vrf CUST-A

CE1#ping 11.11.11.11 source 9.9.9.9


…..
Inter AS option C
ASBR_AS100
router bgp 100
neighbor 192.1.48.8 send-label

ASBR_AS200
router bgp 200
neighbor 192.1.48.4 send-label

You might also like