1-116
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
rep segment
REP ports should not be configured as one of these port types:
•
SPAN destination port
•
Private VLAN port
•
Tunnel port
•
Access port
•
REP ports must be network node interfaces (NNIs). REP ports cannot be user-network interfaces
(UNIs) or enhanced network interfaces (ENIs).
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 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.
Note
Release 12.2(33)MRA does not support the
no-neighbor
keyword.
–
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.
Examples
This example shows how to enable REP on a regular (nonedge) segment port:
Router (config)#
interface gigabitethernet 0/1
Router (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:
Router (config)#
interface gigabitethernet 0/2
Router (config-if)#
rep segment 100 edge primary
This example shows how to enable REP on a port and to identify the port as the REP secondary edge port:
Router (config)#
interface gigabitethernet 0/2
Router (config-if)#
rep segment 100 edge