News:

This week IPhone 15 Pro winner is karn
You can be too a winner! Become the top poster of the week and win valuable prizes.  More details are You are not allowed to view links. Register or Login 

Main Menu

Router commands and configuration

Started by Sunite, October 06, 2007, 11:09:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sunite

Router commands and configuration






 
Router working with two main ports, configuration and communication port. We manage all router setting using configuration port. Here are some useful router commands to manage router configuration.

Set Line Console Password

router>enable

router#configure terminal

router(config)#line console 0

router(config-line)#login

router(config-line)#password submask

router(config-line)#exit

router(config)#exit

Remove Console password



router>enable

router#configure terminal

router(config)#line console 0

router(config-line)#no login

router(config-line)#no password

router(config-line)#exit

router(config)#exit

Remove Secret Password

router>enable

router#configure terminal

router(config)#no enable secret

router(config)#exit

How to check Configuration Register Value

router>enable

router#show version

How to Administratively shutdown Router's Interface

router>enable

router#configure terminal

router(config)#int s0/0

router(config-if)#shutdown

To Enable Router's Serial Interface

router#configure terminal

router(config)#int s0/0

router(config-if)#no shutdown

To check Serial Interface

router>enable

router(config)#show interfaces s0/0

To set Clock rate on Router's Serial Interface

router>enable

router#configure terminal

router(config)#interface s0/0

router(config-if)#clock rate 64000



DTE/DCE Status

router>enable

router#show controllers s0/0

To Save Running Configuratoin

router#copy running-config startup-config



IOS uploading from Router to TFTP Server

router#copy flash: tftp



Backup Startup Configuration to TFTP

router#copy startup-config tftp

To Save Running Configuration

router#write memory

Deletion of NVRAM Configuration

router#write erase

To check NVRAM Configuration

router#show staratup-config