11-09-2016 08:06 PM - edited 03-12-2019 01:30 AM
As the title says, I'm mostly copying a lot of the config from other devices we have - and while I understand a lot of it, I don't have much experience with Cisco devices, as such I'm running into little bumps along the way. The devices I'm using to guide me have the following two lines (one is an ASA 5505 and another 5506 if that matters at all, they both have the lines):
access-list inside_mpc extended permit tcp any4 any4 eq www
access-list inside_mpc extended permit tpc any4 any4 eq 8080
For some reason when I type either of these lines into the config on the new 5505 I just get this:
access-list inside_mpc extended permit tcp any4 any4 eq 8080
^
ERROR: % Invalid input detected at '^' marker.
So, it doesn't like the "any4" designation (the ^ shows up under the first 4), unfortunately it doesn't tell me anything else so I don't know what exactly the issue is.
Solved! Go to Solution.
11-09-2016 08:14 PM
Hello Pete,
You don't have to specify the "any4" keyword. "any" would suffice.
Try this
access-list inside_mpc extended permit
access-list inside_mpc extended permit
Regards,
Dinesh Moudgil
P.S. Please rate helpful posts.
11-09-2016 08:14 PM
Hello Pete,
You don't have to specify the "any4" keyword. "any" would suffice.
Try this
access-list inside_mpc extended permit
access-list inside_mpc extended permit
Regards,
Dinesh Moudgil
P.S. Please rate helpful posts.
11-09-2016 08:16 PM
hi,
is your ASA 5505 pre 9.x image? could you post a show version output?
please use the keyword any instead as any4 was introduced in 9.0(1) to represent 'any' IPv4 traffic only.
see helpful link:
http://www.cisco.com/c/en/us/td/docs/security/asa/asa90/configuration/guide/asa_90_cli_config/acl_extended.html
11-09-2016 08:36 PM
You're right, here's the version:
Cisco Adaptive Security Appliance Software Version 8.4(7)
Device Manager Version 7.1(3)
That would explain it, thanks!!!
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