Category: Hardware

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

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