Example VLAN Trunk Configurations
Port
--------
1/1
1/2Switch_1> (enable)
When the trunk links come up, VTP passes the VTP and VLAN configuration to Switch 2. Verify that
Step 6
Switch 2 has learned the VLAN configuration by entering the show vlan command on Switch 2:
Switch_2> (enable) show vlan
VLAN Name
---- -------------------------------- --------- ----------------------------
1
10
20
30
40
50
60
1002 fddi-default
1003 token-ring-default
1004 fddinet-default
1005 trnet-default
.
.
.
Switch_2> (enable)
Step 7
Spanning tree takes one to two minutes to converge. After the network stabilizes, check the spanning
tree state of each trunk port on Switch 1 by entering the show spantree command.
Trunk 1 is forwarding for all VLANs. Trunk 2 is blocking for all VLANs. On Switch 2, both trunks are
forwarding for all VLANs, but no traffic passes over Trunk 2 because port 1/2 on Switch 1 is blocking.
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)
Step 8
Divide the configured VLANs into two groups. You might want traffic from half of the VLANs to go
over one trunk link and half over the other, or if one VLAN has heavier traffic, you can have traffic from
that VLAN go over one trunk and traffic from the other VLANs go over the other trunk link.
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
11-14
Vlans in spanning tree forwarding state and not pruned
---------------------------------------------------------------------
1-2,10,20,30,40,50,60,99-105
default
VLAN0010
VLAN0020
VLAN0030
VLAN0040
VLAN0050
VLAN0060
Vlan
Port-State
-------------
1
forwarding
10
forwarding
20
forwarding
30
forwarding
40
forwarding
50
forwarding
60
forwarding
1003
not-connected
1005
not-connected
Vlan
Port-State
-------------
1
blocking
10
blocking
20
blocking
30
blocking
40
blocking
50
blocking
60
blocking
1003
not-connected
1005
not-connected
Chapter 11
Configuring VLAN Trunks on Fast Ethernet and Gigabit Ethernet Ports
Status
Mod/Ports, Vlans
active
active
active
active
active
active
active
active
active
active
active
Cost
Priority
Fast-Start
-----
--------
----------
19
32
disabled
19
32
disabled
19
32
disabled
19
32
disabled
19
32
disabled
19
32
disabled
19
32
disabled
19
32
disabled
19
4
disabled
Cost
Priority
Fast-Start
-----
--------
----------
19
32
disabled
19
32
disabled
19
32
disabled
19
32
disabled
19
32
disabled
19
32
disabled
19
32
disabled
19
32
disabled
19
4
disabled
Group-method
------------
Group-method
------------
78-12647-02