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

Catalyst 4500 series switch
Table of Contents

Advertisement

Example VLAN Trunk Configurations
Switch_B> (enable) set vlan 1 3/3-6
VLAN
---- -----------------------
1
Switch_B> (enable)
Configure one of the ports in the EtherChannel bundle to negotiate an 802.1Q trunk. The configuration
Step 2
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
%ETHC-5-PORTFROMSTP:Port 2/3 left bridge port 2/3-6
%DTP-5-TRUNKPORTON:Port 2/5 has become dot1q trunk
%ETHC-5-PORTFROMSTP:Port 2/4 left bridge port 2/3-6
%ETHC-5-PORTFROMSTP:Port 2/5 left bridge port 2/3-6
%DTP-5-TRUNKPORTON:Port 2/6 has become dot1q trunk
%ETHC-5-PORTFROMSTP:Port 2/6 left bridge port 2/3-6
%ETHC-5-PORTFROMSTP:Port 2/3 left bridge port 2/3
%ETHC-5-PORTTOSTP:Port 2/3 joined bridge port 2/3-6
%ETHC-5-PORTTOSTP:Port 2/4 joined bridge port 2/3-6
%ETHC-5-PORTTOSTP:Port 2/5 joined bridge port 2/3-6
%ETHC-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
%ETHC-5-PORTFROMSTP:Port 3/3 left bridge port 3/3-6
%ETHC-5-PORTFROMSTP:Port 3/4 left bridge port 3/3-6
%ETHC-5-PORTFROMSTP:Port 3/5 left bridge port 3/3-6
%ETHC-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
%ETHC-5-PORTFROMSTP:Port 3/5 left bridge port 3/3-6
%ETHC-5-PORTFROMSTP:Port 3/6 left bridge port 3/3-6
%ETHC-5-PORTTOSTP:Port 3/3 joined bridge port 3/3-6
%ETHC-5-PORTTOSTP:Port 3/4 joined bridge port 3/3-6
%ETHC-5-PORTTOSTP:Port 3/5 joined bridge port 3/3-6
%ETHC-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 3
Switch_A> (enable) show trunk
Port
--------
2/3
2/4
2/5
2/6
Port
--------
2/3
2/4
2/5
2/6
Port
--------
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
11-10
Mod/Ports
3/3-6
Mode
Encapsulation
-----------
-------------
desirable
dot1q
desirable
dot1q
desirable
dot1q
desirable
dot1q
Vlans allowed on trunk
---------------------------------------------------------------------
1-1005, 1025-4094
1-1005, 1025-4094
1-1005, 1025-4094
1-1005, 1025-4094
Vlans allowed and active in management domain
---------------------------------------------------------------------
Chapter 11
Configuring VLAN Trunks on Fast Ethernet and Gigabit Ethernet Ports
Status
Native vlan
------------
-----------
trunking
1
trunking
1
trunking
1
trunking
1
78-15908-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents