Example VLAN Trunk Configurations
3/5
3/6
----- ---------- --------- ----------- ------------------------- ----------
Switch_B> (enable)
Configure one of the ports in the EtherChannel bundle to negotiate an 802.1Q trunk. The configuration
Step 5
is applied to all of the ports in the bundle. This example assumes that the neighboring ports on Switch B
are configured to use dot1q or negotiate encapsulation and are in auto trunk mode. The system logging
messages provide information about the formation of the 802.1Q trunk.
Switch_A> (enable) set trunk 2/3 desirable dot1q
Port(s) 2/3-6 trunk mode set to desirable.
Port(s) 2/3-6 trunk type set to dot1q.
Switch_A> (enable) %DTP-5-TRUNKPORTON:Port 2/3 has become dot1q trunk
%DTP-5-TRUNKPORTON:Port 2/4 has become dot1q trunk
%PAGP-5-PORTFROMSTP:Port 2/3 left bridge port 2/3-6
%DTP-5-TRUNKPORTON:Port 2/5 has become dot1q trunk
%PAGP-5-PORTFROMSTP:Port 2/4 left bridge port 2/3-6
%PAGP-5-PORTFROMSTP:Port 2/5 left bridge port 2/3-6
%DTP-5-TRUNKPORTON:Port 2/6 has become dot1q trunk
%PAGP-5-PORTFROMSTP:Port 2/6 left bridge port 2/3-6
%PAGP-5-PORTFROMSTP:Port 2/3 left bridge port 2/3
%PAGP-5-PORTTOSTP:Port 2/3 joined bridge port 2/3-6
%PAGP-5-PORTTOSTP:Port 2/4 joined bridge port 2/3-6
%PAGP-5-PORTTOSTP:Port 2/5 joined bridge port 2/3-6
%PAGP-5-PORTTOSTP:Port 2/6 joined bridge port 2/3-6
Switch_B> (enable) %DTP-5-TRUNKPORTON:Port 3/3 has become dot1q trunk
%DTP-5-TRUNKPORTON:Port 3/4 has become dot1q trunk
%PAGP-5-PORTFROMSTP:Port 3/3 left bridge port 3/3-6
%PAGP-5-PORTFROMSTP:Port 3/4 left bridge port 3/3-6
%PAGP-5-PORTFROMSTP:Port 3/5 left bridge port 3/3-6
%PAGP-5-PORTFROMSTP:Port 3/6 left bridge port 3/3-6
%DTP-5-TRUNKPORTON:Port 3/5 has become dot1q trunk
%DTP-5-TRUNKPORTON:Port 3/6 has become dot1q trunk
%PAGP-5-PORTFROMSTP:Port 3/5 left bridge port 3/3-6
%PAGP-5-PORTFROMSTP:Port 3/6 left bridge port 3/3-6
%PAGP-5-PORTTOSTP:Port 3/3 joined bridge port 3/3-6
%PAGP-5-PORTTOSTP:Port 3/4 joined bridge port 3/3-6
%PAGP-5-PORTTOSTP:Port 3/5 joined bridge port 3/3-6
%PAGP-5-PORTTOSTP:Port 3/6 joined bridge port 3/3-6
After the 802.1Q trunk link is negotiated, enter the show trunk command to verify the configuration.
Step 6
Switch_A> (enable) show trunk
Port
--------
2/3
2/4
2/5
2/6
Port
--------
2/3
2/4
2/5
2/6
Port
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
11-10
connected
auto
channel
connected
auto
channel
Mode
Encapsulation
-----------
-------------
desirable
dot1q
desirable
dot1q
desirable
dot1q
desirable
dot1q
Vlans allowed on trunk
---------------------------------------------------------------------
1-1005
1-1005
1-1005
1-1005
Vlans allowed and active in management domain
Chapter 11
Configuring VLAN Trunks on Fast Ethernet and Gigabit Ethernet Ports
WS-C4003
JAB023806(Sw
WS-C4003
JAB023806(Sw
Status
Native vlan
------------
-----------
trunking
1
trunking
1
trunking
1
trunking
1
2/5
2/6
78-12647-02