beautypg.com

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

Page 459: Description, Syntax

background image

Chapter 23

23-2

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

access-list

Command Mode

Global Configuration

Description

Sets 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 set up a
standard
ACL rule:

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

To set up
an
extended
ACL rule:

access-list {permit [{use-priority
| use-diffserv [mask] | remark-diffserv [mask] | use-l2}] |
deny | fwd1 | fwd2 | fwd3 | fwd4 | fwd5 | fwd6 | fwd7 | fwd8}
{ | any | host } [{lt |
eq | gt | range }] { |
any | host } [{lt | eq | gt | range <port>
}] [established]

Table 23-1. Keywords, Arguments, and Options

Keyword, Argument
or Option

Definition

A unique name that identifies the access
control list.

The unique rule number within the
access list.

permit

Forwards the packet without changing its
priority.

use-priority

Assigns the priority that you define in the
following parameter to the
packet.

1 of 4