Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

named vs numbered ACL

Is line numbering allowed in numbered ACL like in named ACL.

  • Other Security Subjects
2 REPLIES
New Member

Re: named vs numbered ACL

yes, on extended acls.

See below

router(config)#access-list 151 permit tcp any host 192.168.1.2 eq 25

router(config)#access-list 151 permit tcp any host 192.168.1.2 eq 443

router(config)#access-list 151 permit tcp any host 192.168.1.2 eq 1521

router(config)#exit

router#sh access-lists 151

Extended IP access list 151

10 permit tcp any host 192.168.1.2 eq smtp

20 permit tcp any host 192.168.1.2 eq 443

30 permit tcp any host 192.168.1.2 eq 1521

router(config)#ip access-list extended 151

router(config-ext-nacl)#5 deny tcp any host 192.168.1.2 eq 23

router(config-ext-nacl)#exit

router(config)#exit

router#sh access-lists 151

Extended IP access list 151

5 deny tcp any host 192.168.1.2 eq telnet

10 permit tcp any host 192.168.1.2 eq smtp

20 permit tcp any host 192.168.1.2 eq 443

30 permit tcp any host 192.168.1.2 eq 1521

router#

Re: named vs numbered ACL

ACL sequence numbering feature was introduced in 12.2(14)S and was integrated in 12.2(15)T

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122s/122snwft/release/122s14/fsaclseq.htm

HTH

Narayan

please rate all posts

386
Views
0
Helpful
2
Replies
This widget could not be displayed.