Normal-Range VLAN Configuration Guidelines, on page 2113
Example: Configuring a Port as Access Port
This example shows how to configure a port as an access port in VLAN 2:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 2
Switch(config-if)# end
Related Topics
Assigning Static-Access Ports to a VLAN , on page 2121
Example: Creating an Extended-Range VLAN
This example shows how to create a new extended-range VLAN with all default characteristics, enter VLAN
configuration mode, and save the new VLAN in the switch startup configuration file:
Switch(config)# vtp mode transparent
Switch(config)# vlan 2000
Switch(config-vlan)# end
Switch# copy running-config startup config
Related Topics
Creating an Extended-Range VLAN, on page 2122
Extended-Range VLAN Configuration Guidelines, on page 2114
Where to Go Next
After configuring VLANs, you can configure the following:
•
VLAN Trunking Protocol (VTP)
•
VLAN trunks
•
VLAN Membership Policy Server (VMPS)
Additional References
Related Documents
Document TitleRelated Topic
Catalyst 2960-X Switch VLAN Management
Command Reference
For complete syntax and usage information for the
commands used in this chapter.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2127
Where to Go Next