1. Cisco 2960 Basic Configuration – VLAN Configuration
How to creat a VLAN for Cisco 2960, below are commands:
Switch>enable
Switch # configure terminal
Switch (config) # vlan vlan-id
Switch (config-vlan)# name vlan-name
Switch (config-vlan)# mtu mtu-size
Switch (config-vlan)#remore-span
Remore-span)
Switch (config-vlan)#end
Switch # show vlan {name vlan-name/ id vlan-id}
Switch # copy running-config startup config
How to delete the VLAN
Switch>enable
Switch # configure terminal
Switch (config)# no vlan vlan-id
Switch # (config)# end
Switch # show vlan brief
Switch # copy running-config startup config
How to add the VLAN to the ports
Switch>enable
Switch # configure terminal
Switch (config) # interface interface-id
Switch (config-if) # switchport mode access
Switch (config-if) # switchport access vlan vlan-id
Default interface interface-id
Switch (config-if)# end
Switch # show running-config interface interface-id
Switch # show interfaces interface-id switchport
Switch # copy running-config startup-config
How to add the vlan to the serial ports
Int range fa0/1 – 10
Switchport access Vlan V2
1
2. How to allot ports for the VLAN
SAT2960 (config-if) # int f0/2
SAT2960 (config-if) # switchport access vlan 2
SAT2960 (config-if) # int f0/3
SAT2960 (config-if) # switchport access vlan 3
SAT2960 (config-if) # int f0/4
SAT2960 (config-if) # switchport access vlan 4
SAT2960 (config-if) # exit
SAT2960 (config) # exit
Verify configuration
SAT2960 # sh vlan brief
Configuring the trunk port
SAT2960 (config) # int f0/12
SAT2960 (config-if) # switchport mode trunk
SAT2960 (config-if) # (ctrl+c)
SAT2960 #
The common debug commands:
Switch # show run
Switch # show ip int brief
Switch # show vlan brief
More related:
Differences of Cisco Catalyst 2960 Series Switches
Cisco Catalyst 2960 Series Switches Overview
How to recover password for Cisco 2960 Switch?
How to Change Subnet Mask for VLAN Interface for Cisco 2960 Switch IOS12.2
Cisco 2960 initialization configuration CONSOLE
More Cisco products and Reviews you can visit: http://www.3anetwork.com/blog
3Anetwork.com is a world leading Cisco networking products wholesaler, we wholesale
original new Cisco networking equipments, including Cisco Catalyst switches, Cisco
routers, Cisco firewalls, Cisco wireless products, Cisco modules and interface cards
2
3. products at competitive price and ship to worldwide.
Our website: http://www.3anetwork.com
Telephone: +852-3069-7733
Email: info@3Anetwork.com
Address: 23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong
3