2-247
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands
rep segment
• REP ports follow these rules:
–
There is no limit to the number of REP ports on a switch; however, only two ports on a switch
can belong to the same REP segment.
–
If only one port on a switch is configured in a segment, the port should be an edge port.
–
If two ports on a switch belong to the same segment, they must be both edge ports, both regular
segment ports, or one regular port and one edge no-neighbor port. An edge port and regular
segment port on a switch cannot belong to the same segment.
–
If two ports on a switch belong to the same segment and one is configured as an edge port and
one as a regular segment port (a misconfiguration), the edge port is treated as a regular segment
port.
If you configure two ports in a segment as the primary edge port, for example ports on different switches,
the REP selects one of them to serve as the segment primary edge port. Enter the show rep topology
privileged EXEC command on a port in the segment to verify which port is the segment primary edge
port.
REP interfaces come up in a blocked state and remain in a blocked state until notified that it is safe to
unblock. You need to be aware of this to avoid sudden connection losses.
You should configure REP only in networks with redundancy. Configuring REP in a network without
redundancy causes loss of connectivity.
In networks where ports on a neighboring switch do not support REP, you can configure the non-REP
facing ports as edge no-neighbor ports. These ports inherit all properties of edge ports and you can
configure them as any other edge port, including to send STP or REP topology change notices to the
aggregation switch. In this case, the STP topology change notice (TCN) that is sent is a multiple
spanning-tree (MST) STP message.
You can verify the configuration by entering the show interfaces rep privileged EXEC command. To
verify which port in the segment is the primary edge port, enter the show rep topology privileged EXEC
command.
When the no-neighbor keyword is specified the segment edge is configured with no external REP
neighbor. However if rep stcn stp command is enabled MST will be enabled on the port.
Examples This example shows how to enable REP on a regular (nonedge) segment port:
Switch (config)# interface gigabitethernet0/1
Switch (config-if)# rep segment 100
This example shows how to enable REP on a port and to identify the port as the REP primary edge port:
Switch (config)# interface gigabitethernet0/2
Switch (config-if)# rep segment 100 edge primary
This example shows how to configure the same configuration when the interface has no external REP
neighbor:
Switch# configure terminal
Switch (conf)# interface gigabitethernet0/1
Switch (conf-if)# rep segment 100 edge no-neighbor primary
This example shows how to enable REP on a port and to identify the port as the REP secondary edge port:
Switch (config)# interface gigabitethernet0/2
Switch (config-if)# rep segment 100 edge