4.1.b Implement and troubleshoot basic MPLS L3VPN

note: to find all the labs, select “lab” from categories, or click the “lab” tag in the tag cloud..

MPLS VPN Static Lab

mpls_vpn_static

down arrow smaller

 mpls_static_ospf

here is the dramatic finish:

mpls_static_ospf_trace

ospf and ldp verification

mpls_static_sh_ospf_ldp_neigh

this takes care of the vrf:

PE1#sh run | b vrf
ip vrf CE1
rd 100:1
route-target export 100:1
route-target import 100:1

interface FastEthernet0/0
ip vrf forwarding CE1
ip address 192.168.1.2 255.255.255.0

ip route vrf CE1 1.1.1.0 255.255.255.0 192.168.1.1

remember the CE’s have no knowledge of vrf; plain old ip route to the PE…

CE1#sh run | i ip route
ip route 0.0.0.0 0.0.0.0 192.168.1.2
CE1#

verify the vrf:

PE1#ping vrf CE1 ip 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/22/52 ms
PE1#

mpls_static_ospf_vpnv4

the bgp config:

PE1#sh run | sec bgp
router bgp 100
bgp log-neighbor-changes
neighbor 22.22.22.22 remote-as 100
neighbor 22.22.22.22 update-source Loopback0
!
 address-family vpnv4
neighbor 22.22.22.22 activate
neighbor 22.22.22.22 send-community both
exit-address-family
!
address-family ipv4 vrf CE1
network 192.168.1.0
redistribute static
exit-address-family

do the same for CE2, substituting the vrf, and the address-families with its valid parameters.