I really should be focusing on important things but...
Here's a cool "hidden" command:
Router#test crash
WARNING: Command selections marked with '(crash router)' will crash
router when issued. However a selection 'C' will need to
be issued IMMEDIATELY before these selections to enable them.
Type the number for the selected crash:
--------------------------------------
1 (crash router) Bus Error, due to invalid address access
2 (crash router) Bus Error, due to parity error in Main memory
3 (crash router) Bus Error, due to parity error in I/O memory
4 (crash router) Address Error, due to fetching code from odd address
5 (crash router) Jump to zero
6 (crash router) Software forced crash
7 (crash router) Illegal read of address zero
8 (crash router) Divide by zero
9 (crash router) Corrupt memory
C Enable crash router selection marked with (crash router)
R (crash router) User enter read bus error address
U (crash router) User enter write bus error address
W (crash router) Software watchdog timeout (*** Watch Dog Timeout
***)
w (crash router) Process watchdog timeout (SYS-2-WATCHDOG)
d Disable crashinfo collection
e Enable crashinfo collection
i Display contents of current crashinfo flash file
m Write crashinfo on crashinfo RAM
n Change crashinfo flash file name
q Exit crash menu
s Save crashinfo to current crashinfo flash file
c Close current crashinfo flash file
t Write crashinfo on console TTY
x Exit crash menu
?
On Oct 24, 2009, at 12:52 PM, Christian Medina wrote:
> Adrian,
>
> What Platform are you using and what code are you running?
> I have seen this on the Cisco firewall OS but not the routers/
> switches.
>
> Adrian Brayton wrote:
>> There are commands available to you that are hidden and don't show
>> up when you use the question mark... Crazy I know ;)
>> Example:
>> Router(config-router)#bgp bestpath ?
>> compare-routerid Compare router-id for identical EBGP paths
>> cost-community cost community
>> med MED attribute
>> Router(config-router)#bgp bestpath as-path ignore
>> Router(config-router)#
>> You can see when I hit the question mark "?" the command didnt show
>> up that I used but its there if you know it exists...
>> Router(config-router)#bgp bestpath as-path ignore
>> Router(config-router)#
>> Thats what I am talking about!!
>> On Oct 24, 2009, at 12:19 PM, nicholas golden wrote:
>>> Eh? Interesting, I don't have anything to add as I really don't
>>> understand what you are asking :)
>>> What you mean by "appear" exactly?
>>>
>>> :)
>>>
>>> --- On *Sat, 10/24/09, Adrian Brayton /<[email protected]
>>> <mailto:[email protected]
>>> >>/* wrote:
>>>
>>>
>>> From: Adrian Brayton <[email protected] <mailto:[email protected]
>>> >>
>>> Subject: [OSL | CCIE_RS] IOS Commands
>>> To: "OSL CCIE-RS" <[email protected]
>>> <mailto:[email protected]>>
>>> Date: Saturday, October 24, 2009, 9:17 AM
>>>
>>> Is there anyway in the IOS to enable commands to appear with
>>> the "?" that are hidden?
>>>
>>> I couldn't find anything when I googled it...
>>>
>>> Just curious...
>>> _______________________________________________
>>> For more information regarding industry leading CCIE Lab
>>> training,
>>> please visit www.ipexpert.com <http://www.ipexpert.com>
>>>
>>>
>> ------------------------------------------------------------------------
>> _______________________________________________
>> For more information regarding industry leading CCIE Lab training,
>> please visit www.ipexpert.com
>
> --
> Christian Medina
> Network Engineer
> Brandeis University
> 781-736-4960
> [email protected]
>
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit
www.ipexpert.com