Example: Configuring A Port As Access Port; Example: Creating An Extended-Range Vlan; Where To Go Next - Cisco Catalyst 2960 series Configuration Manual

Vlan
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

Example: Configuring a Port as Access Port

Normal-Range VLAN Configuration Guidelines, on page 44
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 50

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 52
Extended-Range VLAN Configuration Guidelines, on page 45

Where to Go Next

After configuring VLANs, you can configure the following:
• VLAN Trunking Protocol (VTP)
• VLAN trunks
• VLAN Membership Policy Server (VMPS)
• Voice VLANs
Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX
56
Configuring VLANs
OL-29065

Advertisement

Table of Contents
loading

Table of Contents