Sei sulla pagina 1di 24

2/21/2020 What is MPLS L3 VPN ? How to configure?

 

VOS3000 server softswitch rent


NYPhone Offer A Higher Level Of Manipulate, Performance And Stabil

nyphone.net OPEN

MPLS L3 VPN

What is MPLS L3 VPN ? How to con gure?


by Internetworks January 17, 2020

We already discus what is MPLS and LDP in the previous sections. In this section we will see what is MPLS L3
VPN? And what are VRF (virtual routing forwarding), Rd (route-distinguisher), RT (route-target) and how to
con gure MPLS L3 VPN in service provider network.

Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 1/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

Class 5 Softswitch and


Integrated VoIP Billing.
Ad Class5 Softswitch for Wholesale &
Ad
Retail VOIP and Mobile Dialer
adoreinfotech.com

Learn more

In MPLS Layer 3 the service provider will participate in routing with the customers. The customers will run
static, OSPF, EIGRP, BGP or any other routing protocol with the service provider; these routes can be shared
with other sites of the customers.

In VPN routing information from one customer is completely separated from other customers and tunneled
over the service provider MPLS network.

What is VRF (virtual routing forwarding)?

Virtual routing forwarding VRF provides a way for us to con gure multiple routing instances on our router. We
use multiple routing tables. Each customer of the service provider will use a different VRF. VRF keep customer
traf c and routing separate utilize the same hardware.  Without VRF we need to use ACL ltering to keep traf c
segregated.

What is Rd (route-distinguisher?)

Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 2/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

Route-distinguisher is used to convert a client non-unique 32-bit address into a unique 96-bit vpnv4 address, to
enable transport between PE routers and the resulting address is a vpnv4 address. RD is locally signi cant to a
router. VRF is not operational unless you con gure an RD.

We can use any value we want but we use the ASN:NN format where ASN means the service provider’s AS
number and NN is a number we pick that identi es the site of the customer. Each VRF in a PE router must have a
unique RD.

RT (Route-Target)
Is a 64-bit extended BGP community that is attached to aVPNv4 BGP route to indicate its VPN membership?
Any number of RTs can be attached to a single route.
Export RTs
Identi es the VPN member to which the associated VRF belongs to.
2. Are attached to a client’s route, when it is converted into a VPNv4 route.
 Import RTs
1. Import RT is used to select which VPNv4 router are to be inserted into which VRF tables.
2. on the receiving PE router, a route is imported into a VRF only if at least one RT attached to the route
matches at least one import RT con guration in that VRF.

 Let see the con guration:-

 Topology:


Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 3/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

