Chapter 8 Configuring VLANs
Assigning Static-Access Ports to a VLAN
8-10
Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
78-6511-05
Assigning Static-Access Ports to a VLAN
By default, all ports are static-access ports assigned to the management VLAN,
VLAN 1.
You can assign a static-access port to a VLAN without having VTP globally
propagate VLAN configuration information (VTP is disabled). Configuring the
switch for VTP transparent mode disables VTP.
Beginning in privileged EXEC mode, follow these steps to assign ports for
multi-VLAN membership:
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface interface
Enter interface configuration mode, and enter the port to be
added to the VLAN.
Step 3
switchport mode multi
Enter the VLAN membership mode for multi-VLAN ports.
Step 4
switchport multi vlan vlan-list
Assign the port to more than one VLAN.
Separate nonconsecutive VLAN IDs with a comma; use a
hyphen to designate a range of IDs.
Configuring a switch port for multi-VLAN mode causes
VTP to transition to transparent mode, which disables
VTP.
Step 5
end
Return to privileged EXEC mode.
Step 6
show interface interface-id
switchport
Verify your entries.