Mar 30 2010

Backup a Cisco router IOS image to pc

!Backup image to TFTP server Router>enable Router#copy flash:{your IOS image filename} tftp://{TFTP server IP address} !Download image from TFTP server Router>enable Router#copy tftp://{TFTP server IP address} flash: Tips * Under any circumstances, DO NOT delete working IOS image off the router flash memory unless the image has been backed up to server (TFTP or FTP …

Continue reading »

Mar 30 2010

Reset Cisco 837,1841 router

Connect to your router with the console port, power on and your router will start booting up and make ctrl-break you will enter in rommon Type the following command : rommon1> confreg 0x2142 rommon2> Cycle the router power … reload the router, it’ll ignore the startup-config After the reload, make a copy run start to …

Continue reading »

Mar 30 2010

Cisco Command Line Interface

Cisco CLI (Command Line Interface) divided into two mode which are USER EXEC MODE and PRIVILEGED EXEC MODE. In user exec mode, all the command are only one time command which when the switch reboot, the setting will disappear and won’t be saved. User will usually goes into this mode when they login. To enter …

Continue reading »

Mar 30 2010

Change Cisco hostname

password : [enter your telnet password here] switch> en password : [enter your privileged exec password here] switch # configure terminal switch (config) # hostname MYSWITCH MYSWITCH (config) # end !Backup your old setup MYSWITCH # copy startup-config startup-config.bak !Save your running setup so it will start at boot MYSWITCH # copy running-config startup-config

Mar 30 2010

Backup cisco configuration file

Password : [your telnet password] switch > enable Password : [your privileged exec password] switch # copy startup-config startup-config.ddmmyyy !note : ddmmyyy is date for better backup archiving.

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

Jan 07 2009

Halow :D

Harlow :D Welcome to my personal blog. Oops…there are not much things open to public :p