2-526
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 block port
rep block port
To configure Resilient Ethernet Protocol (REP) VLAN load balancing, use the rep block port interface
configuration command on the REP primary edge port . Use the no form of this command to return to the
default configuration.
rep block port {id port-id | neighbor_offset | preferred} vlan {vlan-list | all}
no rep block port {id port-id | neighbor_offset | preferred}
Syntax Description
Defaults The default behavior after you enter the rep preempt segment privileged EXEC command (for manual
preemption) is to block all VLANs at the primary edge port. This behavior remains until you configure
the rep block port command.
If the primary edge port cannot determine which port is to be the alternate port, the default action is no
preemption and no VLAN load balancing.
Command Modes Interface configuration
Command History
Usage Guidelines You must enter this command on the REP primary edge port.
id port-id Identifies the VLAN blocking alternate port by entering the unique port ID that is
automatically generated when REP is enabled. The REP port ID is a 16-digit
hexadecimal value. You can view the port ID for an interface by entering the show
interface interface-id rep detail command.
neighbor_offset Identifies the VLAN blocking alternate port by entering the offset number of a
neighbor. The range is –256 to +256; a value of 0 is invalid. The primary edge port
has an offset number of 1; positive numbers above 1 identify downstream
neighbors of the primary edge port. Negative numbers identify the secondary edge
port (offset number -1) and its downstream neighbors.
preferred Identifies the VLAN blocking alternate port as the segment port on which you
entered the rep segment segment-id preferred interface configuration command.
Note Entering the preferred keyword does not ensure that the preferred port is
the alternate port; it gives it preference over other similar ports.
vlan Identifies the VLANs to be blocked.
vlan-list Specifies a VLAN ID from 1 to 4094 or a range or sequence of VLANs (such as
1–3, 22, 41–44) of VLANs to be blocked.
all Specifies to block all VLANs.
Release Modification
15.0(2)SE This command was introduced.