beautypg.com

Allied Telesis AT-DC2552XS User Manual

Page 490

background image

Chapter 21: Quality of Service (QoS) Commands

490

Section V: Security and Traffic Control

This example creates a hardware ACL named “aclping” to block IP
addresses 192.168.0.0 to 192.168.255.255 from pinging and adds the
“aclping” hardware ACL to the class map “denyPingFrom192”:

awplus> enable
awplus# configure terminal
awplus(config)# access-list hardware aclping
awplus(config-ip-hw-acl)# deny icmp 192.168.0.0./16 any
icmp-type 8
awplus(config-ip-acl)# exit
awplus(config)# class-map denyPingFrom192
awplus(config-cmap)# match access-group aclping