Archive for the ‘Tips / Hints’ Category

helpfull tips for configuring on the console

Donnerstag, Juli 6th, 2006

setting aliases:

alias configure a alias exec
a s sh run
a c conf t
a w write mem
a u undeb all
a i sh ip int brief
a r sh ip route

To have control on events on the router to be not annoyed during
logging console
line con 0
logging synchronous
line aux 0
logging synchronous
to have history about old commands :
line con 0
history size 50
line aux 0
history size 50
To not have to hit the space key (when there is « more ») on each screen
(can be annoying when the config. grow longer):
line con 0
length 0
line aux 0

it might be also quite nice to disable the logout for config.

line con 0

exec-timeout 0 0

Changing the escape key

Donnerstag, Juni 1st, 2006

If you want to excape for example a traceroute you
have to use the excape key. For cisco devices it’s normally crtl-shift-6-X. This is not so easy. It’s easier to change the excape key for example to ctrl-c.

Add the line:

line vty 0 4
escape-character 3

to your vty configuration.