Allied Telesis AT-DC2552XS User Manual
Page 473

AT-DC2552SX Switch Command Line Interface User’s Guide
Section V: Security and Traffic Control
473
This example creates a new hardware access list named “acl_3” and adds
a statement to forward packets that have a protocol type of TCP, a source
IP address of 192.168.10.5, and a TCP port number of 80:
awplus> enable
awplus# configure terminal
awplus(config)# access-list hardware acl_3
awplus(config-ip-hw-acl)# permit tcp host 192.168.10.5 any
eq 80
This example adds a new statement to an existing hardware access list
named “acl_4.” Assume that “acl_4” consists of two statements: sequence
numbers 10 and 20. To view an existing hardware access list, use SHOW
ACCESS-LIST. (See “SHOW ACCESS-LIST” on page 474.) This example
inserts a new permit statement with a sequence number of 15 between
existing two statements:
awplus> enable
awplus# show access-list
Hardware IP access list acl_4
10 permit ip 192.168.10.1/28 any
20 deny ip any any
awplus# configure terminal
awplus(config)# access-list hardware acl_4
awplus(config-ip-hw-acl)# 15 permit ip 192.168.10.16/29 any