Use the undo dldp interval command to restore the default.
By default, the interval for sending Advertisement packets is five seconds.
These two commands apply to all DLDP-enabled ports.
Examples
# Set the interval for sending Advertisement packets to 20 seconds.
<Sysname> system-view
[Sysname] dldp interval 20
dldp reset
Syntax
dldp reset
View
System view, Layer 2 Ethernet port view, port group view
Default level
2: System level
Parameters
None
Description
Use the dldp reset command 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 switch. When executed in layer
2 Ethernet port 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/25.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/25
[Sysname-GigabitEthernet1/0/25] 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/25 to gigabitethernet
1/0/26
[Sysname-port-group-manual-1] dldp reset
26