To learn theory related to this configuration, please go through the following posts.
IPv4, IPv4 VRF & VPNv4 Address Families of BGP
Configuring MPLS L3 VPN with PE-CE BGP
For a same kind of post where there is no route reflector in the SP-CORE, please go through the following post.
Show Command Outputs of Working MPLS VPN Configuration with PE-CE BGP
Following is the diagram used in the post.
Configuration of the Custer Edge Routers..
Configuration of the Provider Edge Routers..
Configuration of the Provider Core Router (The Route Reflector)..
Now let's go through the show commands..
show ip route
show ip route vrf <VRF>
show ip route
show ip route vrf <VRF>
All the above commands will give the same result and only the Customer Edge routers will have something to show for these commands..
show bgp vpnv4 unicast all summary
show bgp vpnv4 unicast all
show ip bgp vpnv4 all summary
show ip bgp vpnv4 all
show bgp vpnv4 unicast vrf <VRF> summary
show bgp vpnv4 unicast vrf <VRF>
show ip bgp vpnv4 vrf <VRF> summary
show ip bgp vpnv4 vrf <VRF>
show ip bgp vpnv4 all summary
show ip bgp vpnv4 all
show bgp vpnv4 unicast vrf <VRF> summary
show bgp vpnv4 unicast vrf <VRF>
show ip bgp vpnv4 vrf <VRF> summary
show ip bgp vpnv4 vrf <VRF>
These commands will be show outputs on Provider Edge routers where VRFs and VPNs are configured.. Provider Core will respond for vpnv4 all commands as it is the route reflector for VPNv4 address family.
Note:-
Note that the 1st 4 commands will result the both IPv4 VRF and VPNv4 family results while the last 4 commands will only show the IPv4 VRF family results. So there is no command to view only the VPNv4 family results..
show mpls forwarding-table
This is for Provider Edge and Provider Core routers.
Traceroutes and Forwarding
Now let's see what a trace route will show. Let's initiate one from a Customer Edge Router to its other side Customer Edge router.
But if you look at the mpls labeling for that same destination from the same Provider Edge router, you will see there are are 2 labels because it goes through the MPLS VPN.
16 will be the outer label and 20 will be the inner label in this case. What PE1 does is that it will add 20 and 16 on top of that and forward it to the 3.3.3.3 which should go through the 2.2.2.2 as per the topology (look at the mpls forwarding tables above). When 2.2.2.2 receives it, it will remove the label 16 and it will forward it to 3.3.3.3 and when 3.3.3.3 receives it, it will remove the label 20 and route as per the routing table.
Provider Core Routers will not maintain any Customer Edge route as it is in the middle of the VPN..
Provider Core Routers will not maintain any Customer Edge route as it is in the middle of the VPN..
can i get your eve labs for practice
ReplyDelete