beautypg.com

Allied Telesis AT-8100 Series User Manual

Page 1605

background image

AT-8100 Switch Command Line User’s Guide

1605

Examples

This example creates a Named IP ACL, called “permitproto8,” that permits
all EGP packets (protocol 8) from source IP address 152.12.45.2/16 to
destination IP address 152.12.45.3/16. Then the ACL is assigned to port
7:

awplus> enable
awplus# configure terminal
awplus(config)# ip access-list permitproto8
awplus(config-ip-acl)# copy-to-mirror proto 8 152.12.45.2/16
152.12.45.3/16
awplus(config-ip-acl)# exit
awplus(config)# interface port1.0.7
awplus(config-if)# access-group permitproto8

This example creates a deny access list called “denyproto2” that discards
all tagged ingress UDP packets (protocol 17) on VLAN 12 that are from the
152.12.45.0/16 subnet. Then the ACL is assigned to port 27:

awplus> enable
awplus# configure terminal
awplus(config)# ip access-list denyproto2
awplus(config-ip-acl)# deny proto 17 152.12.45.0/16 any
awplus(config-ip-acl)# exit
awplus(config)# interface port1.0.27
awplus(config-if)# access-group denyproto2