![](/images/new-backgrounds/1187480/187480405x1.webp)
Chapter 6 | CLI – Layer 3 |
|
|
ip access-list Command
Use the ip
The syntax for this command is:
[no] ip
| <command> <protocol> |
| |
| |
| |
| wildcard>any host |
| |
| [<port>]][established] [precedence] |
integer (100..149) | |
integer (1...9999) | |
<command> | permit deny |
<protocol> | ip tcp udp integer (1..255) |
ip network | |
ip network wildcard | |
<operator> | eq lt gt range |
<port> | integer (1..65535) |
ip network | |
ip network wildcard | |
<precedence> | mandatory optional] |
Example:
Router-N>ip access-list 101 23 deny ip any 1.2.0.0 0.0.255.255
To delete a specific rule, use the no form of this command.
185 |