
11-9
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
Chapter 11 Configuring VLAN Trunks on Fast Ethernet and Gigabit Ethernet Ports
Example VLAN Trunk Configurations
Port Vlans in spanning tree forwarding state and not pruned
-------- ---------------------------------------------------------------------
4/1 2-6,10,20,50,100,152,200,300,400,500,521,524,570,776,802,850,917,999
Console> (enable)
Example VLAN Trunk Configurations
The following sections contain examples of a VLAN trunk configurations:
Note
For examples of configuring trunk links between switches and routers, refer to the Layer 3 Switching
Software Configuration Guide—Catalyst 5000 Family, 4000 Family, 2926G Series, 2926 Series, 2948G,
and 2980G Switches publication.
802.1Q Trunk over a Gigabit EtherChannel Link Example
This sample configuration shows how to configure an 802.1Q trunk over a Gigabit EtherChannel link
between two switches with 802.1Q-capable hardware. (Use the show port capabilities command to see
if your hardware is 802.1Q-capable.)
Figure 11-1
shows two switches that are connected through four 1000BASE-SX Gigabit Ethernet ports.
Figure 11-1 IEEE 802.1Q Trunk over Gigabit EtherChannel Link
Note
For more information on configuring Gigabit EtherChannel, see
Chapter 6, “Configuring Fast
EtherChannel and Gigabit EtherChannel.”
To configure the switches to form a four-port Gigabit EtherChannel bundle, and then configure the
EtherChannel bundle as an 802.1Q trunk link, follow these steps:
Step 1
Make sure that all ports on both Switch A and Switch B are assigned to the same VLAN. This VLAN is
used as the 802.1Q native VLAN for the trunk. In this example, all ports are configured as members of
VLAN 1.
Switch_A> (enable) set vlan 1 2/3-6
VLAN Mod/Ports
---- -----------------------
1 2/3-6
Switch_A> (enable)
Switch A
Switch B
2/3
2/4
2/5
2/6
3/3
3/4
3/5
3/6
Gigabit EtherChannel
IEEE 802.1Q trunk link
23848