05-17-2007 10:43 AM - edited 03-11-2019 03:16 AM
I'm not able to remove an access-list entry as attempted below. I'm using the Cisco command line guide but am apparently missing something... Can anyone point me in the right direction?
Thanks
David
pixfw(config)# show access-list
access-list cached ACL log flows: total 0, denied 0 (deny-flow-max 256)
alert-interval 300
access-list acl-out; 5 elements
access-list acl-out line 1 permit icmp any any (hitcnt=0)
access-list acl-out line 2 permit tcp any host GWMail-Out eq smtp (hitcnt=0)
access-list acl-out line 3 permit tcp any host GWMail-Out eq www (hitcnt=0)
access-list acl-out line 4 permit udp any host GWMail-Out eq ntp (hitcnt=0)
access-list acl-out line 5 permit tcp any host GWMail-Out eq 7205 (hitcnt=0)
access-list nonat; 1 elements
access-list nonat line 1 permit ip 10.10.1.0 255.255.255.0 10.20.1.0 255.255.255
.0 (hitcnt=0)
access-list acl-in; 3 elements
access-list acl-in line 1 permit tcp host GWMail-In any eq smtp (hitcnt=0)
access-list acl-in line 2 deny tcp any any eq smtp (hitcnt=0)
access-list acl-in line 3 permit ip any any (hitcnt=0)
pixfw(config)# no access-list acl-out line 5
ERROR: missing command argument(s)
Solved! Go to Solution.
05-17-2007 10:47 AM
Try this-
no access-list acl-out line 5 permit tcp any host GWMail-Out eq 7205
OR
no access-list compile
no access-list acl-out line 5 permit tcp any host GWMail-Out eq 7205
HTH
Regards,
Vibhor.
05-17-2007 10:47 AM
Try this-
no access-list acl-out line 5 permit tcp any host GWMail-Out eq 7205
OR
no access-list compile
no access-list acl-out line 5 permit tcp any host GWMail-Out eq 7205
HTH
Regards,
Vibhor.
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