Step 1 |
enable
Example:
|
Enables
privileged EXEC mode.
|
Step 2 |
configure
terminal
Example:
Router# configure terminal
|
Enters global
configuration mode.
|
Step 3 |
interface
type
number
Example:
Router(config)# interface Gigabitethernet 0/0/1
|
Specifies the
interface and enters interface configuration mode.
|
Step 4 |
rep
segment
segment-id
[edge [
no-neighbor] [primary]] [preferred]
Example:
Router(config-if)# rep segment 1 edge preferred
|
Enables REP on
the interface and identifies a segment number.
Note
|
You must
configure two edge ports, including one primary edge port for each segment.
|
-
(Optional)
edge—Configures
the port as an edge port. Each segment has only two edge ports. Entering the
edge keyword
without the
primary keyword
configures the port as the secondary edge port.
-
(Optional)no-neighbor—Configures the segment edge as one
with no external REP neighbor on a port.
-
(Optional)
primary—Configures the port as the primary edge
port, the port on which you can configure VLAN load balancing.
Note
|
Although each
segment can have only one primary edge port, if you configure edge ports on two
different switches and enter the
primary keyword
on both switches, the configuration is valid. However, REP selects only one of
these ports as the segment primary edge port. You can identify the primary edge
port for a segment by entering the
show
rep
topology privileged EXEC command.
|
Note
|
Configuring a
port as preferred does not guarantee that it becomes the alternate port; it
merely gives the port a slight edge over equal contenders. The alternate port
is usually a previously failed port.
|
|
Step 5 |
rep
stcn
{interface
type number
|
segment
id-list |
stp}
Example:
Router(config-if)# rep stcn segment 2-5
|
(Optional)
Configures the edge port to send STCNs.
-
Use the
interface
type number
keyword and arguments pair to designate a physical interface or port channel to
receive STCNs.
-
Use the
segment
id-list
keyword and arguments pair to identify one or more segments to receive STCNs.
The range is from 1 to 1024.
-
Enter
the
stp
keyword to send STCNs to STP networks.
|
Step 6 |
rep
block
port
{id
port-id
|
neighbor-offset |
preferred}
vlan {vlan-list |
all}
Example:
Router(config-if)# rep block port 0009001818D68700 vlan all
|
(Optional)
Configures VLAN load balancing on the primary edge port, identifies the REP
alternate port in one of three ways, and configures VLANs to be blocked on the
alternate port.
-
Enter the
id
port-id
keyword and arguments pair 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
type number
rep [detail] 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.
Note
|
Because you
enter this command at the primary edge port (offset number 1), you cannot enter
an offset value of 1 to identify an alternate port.
|
-
Enter the
preferred
keyword to select the regular segment port previously identified as the
preferred alternate port for VLAN load balancing.
-
Enter the
vlan
vlan-list
keyword and arguments pair to block one VLAN or a range of VLANs.
-
Enter
the
vlan
all keyword
to block all VLANs.
-
Execute
this command multiple times to accommodate the desired set of VLANs. It works
as append VLAN to the existing list instead of replacing an existing one.
Note
|
Enter this
command only on the REP primary edge port.
|
|
Step 7 | rep lsl-retries number-of-tries
Example:
Router(config-if)# rep lsl-retries 3
|
Configures the
number of retries permitted by LSL.
|
Step 8 |
rep lsl-age-timer timer-value
Example:
Router(config-if)# rep lsl-age-timer 200
|
Configures the
failure detection time.
|
Step 9 |
rep
preempt
delay
seconds
Example:
Router(config-if)# rep preempt delay 60
|
Note
|
Use this
command only on the REP primary edge port.
|
|
Step 10 |
end
Example:
Router(config-if-srv)# end
|
Returns to
privileged EXEC mode.
|
Step 11 |
show
interface type number
rep [detail]
Example:
Router# show interface Gigabitethernet0/0/1 rep detail
|
(Optional)
Displays the REP interface configuration.
|
Step 12 |
copy
running-config
startup-config
Example:
Router# copy running-config startup-config
|
(Optional)
Saves your entries in the router startup configuration file.
|