You are on page 1of 3

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 # cop! running-config startup config
How to delete t!e VLAN
Switch>enable
Switch # configure terminal
Switch (config)# no vlan vlan-id
Switch # (config)# end
Switch # show vlan brief
Switch # cop! running-config startup config
How to add t!e VLAN to t!e "orts
Switch>enable
Switch # configure terminal
Switch (config) # interface interface-id
Switch (config-if) # switchport mode access
Switch (config-if) # switchport access vlan vlan-id
#efault interface interface$id
Switch (config-if)# end
Switch # show running-config interface interface-id
Switch # show interfaces interface-id switchport
Switch # cop! running-config startup-config
How to add t!e %lan to t!e serial "orts
"nt range fa#/$ % $#
Switchport access &lan &'
1
How to allot "orts for t!e VLAN
S()'*+# (config-if) # int f#/'
S()'*+# (config-if) # switchport access vlan '
S()'*+# (config-if) # int f#/,
S()'*+# (config-if) # switchport access vlan ,
S()'*+# (config-if) # int f#/-
S()'*+# (config-if) # switchport access vlan -
S()'*+# (config-if) # e.it
S()'*+# (config) # e.it
Verif& configuration
S()'*+# # sh vlan brief
Configuring t!e trun' "ort
S()'*+# (config) # int f#/$'
S()'*+# (config-if) # switchport mode trun/
S()'*+# (config-if) # (ctrl0c)
S()'*+# #
(!e common debug commands
Switch # show run
Switch # show ip int brief
Switch # show vlan brief
)ore 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 as! for "#$% &nterface for Cisco 2960 Switch &OS'2(2
Cisco 2960 initiali)ation configuration CO%SO#*
)ore Cisco "roducts and *e%iews &ou can %isit http://www.3anetwork.com/blog

,(networ/1com is a world leading 2isco networ/ing products wholesaler3 we wholesale
original new 2isco networ/ing e4uipments3 including 2isco 2atal!st switches3 2isco
routers3 2isco firewalls3 2isco wireless products3 2isco modules and interface cards
2
products at competitive price and ship to worldwide1
5ur website6 http6//www1,anetwor/1com
)elephone6 078'-,#+*-99,,
:mail6 info;,(networ/1com
(ddress6 ',/< =uc/! >laza3 ,$8-,'$ =oc/hart Road3 ?anchai3 @ong/ong
3

You might also like