Clearing mpls statistics – H3C Technologies H3C S10500 Series Switches User Manual
Page 87

76
To do…
Use the command…
Remarks
Display the label advertisement
information of the specified FEC
display mpls ldp fec [ vpn-instance
vpn-instance-name ] dest-addr
mask-length [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display information about
LDP-enabled interfaces
display mpls ldp interface [ all
[ verbose ] | [ vpn-instance
vpn-instance-name ]
[ interface-type interface-number |
verbose ] ] [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display information about LDP
peers
display mpls ldp peer [ all
[ verbose ] | [ vpn-instance
vpn-instance-name ] [ peer-id |
verbose ] ] [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display information about remote
LDP peers
display mpls ldp remote-peer
[ remote-name remote-peer-name ]
[ | { begin | exclude | include }
regular-expression ]
Available in any view
Display information about LDP
sessions between LDP peers
display mpls ldp session [ all
[ verbose ] | [ vpn-instance
vpn-instance-name ] [ peer-id |
verbose ] ] [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display statistics information about
all LSP sessions
display mpls ldp session all
statistics [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display information about LSPs
established by LDP
display mpls ldp lsp [ all |
[ vpn-instance vpn-instance-name ]
[ dest-addr mask-length ] ] [ |
{ begin | exclude | include }
regular-expression ]
Available in any view
NOTE:
The vpn-instance
vpn-instance-name option is used to specify information about an LDP instance. For
information about LDP instances, see the chapter “MPLS L3VPN configuration.”
Clearing MPLS statistics
To do…
Use the command…
Remarks
Clear MPLS statistics for one or all
MPLS interfaces
reset mpls statistics interface
{ interface-type interface-number |
all }
Available in user view
Clear MPLS statistics for all LSPs or
the LSP with a specified index or
name
reset mpls statistics lsp { index | all
| name lsp-name }
Available in user view