PurposeCommand or Action
Example:
Router> enable
•
Enter your password if prompted.
Enters global configuration mode.configure terminal
Example:
Router# configure terminal
Step 2
Specifies the interface and enters interface configuration mode.
interface interface type number
Step 3
Example:
Router(config)# interface
GigabitEthernet 0/0/1
•
Enter the interface type and number.
Enables REP on the interface and identifies a segment number.
rep segment segment-id [edge
[primary]] [preferred]
Step 4
•
The segment ID range is from 1 to 1024.
Example:
Router(config-if)# rep segment
3 edge preferred
You must configure two edge ports, including one primary edge port for
each segment.
Note
• (Optional) edge—Configures the port as an edge port. Each segment has only
two edge ports. Entering the edge without the primary keyword configures
the port as the secondary edge port.
• (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-argument 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-argument pair to identify one or more
segments to receive STCNs. The range is from 1 to 1024.
•
Enter thestp to send STCNs to STP networks.
LAN Switching Configuration Guide Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
22
Configuring Resilient Ethernet Protocol
Configuring REP Support on a Trunk EFP