Jawad's Blog

Think different!!!

CISCO Router Commands May 17, 2011

Filed under: Computer Networks — Jawad Rehman @ 12:12 pm

Set the time on a Cisco router manually

Setting the internal clock in a Cisco router allows timestamping of logging information
which makes troubleshooting much easier. If you do not have an NTP server running, you
can set the time manually with a simple command.
To set the time, use this command in enable mode (not configuration mode):
Router# clock set 22:55:05 June 19 2006
The time is in 24 hour mode. To see the information about the clock settings, use:
Router# show clock detail
22:56:07.136 PDT Mon Jun 19 2006

Enable and password protect telnet logins to Cisco routers
The ability to telnet to a Cisco router makes administration easier. This simple configuration enables telnet
logins to the router and protects them with a password. 
To enable telnet logins with the password PaSsWoRd:
The ability to telnet to a Cisco router makes administration easier. This simple configuration enables
telnet logins to the router and protects them with a password.
To enable telnet logins with the password PaSsWoRd:
conf t
line vty 0 4
login
password PaSsWoRd
 


Advertisement
 

 
Follow

Get every new post delivered to your Inbox.