GOAL:
 Con gure the topology as per the diagram 
 assign IP addresses as per the topology 
 `con gure OSPF area 0 inside MPLS SP core.
 con gure MPLS LDP inside the MPLS SP core 
 con gure MPLS Labels (99-199, 200-399, 400-499)
 con gure VRF a-1 on ( router 1) and VRF a-2 on (router 3)
 con gure RD and RT value 100:1 both sites
 con gure router 4 CE under VRF a-1 and router 5 VRF a-2 
 con gure routing between PE and CE using static routing 

 make sure PE and CE routers can ping 


 con gure VPNv4 between PE routers. 
 redistribute static routing in to BGP under VRF
 make sure CEs routers able to ping .
R1(con g)#Interface fastethernet 0/0
R1(con g-if)#Ip address 10.1.1.1   255.0.0.0
R1(con g-if)#No shutdown
R1(con g-if)#Exit

R1(con g)#Interface serial 3/0


R1(con g-if)#Ip address  1.1.1.1 255.0.0.0

R1(con g-if)#No shutdown
R1(con g-if)#Exit Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 4/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

R1(con g)#Interface loopback 0


R1(con g-if)#Ip address 192.168.10.1 255.255.255.0
R1(con g-if)#Exit
R1(con g)#Interface loopback 1
R1(con g-if)#Ip address 192.168.11.1 255.255.255.0
R1(con g-if)#Exit
R1(con g)#Interface loopback 2
R1(con g-if)#Ip address 192.168.12.1 255.255.255.0
R1(con g-if)#Exit
R1(con g)#Interface loopback 3
R1(con g-if)#Ip address 192.168.13.1 255.255.255.0
R1(con g-if)#Exit

R3(con g)#Interface serial 3/2


R3(con g-if)#Ip address  3.3.3.2 255.0.0.0
R3(con g-if)#No shutdown
R3(con g-if)#Exit

R2(con g)#Interface fastethernet 0/0


R2(con g-if)#Ip address 20.1.1.1   255.0.0.0
R2(con g-if)#No shutdown
R2(con g-if)#No keepalive
R2(con g-if)#Exit

R2(con g)#Interface serial 3/0


R2(con g-if)#Ip address  1.1.1.2 255.0.0.0
R2(con g-if)#No shutdown
R2(con g-if)#Exit

R2(con g)#Interface serial 3/1


R2(con g-if)#Ip address  2.2.2.1 255.0.0.0
R2(con g-if)#No shutdown
R2(con g-if)#Exit

R2(con g)#Interface loopback 0


R2(con g-if)#Ip address 192.168.20.1 255.255.255.0
R2(con g-if)#Exit
R2(con g)#Interface loopback 1
R2(con g-if)#Ip address 192.168.21.1 255.255.255.0
R2(con g-if)#Exit
R2(con g)#Interface loopback 2
R2(con g-if)#Ip address 192.168.22.1 255.255.255.0
R2(con g-if)#Exit
R2(con g)#Interface loopback 3
R2(con g-if)#Ip address 192.168.23.1 255.255.255.0 
R2(con g-if)#Exit
Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 5/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

R3(con g)#Interface fastethernet 0/0


R3(con g-if)#Ip address 30.1.1.1   255.0.0.0
R3(con g-if)#No shutdown
R3(con g-if)#Exit

R3(con g)#Interface serial 3/1


R3(con g-if)#Ip address  2.2.2.2 255.0.0.0
R3(con g-if)#No shutdown
R3(con g-if)#Exit

Ad closed by
Class 5 Softswitch and
Report this ad Integrated
Why this ad? VoIP Billing.
Ad Class5 Softswitch for Wholesale &
Ad
Retail VOIP and Mobile Dialer
adoreinfotech.com

Learn more

R3(con g)#Interface serial 3/2


R3(con g-if)#Ip address  3.3.3.1 255.0.0.0
R3(con g-if)#No shutdown
R3(con g-if)#Exit

R3(con g)#Interface loopback 0


R3(con g-if)#Ip address 192.168.30.1 255.255.255.0
R3(con g-if)#Exit
R3(con g)#Interface loopback 1
R3(con g-if)#Ip address 192.168.31.1 255.255.255.0
R3(con g-if)#Exit
R3(con g)#Interface loopback 2
R3(con g-if)#Ip address 192.168.32.1 255.255.255.0
R3(con g-if)#Exit
R3(con g)#Interface loopback 3
R3(con g-if)#Ip address 192.168.33.1 255.255.255.0
R3(con g-if)#Exit

R4(con g)#Interface fastethernet 0/0


R4(con g-if)#Ip address 40.1.1.2   255.0.0.0
R4(con g-if)#No shutdown
R4(con g-if)#Exit

R4(con g)#Interface loopback 0


R4(con g-if)#Ip address 192.168.40.1 255.255.255.0
R4(con g-if)#Exit

Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 6/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

R5(con g)#Interface fastethernet 0/0


R5(con g-if)#Ip address 30.1.1.2   255.0.0.0
R5(con g-if)#No shutdown
R5(con g-if)#Exit

R5(con g)#Interface loopback 0


R5(con g-if)#Ip address 192.168.50.1 255.255.255.0
R5(con g-if)#Exit

R1#show ip interface brief


Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/0        10.1.1.1          YES manual up                    up
Serial3/0                     1.1.1.1          YES manual up                    up
Serial3/2                     3.3.3.2          YES manual up                    up
Loopback0              192.168.10.1    YES manual up                    up
Loopback1              192.168.11.1    YES manual up                    up
Loopback2              192.168.12.1    YES manual up                    up
Loopback3              192.168.13.1    YES manual up                    up

R2#show ip interface brief


Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/0        20.1.1.1        YES manual up                    up
Serial3/0                    1.1.1.2         YES manual up                    up
Serial3/1                    2.2.2.1         YES manual up                    up
Loopback0              192.168.20.1    YES manual up                    up
Loopback1              192.168.21.1    YES manual up                    up
Loopback2              192.168.22.1    YES manual up                    up
Loopback3              192.168.23.1    YES manual up                    up

R3#show ip interface brief


Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/0        30.1.1.1        YES manual up                    up
Serial3/1                     2.2.2.2         YES manual up                    up
Serial3/2                     3.3.3.1         YES manual up                    up
Loopback0              192.168.30.1    YES manual up                    up
Loopback1              192.168.31.1    YES manual up                    up
Loopback2              192.168.32.1    YES manual up                    up
Loopback3              192.168.33.1    YES manual up                    up

R4#show ip interface brief


Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/0           10.1.1.2        YES manual up                    up
Loopback0              192.168.40.1    YES manual up                    up 
Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 7/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

R5#show ip interface brief


Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/0           30.1.1.2        YES manual up                    up
Loopback0              192.168.50.1    YES manual up                    up

R1(con g)#router ospf 1


R1(con g-router)#network 10.0.0.0 0.255.255.255 area 0
R1(con g-router)#network 1.0.0.0 0.255.255.255 area 0
R1(con g-router)#network 3.0.0.0 0.255.255.255 area 0
R1(con g-router)#network 192.168.10.0 255.0.0.0 area 0
R1(con g-router)#network 192.168.11.0 255.0.0.0 area 0
R1(con g-router)#network 192.168.12.0 255.0.0.0 area 0
R1(con g-router)#network 192.168.13.0 255.0.0.0 area 0
R1(con g-router)#end

R2(con g)#router ospf 1


R2(con g-router)#network 20.0.0.0 0.255.255.255 area 0
R2(con g-router)#network 1.0.0.0 0.255.255.255 area 0
R2(con g-router)#network 2.0.0.0 0.255.255.255 area 0
R2(con g-router)#network 192.168.20.0 255.0.0.0 area 0
R2(con g-router)#network 192.168.21.0 255.0.0.0 area 0
R2(con g-router)#network 192.168.22.0 255.0.0.0 area 0
R2(con g-router)#network 192.168.23.0 255.0.0.0 area 0
R2(con g-router)#end

R3(con g)#router ospf 1


R3(con g-router)#network 30.0.0.0 0.255.255.255 area 0
R3(con g-router)#network 2.0.0.0 0.255.255.255 area 0
R3(con g-router)#network 3.0.0.0 0.255.255.255 area 0
R3(con g-router)#network 192.168.30.0 255.0.0.0 area 0
R3(con g-router)#network 192.168.31.0 255.0.0.0 area 0
R3(con g-router)#network 192.168.32.0 255.0.0.0 area 0
R3(con g-router)#network 192.168.33.0 255.0.0.0 area 0
R3(con g-router)#end

R1#show ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface


192.168.33.1      0   FULL/  -        00:00:38    3.3.3.1         Serial3/2
192.168.23.1      0   FULL/  -        00:00:31    1.1.1.2         Serial3/0

Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 8/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

R2#show ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface


192.168.13.1      0   FULL/  -        00:00:33    1.1.1.1         Serial3/0
192.168.33.1      0   FULL/  -        00:00:30    2.2.2.2         Serial3/1

R3#show ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface


192.168.23.1      0   FULL/  -        00:00:31    2.2.2.1         Serial3/1
192.168.13.1      0   FULL/  -        00:00:37    3.3.3.2         Serial3/2

R1(con g)#ip cef

R1(con g)#mpls label protocol ldp


R1(con g)#mpls label range 99 199
R1(con g)#mpls ldp router-id loopback 0
R1(con g)#end

R1(con g)#interface serial 3/0


R1(con g-if)#mpls ip
R1(con g-if)#exit

R1(con g)#interface serial 3/4


R1(con g-if)#mpls ip
R1(con g-if)#exit

R2(con g)#ip cef

R2(con g)#mpls label protocol ldp

R2(con g)#mpls label range 200 299


R2(con g)#mpls ldp router-id loopback 0
R2(con g)#end

R2(con g)#interface serial 3/0


R2(con g-if)#mpls ip
R2(con g-if)#exit

R2(con g)#interface serial 3/1


R2(con g-if)#mpls ip
R2(con g-if)#exit

 R3(con g)#ip cef 


 R3(con g)#mpls label protocol ldp
Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 9/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

R3(con g)#mpls label range 300 399


R3(con g)#mpls ldp router-id loopback 0
R3(con g)#end

R3(con g)#interface serial 3/1


R3(con g-if)#mpls ip
R3(con g-if)#exit

R3(con g)#interface serial 3/2


R3(con g-if)#mpls ip
R3(con g-if)#exit

R1(con g)#ip vrf a-1


R1(con g-vrf)#rd 100:1
R1(con g-vrf)#route-target import 100:1
R1(con g-vrf)#route-target export 100:1
R1(con g-vrf)#exit

R3(con g)#ip vrf a-2


R3(con g-vrf)#rd 100:1
R3(con g-vrf)#route-target both 100:1
R3(con g-vrf)#exit

R1#show ip vrf
  Name                             Default RD          Interfaces
  a-1                              100:1               Fa0/0

R3#show ip vrf
  Name                             Default RD          Interfaces
  a-2                              100:1               Fa0/0

R1#show ip vrf detail


VRF a-1 (VRF Id = 1); default RD 100:1; default VPNID <not set>
  Interfaces:
    Fa0/0
VRF Table ID = 1
  Export VPN route-target communities
    RT:100:1
  Import VPN route-target communities
    RT:100:1 
  No import route-map
Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 10/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

  No global export route-map


  No export route-map
  VRF label distribution protocol: not con gured
  VRF label allocation mode: per-pre x

R3#show ip vrf detail


VRF a-2 (VRF Id = 1); default RD 100:1; default VPNID <not set>
  Interfaces:
    Fa0/0
VRF Table ID = 1
  Export VPN route-target communities
    RT:100:1
  Import VPN route-target communities
    RT:100:1
  No import route-map
  No global export route-map
  No export route-map
  VRF label distribution protocol: not con gured
  VRF label allocation mode: per-pre x

R1#show run | section vrf


ip vrf a-1
 rd 100:1
 route-target export 100:1
 route-target import 100:1

R3#show run | section vrf


ip vrf a-2
 rd 100:1
 route-target export 100:1
 route-target import 100:1

R3(con g)#interface fastEthernet 0/0


R3(con g-if)#ip vrf forwarding a-2
R3(con g-if)#ip address 30.1.1.1 255.0.0.0
R3(con g-if)#exit

R1(con g)#interface fastEthernet 0/0


R1(con g-if)#ip vrf forwarding a-1
R1(con g-if)#ip address 10.1.1.1 255.0.0.0
R1(con g-if)#exit

R4(con g-if)#ip route 0.0.0.0 0.0.0.0 10.1.1.1 

Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 11/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

R5(con g)#ip route 0.0.0.0 0.0.0.0 30.1.1.1

R3(con g)#ip route vrf a-2 192.168.50.1 255.255.255.255 30.1.1.2


R3(con g)#end

R1(con g)#ip route vrf a-1 192.168.40.1 255.255.255.255 10.1.1.2


R1(con g)#end

R1(con g)#router bgp 65001


R1(con g-router)#no bgp default ipv4-unicast
R1(con g-router)#neighbor 192.168.30.1 remote-as 65001
R1(con g-router)#neighbor 192.168.30.1 update-source loopback 0
R1(con g-router)#address-family VPNv4 unicast
R1(con g-router-af)#neighbor 192.168.30.1 activate
R1(con g-router-af)#neighbor 192.168.30.1 send-community extended
R1(con g-router-af)#neighbor 192.168.30.1 next-hop-self
R1(con g-router-af)#end

R1(con g)#interface loopback 0


R1(con g-if)#ip ospf network point-to-point
R1(con g-if)#exit

R3(con g)#interface loopback 0


R3(con g-if)#ip ospf network point-to-point
R3(con g-if)#exit

R1(con g)#router bgp 65001


R1(con g-router)#address-family ipv4 vrf a-1
R1(con g-router-af)#redistribute static
R1(con g-router-af)#redistribute connected
R1(con g-router-af)#end

R3(con g)#router bgp 65001


R3(con g-router)#address-family ipv4 vrf a-2
R3(con g-router-af)#redistribute static
R3(con g-router-af)#redistribute connected
R3(con g-router-af)#exit

R1#show ip route vrf a-1 

Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 12/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

Routing Table: a-1


Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks


C        10.0.0.0/8 is directly connected, FastEthernet0/0
L        10.1.1.1/32 is directly connected, FastEthernet0/0
B     30.0.0.0/8 [200/0] via 192.168.30.1, 01:19:26
      192.168.40.0/32 is subnetted, 1 subnets
S        192.168.40.1 [1/0] via 10.1.1.2
      192.168.50.0/32 is subnetted, 1 subnets
B        192.168.50.1 [200/0] via 192.168.30.1, 01:19:34

R3#show ip route vrf a-2

Routing Table: a-2


Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

B     10.0.0.0/8 [200/0] via 192.168.10.1, 01:20:43


      30.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        30.0.0.0/8 is directly connected, FastEthernet0/0
L        30.1.1.1/32 is directly connected, FastEthernet0/0
      192.168.40.0/32 is subnetted, 1 subnets
B        192.168.40.1 [200/0] via 192.168.10.1, 01:20:52
      192.168.50.0/32 is subnetted, 1 subnets
S        192.168.50.1 [1/0] via 30.1.1.2


R1#show ip bgp vpnv4 all
Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 13/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

BGP table version is 7, local router ID is 192.168.13.1


Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
              x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

     Network          Next Hop            Metric LocPrf Weight Path


Route Distinguisher: 100:1 (default for vrf a-1)
 *>  10.0.0.0         0.0.0.0                  0         32768 ?
 *>i 30.0.0.0         192.168.30.1             0    100      0 ?
 *>  192.168.40.1/32  10.1.1.2                 0         32768 ?
 *>i 192.168.50.1/32  192.168.30.1             0    100      0 ?

R1#show ip bgp vpnv4 all summary


BGP router identi er 192.168.13.1, local AS number 65001
BGP table version is 7, main routing table version 7
4 network entries using 624 bytes of memory
4 path entries using 320 bytes of memory
2/2 BGP path/bestpath attribute entries using 288 bytes of memory
1 BGP extended community entries using 24 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP lter-list cache entries using 0 bytes of memory
BGP using 1256 total bytes of memory
BGP activity 4/0 pre xes, 4/0 paths, scan interval 60 secs

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd


192.168.30.1    4        65001     106     106        7    0    0 01:30:51        2

R3#show ip bgp vpnv4 all


BGP table version is 7, local router ID is 192.168.33.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
              x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

     Network          Next Hop            Metric LocPrf Weight Path


Route Distinguisher: 100:1 (default for vrf a-2)
 *>i 10.0.0.0         192.168.10.1             0    100      0 ?
 *>  30.0.0.0         0.0.0.0                  0         32768 ?
 *>i 192.168.40.1/32  192.168.10.1             0    100      0 ?
 *>  192.168.50.1/32  30.1.1.2                 0         32768 ?

Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 14/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

R3#show ip bgp vpnv4 all summary


BGP router identi er 192.168.33.1, local AS number 65001
BGP table version is 7, main routing table version 7
4 network entries using 624 bytes of memory
4 path entries using 320 bytes of memory
2/2 BGP path/bestpath attribute entries using 288 bytes of memory
1 BGP extended community entries using 24 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP lter-list cache entries using 0 bytes of memory
BGP using 1256 total bytes of memory
BGP activity 4/0 pre xes, 4/0 paths, scan interval 60 secs

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd


192.168.10.1    4        65001     106     106        7    0    0 01:31:25        2

R3#ping vrf a-2 192.168.50.1


Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.50.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 44/76/112 ms

R1#ping vrf a-1 192.168.40.1


Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.40.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/73/120 ms

R5#ping 192.168.40.1 source 192.168.50.1


Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.40.1, timeout is 2 seconds:
Packet sent with a source address of 192.168.50.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 192/234/304 ms

R4#ping 192.168.50.1 source 192.168.40.1


Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.50.1, timeout is 2 seconds:
Packet sent with a source address of 192.168.40.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 240/272/320 ms

R1#ping 192.168.30.1
Type escape sequence to abort. 
Sending 5, 100-byte ICMP Echos to 192.168.30.1, timeout is 2 seconds:
Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 15/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/102/196 ms

R3#ping 192.168.10.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 72/74/80 ms

R4#traceroute 192.168.50.1 source 192.168.40.1


Type escape sequence to abort.
Tracing the route to 192.168.50.1
VRF info: (vrf in name/id, vrf out name/id)
  1 10.1.1.1 36 msec 56 msec 104 msec
  2 30.1.1.1 [MPLS: Label 311 Exp 0] 92 msec 168 msec 136 msec
  3 30.1.1.2 196 msec 248 msec 292 msec

R1#show run | section vrf


ip vrf a-1
 rd 100:1
 route-target export 100:1
 route-target import 100:1
 ip vrf forwarding a-1
 address-family ipv4 vrf a-1
  redistribute connected
  redistribute static

R3#show run | section vrf


ip vrf a-2
 rd 100:1
 route-target export 100:1
 route-target import 100:1
 ip vrf forwarding a-2
 address-family ipv4 vrf a-2
  redistribute connected
  redistribute static


Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 16/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

Tags: MPLS L3 VPN

Share       

Posted by Internetworks
I am CCIE Technical Instructor/Network consultant. i am having experience of ranging from
operating and maintaining PCs and peripherals to network control programs for multi-faceted
data communication networks in LAN,MAN, and WAN environments.

You may like these posts

How to con gure MPLS L3 VPN with RIPv2 ?


January 19, 2020

What is MPLS L3 VPN ? How to con gure?


January 17, 2020

0 Comments

Post a Comment

ABOUT ME

Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 17/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

CCIE Technical Instructor/Network consultant


I am CCIE Technical Instructor/Network consultant. i am having experience of ranging from operating and
maintaining PCs and peripherals to network control programs for multi-faceted data communication networks
in LAN,MAN, and WAN environments.

FOLLOW US

 
Facebook Twitter

 
Pinterest Instagram

CATEGORIES

 LDP 2

 MPLS 1

 MPLS L3 VPN 2

FACEBOOK

Cisco all-in-one
334 likes

Like Page Sign Up

Be the first of your friends to like this

Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 18/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

POPULAR POSTS

Introduction of MPLS
January 10, 2020

What is MPLS Label distributing protocol (LDP) ? How LDP works?


January 10, 2020

What is MPLS L3 VPN ? How to con gure?


January 17, 2020

FACEBOOK

INK solution
304 likes

Like Page Share

Be the first of your friends to like this

Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 19/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

FOLLOW BY EMAIL

Get all latest content delivered straight to your inbox.

Email Address

SUBSCRIBE

Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 20/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

TAGS

 LDP 2

 MPLS 1

 MPLS L3 VPN 2

ABOUT ME

Internetworks
View my complete pro le

SEARCH THIS BLOG

Search this blog Search

CONTACT FORM

Name

Email *

Message *

Send

 January 2020 5

Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 21/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

Introduction of MPLS
MPLS de nes protocol that make different paradigm for a way routers forward packets. rather than forwarding
packets based on the packets...

What is MPLS Label distributing protocol (LDP) ? How LDP works?


Label distributing protocol (LDP) is a protocol which is automatically generates and exchanges labels between
MPLS routers. Each MPLS r...

What is MPLS L3 VPN ? How to con gure?


We already discus what is MPLS and LDP in the previous sections. In this section we will see what is  MPLS  L3
VPN? And what are VRF (vi...

how to con gure MPLS LDP Peering ?


Label distributing protocol (LDP) is a protocol which is automatically generates and exchanges labels between
MPLS routers. Each MPLS r...

How to con gure MPLS L3 VPN with RIPv2 ?


In  MPLS  Layer 3 the service provider will participate in routing with the customers. The customers will run
static, OSPF, EIGRP, BGP o...

INTERNETWORKS


PIM Sparse Mode What is Reverse Path Forwarding (RPF) check?
Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 22/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

PIM (Protocol Independent Multicast) PIM Dense-Mode IGMP (Internet Group Management Protocol)
con guration
Introduction to Multicast
Introduction Quality of Service Network address translation
BGP community Local-AS BGP Confederations and con guration
BGP route re ector (RR) con guration of two RR servers BGP Communities_No-advertise con guration
Root guard Default route EIGRP, RIP, and OSPF.
PortFast Spanning-tree BPDU Guard
Spanning tree protocol (STP) Etherchannel
Inter-Vlan Routing VLAN Trunking Protocol (VTP)
VLAN Trunk Dynamic Trunking Protocol (DTP)
BGP Route Re ectors (RR) PPP Multilinks
BGP Multi Exit Discriminator (MED) Route Redistribution con guration
BGP weight attribute BGP Local Preference (Local_Pref)
BGP peer group BGP attributes
Introduction of BGP BGP neighbor
Distribution list policy based routing (PBR)
routing protocol authentication (RIP and OSPF) https://www.internetworks.in/2018/11/routing-protocol-
authentication.html
OSPF Stub, totally stub, NSSA, Totally NSSA
OSPF link state advertisement (LSA) OSPF virtual link
Route redistribution OSPF neighbor states
Stuck in active (EIGRP) EIGRP equal-cost and unequal-cost load balancing
route summarization default routing
access lists Gateway load-balancing protocol (GLBP)
hot standby routing protocol (HSRP) Layer 2 switching
EIGRP virtual local area network (VLAN)
open shortest path rst (OSPF) routing information protocol (RIPv2)
Routing protocol classes IP routing

Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 23/24
2/21/2020 What is MPLS L3 VPN ? How to configure?

   

Designed with  by Way2Themes | Distributed by Free Blogger Templates

Get Button
https://mpls.internetworks.in/2020/01/what-is-mpls-l3-vpn-how-to-configure.html 24/24

Potrebbero piacerti anche