Tuesday, 29 September 2015

How to connect Cisco router and configure clock

Connecting to Router :-We can connect Cisco router using Telnet, SSH, Console Cable and ASDM. ASDM provide GUI console, But command line interface is the best way to configure a Cisco router.

Logging to Router :-After router boot process complete Press Enter. Router will prompt router>This is User Exec Mode.
This mode is used to view the settings of router.
To change the router configuration you have to switch to Privilege Exec and Global Configuration mode.

To enter in Privilege Exec Mode type:-  enable and press enter
Ex. Router > enable   
Router #
To exit from privilege mode :-
Router # logout
Router # disable
Global Configuration Mode :- Change we make in this mode will affect the entire router.

To enter in global configuration mode:-

If you make any change here, it will save in running config file or RAM. To save changes in startup config or NVRAM enter the following command
Copy runnig-config startup-config

How to configure cisco router interfaces:- To configure interface use interface command in global configuration mode

Router(config)# interface ?


Choose interface which you wants to configure, I am going to configure FastEthernet.
R1(config)#interface fastEthernet 0/0
Notice that the prompt changed to Router(config-if)#?  This tells you that you’re in interface configuration mode. And wouldn’t it be nice if the prompt also gave you an indication
of what interface you were configuring?

Available commands in mode :-You can use ? to check available commands in any mode

Set Clock in router:-

R1#clock set
R1#clock set ?
  hh:mm:ss  Current Time
R1#clock set 11:46:50 ?
  <1-31>  Day of the month
  MONTH   Month of the year
R1#clock set 11:46:50 29 september ?
  <1993-2035>  Year
R1#clock set 11:46:50 29 september 2015?
R1#clock set 11:46:50 29 september 2015
*Sep 29 11:46:50.000: %SYS-6-CLOCKUPDATE: System clock has been updated from 01:22:08 UTC Fri Mar 1 2002 to 11:46:50 UTC Tue Sep 29 2015, configured from console by console
Post a Comment