PurposeCommand or Action
• (Optional) primary—Configures the port as the primary edge port, the port
on which you can configure VLAN load balancing.
Although each segment can have only one primary edge port, if you
configure edge ports on two different switches and enter the primary
keyword on both switches, the configuration is valid. However, REP
selects only one of these ports as the segment primary edge port. You
can identify the primary edge port for a segment by entering the show
rep topology privileged EXEC command.
Note
• (Optional) preferred—Indicates that the port is the preferred alternate port
or the preferred port for VLAN load balancing.
Configuring a port as preferred does not guarantee that it becomes the
alternate port; it merely gives the port a slight edge over equal contenders.
The alternate port is usually a previously failed port.
Note
(Optional) Configures the edge port to send STCNs.
rep stcn {interface type number |
segment id-list | stp}
Step 5
•
Use the interface type number keyword and arguments pair to designate a
physical interface or port channel to receive STCNs.
Example:
Router(config-if)# rep stcn
segment 2-5
•
Use the segment id-list keyword and arguments pair to identify one or more
segments to receive STCNs. The range is from 1 to 1024.
•
Enter the stp keyword to send STCNs to STP networks.
(Optional) Configures VLAN load balancing on the primary edge port, identifies
the REP alternate port in one of three ways, and configures 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-id keyword and arguments 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 the preferred keyword to select the regular segment port previously
identified as the preferred alternate port for VLAN load balancing.
•
Enter the vlan vlan-list keyword and arguments pair to block one VLAN or
a range of VLANs.
•
Enter the vlan all keyword to block all VLANs.
LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
29
Configuring Resilient Ethernet Protocol
Configuring REP Configurable Timers