Thursday, June 30, 2011

Router commands and configuration

Router (Router commands) 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

No comments:

Post a Comment

Dear Reader, if you like My Blog content, feel free to comment on our blog posts.