Port-Based Network Access Control Commands

Use these commands to configure port-based network access control (IEEE 802.1X, also referred to as dot1x).

Port-based network access control allows you to permit access to network services only to and devices that are authorized and authenticated.

aaa authentication dot1x default

M4250

M4350

Use this command to configure the authentication methods for port-based access to the switch. The additional methods of authentication are used only if the previous method returns an error, not if there is an authentication failure.

The possible methods are as follows:

  • ias. Uses the internal authentication server users database for authentication.
  • none. Uses no authentication.
  • radius. Uses the list of all RADIUS servers for authentication.

You can configure one method at the time.

Format aaa authentication dot1x default {ias | none | radius}
Mode Global Config

Command example:

CODE
(NETGEAR Switch) #
(NETGEAR Switch) #configure
(NETGEAR Switch) (Config)#aaa authentication dot1x default ias
(NETGEAR Switch) (Config)#aaa authentication dot1x default radius

no authentication dot1x default

This command disables the authentication methods for port-based access to the switch.

Format no authentication dot1x default
Mode Global Config

dot1x system-auth-control

M4250

M4350

This command enables 802.1X authentication support on the switch.

Default Disabled
Format dot1x system-auth-control
Mode Global Config

no dot1x system-auth-control

This command disables 802.1X authentication support on the switch. If you configure 802.1X authentication and then disable the command, the 802.1X configuration is retained and can be changed, but is not activated.

Format no dot1x system-auth-control
Mode Global Config

authentication port-control all

M4250

M4350

This command enables and configures the global authentication port-control mode. The interface port-control mode takes precedence over the global port-control mode.

Default Disabled
Format authentication port-control all {auto | force-authorized | force-unauthorized}
Mode Global Config

no authentication port-control all

This command disables the global authentication port-control mode.

Format no authentication port-control all
Mode Global Config

authentication port-control

M4250

M4350

This command enables and configures the authentication port-control mode for an interface. The interface port-control mode takes precedence over the global port-control mode.

Default Disabled
Format authentication port-control {auto | force-authorized | force-unauthorized}
Mode Interface Config

no authentication port-control

This command disables the authentication port-control mode for the interface.

Format no authentication port-control
Mode Interface Config

authentication host-mode all

M4250

M4350

This command enables and configures the global authentication host mode. The interface host mode takes precedence over the global host mode.

Default Disabled
Format authentication host-mode all {multi-auth | multi-domain | multi-host | single-host | multi-domain-multi-host}
Mode Global Config

no authentication host-mode all

This command disables the global authentication host mode.

Format no authentication host-mode all
Mode Global Config

authentication host-mode

M4250

M4350

This command enables and configures the authentication host mode on an interface. The interface host mode takes precedence over the global host mode.

Default multi-host
Format authentication host-mode {multi-auth | multi-domain | multi-host | single-host | multi-domain-multi-host}
Mode Interface Config

no authentication host-mode

This command disables the authentication host mode on an interface and sets the authentication host mode for the interface to the default setting.

Format no authentication host-mode
Mode Interface Config

authentication open

M4250

M4350

This command enables open authentication on the interface.

Default Disabled
Format authentication open
Mode Interface Config

no authentication open

This command disables open authentication on the interface.

Format no authentication open
Mode Interface Config

authentication critical recovery max-reauth

M4250

M4350

This command configures the number of supplicants that can be reauthenticated per second. This configuration applies to the switch, that is, to all the supplicants on all interfaces. The function is to control the switch and network load when a large number of supplicants must be re-authenticated, for example, when reinitialization is caused by a server action. For number, enter the number of supplicants that can be reauthenticated per second, from 1 to 50 supplicants.

Default 10
Format authentication critical recovery max-reauth number
Mode Global Config

no authentication critical recovery max-reauth

This command removes the restriction to the number of supplicants that can be reauthenticated per second and sets the number (that applies only if the restriction is enabled) to defaults.

Format no authentication critical recovery max-reauth
Mode Interface Config

clear authentication sessions

M4250

M4350

This command clears information for all authentication manager sessions on the switch or, as an option, on a specific interface. All authenticated clients are re-initialized and forced to authenticate again. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format clear authentication sessions [unit/slot/port]
Mode Privileged EXEC

clear dot1x statistics

M4250

M4350

This command resets the 802.1X statistics for the specified port or for all ports. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format clear dot1x statistics {unit/slot/port | all}
Mode Privileged EXEC

clear radius statistics

M4250

M4350

This command is used to clear all RADIUS statistics.

You can clear all statistics, the accounting server statistics, or the authentication server statistics.

Format clear radius statistics {acct | all | auth}
Mode Privileged EXEC

dot1x eapolflood

M4250

M4350

Use this command to enable EAPOL flood support on the switch.

Default Disabled
Format dot1x eapolflood
Mode Global Config

no dot1x eapolflood

