Displays MPLS statistics.
Privileged EXEC mode
MPLS is supported on the Extreme 8820, SLX 9740, SLX 9640, and SLX 9540 devices only.
The show mpls statistics command displays the following information:
The tunnel index displayed by this command is the LSP tunnel index maintained by MPLS. This index cannot be used to display the MPLS statistics. Use the show mpls statistics tunnel command to get the tunnel index for this purpose.
Output field | Description |
---|---|
Name | Tunnel name. |
Intf | Interface tunnel name. |
Prot | Protection code: L-Local, R- RtrId |
Total Packets | Displays the total number of packets. |
Total Bytes | Displays the total number of bytes. |
Since Last Clear Packets | Displays the number of packets since last clear. |
Since Last Clear Bytes | Displays the number of bytes since the last clear. |
Rate Pkts/sec | Displays the packets per second rate. |
Rate Bytes/sec | Displays the bytes per second rate. |
The following example shows the command using the tunnel option.
device# configure device(config)# router mpls device(config-router-mpls)# lsp t2 device(config-router-mpls-lsp-t2)# show mpls statistics tunnel Total Since Last clear Rate Name Intf Prot Packets Bytes Packets Bytes Pkts/sec Bytes/sec t1 tnl0 R 2004 28175882 2004 28175882 6 93919 t2 tnl1 L 3101 40373763 3101 40373763 10 134579
The following example shows the command using the tunnel rsvp option.
device# configure device(config)# router mpls device(config-router-mpls)# lsp t2 device(config-router-mpls-lsp-t2)# show mpls statistics tunnel rsvp Total Since Last clear Rate Name Intf Packets Bytes Packets Bytes Pkts/sec Bytes/sec t1 tnl0 2004 28175882 2004 28175882 6 93919
The following example shows the command using the transit option.
device# configure device(config)# router mpls device(config-router-mpls)# lsp t2 device(config-router-mpls-lsp-t2)# show mpls statistics transit Total Since Last clear Rate IN Label Prot Packets Bytes Packets Bytes Pkts/sec Bytes/sec 2048 R 2004 28175882 2004 28175882 6 93919 2050 L 3101 40373763 3101 40373763 10 134579
The following example shows the command using the transit ldp option.
device# configure device(config)# router mpls device(config-router-mpls)# lsp t2 device(config-router-mpls-lsp-t2)# show mpls statistics transit ldp Total Since Last clear Rate IN Label Packets Bytes Packets Bytes Pkts/sec Bytes/sec 2050 3101 40373763 3101 40373763 10 134579