2-534
Catalyst 3750-X and 3560-X Switch Command Reference
OL-29704-01
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
rep segment
rep segment
To enable Resilient Ethernet Protocol (REP) on the interface and to assign a segment ID to it, use the
rep segment interface configuration command. Use the no form of this command to disable REP on the
interface.
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 one of these port types:
• SPAN destination port
• Private VLAN port
• Tunnel port
• Access 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
15.0(2)SE This command was introduced.