
107
With no parameters specified, the command resets all sessions of the public network LDP instance.
Syntax
reset mpls ldp
[
all
| [
vpn-instance
vpn-instance-name
] [
fec
mask
|
peer
peer-id
] ]
View
User view
Default level
1: Monitor level
Parameters
all
: Specifies all LDP instances, including the public one and private ones.
vpn-instance
vpn-instance-name
: Specifies a VPN instance by its name, which is a case-sensitive string of
1 to 31 characters.
fec
mask
: Specifies a FEC by the destination IP address and mask.
peer
peer-id
: Specifies a peer by its LSR ID.
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 of a specified FEC.
<Sysname> reset mpls ldp 2.2.2.2 24
# Reset the session with a specified peer.
<Sysname> reset mpls ldp peer 2.2.2.9
reset mpls statistics interface
Description
Use the
reset mpls statistics interface
command to clear MPLS statistics for the specified MPLS interfaces.
Related commands:
display mpls statistics interface
.
Syntax
reset mpls statistics
interface
{
interface-type interface-number
|
all
}
View
User view
Default level
1: Monitor level
Parameters
interface-type interface-number
: Specifies an interface by its type and number.
all
: Specifies all interfaces.