cisco — Configuring 802.1x Violation Modes

Configuring 802.1x Violation Modes You can configure an 802.1x port so that it shuts down, generates a syslog error, or discards packets from a new device when: • A device connects to an 802.1x-enabled port Configuring IEEE 802.1x Port-Based Authentication Configuring 802.1x Violation Modes Command or Action Purpose 2/0/1 Step 4 authentication periodic Example: Device(config-if)# authentication periodic Enables periodic reauthentication of the client, which is disabled by default. Note The default value is 3600 seconds. To change the value of the reauthentication timer or to have the switch use a RADIUS-provided session timeout, enter the authentication timer reauthenticate command.

Step 5 authentication timer {{[inactivity | reauthenticate | restart | unauthorized]} {value}} Example: Device(config-if)# authentication timer reauthenticate 180 Sets the number of seconds between reauthentication attempts. The authentication timer keywords have these meanings: • inactivity: Interval in seconds after which if there is no activity from the client then it is unauthorized • reauthenticate: Time in seconds after which an automatic reauthentication attempt is initiated • restart value: Interval in seconds after which an attempt is made to authenticate an unauthorized port • unauthorized value:

Interval in seconds after which an unauthorized session will get deleted This command affects the behavior of the switch only if periodic reauthentication is enabled. Step 6 end Example: Device(config-if)# end Exits interface configuration mode and returns to privileged EXEC mode. Configuring IEEE 802.1x Port-Based Authentication 39