cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
923
Views
0
Helpful
2
Replies

named vs numbered ACL

aksher
Level 1
Level 1

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

2 Replies 2

froggy3132000
Level 3
Level 3

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#

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: