Chapter 11
Configuring VLAN Trunks on Fast Ethernet and Gigabit Ethernet Ports
This example shows how to define the allowed VLANs list for trunk port 1/1 to allow VLANs 1–100,
VLAN 250, and VLANs 500–1005, and how to verify the allowed VLAN list for the trunk:
Console> (enable) clear trunk 1/1 101-499
Removing Vlan(s) 101-499 from allowed list.
Port 1/1 allowed vlans modified to 1-100,500-1005.
Console> (enable) set trunk 1/1 250
Adding vlans 250 to allowed list.
Port(s) 1/1 allowed vlans modified to 1-100,250,500-1005.
Console> (enable) show trunk 1/1
Port
--------
1/1
Port
--------
1/1
Port
--------
1/1
Port
--------
1/1
Console> (enable)
Disabling a Trunk Port
To explicitly turn off trunking on a port, perform this task in privileged mode:
Task
Step 1
Turn off trunking on a port.
Step 2
Verify the trunking configuration.
To return a port to the default trunk type and mode for that port type, perform this task in privileged
mode:
Task
Step 1
Return the port to the default trunking type and
mode for that port type.
Step 2
Verify the trunking configuration.
Example VLAN Trunk Configurations
This section contains example VLAN trunk configurations:
•
•
•
78-12647-02
Mode
Encapsulation
-----------
-------------
desirable
dot1q
Vlans allowed on trunk
---------------------------------------------------------------------
1-100,250,500-1005
Vlans allowed and active in management domain
---------------------------------------------------------------------
1,521-524
Vlans in spanning tree forwarding state and not pruned
---------------------------------------------------------------------
1,521-524
802.1Q Trunk over Gigabit EtherChannel Link Example, page 11-8
Load-Sharing VLAN Traffic over Parallel Trunks Example, page 11-11
802.1Q Nonegotiate Trunk Configuration Example, page 11-18
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
Status
Native vlan
------------
-----------
trunking
1
Command
set trunk mod_num/port_num off
show trunk [mod_num/port_num]
Command
clear trunk mod_num/port_num
show trunk [mod_num/port_num]
Example VLAN Trunk Configurations
11-7