This command disables EAPOL flooding on the switch.

Format no dot1x eapolflood
Mode Global Config

authentication dynamic-vlan enable

M4250

M4350

Use this command to enable the switch to create VLANs dynamically when a RADIUS-assigned VLAN does not exist in the switch.

Default Disabled
Format authentication dynamic-vlan enable
Mode Global Config

no authentication dynamic-vlan enable

Use this command to prevent the switch from creating VLANs when a RADIUS-assigned VLAN does not exist in the switch.

Format no authentication dynamic-vlan enable
Mode Global Config

authentication event no-response action authorize vlan

M4250

M4350

This command configures a VLAN as the guest VLAN on an interface (or range of interfaces). The command specifies an active VLAN as an IEEE 802.1X guest VLAN. The range for vlan-id is from 1 to 4093.

Default Disabled
Format authentication event no-response action authorize vlan vlan-id
Mode Interface Config

no authentication event no-response action authorize vlan

This command disables a guest VLAN on the interface.

Default Disabled
Format no authentication event no-response action authorize vlan
Mode Interface Config

dot1x max-req

M4250

M4350

This command sets the maximum number of times an interface or range of interfaces transmits EAPOL EAP Request frames (excluding Request-Identity frames) before restarting the authentication process. The count parameter must be in the range from 1 to 20.

Default 2
Format dot1x max-req count
Mode Interface Config

no dot1x max-req

This command resets the maximum number of authentication retries for the interface or range of interfaces to its default value.

Format no dot1x max-req
Mode Interface Config

dot1x max-reauth-req

M4250

M4350

This command sets the maximum number of times an interface or range of interfaces transmits an EAPOL EAP Request/Identity frame for reauthentication before timing out the supplicant. The count parameter must be in the range from 1 to 20.

Default 2
Format dot1x max-reauth-req count
Mode Interface Config

no dot1x max-reauth-req

This command resets the maximum number of reauthentication retries for the interface or range of interfaces to its default value.

Format no dot1x max-reauth-req
Mode Interface Config

authentication max-users

M4250

M4350

Use this command to set the maximum number of clients supported on an interface (or range of interfaces) when MAC-based 802.1X authentication is enabled on the interface. The value of count must be in the range from 1 to 48.

Default 48
Format authentication max-users count
Mode Interface Config

no authentication max-users

This command resets the maximum number of clients allowed on an interface to its default setting.

Format no authentication max-users
Mode Interface Config

authentication port-control

M4250

M4350

This command sets the authentication mode that must be used on a specified interface (or range of interfaces.) Use the following parameters:

  • auto. Use this parameter to specify that the authenticator PAE sets the controlled port mode to reflect the outcome of the authentication exchanges between the supplicant, authenticator and the authentication server.
  • force-authorized. Use this parameter to specify that the authenticator PAE unconditionally sets the controlled port to authorized.
  • force-unauthorized. Use this parameter to specify that the authenticator PAE unconditionally sets the controlled port to unauthorized.
Default auto
Format authentication port-control {auto | force-authorized | force-unauthorized}
Mode Interface Config

no authentication port-control

This command sets the 802.1X port control mode on a specified interface to the default setting.

Format no authentication port-control
Mode Interface Config

mab

M4250

M4350

If the 802.1X mode on the interface is MAC-based, you can use this command to enable MAC Authentication Bypass (MAB) on an interface. MAB is a supplemental authentication mechanism that allows 802.1X-unaware clients, such as printers, fax machines, and some IP phones, to authenticate to the network using the client MAC address as an identifier. However, you can also use MAB to authenticate 802.1x-aware clients. This command also provides options to specify the type of authentication that must be used, which can be EAP-MD5, PAP, or CHAP. If enabled, EAP-MD5 is the default setting.

Default Disabled
Format mab [auth-type {pap | eap-md5 | chap}]
Mode Interface Config

no mab

This command disables MAB on the interface.

Format no mab
Mode Interface Config

mab request format attribute 1

M4250

M4350

This command sets configuration parameters that are used to format attribute 1 for MAB requests to the RADIUS server. RADIUS attribute 1 is the username, which is often the client MAC address.

Default

The group size is 2.

The separator is :

The case is uppercase.

Format mab request format attribute 1 groupsize {1 | 2 | 4 | 12} separator {- | : | .} [lowercase | uppercase]
Mode Global Config
Parameter Definition
groupsize

The number of characters included in a group.

In the following example, the group size is 2:

00:10:18:99:F2:B3

In the following example, the group size is 4:

0010:1899:F2B3

separator

The character that separates the group.

In the following example, the separator is - (hyphen):

00-10-18-99-F2-B3

In the following example, the separator is : (colon):

00:10:18:99:F2:B3

lowercase or uppercase

The case of any letters in the user name.

In the following example, the case is lowercase:

00:10:18:99:f2:b3

