2-83
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
dot1x host-mode
dot1x host-mode
Use the
dot1x host-mode
interface configuration command to allow a single host (client) or multiple
hosts on an 802.1x-authorized port that has the
dot1x port-control
interface configuration command set
to
auto
. Use the
no
form of this command to return to the default setting.
dot1x host-mode
{
multi-host
|
single-host
}
no dot1x host-mode
[
multi-host
|
single-host
]
Syntax Description
Note
Although visible in the command-line interface help, the
multi-domain
keyword is not supported.
Command Default
The default is single-host mode.
Command Modes
Interface configuration
Command History
Usage Guidelines
Use this command to limit an 802.1x-enabled port to a single client or to attach multiple clients to an
802.1x-enabled port. In multiple-hosts mode, only one of the attached hosts must be successfully
authorized for all hosts to be granted network access. If the port becomes unauthorized
(re-authentication fails or an Extensible Authentication Protocol over LAN [EAPOL]-logoff message is
received), all attached clients are denied access to the network.
Before entering this command, make sure that the
dot1x port-control
interface configuration command
is set to
auto
for the specified port.
The
dot1x host-mode multi-domain
interface configuration command is not supported on the switch.
Configuring this command on an interface causes the interface to go into the error-disabled state.
Examples
This example shows how to enable 802.1x globally, enable 802.1x on a port, and enable multiple-hosts
mode:
Switch(config)#
dot1x system-auth-control
Switch(config)#
interface gigabitethernet1/0/1
Switch(config-if)#
dot1x port-control auto
Switch(config-if)#
dot1x host-mode multi-host
multi-host
Enable multiple-hosts mode on the switch.
single-host
Enable single-host mode on the switch.
Release
Modification
12.1(14)AX
This command was introduced.