10-15-2015 04:44 PM - edited 03-12-2019 05:47 AM
Seems the pattern matching on the reboot command only check the first few characters...
"ciscoasa# session sfr
Opening command session with module sfr.
Connected to module sfr. Escape character sequence is 'CTRL-^X'.
(none) login: admin
Password:
Last login: Thu Oct 15 16:24:24 GMT+7 2015 on pts/0
Copyright 2004-2015, Cisco and/or its affiliates. All rights reserved.
Cisco is a registered trademark of Cisco Systems, Inc.
All other trademarks are property of their respective owners.
Cisco Linux OS v5.4.1 (build 12)
Cisco ASA5506 v5.4.1 (build 211)
>
> system reboot
This command will reboot the system. Continue?
Please enter 'YES' or 'NO': yah
Invalid input
This command will reboot the system. Continue?
Please enter 'YES' or 'NO': yesterday
Broadcast message from root@(none) (Thu Oct 15 16:35:34 2015):
The system is going down for reboot NOW!
> Remote card closed command session. Press any key to continue.
Command session with module sfr terminated.
"
10-16-2015 06:22 AM
@azbarcode,
Actually the problem happens when YES word is in whatever phrase, it is now under investigation.
Here some outputs for your reference.
10-16-2015 09:31 AM
Worse too, it seems to look for 'yes' before 'no'
(none) login: admin
Password:
Last login: Thu Oct 15 16:38:02 GMT+7 2015 on pts/0
Copyright 2004-2015, Cisco and/or its affiliates. All rights reserved.
Cisco is a registered trademark of Cisco Systems, Inc.
All other trademarks are property of their respective owners.
Cisco Linux OS v5.4.1 (build 12)
Cisco ASA5506 v5.4.1 (build 211)
>
>
> system reboot
This command will reboot the system. Continue?
Please enter 'YES' or 'NO': noyes
Broadcast message from root@(none) (Fri Oct 16 09:29:31 2015):
The system is going down for reboot NOW!
>
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