beautypg.com

Allied Telesis AT-8100 Series User Manual

Page 1609

background image

AT-8100 Switch Command Line User’s Guide

1609

This example creates a deny access list called “denytcp” that discards all
tagged ingress TCP packets from the 152.12.45.0/16 subnet. Then the
ACL is assigned to port 19:

awplus> enable
awplus# configure terminal
awplus(config)# ip access-list denytcp
awplus(config-ip-acl)# deny tcp 152.12.45.0/16 any
awplus(config-ip-acl)# exit
awplus(config)# interface port1.0.19
awplus(config-if)# access-group denytcp

This example creates an ACL that discards all untagged ingress packets
that have the source and destination TCP port number 150. Then the ACL
is assigned to port 6:

awplus> enable
awplus# configure terminal
awplus(config)# ip access-list tcpdeny2
awplus(config-ip-acl)# deny tcp any eq 150 any eq 150
awplus(config-ip-acl)# exit
awplus(config)# interface port1.0.6
awplus(config-if)# access-group tcpdeny2