Avaya P332G-ML Ip access-list Command, Example Router-Nip access-list 101 23 deny ip any 1.2.0.0

Models: P332G-ML

1 242
Download 242 pages 24.77 Kb
Page 203
Image 203

Chapter 6

CLI – Layer 3

 

 

ip access-list Command

Use the ip access-listcommand to create a specific policy rule. This command defines a policy rule. The access list contains several of these rules. Each rule pertains to the source IP address, the destination IP address, the protocol, the protocol ports (if relevant), and to the ACK bit (if relevant).

The syntax for this command is:

[no] ip access-list<access-list-number> <access-list-index>

 

<command> <protocol> {<source-ip>

 

<source-wildcard> any host

 

<source-ip>}[<operator> <port> [<port]]

 

{<destination-ip> <destination-

 

wildcard>any host

 

<destination-ip>}[<operator> <port>

 

[<port>]][established] [precedence]

<access-list-number>

integer (100..149)

<access-list-index>

integer (1...9999)

<command>

permit deny deny-and-notify fwd0-7

<protocol>

ip tcp udp integer (1..255)

<source-ip>

ip network

<source-wildcard>

ip network wildcard

<operator>

eq lt gt range

<port>

integer (1..65535)

<destination-ip>

ip network

<destination-wildcard>

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.

P332G-ML User’s Guide

185

Page 203
Image 203
Avaya P332G-ML manual Ip access-list Command, Example Router-Nip access-list 101 23 deny ip any 1.2.0.0