beautypg.com

Step 3: insert a filter into the acl – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 842

background image

Access Control Lists Introduction

Software Reference for x310 Series Switches

33.18

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

Note that if you add a filter to an ACL without specifying a sequence number the new filter
is automatically assigned a sequence number. Sequence numbers are assigned in
multiples of ten from the sequence number of the last filter.

Step 3:

Insert a filter into the ACL

Insert a new filter with the sequence number 15 into ACL 10 to permit packets from the
192.168.3

subnet:

The new filter has precedence over the filter with the sequence number 20.

Step 4:

Remove a filter from the ACL by specifying a filter pattern

Remove the filter with the IP address 192.168.2 from ACL 10:

Standard IP access list 10
10 permit 192.168.1.0, wildcard bits 0.0.0.255
20 deny 192.168.2.0, wildcard bits 0.0.0.255

awplus#

configure terminal

awplus(config)#

access-list 10

awplus(config-ip-std-acl)#

15 permit 192.168.3.0 0.0.0.255

awplus(config-ip-std-acl)#

end

awplus#

show access-list 10

Standard IP access list 10
10 permit 192.168.1.0, wildcard bits 0.0.0.255
15 permit 192.168.3.0, wildcard bits 0.0.0.255
20 deny 192.168.2.0, wildcard bits 0.0.0.255

awplus#

configure terminal

awplus(config)#

access-list 10

awplus(config-ip-std-acl)#

no deny 192.168.2.0 0.0.0.255

awplus(config-ip-std-acl)#

end

awplus#

show access-list 10

Standard IP access list 10
10 permit 192.168.1.0, wildcard bits 0.0.0.255
15 permit 192.168.3.0, wildcard bits 0.0.0.255