2-402
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
rep segment
•
Access port
You must configure two edge ports on each REP segment, a primary edge port and a port to act as a
secondary edge port. If you configure two ports in a segment as the primary edge port, for example ports
on different switches, the configuration is allowed, but the REP selects one of them to serve as the
segment primary edge port.
REP is supported on EtherChannels, but not on an individual port that belongs to an EtherChannel.
•
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.
Examples
This example shows how to enable REP on a regular (nonedge) segment port:
Switch (config)#
interface gigabitethernet1/0/1
Switch (config-if)#
rep segment 100
This example shows how to enable REP on a port and identify the port as the REP primary edge port:
Switch (config)#
interface gigabitethernet1/0/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 identify the port as the REP secondary edge port:
Switch (config)#
interface gigabitethernet1/0/2
Switch (config-if)#
rep segment 100 edge