![H3C S9500 Series Command Manual Download Page 79](http://html.mh-extra.com/html/h3c/s9500-series/s9500-series_command-manual_575036079.webp)
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches
Chapter 1 MPLS Basics Configuration Commands
1-71
1.1.46 reset mpls ldp
Syntax
reset mpls ldp
[
all
| [
vpn-instance
vpn-instance-name
] [
peer
peer-id
] ]
View
User view
Default Level
1: Monitor level
Parameters
vpn-instance-name
: Name of the VPN instance.
peer-id
: MPLS LSR ID of the peer.
all
: Specified all LDP instances.
Description
Use the
reset mpls ldp
command to reset LDP sessions.
z
With no parameters specified, the command resets the sessions of all public
network LDP instances.
z
With only the
all
keyword specified, the command resets the sessions of all LDP
instances, including those of the public LDP instances and those of the VPN LDP
instances.
z
With the
vpn-instance
vpn-instance-name
keyword and argument combination
specified, the command resets the sessions of the specified LDP instance.
z
With the
peer peer-id
keyword and argument combination specified, the command
resets the sessions with the specified peer.
Examples
# Reset the sessions of all public network LDP instances.
<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 with a specified peer.
<Sysname> reset mpls ldp peer 2.2.2.9