![Cisco Small Business 300 1.1 Series Administration Manual Download Page 267](http://html.mh-extra.com/html/cisco/small-business-300-1-1-series/small-business-300-1-1-series_administration-manual_2609294267.webp)
802.1x Commands
78-20269-01 Command Line Interface Reference Guide
268
20
Parameters
•
restrict—Generates a trap when a station whose MAC address is not the
supplicant MAC address, attempts to access the interface. The minimum
time between the traps is 1 second. Those frames are forwarded but their
source address are not learned.
•
protect—Discard frames with source addresses not the supplicant
address.
•
shutdown—Discard frames with source addresses not the supplicant
address and shutdown the port
•
trap
seconds
- Send SNMP traps, and specifies the minimum time
between consecutive traps. If seconds = 0 traps are disabled. If the
parameter is not specified it defaults to 1 second for the restrict mode and
0 for the other modes.
Default Configuration
Protect
Command Mode
Interface Configuration (Ethernet) mode
User Guidelines
The command is relevant only for single-host mode.
BPDU message whose MAC address is not the supplicant MAC address wouldn’t
be discarded in the protect mode.
BPDU message whose MAC address is not the supplicant MAC address would
cause a shutdown in the shutdown mode.
Example
console(config)#
interface
gi1
console(config-if)#
dot1x violation-mode
protect