25-12
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 25 Configuring Resilient Ethernet Protocol
Configuring REP
Enter the
no
form of each command to return to the default configuration. Enter the
show rep topology
privileged EXEC command to see which port in the segment is the primary edge port.
This example shows how to configure an interface as the primary edge port for segment 1, to send STCNs
to segments 2 through 5, and to configure the alternate port as the port with port ID 0009001818D68700
to block all VLANs after a preemption delay of 60 seconds after a segment port failure and recovery.
Switch#
configure terminal
Switch(config)#
interface gigabitethernet1/1
Switch(config-if)#
rep
segment 1 edge primary
Switch(config-if)#
rep stcn segment 2-5
Switch(config-if)#
rep block port 0009001818D68700 vlan all
Switch(config-if)#
rep preempt delay 60
Switch(config-if)#
end
Step 6
Switch(config-if)#
rep block port
{
id
port-id
|
neighbor_offset
|
preferred
}
vlan
{
vlan-list
|
all
}
(Optional) Configures VLAN load balancing on the primary edge
port, identify the REP alternate port in one of three ways, and
configure the VLANs to be blocked on the alternate port.
•
Enter the
id
port-id
to identify the alternate port by port ID. The
port ID is automatically generated for each port in the segment.
You can view interface port IDs by entering the
show interface
interface-id
rep
[
detail
] privileged EXEC command.
•
Enter a
neighbor_offset
number to identify the alternate port as
a downstream neighbor from an edge port. The range is from
–256 to 256, with negative numbers indicating the downstream
neighbor from the secondary edge port. A value of
0
is invalid.
Enter
-1
to identify the secondary edge port as the alternate port.
For an example of neighbor offset numbering, see
Note
Because you enter this command at the primary edge port
(offset number 1), you never enter an offset value of 1 to
identify an alternate port.
•
Enter
preferred
to select the regular segment port previously
identified as the preferred alternate port for VLAN load
balancing.
•
Enter
vlan
vlan-list
to block one VLAN or a range of VLANs.
•
Enter
vlan
all
to block all VLANs.
Note
Enter this command only on the REP primary edge port.
Step 7
Switch(config-if)#
rep preempt delay
seconds
(Optional) You must enter this command and configure a preempt
time delay if you want VLAN load balancing to automatically trigger
after a link failure and recovery. The time delay range is 15 to 300
seconds. The default is manual preemption with no time delay.
Note
Enter this command only on the REP primary edge port.
Step 8
Switch(config-if)#
end
Returns to privileged EXEC mode.
Step 9
Switch#
show interface
[
interface-id
]
rep
[
detail
]
Verifies the REP interface configuration.
Step 10
Switch#
copy running-config startup
config
(Optional) Saves your entries in the switch startup configuration file.
Command
Purpose
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...