dldp reset
Syntax
dldp reset
View
System view, Layer 2 Ethernet interface view, port group view
Default level
2: System level
Parameters
None
Description
Use dldp reset to reset the DLDP state for ports, enabling DLDP down ports to perform unidirectional link detection.
When executed in system view, this command applies to all ports of the device. When executed in Layer 2 Ethernet interface view, this command applies to the current port. When executed in port group view, this command applies to all ports in the port group.
Related commands: dldp enable and dldp unidirectional-shutdown.
Examples
# Reset DLDP state for all ports.
<Sysname> system-view [Sysname] dldp reset
# Reset DLDP state for port GigabitEthernet 1/0/49.
<Sysname> system-view [Sysname] interface gigabitethernet 1/0/49 [Sysname-GigabitEthernet1/0/49] dldp reset
# Reset DLDP state for all ports in port group 1.
<Sysname> system-view [Sysname] port-group manual 1 [Sysname-port-group-manual-1] group-member gigabitethernet 1/0/49 to gigabitethernet 1/0/50 [Sysname-port-group-manual-1] dldp reset