In the following example, the case is uppercase:

00:10:18:99:F2:B3

no mab request format attribute 1

This command resets attribute 1 formats for MAB requests to the RADIUS server to the default values.

Format no mab request format attribute 1
Mode Global Config

authentication periodic

M4250

M4350

This command enables reauthentication of a supplicant on the interface (or range of interfaces.)

Default Disabled
Format authentication periodic
Mode Interface Config

no authentication periodic

This command disables reauthentication of a supplicant on the interface.

Format no authentication periodic
Mode Interface Config

authentication timer reauthenticate

M4250

M4350

If you enabled periodic reauthentication with the authentication periodic command (see the previous command), you can use the authentication timer reauthenticate command.

This command configures the period after which an authenticator attempts to reauthenticate a supplicant on the interface. By default, the session time-out and session termination action that are configured on the server (such as RADIUS server) are used by authenticator. You can also configure a period in seconds. For seconds, enter a value from 1 to 65535.

Default server
Format authentication timer reauthenticate {seconds | server}
Mode Interface Config

no authentication timer reauthenticate

This command sets the session time-out and session termination action to those that are configured on the server.

Format no authentication timer reauthenticate
Mode Interface Config

authentication timer restart

M4250

M4350

This command configures the period after which an authenticator must restart reauthentication of a supplicant on the interface. For seconds, enter a value from 10 to 65535.

Default No default
Format authentication timer restart seconds
Mode Interface Config

no authentication timer restart

This command removes the configured authentication timer restart period.

Format no authentication timer restart
Mode Interface Config

authentication enable

M4250

M4350

Use this command to enable the dot1x authentication support on the switch. While disabled, the dot1x configuration is retained and can be changed, but is not activated.

Default Disabled
Format authentication enable
Mode Global Config

no authentication enable

This command is used to disable the dot1x authentication support on the switch.

Format no authentication enable
Mode Global Config

dot1x timeout

M4250

M4350

This command sets the value, in seconds, of the timer used by the authenticator on an interface (or range of interfaces). You can set time-out settings for multiple parameters.

The value for seconds can be from 1 to 65535 seconds.

Default
  • auth-period: 30 seconds
  • held-period: 60 seconds
  • quiet-period: 60 seconds
  • server-timeout: 30 seconds
  • start-period: 30 seconds
  • supp-timeout: 30 seconds
  • tx-period: 30 seconds
Format dot1x timeout {{auth-period seconds} | {held-period seconds} | {quiet-period seconds} | {server-timeout seconds} | {start-period seconds} | {supp-timeout seconds} | {tx-period seconds}}
Mode Interface Config
Parameter Definition
auth-period The period after which the interface times out an authenticator while waiting for a response to packets other than EAPOL-Start packets.
held-period The period that the interface waits before it sends authentication credentials after an earlier attempt failed.
quiet-period The period during which the interface does not attempt to acquire a supplicant.
server-timeout The period after which the interface times out the authentication server.
start-period The interval after which one successive EAPOL-Start frame on the interface is followed by another EAPOL-Start frame.
supp-timeout The period after which the interface times out the supplicant.
tx-period The period after which the interface sends an EAPOL EAP Request/Identity frame to the supplicant.

no dot1x timeout

This command sets the value, in seconds, of the timer used by the authenticator on the interface to the default values. Depending on the parameter that you enter, the corresponding default value is set.

Format no dot1x timeout {auth-period | held-period | quiet-period | server-timeout | start-period | supp-timeout | tx-period}
Mode Interface Config

authentication event fail action authorize vlan

M4250

M4350

Use this command to configure the unauthenticated VLAN associated with the specified interface (or range of interfaces). This VLAN is used when the server fails to recognize the client credentials and rejects the authentication attempt. The unauthenticated VLAN ID can be from 0 to 4093. The unauthenticated VLAN must be statically configured in the VLAN database to be operational. By default, the unauthenticated VLAN ID is 0, that is, invalid and not operational.

Default 0
Format authentication event fail action authorize vlan vlan-id
Mode Interface Config

no authentication event fail action authorize vlan

This command resets the unauthenticated VLAN that is associated with the interface to its default value.

Format no authentication event fail action authorize vlan
Mode Interface Config

authentication event fail retry

M4250

M4350

This command configures the number of times authentication can be reattempted by a client before an interface enters the authentication fail VLAN state. The number of maximum attempts can be from 1 to 5.

Default 3
Format authentication event fail retry max-attempts
Mode Interface Config

no authentication event fail retry

This command sets the number of times authentication can be reattempted to its default value.

Format no authentication event fail retry
Mode Interface Config

dot1x user

M4250

M4350

This command adds the specified user to the list of users with access to the specified port or all ports. The user argument must be a configured user. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format dot1x user user {unit/slot/port | all}
Mode Global Config

no dot1x user

This command removes the user from the list of users with access to the specified port or all ports.

