dot1x enable

Enables 802.1X authentication globally.
Syntax
dot1x enable [ all | ethernet unit / slot / port [ to unit / slot /port ] ]
no dot1x enable [ all | ethernet unit / slot / port [ to unit / slot / port ] ]
Command Default

802.1x authentication is not enabled.

Parameters
all
Enables 802.1x authentication on all interfaces.
ethernet unit / slot / port [ to unit / slot / port ]
Enables 802.1x authentication on the specified interface or range of interfaces.
Modes

Authentication configuration mode

Usage Guidelines

The dot1x enable command without any options initializes 802.1X authentication feature globally. The dot1x enable command with the all or ethernet options, enables 802.1X authentication on all or a specific interface respectively. After initializing 802.1X authentication feature using the dot1x enable command, you must enable 802.1X authentication on all or a specific interface.

Port control must be configured to activate authentication on an 802.1X-enabled interface using the dot1x port-control command from the interface configuration mode.

The no form of the command disables 802.1X authentication.

Note: You cannot enable 802.1X authentication on ports that have any of the following features enabled:
  • Link aggregation
  • Metro Ring Protocol (MRP)
  • Mirror port
  • LAG port
  • Unidirectional Link Detection (UDLD)
Examples

The following example enables 802.1X authentication on all interfaces.

device(config)# authentication
device(config-authen)# dot1x enable
device(config-authen)# dot1x enable all

The following example enables 802.1X authentication on ethernet interface 1/1/1.

device(config)# authentication
device(config-authen)# dot1x enable
device(config-authen)# dot1x enable ethernet 1/1/1
History
Release version Command history
08.0.20 This command was introduced.