R3303-HP HSR6800 Routers High Availability Command Reference
64
Usage guidelines
When executed in system view, this command applies to all ports of the device. When executed in
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.
Examples
# Reset DLDP state for all ports.
<Sysname> system-view
[Sysname] dldp reset
# Reset DLDP state for port GigabitEthernet 3/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/1] 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 3/0/1 to gigabitethernet
3/0/3
[Sysname-port-group-manual-1] dldp reset
Related commands
• dldp enable
• dldp unidirectional-shutdown
dldp unidirectional-shutdown
Use dldp unidirectional-shutdown to set the port shutdown mode.
Use undo dldp unidirectional-shutdown to restore the default.
Syntax
dldp unidirectional-shutdown { auto | manual }
undo dldp unidirectional-shutdown
Default
The port shutdown mode is auto mode.
Views
System view
Default command level
2: System level
Parameters
auto: Configures the port shutdown mode as auto mode, where, when a unidirectional link is detected,
the port involved is shut down by DLDP.
manual: Configures the port shutdown mode as manual mode, where, when a unidirectional link is
detected, DLDP generates log and traps to prompt you to shut down the involved port instead of doing
so automatically.