Format no dot1x user user {unit/slot/port | all}
Mode Global Config

authentication enable

M4250

M4350

This command globally enables the authentication manager. Interface configuration takes effect only if the authentication manager is enabled with this command.

Default Disabled
Format authentication enable
Mode Global Config

no authentication enable

This command disables the Authentication Manager.

Format no authentication enable
Mode Global Config

eapol announcements

M4250

M4350

This command configures an unsecure announcement on a specific physical interface.

Default Disabled
Format eapol announcements
Mode Interface Config

no eapol announcements

This command disables an unsecure announcement on a specific physical interface.

Format no eapol announcements
Mode Interface Config

authentication control-direction

M4250

M4350

This command sets the authentication control direction for the traffic flow of the interface. The direction can be both (ingress and egress, which is the default setting) or in (ingress only).

Default both
Format authentication control-direction {both | in}
Mode Interface Config

no authentication control-direction

This command sets the authentication control direction on an interface to the default settings.

Format no authentication control-direction
Mode Interface Config

authentication order

M4250

M4350

This command sets the order of authentication methods used on a port. The available authentication methods are Dot1x, MAB, and captive portal. Ordering sets the order of methods that the switch attempts when trying to authenticate a new device connected to a port. If one method is unsuccessful or timed out, the next method is attempted.

Each method can only be entered once. Ordering is only possible between 802.1x and MAB. Captive portal can be configured either as a stand-alone method or as the last method in the order.

Format authentication order {dot1x [mab [captive-portal] | captive-portal] | mab [dot1x [captive-portal] | captive-portal] | captive-portal}
Mode Interface Config

no authentication order

This command returns the port to the default authentication order.

Format no authentication order
Mode Interface Config

authentication priority

M4250

M4350

This command sets the priority for the authentication methods used on a port. The available authentication methods are Dot1x, MAB, and captive portal. The authentication priority determines if a previously authenticated client is reauthenticated with a higher-priority method when another authentication request for the same client is received. Captive portal is always the last method in the list.

Default Authentication order: dot1x, mab, captive portal
Format authentication priority {dot1x [mab [captive portal] | captive portal] | mab [dot1x [captive portal]| captive portal] | captive portal}
Mode Interface Config

no authentication priority

This command returns the port to the default order of priority for the authentication methods.

Format no authentication priority
Mode Interface Config

authentication restart

M4250

M4350

This command sets the time, in seconds, after which reauthentication starts. The range is 300–65535 seconds and the default time is 300 seconds. The timer restarts the authentication only after all the authentication methods fail. At the expiration of this timer, authentication is reinitiated for the port.

Format authentication restart seconds
Mode Interface Config

no authentication restart

This command sets the reauthentication value to the default value of 3600 seconds.

Format no authentication restart
Mode Interface Config

authentication allow-unauth dhcp

M4250

M4350

This command enables DHCP packets for unauthorized clients on the interface.

Default Disabled
Format authentication allow-unauth dhcp
Mode Interface Config

no authentication allow-unauth dhcp

This command disables DHCP packets for unauthorized clients on the interface.

Format no authentication allow-unauth dhcp
Mode Interface Config

authentication event server dead action

M4250

M4350

This command configures the actions that occur when all authentication servers are “dead” (unresponsive). The command also configures the critical VLAN ID or critical voice VLAN features. If the VLAN ID is not specified, the port PVID is used as the critical VLAN ID.

Default

Action: None

VLAN: Port PVID

Format authentication event server dead action {reinitialize | authorize} [vlan vlan-id | voice]
Mode Interface Config
Parameter Definition
reinitialize

Triggers reauthentication for all authenticated clients on the port.

Supplicants on the voice VLAN, unauthenticated VLAN (authentication failed clients), and guest VLAN are not disturbed. During reauthentication, if all the servers are still dead, the supplicant is authorized and placed in the critical VLAN without contacting the RADIUS server for authentication.

authorize

Authorizes the authenticated supplicants and assigns them to the critical VLAN.

Supplicants on the RADIUS-assigned VLAN, voice VLAN, unauthenticated VLAN, and guest VLAN are not disturbed. Supplicants authorized on the port PVID are reauthorized on the critical VLAN.

vlan vlan id The critical VLAN ID.
voice Enables critical voice VLAN features.

no authentication event server dead action

This command disables the dead server action.

Format no authentication event server dead action
Mode Interface Config

authentication event server alive action

M4250

M4350

This command configures the action that occurs when one authentication server comes back “alive” (responsive) after all were “dead” (unresponsive). The reinitialize action (the only possible action) triggers the reauthentication of supplicants authenticated on the critical VLAN.

Default Action: None
Format authentication event server alive action reinitialize
Mode Interface Config

no authentication event server alive action

This command disables the dead server action.

Format no authentication event server alive action
Mode Interface Config

authentication violation

