2-246
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 segment
To enable Resilient Ethernet Protocol (REP) on an interface and to assign a segment ID to it, use the rep
segment command in interface configuration mode. To disable REP on the interface, use the no form of
this command.
rep segment segment-id [edge [no-neighbor] [primary]] [preferred]
no rep segment
Syntax Description
Defaults REP is disabled on the interface.
When REP is enabled on an interface, the default is for the port to be a regular segment port.
Command Modes Interface configuration
Command History
Usage Guidelines REP ports must be Layer 2 trunk ports.
REP ports should not be configured as access ports.
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.
segment-id Assigns a segment ID to the interface. The range is from 1 to 1024.
edge (Optional) Identifies the interface as one of the two REP edge ports. Entering the
edge keyword without the primary keyword configures the port as the secondary
edge port.
no-neighbor (Optional) Configures a segment edge with no external REP neighbor.
primary (Optional) On an edge port, specifies that the port is the primary edge port. A
segment has only one primary edge 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.
preferred (Optional) Specifies that the port is the preferred alternate port or the preferred port
for VLAN load balancing.
Note Configuring a port as preferred does not guarantee that it becomes the
alternate port; it merely gives it a slight edge among equal contenders. The
alternate port is usually a previously failed port.
Release Modification
12.2(52)EY This command was introduced.