PurposeCommand or Action
(Optional) Configures VLAN load balancing on the primary edge port, identifies
the REP alternate port in one of three ways, and configures the VLANs to be
blocked on the alternate port.
rep block port {id port-id |
neighbor-offset | preferred} vlan
{vlan-list | all}
Step 6
Example:
Router(config-if)# rep block
port 0009001818D68700 vlan all
•
Enter the id port-idkeyword-pair to identify the alternate port by port ID. The
port ID is automatically generated for each port in the segment. You can view
interface port IDs by entering the show interface type number rep [detail]
command.
•
Enter a neighbor-offset number to identify the alternate port as a downstream
neighbor from an edge port. The range is from -256 to 256, with negative
numbers indicating the downstream neighbor from the secondary edge port.
A value of 0 is invalid. Enter -1 to identify the secondary edge port as the
alternate port.
Because you enter this command at the primary edge port (offset number
1), you cannot enter an offset value of 1 to identify an alternate port.
Note
•
Enter thepreferred keyword to select the regular segment port previously
identified as the preferred alternate port for VLAN load balancing.
•
Enter thevlan vlan-list keyword-argument pair to block one VLAN or a range
of VLANs.
•
Enter thevlan all keyword to block all VLANs.
•
Execute this command multiple times to accommodate the desired set of
VLANs. It works as append VLAN to the existing list instead of replacing
an existing one.
Enter this command only on the REP primary edge
port.
Note
(Optional) Configures a preempt time delay.
rep preempt delay seconds
Step 7
Example:
Router(config-if)# rep preempt
delay 60
•
Use this command if you want VLAN load balancing to automatically trigger
after a link failure and recovery.
•
The time delay range is between15 to 300 seconds. The default is manual
preemption with no time delay.
Use this command only on the REP primary edge
port.
Note
Returns to privileged EXEC mode.end
Example:
Router(config-if-srv)# end
Step 8
(Optional) Verifies the REP interface configuration.
show interface type number rep
[detail]
Step 9
•
Enter the interface type and number and the optional detail keyword, if
desired.
LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
23
Configuring Resilient Ethernet Protocol
Configuring REP Support on a Trunk EFP