Lessaid's Blog, a little sunshine .ılı..ılı. Cisco, Web2.0 ...

To content | To menu | To search

Friday, November 10 2006

The Cisco "do" magic command or EXEC Commands in Configuration Mode

Well in my STP lab, I foud a nice command that allow you to "do" the exec command in the configuration mode, it common help to use the show, debug and clear command
so forgot the ^Z or end command !

D4(config)#do ?
  LINE  Exec Command

D4(config)#do sh ver
Cisco IOS Software, 3600 Software (C3660-IS-M), Version 12.4(10a), RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Wed 11-Oct-06 21:20 by prod_rel_team

ROM: ROMMON Emulation Microcode
ROM: 3600 Software (C3660-IS-M), Version 12.4(10a), RELEASE SOFTWARE (fc2)


It work well also with the alias command :)

It apear first time in the IOS 12.1(11b)E.

You can found more information here

Here some exemples ....

Continue reading...

Tuesday, November 7 2006

Cisco Commands tips Part 1

Here that I use for my lab, quite usefull :)

  • Alias

alias exec c conf t

alias exec s sh ip int br

alias exec proc show proc cpu | excl 0.00%__0.00%__0.00%

alias exec sr sh run

alias exec sir sh ip route

alias exec sion show ip ospf neighbor

alias exec svs show vtp status

alias exec vb vlan database

alias exec scd sh cdp neighbors detail

  • No disturb

no ip domain-lookup

no logging console

Continue reading...

page 2 of 2 -