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
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
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.