named vs numbered ACL

Unanswered Question
froggy3132000 Sun, 08/19/2007 - 08:28
User Badges:
  • Bronze, 100 points or more

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#

Actions

This Discussion