Specifications
4-18
Cisco MWR 2941 Mobile Wireless Edge Router Software Configuration Guide, Release 12.2(33)MRB
OL-21227-02
Chapter 4 Configuring the Cisco MWR 2941 Router Using the CLI
Configuration Sequence
Step 5 Use the switchport mode trunk command to configure the interface as a Layer 2 trunk port.
Router(config-if)# switchport mode trunk
Step 6 Use the rep segment segment-id to enable REP on the interface, and identify a segment number. The
segment ID range is from 1 to 1024. These optional keywords are available:
• edge—Configures the port as an edge port.
• primary—Configures an edge port as the primary edge port
• preferred—Sets the port as the preferred alternate port or the preferred port for VLAN load
balancing.
Router(config-if)# rep segment 100 edge primary
For more information about the syntax for this command, see the Appendix B, “Cisco MWR 2941
Router Command Reference.”
Step 7 Use the rep stcn command to configure the edge port to send segment topology change notices (STCNs).
This command has the following parameters:
• interface interface-id—Designates a physical interface or port channel to receive STCNs.
• segment id-list—Identifies one or more segments to receive STCNs. The range is 1 to 1024.
• stp—Sends STCNs to STP networks.
Router(config-if)# rep stcn interface gigabitethernet0/2 segment 500 stp
Step 8 Use the rep block port command to configure VLAN load balancing on the primary edge port, identify
the REP alternate port, and configure the VLANs to be blocked on the alternate port.
• id port-id—Identifies 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.
• neighbor_offset—Identifies the alternate port as a downstream neighbor from an edge port. The
range is from –256 to 256, with negative numbers identifying 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. See Figure 1-4 on page 1-8 for an example of neighbor offset numbering.
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—Selects the regular segment port previously identified as the preferred alternate port for
VLAN load balancing.
• vlan vlan-list—Blocks one VLAN or a range of VLANs.
• vlan all—Blocks all VLANs.
Note Enter this command only on the REP primary edge port.
Router(config-if)# rep block port 0009001818D68700 vlan all
Step 9 Use the rep preempt delay seconds command to 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. This command only applies to the REP
primary edge port.