Examples, Setting a rule in an access control list, Command – Avaya P880 User Manual

Page 38

Advertising
background image

610-0184-095

A-4

June 14, 2001

Examples

To display the settings of all of the ports on the module in slot
3, enter:

show port 3

To display the settings of ports 1 through 5 on the module in
slot 3, enter:

show port 3/1-5

To display the settings of ports 1 through 5 on the module in
slot 3 and of port 1 on the module in slot 6, enter:

show port 3/1-5,6/1

Setting a Rule in an Access Control List

Command

Use the

access list

command to set a rule on an access control

list. The rule that you set will be applied on all of the ports on the
switch. The command syntax is:

* Note: You must enable the access control list on which you want

to set a rule. Only one access control list can be enabled at
a time.

> configure)# access-list <access-list-name>

<access-list-index>

{permit|deny|fwd1|fwd2|fwd3|fwd4|fwd5|fwd6|fwd7|

fwd8} <protocol-id> {<source-ip-addr> <source-

wildcard>|any|host <source-ip-addr>}

[{lt|eq|gt|range} <port> [<port>]] {<dest-ip-addr>

<dest-wildcard>|any|host <dest-ip-addr>}

[{lt|eq|gt|range} <port> [<port>]] [established]

Advertising