Command Reference DLDP Commands
3.2 dldp
Use this command to configure DLDP detection.
Use the no form of this command to disable this function .
dldp ip-address [ next-hop-ip ] [mac-address mac-addr] [ interval tick | retry retry-num | resume
resume-num ]
IP address of the peer device to be detected
Next-hop IP address specified when the device to be detected belongs to
another different network
The bound MAC address. If a next hop exists, its MAC address is
configured.
Detection interval. The value range is from 1 to 6,000 in the unit of ticks,
where 1 tick is equal to 10 milliseconds. The value must be an integral
multiple of five.
Number of retry times. The value range is from 1 to 3,600.
Number of recovery times of the link to the peer device to be detected,
indicating the number of consecutive packets received before a down link
turns up. The value range is from 1 to 200.
By default, tick is 100, indicating that the detection interval is 1 second.
The values of retry-num and resume-num are both 3.
Interface configuration mode
You can use this command to enable DLDP detection to quickly detect Ethernet link faults.
DLDP detection detects multiple IP addresses on Layer 3 ports. If they respond no ICMP packets,
they are considered down; if one of them recovers response, they are considered up.
The following example enables DLDP detection for the device 10.83.132.10.
Ruijie#config
Ruijie(config)#interface vlan 1
Ruijie(config-if-VLAN 1)#ip address 10.83.132.1 255.255.255.0
Ruijie(config-if-VLAN 1)#dldp 10.83.132.10
The following example enables DLDP detection for the device 10.83.132.10 in another different
network segment.
Ruijie#config
Ruijie(config)#interface vlan 1
Ruijie(config-if-VLAN 1)#ip address 10.83.132.1 255.255.255.0
Ruijie(config-if-VLAN 1)#dldp 10.83.131.10 10.83.132.2