R3303-HP HSR6800 Routers High Availability Command Reference

63
# Enable DLDP globally, and then enable DLDP for all the ports in port group 1.
<Sysname> system-view
[Sysname] dldp enable
[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 enable
dldp interval
Use dldp interval to set the interval for sending Advertisement packets.
Use undo dldp interval to restore the default.
Syntax
dldp interval time
undo dldp interval
Default
The interval for sending Advertisement packets is 5 seconds.
Views
System view
Default command level
2: System level
Parameters
time: Specifies the interval for sending Advertisement packets, in the range of 1 to 100 (in seconds).
Usage guidelines
This command applies 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
Use dldp reset to reset DLDP state for ports, thus enabling DLDP down ports to perform unidirectional link
detection.
Syntax
dldp reset
Views
System view, Ethernet interface view, port group view
Default command level
2: System level