1-110
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
rep block port
rep block port
Use the
rep block port
interface configuration command on the REP primary edge port to configure
Resilient Ethernet Protocol (REP) VLAN load balancing. 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
id
port-id
Identify 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-character
hexadecimal value. You can view the port ID for an interface by entering the
show
interface
interface-id
rep
detail
command.
neighbor_offset
Identify 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.
Note
Because you enter this command at the primary edge port (offset number
1), you would never enter an offset value of 1 to identify an alternate port.
preferred
Identify 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
Identify the VLANs to be blocked.
vlan-list
Enter 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
Enter to block all VLANs.
Release
Modification
15.1(2)SNG
Support for this command was introduced on the Cisco ASR 901 router.