To display the 802.1x authentication function details, run the show dot1x command in privileged EXEC and global configuration modes.
show dot1x [[ daemon | detect | eapol-relay | guest-vlan] [ interface{ ethernet | gpon} slot-number/port-number] [ to { ethernet | gpon} slot-number/port-number] | max-reauth | max-req | port-auth | quiet-period-value | session [ interface{ ethernet | gpon} slot-number/port-number [ to { ethernet | gpon} slot-number/port-number] | mac-address mac-address-value]]
Syntax Description
daemon
|
Displays the configuration of 802.1x authentication interface watch function.
|
detect
|
Displays heartbeat detection configuration.
|
eapol-relay
|
Displays EAPOL pass through configuration.
|
guest-vlan
|
Displays guest VLAN information.
|
interface
|
Displays interface configuration, such as the interface control mode, re-authentication state, the maximum number of users
for the interface authentication.
|
slot-number/port-number
|
The port ID.
-
slot-number :
-
port-number :
-
GPON: The range is from 1 to 8.
-
GE Ethernet: The range is from 1 to 4.
-
10GE Ethernet: The range is from 1 to 2.
|
to
|
Displays the information for a range of ports. If you use the to keyword, specify the same port type before and after the keyword.
|
max-reauth
|
Displays information about maximum count of the EAP requests and identity packets sent by the server.
|
max-req
|
Displays information about the maximum count of the EAP requests sent by the server.
|
port-auth
|
Displays whether the interface authentication is enabled or disabled.
|
quiet-period-value
|
Displays the quiet period.
|
session
|
Displays 802.1x session.
|
mac-address mac-address-value
|
Displays 802.1x session information for the specified MAC address.
|
Command Modes
Privileged EXEC (#)
Global Configuration (config)
Examples
This example shows the sample output for the show dot1x daemon
Device> enable
Device# configure terminal
Device(config)# show dot1x daemon
port daemonstatus daemontime(s)
g0/1 close 60
g0/2 close 60
g0/3 close 60
g0/4 close 60
g0/5 close 60
g0/6 close 60
g0/7 close 60
g0/8 close 60
e1/1 close 60
e1/2 close 60
e1/3 close 60
e1/4 close 60
e2/1 close 60
e2/2 close 60
Examples
This example shows the sample output for the show dot1x detect
Device> enable
Device# configure terminal
Device(config)# show dot1x detect
the user detect interval is 25
port : detect
g0/1 : disable
g0/2 : disable
g0/3 : disable
g0/4 : disable
g0/5 : disable
g0/6 : disable
g0/7 : disable
g0/8 : disable
e1/1 : disable
e1/2 : disable
e1/3 : disable
e1/4 : disable
e2/1 : disable
e2/2 : disable
Total [14] item(s), printed [14] item(s).
Examples
This example shows the sample output for the show dot1x eapol-relay
Device> enable
Device# configure terminal
Device(config)# show dot1x eapol-relay
Port EapolRelay EapolRelayUplink
g0/1 disabled false
g0/2 disabled false
g0/3 disabled false
g0/4 disabled false
g0/5 disabled false
g0/6 disabled false
g0/7 disabled false
g0/8 disabled false
e1/1 disabled false
e1/2 disabled false
e1/3 disabled false
e1/4 disabled false
e2/1 disabled false
e2/2 disabled false
Total entries: 14.
Examples
This example shows the sample output for the show dot1x guest-vlan
Device> enable
Device# configure terminal
Device(config)# show dot1x guest-vlan
Port GuestVlan Status
g0/1 disable InConfigVlan
g0/2 disable InConfigVlan
g0/3 disable InConfigVlan
g0/4 disable InConfigVlan
g0/5 disable InConfigVlan
g0/6 disable InConfigVlan
g0/7 disable InConfigVlan
g0/8 disable InConfigVlan
e1/1 44 InConfigVlan
e1/2 disable InConfigVlan
e1/3 disable InConfigVlan
e1/4 disable InConfigVlan
e2/1 disable InConfigVlan
e2/2 disable InConfigVlan
Total entries: 14.
Examples
This example shows the sample output for the show dot1x interface
Device> enable
Device# configure terminal
Device(config)# show dot1x interface ethernet 1/3
Authentication of system: disabled
Type of authentication: eap-finish
Total [0] item(s).
Examples
This example shows the sample output for the show dot1x max-reauth
Device> enable
Device# configure terminal
Device(config)# show dot1x max-reauth
the max-reauth is 2.
Examples
This example shows the sample output for the show dot1x max-req
Device> enable
Device# configure terminal
Device(config)# show dot1x max-req
the max-req is 2.
Examples
This example shows the sample output for the show dot1x port-auth
Device> enable
Device# configure terminal
Device(config)# show dot1x port-auth
------------------------------------------------------------------------
port 1 auth is close
port 2 auth is close
port 3 auth is close
port 4 auth is close
port 5 auth is close
port 6 auth is close
port 7 auth is close
port 8 auth is close
port 9 auth is close
port 10 auth is close
port 11 auth is close
port 12 auth is close
port 13 auth is close
port 14 auth is close
------------------------------------------------------------------------
Examples
This example shows the sample output for the show dot1x quiet-period-value
Device> enable
Device# configure terminal
Device(config)# show dot1x quiet-period-value
the quiet-period-value is 0.
Examples
This example shows the sample output for the show dot1x session
Device> enable
Device# configure terminal
Device(config)# show dot1x session
Total [0] item(s).