cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
762
Views
35
Helpful
7
Replies

ACE "deny ip any any" includes whole IP stack?

Hello.

ACE-  "deny ip any any". What exactly does "IP" mean here? ,because the next line in the ACL reads...

"permit tcp any any eq 631"

implies TCP within IP.

Thank you!

2 Accepted Solutions

Accepted Solutions

for extended ACL there is 
ip <<- check the IP header 
udp <<- check the L4 UDP port 
tcp <<- check the L4 TCP port 
icmp <<- check the protocol type ICMP 

View solution in original post

@jmaxwellUSAF using "ip" in an ACL would match on source and destination IP address. Whereas using "tcp" in the ACE would match on the source and destination IP and TCP port.

Generally when you permit traffic you are specific with the UDP/TCP port, but denying traffic you generally deny on IP.

View solution in original post

7 Replies 7

for extended ACL there is 
ip <<- check the IP header 
udp <<- check the L4 UDP port 
tcp <<- check the L4 TCP port 
icmp <<- check the protocol type ICMP 

MHM, Is there anything you don't know?

All thanks to @Rob Ingram  I learn from him a lot. and still learning from Him. 
so thanks @Rob Ingram

@jmaxwellUSAF using "ip" in an ACL would match on source and destination IP address. Whereas using "tcp" in the ACE would match on the source and destination IP and TCP port.

Generally when you permit traffic you are specific with the UDP/TCP port, but denying traffic you generally deny on IP.

Who is a better captain-- J. Kirk or J. Picard?

Happy new year friends.

Review Cisco Networking for a $25 gift card