Another beginner tip that can be useful!
When you work on the Cisco Router or Catalyst Switch console, it would be annoying to have the console or terminal (telnet/ssh) logs to pop in between your commands. This can be even more irritating when it is busy switch or a router spitting messages continuously.
We can log the messages to the console without interferring with your work in the console in Cisco IOS by logging synchronous.In Cisco IOS, logging synchronous can allow you to work along with the logs still logging to the console but without disturbing your work.
To do this
Console
Router(config)# line con 0
Router(config-line)# logging synchronous
AUX Dial-in port
Router(config)# line aux 0
Router(config-line)# logging synchronous
Remote Terminal Sessions (Telnet/SSH)
Router(config)# line vty 0 4
Router(config-line)# logging synchronous
if your switch/router has more ttys
Router(config)# line vty 5 15
Router(config-line)# logging synchronous
Thanks guys ur live savers. one more thing i just like to know how do you configure a router via telnet connection?
to configure the router via telnet you need to
line vty 0 4
password cisco
login
do this on both routers
at the user prompt
telnet 192.168.1.1