Access-list, Access-list -2, Command mode – Avaya Cajun P550R User Manual

Page 389: Description, Syntax

Advertising
background image

Chapter 20

20-2

Command Reference Guide for the Avaya P550R, P580, P880, and P882 Multiservice Switches, v5.3.1

access-list

Command Mode

Configuration

Description

Creates a rule in an access control list (ACL). The rule that you set is
applied on all of the ports on the switch.

* Note: You must enable the ACL on which you want to set a

rule. Only one ACL can be enabled at a time.

Syntax

To create a
standard ACL
rule:

access-list <access-list-name> <access-list-index> {permit [{use-priority
<priority> | use-diffserv [mask] | remark-diffserv <dscp> [mask] | use-
l2}] | deny | fwd1 | fwd2 | fwd3 | fwd4 | fwd5 | fwd6 | fwd7 | fwd8}
{<source-ip-addr> <source-wildcard> | any | host <source-ip-addr>}

To create an
extended
ACL rule:

access-list <access-list-name> <access-list-index> {permit [{use-priority
<priority> | use-diffserv [mask] | remark-diffserv <dscp> [mask] | use-
l2}] | deny | fwd1 | fwd2 | fwd3 | fwd4 | fwd5 | fwd6 | fwd7 | fwd8}
<protocol-id> {<source-ip-addr> <source-wildcard> | any | host <source-
ip-addr>
} [{lt <port> | eq <port> | gt <port> | range <port> <port>}]
{<dest-ip-addr> <dest-wildcard> | any | host <dest-ip-addr>} [{lt <port> |
eq <port> | gt <port> | range <port> <port>}] [established]

Table 20-1. Parameters, Keywords, and Arguments

Keyword, Argument
or Option

Definition

<access-list-name>

A unique name that identifies the access
control list. 1-99 is the standard value
range: 100-199 is the extended value
range.

<access-list-index>

The rule number within the access list.

permit

Forwards the packet without changing its
priority.

use-priority

Assigns the default layer 3 priority that
you define in the following <priority>
parameter to the packet.

<priority>

The default layer 3 priority. Enter a
number between 0 and 7.

Advertising