M4250

M4350

This command configures the action that occurs when a security violation occurs on a port. The authentication violation can occur when a device tries to connect to a port on which the maximum number of devices is exceeded.

Default restrict
Format authentication violation {protect | restrict | shutdown}
Mode Interface Config
Parameter Definition
protect Sets the violation mode so that the port drops packets with unexpected MAC addresses without generating a system message.
restrict Sets the violation mode so that the packets are dropped by the CPU and a system message is generated.
shutdown Sets the violation mode so that the port is placed in the error-disabled state with unexpected MAC addresses.

no authentication violation

This command disables the authentication violation action.

Format no authentication violation
Mode Interface Config

authentication monitor

M4250

M4350

This command enables the authentication monitor mode on the switch. The purpose of the monitor mode is to help troubleshoot port-based authentication configuration issues without disrupting network access for hosts that are connected to the switch. In monitor mode, a host is granted network access to an authentication enforced port even if it fails the authentication process. The results of the process are logged for diagnostic purposes.

Format authentication monitor
Mode Global Config

no authentication monitor

This command disables the authentication monitor on the switch.

Format no authentication monitor
Mode Global Config

show authentication authentication-history

M4250

M4350

Use this command to display information about the authentication history for a specified interface or for all interfaces. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show authentication authentication-history [unit/slot/port | all]
Mode Privileged EXEC
Term Definition
Time Stamp The time of the authentication.
Interface The interface.
MAC-Address The MAC address for the interface.
Auth Status The authentication status for the interface.
Method The authentication method for the interface.

Command example:

CODE
(NETGEAR Switch) show authentication authentication-history 0/2

Time Stamp            Interface MAC-Address       Auth Status  Method
--------------------- --------- ----------------- ------------ ------------
Jul 21 2020 15:06:15  1/0/1     00:00:00:00:00:01 Authorized   802.1X

show authentication

M4250

M4350

Use this command to display authentication method information for the switch and the number of authenticated clients.

Format show authentication
Mode Privileged EXEC
Term Definition
Authentication Manager Status The authentication status on the switch (Enabled or Disabled).
Dynamic VLAN Creation Mode Indicates if the switch can dynamically create a RADIUS-assigned VLAN if the VLAN does not exist on the switch.
VLAN Assignment Mode Indicates if the switch can use a RADIUS-assigned VLAN in the client authentication process.
Authentication Monitor Mode Indicates if the monitor mode is enabled on the switch.
Critical Recovery Max ReAuth The number of supplicants that can be reauthenticated per second.
Number of Authenticated clients The total number of clients that were authenticated on the switch, except for the clients in monitor mode.
Number of clients in Monitor mode The total number of clients that were authorized in monitor mode on the switch.

Command example:

CODE
(NETGEAR Switch) #show authentication

Authentication Manager Status.................. Disabled
Dynamic Vlan Creation Mode..................... Disabled
VLAN Assignment Mode........................... Disabled
Authentication Monitor Mode.................... Disabled
Critical Recovery Max ReAuth................... 10

Number of Authenticated clients................ 2
Number of clients in Monitor mode.............. 0

show authentication interface

M4250

M4350

Use this command to display authentication method information either for all interfaces or for a specific interface. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show authentication interface {all | unit/slot/port}
Mode Privileged EXEC

The following information is displayed for each interface.

Term Definition
Authentication Manager Status The authentication status on the switch (Enabled or Disabled).
Interface The interface for which authentication configuration information is displayed.
Port Control Mode The control mode for the interface (force-unauthorized, auto, or unauthorized).
Host Mode The authentication host mode on the interface.
Open Authentication Indicates if open authentication is enabled or disabled on the interface.
Authentication Restart timer The period in seconds, after which reauthentication starts.
Configured method order The configured order of authentication methods on the interface.
Enabled method order The enabled order of authentication methods on the interface.
Configured method priority The configured priority for the authentication methods on the interface.
Enabled method priority The enabled priority for the authentication methods on the interface.
Reauthentication Enabled Indicates if reauthentication is enabled (TRUE) or disabled (FALSE) on the interface.
Reauthentication Session timeout from server Indicates if, after a session time-out, client reauthentication is enabled (TRUE) or disabled (FALSE) on the interface.
Maximum Users The maximum number of clients that can be authenticated on the interface if the interface is configured in multi-auth host mode.
Guest VLAN ID For 802.1x unaware clients only, the VLAN ID that must be used to authorize clients that time out or fail authentication because of invalid credentials.
Authentication retry attempts The number of reauthentication attempts that clients are allowed on the interface.
Unauthenticated VLAN ID For 802.1x clients only, the VLAN ID that must be used to authorize clients that time out or fail authentication due to invalid credentials.
Critical Vlan Id The VLAN ID that must be used to authorize clients that time out because RADIUS servers cannot be reached.
Authentication Violation Mode The action that must be taken after a security violation occurs on the interface.
Authentication Server Dead action The action that must be taken for data clients when none of the RADIUS servers can be reached.
Authentication Server Dead action for Voice The action that must be taken for voice clients when none of the RADIUS servers can be reached.
Authentication Server Alive action The action that must be taken for data clients when a RADIUS server becomes reachable again after none of the RADIUS servers could be reached.
Allowed protocols on unauthorized port The protocols that are permitted on the unauthorized interface.

