Bypass LSP Statistics

Bypass tunnel statistics measure the amount of traffic pushed into the bypass tunnel. It accounts the traffic for both tunnels and transit which are in a repaired state and using the bypass tunnel to forward traffic.

The user can enable bypass LSP statistics with the ingress-tunnel-accounting command.

To enable bypass LSP statistics, complete the following steps.

  1. Enable the device for configuration.
    device>configure
  2. Enable the MPLS router.
    device(config)# router mpls
  3. Enter the policy mode.
    device(config-router-mpls)# policy
  4. Enable bypass LSP statistics with the ingress-tunnel-accounting command.
    device(config-router-mpls-policy)# ingress-tunnel-accounting

Example

The following example combines the steps above to enable bypass LSP statistics using the ingress-tunnel-accounting command.

device>configure
device(config)# router mpls
device(config-router-mpls)# policy
device(config-router-mpls-policy)# ingress-tunnel-accounting

The user can display the statistics for bypass LSPs by using the show mpls statistics tunnel show command.

device# show mpls statistics tunnel
Tunnel                           Total           Since Last clear   Rate        
Index  LSP Name      Proto  Byp  Packets Bytes   Packets Bytes      Pkts/sec  Bytes/sec
     1 my-bypass-lsp    R   Yes        0     0         0     0             0         0 
     2 t2               R   No         0     0         0     0             0         0