Wednesday, September 9, 2009

Some more Beginner Tips - CISCO

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

Consol:
Router(config)# line con 0
Router(config-line)# logging synchronous

AUX:
Router(config)# line aux 0
Router(config-line)# logging synchronous

Telnet/SSH:
Router(config)# line vty 0 4
Router(config-line)# logging synchronous

If your Router/Switch has more vty
Router(config)# line vty 5 15
Router(config-line)# logging synchronous


Description:

To add a description to an interface configuration, use the description interface configuration command. Use the no form of this command to remove the description.
The description command is meant solely as a comment to be put in the configuration to help you remember what certain interfaces are used for.
The following example shows how to add a description for a T1 interface:
Router(config)# interface serial 0
Router(config-if)# description T1 line to How2Pass - 128 Kb/s

The description "T1 line to How2Pass - 128 Kb/s" appears in the output of the following EXEC commands: show startup-config, show interfaces, and show running-config

I hope it will be informative for You :)

No comments: