beautypg.com

Changing the keepalive interval, Changing the keepalive retries, Displaying udld information – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual

Page 124: Displaying information for all ports

background image

Changing the Keepalive interval

By default, ports enabled for UDLD send a link health-check packet once every 500 ms. You can
change the interval to a value from 1 - 60, where 1 is 100 ms, 2 is 200 ms, and so on. To change the
interval, enter a command such as the following.

device(config)#link-keepalive interval 4

Syntax: [no] link-keepalive interval num

The num parameter specifies how often the ports send a UDLD packet. You can specify from 1 - 60, in
100 ms increments. The default is 5 (500 ms).

Changing the Keepalive retries

By default, a port waits one second to receive a health-check reply packet from the port at the other
end of the link. If the port does not receive a reply, the port tries four more times by sending up to four
more health-check packets. If the port still does not receive a reply after the maximum number of
retries, the port goes down.

You can change the maximum number of keepalive attempts to a value from 3 - 64. To change the
maximum number of attempts, enter a command such as the following.

device(config)#link-keepalive retries 10

Syntax: [no] link-keepalive retries num

The num parameter specifies the maximum number of times the port will try the health check. You can
specify a value from 3 - 64. The default is 7.

Displaying UDLD information

This section describes the commands used to display information about a UDLD configuration.

Displaying information for all ports

To display UDLD information for all ports, enter the following command.

device#show link-keepalive

Total link-keepalive enabled ports: 4

Keepalive Retries: 3 Keepalive Interval: 1 Sec.

Port Physical Link Logical Link State Link-vlan

4/1 up up FORWARDING 3

4/2 up up FORWARDING

4/3 down down DISABLED

4/4 up down DISABLED

Syntax: show link-keepalive

CLI display of UDLD information

TABLE 24

Field

Description

Total link-keepalive enabled
ports

The total number of ports on which UDLD is enabled.

Changing the Keepalive interval

124

FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide

53-1003086-04