R3303-HP 6600/HSR6600 Routers MPLS Command Reference Guide

67
fec mask: Resets the LDP sessions for the specified FEC. The fec mask argument specifies a FEC by a
destination IP address and mask.
peer peer-id: Resets the LDP session with the specified peer. The peer-id argument specifies a peer by its
LSR ID.
Usage guidelines
With no parameters specified, the command resets all sessions of the public network LDP instance.
Examples
# Reset all sessions of the public network LDP instance.
<Sysname> reset mpls ldp
# Reset the sessions of all LDP instances.
<Sysname> reset mpls ldp all
# Reset the sessions of LDP instance vpn1.
<Sysname> reset mpls ldp vpn-instance vpn1
# Reset the sessions for a FEC.
<Sysname> reset mpls ldp 2.2.2.2 24
# Reset the session with a specific peer.
<Sysname> reset mpls ldp peer 2.2.2.9
reset mpls statistics interface
Use reset mpls statistics interface to clear MPLS statistics for the specified MPLS interfaces.
Syntax
reset mpls statistics interface { interface-type interface-number | all }
Views
User view
Default command level
1: Monitor level
Parameters
interface-type interface-number: Clears statistics collected for the specified interface.
all: Clears statistics collected for all interfaces.
Examples
# Clear MPLS statistics for interface GigabitEthernet 2/1/1.
<Sysname> reset mpls statistics interface gigabitethernet 2/1/1
Related commands
display mpls statistics interface
reset mpls statistics lsp
Use reset mpls statistics lsp to clear MPLS statistics for the specified LSPs.