Link to home
Create AccountLog in
Avatar of dsterling
dsterling

asked on

Cisco access-list question

I see an access list on a layer 3 switch that is configured like this:

Exteended IP access list 101
10 permit tcp any eq 9100 any
20 deny tcp any eq 9100 any

I'm wanting to know why there is a "20 deny tcp any eq 9100 any" on the access-list, wouldn't this do that same as a deny tcp any any or do the same as if it was left out?

Example:
Exteended IP access list 101
10 permit tcp any eq 9100 any
20 deny tcp any any

Example 2:
Exteended IP access list 101
10 permit tcp any eq 9100 any

Thank you,
Dave
ASKER CERTIFIED SOLUTION
Avatar of pgstephan
pgstephan
Flag of Australia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer