beautypg.com

Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 903

background image

IPv4 Software Access Control List (ACL) Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

35.17

Mode

IPv4 Extended ACL Configuration

Default

Any traffic controlled by a software ACL that does not explicitly match a filter is denied.

Usage

An ACL can be configured with multiple ACL filters using sequence numbers. If the
sequence number is omitted, the next available multiple of 10 will be used as the
sequence number for the new filter. A new ACL filter can be inserted into the middle of an
existing list by specifying the appropriate sequence number.

Examples

To add a new entry in access-list called my-list that will reject ICMP packets from
10.0.0.1

to 192.168.1.1, use the commands:

Use the following commands to add a new filter at sequence number 5 position of the
access-list called my-list. The filter will accept the ICMP type 8 packets from
10.1.1.0/24

network, to 192.168.1.0 network:

Related Commands

access-group
show running-config
show ip access-list

<icmp-value>

The value of the ICMP
type.

log

Log the results.

Parameter(cont.)

Description(cont.)

Note

The access control list being configured is selected by running the

access-list

(extended numbered)

command or the

access-list extended (named)

command, with the required access control list number, or name - but with no
further parameters selected.

Note

Software ACLs will deny access unless explicitly permitted by an ACL action.

awplus#

configure terminal

awplus(config)#

access-list extended my-list

awplus(config-ip-ext-acl)#

deny icmp 10.0.0.1/32 192.168.1.1/32

awplus#

configure terminal

awplus(config)#

access-list extended my-list

awplus(config-ip-ext-acl)#

5 permit icmp 10.1.1.0/24
192.168.1.0/24 icmp-type 8