3.
dot1x host-mode
{
multi-host
|
single-host
}
4.
dot1x host-mode multi-auth
5.
exit
6.
(Optional)
show dot1x all
7.
(Optional)
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Step 1
switch#
configure terminal
switch(config)#
Selects the interface to configure and enters interface
configuration mode.
interface ethernet slot/port
Example:
Step 2
switch(config)# interface ethernet 2/1
switch(config-if)
Configures the host mode. The default is single-host.
dot1x host-mode
{
multi-host
|
single-host
}
Step 3
Example:
Make sure that the
dot1x port-control
interface
configuration command is set to
auto
for the
specified interface.
Note
switch(config-if)#
dot1x host-mode multi-host
Configures the multiple authentication mode. The port is
authorized only on a successful authentication of either EAP
dot1x host-mode multi-auth
Example:
Step 4
or MAB or a combination of both. Failure to authenticate
will restrict network access.
switch(config-if)#
dot1x host-mode multi-auth
authentication either EAP or MAB
Exits configuration mode.
exit
Example:
Step 5
switch(config-if)#
exit
switch(config)#
Displays all 802.1X feature status and configuration
information.
(Optional)
show dot1x all
Example:
Step 6
switch#
show dot1x all
Copies the running configuration to the startup
configuration.
(Optional)
copy running-config startup-config
Example:
Step 7
switch(config)#
copy running-config startup-config
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
197
Configuring 802.1X
Enabling Single Host or Multiple Hosts Mode