R3303-HP HSR6800 Routers High Availability Command Reference
65
Examples
# Set the port shutdown mode to auto mode.
<Sysname> system-view
[Sysname] dldp unidirectional-shutdown auto
Related commands
dldp work-mode
dldp work-mode
Use dldp work-mode to set the DLDP mode.
Use undo dldp work-mode to restore the default DLDP mode.
Syntax
dldp work-mode { enhance | normal }
undo dldp work-mode
Default
A device operates in normal DLDP mode.
Views
System view
Default command level
2: System level
Parameters
enhance: Specifies the enhanced DLDP mode.
normal: Specifies the normal DLDP mode.
Examples
# Configure the device to operate in enhanced DLDP mode.
<Sysname> system-view
[Sysname] dldp work-mode enhance
reset dldp statistics
Use reset dldp statistics to clear the statistics on DLDP packets passing through a port.
Syntax
reset dldp statistics [ interface-type interface-number ]
Views
User view
Default command level
1: Monitor level
Parameters
interface-type interface-number: Port type and port number.