10-21-2009 06:06 AM - edited 03-11-2019 09:28 AM
Hi Everyone
Does anyone know if there is a known bug in ASA related to Object-Groups/Names/Access-Lists with a "Dash" _ or "minus" - inside it?
Ex: WINDOWS_SERVERS, FROM-OUTSIDE
I have noticed that no configuration is displayed with the command:
show run | include ......
if the include-statement contains a "_" nothing is displayed.
if the include-statement contains a "-" the whole config is displayed.
Are the "_" or "-" special characters with special meanings? or is this just a bug?
Best Regards
Jarle Steffensen
Solved! Go to Solution.
10-21-2009 06:30 AM
"_" is indeed a special character, to match only on _ you can escape it with "\" :
asa# sh run | i test\_
object-group network test_3
access-list test_4 extended permit ip any any
For "-" I don't see a problem in 8.0.4.8:
asa# sh run | i test-
object-group network test-2
access-list test-1 extended permit ip any any
What ASA version do you use, and what is the exact include command?
10-21-2009 06:30 AM
"_" is indeed a special character, to match only on _ you can escape it with "\" :
asa# sh run | i test\_
object-group network test_3
access-list test_4 extended permit ip any any
For "-" I don't see a problem in 8.0.4.8:
asa# sh run | i test-
object-group network test-2
access-list test-1 extended permit ip any any
What ASA version do you use, and what is the exact include command?
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