The Cisco "do" magic command or EXEC Commands in Configuration Mode
By lessaid on Friday, November 10 2006, 11:42 - Cisco - Permalink
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 hereHere some exemples ....
D4#s
Interface
IP-Address OK? Method
Status
Protocol
FastEthernet0/0
unassigned YES NVRAM administratively down
down
FastEthernet0/1
unassigned YES NVRAM administratively down
down
Vlan1
unassigned YES NVRAM
up
up
D4#c
Enter configuration commands, one per line. End with CNTL/Z.
D4(config)#do s
Interface
IP-Address OK? Method
Status
Protocol
FastEthernet0/0
unassigned YES NVRAM administratively down
down
FastEthernet0/1
unassigned YES NVRAM administratively down
down
Vlan1
unassigned YES NVRAM
up
up
D4(config)#do show ip int br
Interface
IP-Address OK? Method
Status
Protocol
FastEthernet0/0
unassigned YES NVRAM administratively down
down
FastEthernet0/1
unassigned YES NVRAM administratively down
down
FastEthernet1/0
unassigned YES unset
up
up
Vlan1
unassigned YES NVRAM
up
up
D4(config)#int vlan 1
D4(config-if)#do show ip int vlan 1
Vlan1 is up, line protocol is up
Internet protocol processing disabled
D4(config)#