5-13
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 5 Configuring Ethernet VLAN Trunks
Example VLAN Trunk Configurations
802.1Q Trunk Over EtherChannel Link Example
This example shows how to configure an 802.1Q trunk over an EtherChannel link between two switches.
Figure 5-2
shows two switches connected through four 1000BASE-SX Gigabit Ethernet ports.
Figure 5-2
802.1Q Trunk Over EtherChannel Link
This example shows how to configure the switches to form a four-port EtherChannel bundle and then
configure the EtherChannel bundle as an 802.1Q trunk link.
Step 1
Make sure all ports on both Switch A and Switch B are assigned to the same VLAN by entering the
set
vlan
command. 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/1-6
Switch_A> (enable)
Switch_B> (enable)
set vlan 1 3/3-6
VLAN Mod/Ports
---- -----------------------
1 3/1-6
Switch_B> (enable)
Step 2
Confirm the channeling and trunking status of the switches by entering the
show port channel
and
show
trunk
commands.
Switch_A> (enable)
show port channel
No ports channelling
Switch_A> (enable)
show trunk
No ports trunking.
Switch_A> (enable)
Switch_B> (enable)
show port channel
No ports channelling
Switch_B> (enable)
show trunk
No ports trunking.
Switch_B> (enable)
Step 3
Configure the ports on Switch A to negotiate an EtherChannel bundle with the neighboring switch by
entering the
set port channel
command. This example assumes that the neighboring ports on Switch B
are in EtherChannel
auto
mode. The system logging messages provide information about the formation
of the EtherChannel bundle.
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