Command example:

PYTHON
(NETGEAR Switch) #show authentication interface 0/2
Authentication Manager Status.................. Enabled

Interface...................................... 0/2
Port Control Mode.............................. auto
Host Mode...................................... multi-domain-multi-host
Open Authentication............................ Disabled
Authentication Restart timer................... 30
Configured method order........................ dot1x mab captive-portal
Enabled method order........................... dot1x undefined undefined
Configured method priority..................... dot1x mab captive-portal
Enabled method priority........................ dot1x undefined undefined
Reauthentication Enabled....................... FALSE
Reauthentication Session timeout from server .. TRUE
Maximum Users.................................. 48
Guest VLAN ID.................................. 0
Authentication retry attempts.................. 3
Unauthenticated VLAN ID........................ 0
Critical Vlan Id............................... 0
Authentication Violation Mode.................. Restrict
Authentication Server Dead action.............. None
Authentication Server Dead action for Voice.... None
Authentication Server Alive action............. None
Allowed protocols on unauthorized port......... None

show authentication methods

M4250

M4350

Use this command to display information about the authentication methods.

Format show authentication methods
Mode Privileged EXEC
Term Definition
Authentication Login List The authentication login listname.
Method 1 The first method in the specified authentication login list, if any.
Method 2 The second method in the specified authentication login list, if any.
Method 3 The third method in the specified authentication login list, if any.

Command example:

CODE
(NETGEAR Switch)#show authentication methods

Login Authentication Method Lists
---------------------------------
defaultList         :  local
networkList         :  local

Enable Authentication Method Lists
----------------------------------
enableList          :  enable   none
enableNetList       :  enable   deny

Line     Login Method List    Enable Method List
-------  -----------------    ------------------
Console  defaultList          enableList
Telnet   networkList          enableList
SSH      networkList          enableList

HTTPS       :local
HTTP        :local
DOT1X       :

show authentication statistics

M4250

M4350

Use this command to display the authentication statistics for an interface. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show authentication statistics unit/slot/port
Mode Privileged EXEC

The following information is displayed for each interface.

Term Definition
Port The port for which information is displayed.
802.1X attempts The number of Dot1x authentication attempts for the port.
802.1X failed attempts The number of failed Dot1x authentication attempts for the port.
Mab attempts The number of MAB (MAC authentication bypass) authentication attempts for the port.
Mab failed attempts The number of failed MAB authentication attempts for the port.
Captive-portal attempts The number of captive portal (Web authorization) authentication attempts for the port.
Captive-portal failed attempts The number of failed captive portal authentication attempts for the port.

Command example:

CODE
(NETGEAR Switch) #show authentication statistics 0/1

Port........................................... 0/1
802.1X attempts................................ 0
802.1X failed attempts......................... 0
Mab attempts................................... 0
Mab failed attempts............................ 0
Captive-portal attempts........................ 0
Captive-Portal failed attempts................. 0

show mab

M4250

M4350

Use this command to display a summary of the MAB configuration on the switch or on a specific interface. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show mab [interface unit/slot/port]
Mode Privileged EXEC

Command example:

CODE
(NETGEAR Switch) #show mab

MAB Request Fmt Attr1 Groupsize... 2
MAB Request Fmt Attr1 Separator... legacy(:)
MAB Request Fmt Attr1 Case........ uppercase

Interface    Admin Mode     Auth-type
---------    -----------    ---------
0/1          Disabled       N/A
0/2          Disabled       N/A
0/3          Disabled       N/A

Command example:

CODE
(NETGEAR Switch) #show mab interface 0/10
Interface    Admin Mode     Auth-type
0/10         Enabled        eap-md5

clear authentication statistics

M4250

M4350

Use this command to clear the authentication statistics on an interface or all interfaces. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format clear authentication statistics {unit/slot/port | all}
Mode Privileged EXEC

clear authentication authentication-history

M4250

M4350

Use this command to clear the authentication history log for an interface or all interfaces. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format clear authentication authentication-history {unit/slot/port | all}
Mode Privileged EXEC

show dot1x

M4250

M4350

Use this command to display a summary of the dot1x configuration for the switch, a specific interface, or all interfaces. You can also show the detailed dot1x configuration for a specific interface or the dot1x statistics for a specific interface. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show dot1x [{supplicant summary {unit/slot/port | all} | detail unit/slot/port | statistics unit/slot/port}]
Mode Privileged EXEC

