Category: Hardware

Mar 30 2010

Create Cisco vlan

!Suppose you would like to create the following vlan: !vlan 10 = Manager !vlan 11 = Staff Password : [your telnet password] switch> enable Password : [your privileged exec password] switch# vlan database switch(vlan)# vlan 10 name Manager vlan 10 added : name : Manager switch(vlan)# vlan 11 name Staff vlan 11 added : name …

Continue reading »

Mar 30 2010

Add or edit cisco switch port description.

!note for switchport1 = fastethernet0/1 or fa0/1 Password:[your telnet password] switch>enable Password:[your privileged exec password] switch#configure terminal switch(config)#interface fa0/1 switch(config-if)#description “This is 1st port of my switch” switch(config-if)#end switch# !Backup your old configuration switch#copy startup-config startup-config.ddmmyy !Save your running configuration so that it will start at boot switch#copy running-config startup-config

Mar 30 2010

Add ip address to vlan

switch> en Password: [your privileged exec password] switch#configure terminal switch(conf)#interface vlan 20 switch(conf-if)#ip address 192.168.0.1 255.255.255.0 switch(conf-if)#ip default-gateway 192.168.2.1 switch(conf-if)#end switch# ! Backup your old configuration switch#copy startup-config startup-config.ddmmyy !Save your running configuration so that it will run on boot switch#copy running-config startup-config