9. Resilient
Link
MN700004 Rev 01
76
prefer port
The
prefer port
command, in Resilient-link Configuration mode, sets one of the ports of the
resilient link as preferred.
A port is said to be
preferred
if it is always the main port as long as it has the link. Traffic will
be switched back to the main port as soon as its connection is recovered. The preferred port
can be established in several ways:
•
The port with the higher bandwidth gets the preference.
•
One port is configured as preferred by the
prefer port
command.
Use the
no
prefer port
command to cancel the preference (unless the ports has a higher
bandwidth capacity).
Command Syntax
device-name
(config-resil-link
N
)#
prefer port
UU/SS/PP
device-name
(config-resil-link
N
)#
no prefer port
Argument Description
UU/SS/PP
The preferred port number.
Example
After having configured ports 1/1/4 and 1/1/5 as resilient link #3, preferring port 1/1/4:
device-name
(config-resil-link 3)#
prefer port 1/1/4
active port
The
active port
command,
in Resilient-link Configuration mode,
switches the active port of
the currently edited resilient link.
Active port
refers to the current active port. You can determine the active port manually, using
the
active port
command only if the preferred port has not been established. By default (if
you have not configured a preferred or active port, and the two ports have the same bandwidth
capacity), the active port is the first port you configure by the
ports
command (described
above).
Command Syntax
device-name
(config-resil-link
N
)#
active port
UU/SS/PP
Argument Description
UU/SS/PP
The active port number.
Example
Switching the active port of resilient link 3 to port 1/1/4:
device-name
(config-resil-link 3)#
active port 1/1/4