interface link-keepalive
Syntax
interface <PORT-LIST> link-keepalive
Description
Enables UDLD on a port or range of ports. Default: UDLD disabled
Parameters and options
- no
To disable this feature, enter the
no
form of the command.- link-keepalive interval <INTERVAL>
Determines the time interval to send UDLD control packets. The interval parameter specifies how often the ports send a UDLD packet. You can specify from 10 to 100, in 100-ms increments, where 10 is 1 second, 11 is 1.1 seconds, and so on.
Default: 50 (5 seconds)
- link-keepalive retries <NUM>
Determines the maximum number of retries to send UDLD control packets. The
num
parameter specifies the maximum number of times the port will try the health check. You can specify a value from 3 to 10.Default: 5
- link-keepalive vlan <VID>
Assigns a VLAN ID to a UDLD-enabled port for sending tagged UDLD control packets.Under default settings, untagged UDLD packets can still be transmitted and received on tagged only ports; however, a warning message is logged.
The
no
form of the command disables UDLD on the specified ports.Default: UDLD packets are untagged; tagged-only ports transmit and receive untagged UDLD control packets