If you do not use any optional parameters, the command displays the global dot1x settings for the switch.

Term Definition
Administrative Mode Indicates if authentication control is enabled on the switch.
EAPOL Flood Mode Indicates if assignment of an authorized port to a RADIUS-assigned VLAN is allowed on the switch.
Software Version The 802.1X (dot1x) firmware version on the switch.

Command example:

CODE
(NETGEAR Switch) #show dot1x
Administrative Mode............... Enabled
EAPOL Flood Mode.................. Disabled
Software Version.................. 1

If you use the optional parameter supplicant summary {unit/slot/port | all}, the dot1x configuration is displayed for the specified interface or, if you use the all parameter, for all interfaces.

Term Definition
Interface The interface for which the configuration is displayed.
Port Status Indicates whether the port is authorized or unauthorized.

Command example:

CODE
(NETGEAR Switch) #show dot1x supplicant summary 0/1
Supplicant summary 0/1.
Operating
Interface Port Status
--------- ------------
0/1       Authorized

If an interface is configured as an authenticator and you use the optional parameter detail unit/slot/port, the following detailed dot1x configuration for the specified interface is displayed.

Term Definition
Port The interface for which the configuration is displayed.
Protocol Version The protocol version associated with the interface. The only possible value is 1, corresponding to the first version of the dot1x specification.
PAE Capabilities The port access entity (PAE) functionality of the interface (Authenticator or Supplicant).
Quiet Period The period in seconds during which the interface does not attempt to acquire a supplicant.
Transmit Period The period in seconds after which the interface sends an EAPOL EAP Request/Identity frame to the supplicant.
Supplicant Timeout The period in seconds after which the interface times out the supplicant.
Server Timeout The period in seconds after which the interface times out the authentication server.
Maximum Request-Identities The maximum number of times that the interface retransmits an EAPOL EAP Request/Identity frame before timing out a supplicant.
Maximum Requests The maximum number of times that the interface retransmits an EAPOL EAP Request/Identity frame before restarting the authentication process.
Key Transmission Enabled Indicates if the interface transmits the key to the supplicant.

Command example:

CODE
(NETGEAR Switch) #show dot1x detail 0/3
Port........................................... 0/3
Protocol Version............................... 1
PAE Capabilities............................... Authenticator
Quiet Period (secs)............................ 60
Transmit Period (secs)......................... 30
Supplicant Timeout (secs)...................... 30
Server Timeout (secs).......................... 30
Maximum Request-Identities..................... 2
Maximum Requests............................... 2
Key Transmission Enabled....................... False

If an interface is configured as a supplicant and you use the optional parameter detail unit/slot/port, the following detailed dot1x configuration for the specified interface is displayed.

Term Definition
Port The interface for which the configuration is displayed.
Protocol Version The protocol version associated with the interface. The only possible value is 1, corresponding to the first version of the dot1x specification.
PAE Capabilities The port access entity (PAE) functionality of the interface (Authenticator or Supplicant).
Control Mode The configured control mode for the interface (force-unauthorized, auto, or unauthorized).
Supplicant PAE State The supplicant PAE state on the interface (Initialize, Logoff, Held, Unauthenticated, Authenticating, or Authenticated).
Maximum Start Messages The maximum number of EAP Start messages that the supplicant sends before entering the Unauthenticated state.
Start Period The period between each EAP Start message that the supplicant sends if the authenticator does not respond.
Held Period The period that the interface waits before it sends authentication credentials after an earlier attempt failed.
Authentication Period The period after which the interface times out an authenticator while waiting for a response to packets other than EAPOL-Start packets.

Command example:

CODE
(NETGEAR Switch) #show dot1x detail 0/4
Port........................................... 0/4
Protocol Version............................... 1
PAE Capabilities............................... Supplicant
Control Mode................................... auto
Supplicant PAE State........................... Authenticated
Maximum Start Messages......................... 3
Start Period (secs)............................ 30
Held Period (secs)............................. 60
Authentication Period (secs)................... 30

If you use the optional parameter statistics unit/slot/port, the following dot1x statistics display for the specified interface.

Term Definition
Port The interface for which the statistics are displayed.
PAE Capabilities The port access entity (PAE) functionality of the interface (Authenticator or Supplicant).
EAPOL Frames Received The number of EAPOL frames of any type that the interface received.
EAPOL Frames Transmitted The number of EAPOL frames of any type that the interface transmitted.
EAPOL Start Frames Received The number of EAPOL start frames that the interface received.
EAPOL Logoff Frames Received The number of EAPOL logoff frames that the interface received.
EAP Response/Id Frames Received The number of EAP response/identity frames that the interface received.
EAP Response Frames Received The number of valid EAP response frames (other than response/identity frames) that the interface received.
EAP Request/Id Frames Transmitted The number of EAP request/identity frames that the interface transmitted.
EAP Request Frames Transmitted The number of EAP request frames (other than request/identity frames) that the interface transmitted.
Invalid EAPOL Frames Received The number of EAPOL frames that the interface received for which the frame type was not recognized.
EAP Length Error Frames Received The number of EAP frames that the interface received for which an invalid packet body length was detected.
Last EAPOL Frame Version The protocol version number carried in the most recently received EAPOL frame.
Last EAPOL Frame Source The source MAC address carried in the most recently received EAPOL frame.

