01-21-2011 01:36 PM - edited 03-11-2019 12:38 PM
It seems weird to me that when you type "wr" at an ASA prompt it does a write memory. Shouldn't it come back and tell you it's an ambiguous command?
Solved! Go to Solution.
01-24-2011 02:52 PM
Because
ASA# write ?
erase Clear flash memory configuration
memory Save active configuration to the flash
net Save the active configuration to the tftp server
standby Save the active configuration on the active unit to the flash on
the standby unit
terminal Display the current active configuration
ASA# write
Building configuration...
Cryptochecksum: 36477bc7 288bc4ea 13323898 2ef48dde
18090 bytes copied in 1.480 secs (18090 bytes/sec)
[OK]
-KS
01-21-2011 09:02 PM
Hi,
It will not give you ambiguos command as there is only one command which starts with wr.
Here is the output when you type '?' after wr.
ciscoasa# wr?
write
Hope this answeres your query.
Regards,
Anisha
P.S.: Please mark this query as resolved if you feel your query is answered.
01-24-2011 12:47 PM
Yes but there are multiple options after a write command, such as:
erase
net
standby
terminal
So I would expect it to at least say "incomplete command" like it does with the command "conf" (configure), as an example.
I guess my question should have been why doesn't it say "incomplete command" rather than just doing a write memory.
01-24-2011 02:52 PM
Because
ASA# write ?
erase Clear flash memory configuration
memory Save active configuration to the flash
net Save the active configuration to the tftp server
standby Save the active configuration on the active unit to the flash on
the standby unit
terminal Display the current active configuration
ASA# write
Building configuration...
Cryptochecksum: 36477bc7 288bc4ea 13323898 2ef48dde
18090 bytes copied in 1.480 secs (18090 bytes/sec)
[OK]
-KS
01-24-2011 04:10 PM
Yeah I see what you mean. So I guess the "memory" option is redundant really.
01-24-2011 04:40 PM
Well, if you just issue "write" the default is mem althought it is an available option.
Just like the "snmp-server enable traps" command if you hit enter the default is syslog although that is an option as well.
ASA(config)# snmp-server enable traps ?
configure mode commands/options:
all Enable all traps
entity Enable ENTITY MIB notifications
ipsec Enable IPSec traps
remote-access Enable remote-access traps
snmp Enable SNMP traps
syslog Enable syslog traps
ASA(config)# snmp-server enable traps
ASA(config)# sh run snmp-s
snmp-server host inside 192.168.2.2 community *****
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
snmp-server enable traps syslog
snmp-server enable traps ipsec start
-KS
01-24-2011 05:07 PM
Understood. It's just something I've wondered about for a few years and finally got around to asking. I do "wr t"s all day and sometimes I type too fast for my own good and hit enter before the "t", and end up doing a "write memory" instead of a "write terminal".
Thanks for your help.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide