Sunday, 15 July 2012

Basic router commands..

26.global mode (how to set the password)
  a. router (config)# enable password abc
     i. to create plain enable password for privileged mode
  b. router (config)# enable secret abcd
     i. To create enable secret password. I.e. in encrypted form.  


Privileged mode commands

27.show IP interface
   a. This command is used to see the layer three related information regarding all the interfaces.

28.show IP interface brief
   a. This command is used to see the brief layer three information which includes
       i.  Name of the interface
       ii. Status of the interface
       iii. State of the interface
       iv. IP address of interface

29.show startup-config
  a. This command is used to see the startup configuration or saved configuration of your router.

30. show running-config (run)
  a. This command is used to see the running configuration i.e. the configuration which is used to run the router but it is not saved in the NVRAM.

31.show controller <serial interface name)
  a. It is used to see weather the serial cable slot attached to your router is either D.T.E. or D.C.E.

32.reload
  a. It is used to restart the router.

33.copy run start
  a. This command is used to save the running configuration into startup configuration. Or to permanently save router configuration.

34.copy start run
 a. this command is used to save the startup configuration into your running configuration.

Line configuration mode

35. password
  a. This command is used to set password over the specific line.

36.login
  a. it is used to activate a line for access by the user.

Global configuration mode

37.hostname
  a.  it is used to change or set the name of the router.

38.enable password
  a. it is used to set or change the router simple enable password.

39.service password-encryption
  a. this command is used to encrypt all the password of your router.
  b. Once encrypted these password can never be get decrypted.

40.enable secret
  a. this command is used to change or set the secret password. This password is like the simple password but it is in the encrypted form.

Interface configuration mode

41.IP address 10.0.0.1 255.0.0.0
  a. This command is used to change or set the IP address of any specific interface

42.no shutdown
  a. this command is used to manually change the status of an interface from down to up.

43.shutdown
  a. this command is used to manually change the status of an interface from up to down.

44.clock rate 64000
  a. this command is used to set the clock rate over the serial interface where DCE cable is attached. (we can use the command show controller to see the DCE end.)

45.description
  a. this command is used to set description over any interface of a router.
Notes
    When a password is set as enable password this password is over the privileged mode. I.e. if you want to enter in the privileged mode then you must have this password.
          When a password is set over the console wire then this password is entered to enter in the user execution password.
    Commands are
Line console 0
Password (password name)
Login

46. show flash
  a. This command is used to see the content of the flash.

47.show clock
 a.  this command is used to see the router clock.

Password

To make a password on the console line we can write a command as

Line console 0
Password (password)
Login

We can make a password on the privileged mode by enable command as enable password or enable secret

For more information about lab please visit below link









No comments:

Post a Comment