This example describes packet flow for an MPLS ping is sent from VRF PE 11 on router PE 1 to the IPv4 prefix 10.99.99.21/32. For validation at the remote end, the source address of the echo request packet must be the same as the update-source address of BGP peer.
- host1:pe1#ping mpls l3vpn vrf pe11 10.99.99.21/32
The VPN IPv4 sub-TLV has the route distinguisher set to that of the VRF and the IPv4 prefix set to 10.99.99.21/32. The packet exits PE 1 with two labels.
|
Source address |
10.2.2.2 |
|
Destination address |
10.1.1.1 |
|
UDP port |
3503 |
Packet flow for an MPLS trace to an L3VPN IPv4 prefix is the same as for an IPv4 prefix except that the echo request packets and echo reply packets contain the VPN IPv4 sub-TLV instead of the LDP IPv4 sub-TLV. The following sample output represents what you might see when you issue the trace mpls l3vpn and trace mpls l3vpn vrf commands for the topology shown in Figure 67.
host1:pe1:pe11#ip8:pe1#trace mpls l3vpn 10.99.99.21/32 detail Tracing VPN IPv4 prefix, timeout = 2 sec, Max TTL 32 MplsNextHopIndex 73 handle 8073322
1 0ms 10.33.33.33 Label switched at stack-depth/2
TLV Interface and Label stack 20 bytes
Router 10.33.33.33 Intf 10.10.10.2
[L34 EXP 0 TTL 1] [L68 EXP 0 S TTL 1]
TLV Downstream mapping 24 bytes
Router 10.31.31.2 Intf 10.31.31.1 mtu 9180
[L56 EXP 0 LDP] [L68 EXP 0 S Unknown]
TLV Downstream mapping 24 bytes
Router 10.34.34.2 Intf 10.34.34.1 mtu 1500
[L79 EXP 0 LDP] [L68 EXP 0 S Unknown]
2 2ms 10.55.55.55 Label switched at stack-depth/2
TLV Interface and Label stack 20 bytes
Router 10.55.55.55 Intf 10.34.34.2
[L79 EXP 0 TTL 1] [L68 EXP 0 S TTL 2]
TLV Downstream mapping 24 bytes
Router 10.120.120.2 Intf 10.120.120.1 mtu 1500
[L43 EXP 0 LDP] [L68 EXP 0 S Unknown]
3 3ms 10.2.2.2 Replying router is an egress for the FEC at stack depth
TLV Pad 20 bytes
TLV Interface and Label stack 20 bytes
Router 10.2.2.2 Intf 10.120.120.2
[L43 EXP 0 TTL 1] [L68 EXP 0 S TTL 3]
host1:pe1#trace mpls l3vpn vrf pe11 10.99.98.21/32 reply pad-tlv exp-bits 5 detail Tracing VPN IPv4 prefix, timeout = 2 sec, Max TTL 32 Handle 1921136 MplsNextHopIndex 78 [L68,L34]
1 0ms 10.33.33.33 Label switched at stack-depth/2
TLV Pad 20 bytes
TLV Interface and Label stack 20 bytes
Router 10.33.33.33 Intf 10.10.10.2
[L34 EXP 5 TTL 1] [L68 EXP 0 S TTL 1]
TLV Downstream mapping 24 bytes
Router 10.31.31.2 Intf 10.31.31.1 mtu 9180
[L56 EXP 5 LDP] [L68 EXP 0 S Unknown]
TLV Downstream mapping 24 bytes
Router 10.34.34.2 Intf 10.34.34.1 mtu 1500
[L79 EXP 5 LDP] [L68 EXP 0 S Unknown]
2 2ms 10.55.55.55 Label switched at stack-depth/2
TLV Pad 20 bytes
TLV Interface and Label stack 20 bytes
Router 10.55.55.55 Intf 10.34.34.2
[L79 EXP 5 TTL 1] [L68 EXP 0 S TTL 2]
TLV Downstream mapping 24 bytes
Router 10.120.120.2 Intf 10.120.120.1 mtu 1500
[L43 EXP 5 LDP] [L68 EXP 0 S Unknown]
3 3ms 10.2.2.2 Replying router is an egress for the FEC at stack depth
TLV Pad 20 bytes
TLV Interface and Label stack 20 bytes
Router 10.2.2.2 Intf 10.120.120.2
[L43 EXP 5 TTL 1] [L68 EXP 0 S TTL 3]