Specifications

7-17
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Software Configuration Guide, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter 7 Configuring VLANs
Configuring VLAN Trunks
VLANs 8 through 10 retain the default port priority of 128 on Trunk 2.
In this way, Trunk 1 carries traffic for VLANs 8 through 10, and Trunk 2 carries traffic for VLANs 3
through 6. If the active trunk fails, the trunk with the lower priority takes over and carries the traffic for
all of the VLANs. No duplication of traffic occurs over any trunk port.
Figure 7-2 Load Sharing by Using STP Port Priorities
Beginning in privileged EXEC mode on Switch A, follow these steps to configure the network shown in
Figure 7-2. Note that you can use any interface numbers; those shown are examples.
Follow the same steps on Switch B to configure the trunk port for Trunk 1 with a spanning-tree port
priority of 16 for VLANs 8 through 10, and the configure trunk port for Trunk 2 with a spanning-tree
port priority of 16 for VLANs 3 through 6.
93370
Switch A
Switch B
Trunk 2
VLANs 3 – 6 (priority 16)
VLANs 8 – 10 (priority 128)
Trunk 1
VLANs 8 – 10 (priority 16)
VLANs 3 – 6 (priority 128)
Command Purpose
Step 1
show vlan Verify that the referenced VLANs exist on Switch A. If not, create the
VLANs by entering the VLAN IDs.
Step 2
configure terminal Enter global configuration mode.
Step 3
interface gigabitethernet 0/1 Define the interface to be configured as the Trunk 1 interface, and
enter interface configuration mode.
Step 4
switchport mode trunk Configure the port as a trunk port.
Step 5
spanning-tree vlan 8-10 port-priority 16 Assign the port priority of 16 for VLANs 8 through 10 on Trunk 1.
Step 6
end Return to privileged EXEC mode.
Step 7
show interfaces gigabitethernet 0/1
switchport
Verify the port configuration.
Step 8
configure terminal Enter global configuration mode.
Step 9
interface gigabitethernet 0/2 Define the interface to be configured as the Trunk 2 interface, and
enter interface configuration mode.
Step 10
switchport mode trunk Configure the port as a trunk port.
Step 11
spanning-tree vlan 3-6 port-priority 16 Assign the port priority of 16 for VLANs 3 through 6 on Trunk 2.
Step 12
end Return to privileged EXEC mode.
Step 13
show interfaces gigabitethernet 0/2
switchport
Verify the port configuration.
Step 14
show running-config Verify your entries.
Step 15
copy running-config startup-config (Optional) Save your entries in the configuration file.