Verifying that an LDP-Signaled LSP Is Carrying Traffic

Problem

You want to check that traffic is using an LDP-signaled LSP.

Solution

Look at the LSP traffic statistics:

aviva@RouterJ> show ldp traffic-statistics FEC Type Packets Bytes Shared 192.168.16.1/32 Transit 15 1260 No Ingress 0 0 No 192.168.19.1/32 Transit 0 0 No Ingress 0 0 No

Discussion

To make sure that traffic is using the LSP, look at the traffic statistics on the LDP sessions with the show ldp traffic-statistics commands. The Packets column shows the number of packets that have been sent, and the Bytes column gives the total byte count of all the packets. In this recipe, RouterJ carried 15 packets (1,260 bytes) from RouterG (192.168.16.1), acting as the transit router for this traffic.

Категории