Command example:

CODE
(NETGEAR Switch) #show dot1x statistics 0/1
Port........................................... 0/1
EAPOL Frames Received.......................... 0
EAPOL Frames Transmitted....................... 0
EAPOL Start Frames Transmitted................. 3
EAPOL Logoff Frames Received................... 0
EAP Resp/Id frames transmitted................. 0
EAP Response frames transmitted................ 0
EAP Req/Id frames transmitted.................. 0
EAP Req frames transmitted..................... 0
Invalid EAPOL frames received.................. 0
EAP length error frames received............... 0
Last EAPOL Frame Version....................... 0
Last EAPOL Frame Source........................ 00:00:00:00:02:01

show authentication clients

M4250

M4350

This command displays authentication information for clients that are authenticated on a specific interface or on all interfaces. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show authentication clients {unit/slot/port | all}
Mode Privileged EXEC
Term Definition
Interface The interface for which the authentication configuration information is displayed.
Mac Address The MAC address of the client.
User Name The user name that is associated with the client.
VLAN Assigned Reason

One of the following reasons why the VLAN was assigned:

  • Default VLAN. The client was authenticated on the default VLAN for the interface and the authentication server is not a RADIUS server.
  • RADIUS. The authentication server is a RADIUS server.
  • Voice VLAN. The client is a voice device.
  • Critical VLAN. The client was authenticated on the critical VLAN.
  • Unauthenticated VLAN. The client was authenticated on the unauthenticated VLAN.
  • Guest VLAN. The client was authenticated on the guest VLAN.
  • Monitor Mode. The client was authenticated through the monitor mode.
Host Mode The authentication host mode on the interface (multi-auth, multi-domain, multi-host, single-host, or multi-domain-multi-host).
Method The method that is used to authenticate the client on the interface (802.1x, MAB, Captive Portal, or None).
Control Mode The control mode for the interface (force-unauthorized, auto, or unauthorized).
Session time The period the client session is active.
Session timeout The period after which the session times out. The period in seconds is returned by the RADIUS server when authentication occurs.
Session Termination Action

The action that occurs when the session time-out expires:

  • Default. The session is terminated and the client details are cleared.
  • Radius-Request. The client is reauthenticated.
Filter-Id The identifier that is returned by the RADIUS server when the client is authenticated. This is a configured DiffServ policy name on the switch.
DACL The downloadable ACL that is returned by the RADIUS server when the client is authenticated.
Redirect ACL The redirect ACL is a static ACL that is sent in the RADIUS attribute redirect-acl. It is used to redirect matching packets for further action.
Redirect URL The redirect URL is a URL that is sent in the RADIUS attribute redirect-url. It is used to redirect matching packets to the URL by using HTTP 302 response code.
Session Termination Action

The action that occurs when the session time-out expires:

  • Default. The session is terminated and the client details are cleared.
  • Radius-Request. The client is reauthenticated.
Acct SessionId The accounting session identifier that is associated with the client session.

Command example:

CODE
(NETGEAR Switch) #show authentication clients 1/0/2

Mac Address.................................... 58:05:94:1C:00:00
User Name...................................... testixia
VLAN Assigned Reason........................... Voice VLAN (100)
Host Mode ..................................... multi-auth
Method......................................... 802.1X
Control Mode................................... auto
Session time ... .............................. 0
Session timeout ............................... 0
Session Termination Action..................... Default
Filter-Id ..................................... None
DACL........................................... None
Redirect ACL................................... IP-REDIRECT-IN-00000001#d
Redirect URL................................... http://netgear.com:8080
Session Termination Action..................... Default
Acct SessionId:................................ testixia:200000003

Command example:

CODE
(NETGEAR Switch) (Interface 1/0/10)#show authentication clients all

Interface  MAC-Address         Method   Host Mode    Control Mode  VLAN Assigned Reason
---------  -----------------   -------  ------------ ------------  --------------------------
0/12       10:8D:B6:C6:00:00   802.1X   multi-host   auto          RADIUS Assigned VLAN (10)

show dot1x users

M4250

M4350

This command displays 802.1X port security user information for locally configured users. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show dot1x users unit/slot/port
Mode Privileged EXEC
Term Definition
Users Users configured locally to have access to the specified port.

Command example:

CODE
(NETGEAR Switch) #show dot1x users 0/12

Users
-----------------
admin
guest
test4