Creating acls in global configuration mode, Step 1: add filters with the access-list command – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 843
Access Control Lists Introduction
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
33.19
Step 5:
Remove a filter from the ACL by specifying a sequence number
Remove the filter with the sequence number 10 from ACL 10:
Creating ACLs in Global Configuration Mode
You can add new filters in Global Configuration mode with the
numbered) command on page 35.30
. In this mode the filters are assigned a sequence
number corresponding to the order in which they are entered, i.e. the first filter entered
has higher precedence in the ACL.
Step 1:
Add filters with the access-list command
Add filters to ACL 10 using the access-list command:
You can then enter the IPv4 Standard ACL Configuration mode and use the
standard numbered filter) command on page 35.34
to specify sequence numbers to
reorder the filters.
awplus#
configure terminal
awplus(config)#
access-list 10
awplus(config-ip-std-acl)#
no 10
awplus(config-ip-std-acl)#
end
awplus#
show access-list
Standard IP access list 10
15 permit 192.168.3.0, wildcard bits 0.0.0.255
awplus#
configure terminal
awplus(config)#
access-list 10 permit 192.168.1.0 0.0.0.255
awplus(config)#
access-list 10 deny 192.168.2.0 0.0.0.255
awplus(config)#
end
awplus#
show access-list 10
Standard IP access list 10
15 permit 192.168.3.0, wildcard bits 0.0.0.255
20 permit 192.168.1.0, wildcard bits 0.0.0.255
30 deny 192.168.2.0, wildcard bits 0.0.0.255