Cisco WS-C2948G-GE-TX Configuration Manual page 249

Catalyst 4500 series switch
Table of Contents

Advertisement

Chapter 11
Configuring VLAN Trunks on Fast Ethernet and Gigabit Ethernet Ports
Switch_2> (enable) set spantree portvlanpri 1/1 1 20
Port 1/1 vlans 1-9,11-19,21-1004 using portpri 32.
Port 1/1 vlans 10,20 using portpri 1.
Port 1/1 vlans 1005 using portpri 4.
Switch_2> (enable) set spantree portvlanpri 1/1 1 30
Port 1/1 vlans 1-9,11-19,21-29,31-1004 using portpri 32.
Port 1/1 vlans 10,20,30 using portpri 1.
Port 1/1 vlans 1005 using portpri 4.
Switch_2> (enable)
On Switch 2, change the port-VLAN priority for the Group 2 VLANs on Trunk 2 (port 1/2) to the same
Step 12
value that you configured for those VLANs on Switch 1.
Switch_2> (enable) set spantree portvlanpri 1/2 1 40
Port 1/2 vlans 1-39,41-1004 using portpri 32.
Port 1/2 vlans 40 using portpri 1.
Port 1/2 vlans 1005 using portpri 4.
Switch_2> (enable) set spantree portvlanpri 1/2 1 50
Port 1/2 vlans 1-39,41-49,51-1004 using portpri 32.
Port 1/2 vlans 40,50 using portpri 1.
Port 1/2 vlans 1005 using portpri 4.
Switch_2> (enable) set spantree portvlanpri 1/2 1 60
Port 1/2 vlans 1-39,41-49,51-59,61-1004 using portpri 32.
Port 1/2 vlans 40,50,60 using portpri 1.
Port 1/2 vlans 1005 using portpri 4.
Switch_2> (enable)
Step 13
When you have configured the port-VLAN priorities on both ends of the link, the spanning tree
converges to use the new configuration.
Check the spanning tree port states on Switch 1 by entering the show spantree command. The Group 1
VLANs should be forwarding on Trunk 1 and blocking on Trunk 2. The Group 2 VLANs should be
blocking on Trunk 1 and forwarding on Trunk 2.
Switch_1> (enable) show spantree 1/1
Port
--------- ----
1/1
1/1
1/1
1/1
1/1
1/1
1/1
1/1
1/1
Switch_1> (enable) show spantree 1/2
Port
--------- ----
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
1/2
Switch_1> (enable)
Figure 11-3
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
Vlan
Port-State
Cost
-------------
-----
1
forwarding
10
forwarding
20
forwarding
30
forwarding
40
blocking
50
blocking
60
blocking
1003
not-connected
1005
not-connected
Vlan
Port-State
Cost
-------------
-----
1
blocking
10
blocking
20
blocking
30
blocking
40
forwarding
50
forwarding
60
forwarding
1003
not-connected
1005
not-connected
shows the network after you configure VLAN traffic load sharing.
Priority
Fast-Start
--------
----------
19
32
disabled
19
1
disabled
19
1
disabled
19
1
disabled
19
32
disabled
19
32
disabled
19
32
disabled
19
32
disabled
19
4
disabled
Priority
Fast-Start
--------
----------
19
32
disabled
19
32
disabled
19
32
disabled
19
32
disabled
19
1
disabled
19
1
disabled
19
1
disabled
19
32
disabled
19
4
disabled
Example VLAN Trunk Configurations
Group-method
------------
Group-method
------------
11-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents