The user can enable bypass LSP statistics with the ingress-tunnel-accounting command.
To enable bypass LSP statistics, complete the following steps.
device>configure
device(config)# router mpls
device(config-router-mpls)# policy
device(config-router-mpls-policy)# ingress-tunnel-accounting
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