beautypg.com

Allied Telesis AT-8100 Series User Manual

Page 1059

background image

AT-8100 Switch Command Line User’s Guide

1059

This example sets the intrusion action for ports 22 to 24 to restrict. After
learning their maximum numbers of MAC addresses, the ports discard
packets with unknown source MAC addresses, and the switch sends
SNMP traps:

awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.22-port1.0.24
awplus(config-if)# switchport port-security violation
restrict

This example sets the intrusion action on port 2 to shutdown. The switch
disables the port and sends an SNMP trap if the port learns its maximum
number of MAC addresses and then receives an ingress packet with
another unknown source MAC address:

awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.2
awplus(config-if)# switchport port-security violation
shutdown