Keeps the port in a logically blocked state until the link configured for UDLD has been successfully established in
bi-directional communication.
Syntax:
Switch(config)# link-keepalive mode forward-then-verify
Forwards the data then verifies the status of the link. If a unidirectional state is detected, the port is then moved to
a blocked state.
Syntax:
Switch(config)# link-keepalive interval <deciseconds>
Configure the interval for link-keepalive. The link-keepalive interval is the time between sending two
UDLD packets. The time interval is entered in deciseconds (1/10 sec). The default keepalive interval is 50
deciseconds.
Example:
A value of 10 is 1 sec., 11 is 1.1 sec.
Syntax:
Switch(config)# link-keepalive retries <number>
Maximum number of sending attempts for UDLD packets before declaring the link as faulty.
Default keepalive attempt is 4.
Show commands
Syntax:
switch(config)# show link-keepalive
Sample output:
Total link-keepalive enabled ports: 8
Keepalive Retries : 4
Keepalive Interval: 5 sec
Keepalive Mode : verify-then-forward
Physical Keepalive Adjacent UDLD
Port
Enabled Status
----- ------- ---------------- --------- ------------- ----------
1
Yes
2
Yes
3
Yes
4
Yes
5
Yes
6
Yes
7
Yes
8
Yes
RMON generated when user changes UDLD mode
RMON events are generated when UDLD is configured. The first time you configure the mode, the UDLD states
will be re-initialized. An event log entry is initiated to include the reason for the initial UDLD blocking state during
link up.
Example:
UDLD mode [verify-then-forward | forward-then-verify] is configured
Chapter 7 Configuring for Network Management Applications
Status
down
off-line
down
off-line
down
off-line
down
off-line
down
off-line
down
off-line
down
off-line
down
off-line
Switch
VLAN
000000-000000 untagged
000000-000000 untagged
000000-000000 untagged
000000-000000 untagged
000000-000000 untagged
000000-000000 untagged
000000-000000 untagged
000000-000000 untagged
217