RADIUS Commands
Use these commands to configure the switch to use a Remote Authentication Dial-In User Service (RADIUS) server on your network for authentication and accounting.
The first time that you log in as an admin user, no password is required (that is, the password is blank). After you log in for the first time, you are required to specify a new password that you must use each subsequent time that you log in. After you specify the new password, you are logged out and then must log in again, using your new password.
If you are using a RADIUS or TACACS+ server for authentication, after changing the default password to the new password, make sure that you also change the password in the RADIUS or TACACS+ server so that you can continue to log in to the switch.
aaa server radius dynamic-author
M4250
M4350
This command enables Change of Authorization (CoA) functionality and lets you configure the switch from the dynamic authorization local server configuration mode.
| Format | aaa server radius dynamic-author |
| Mode | Global Config |
no aaa server radius dynamic-author
This command disables Change of Authorization (CoA) functionality.
| Format | no aaa server radius dynamic-author |
| Mode | Global Config |
auth-type
M4250
M4350
This command specifies the type of authorization that the switch uses for RADIUS clients. The client must match the configured attributes for authorization.
| Default | all |
| Format | auth-type {all | any | session-key} |
| Mode | Dynamic Authorization |
| Term | Definition |
|---|---|
| all | Selects all COA client authentication types. All authentication attributes must match for the authentication to succeed. |
| any | Selects any COA client authentication type. Any authentication attribute may match for the authentication to succeed. |
| session-key | Indicates that the session-key must match for authentication to succeed. |
no auth-type
Use this command to reset the type of authorization that the switch uses for RADIUS clients.
| Format | no auth-type |
| Mode | Dynamic Authorization |
authorization network radius
M4250
M4350
Use this command to enable the switch to accept VLAN assignments from the RADIUS server.
| Default | disable |
| Format | authorization network radius |
| Mode | Global Config |
no authorization network radius
Use this command to prevent the switch from accepting VLAN assignments from the RADIUS server.
| Format | no authorization network radius |
| Mode | Global Config |
authentication command bounce-port ignore
M4250
M4350
This command configures the switch to ignore a RADIUS server bounce-host-port command. The bounce-host-port command causes a host to flap the link on an authentication port. The link flap causes DHCP renegotiation from one or more hosts connected to this port.
| Default | disable (bounce-port messages are processed) |
| Format | authentication command bounce-port ignore |
| Mode | Global Config |
no authentication command bounce-port ignore
This command resets the switch to the default value so that RADIUS server bounce-host-port commands are processed.
| Format | no authentication command bounce-port ignore |
| Mode | Global Config |
authentication command disable-port ignore
M4250
M4350
This command configures the switch to ignore a RADIUS server disable-host-port command. The disable-host-port command places the host port in the D-Disabled state with as reason CoA disabled. The port in the D-Disabled is reenabled if autorecovery is enabled for CoA and occurs after the expiration of the autorecovery timer, or you can manually reenable the port.
| Default | disable (disable-port messages are processed) |
| Format | authentication command disable-port ignore |
| Mode | Global Config |
no authentication command disable-port ignore
This command resets the switch to the default value so that RADIUS server disable-host-port commands are processed.
| Format | no authentication command disable-port ignore |
| Mode | Global Config |
clear radius dynamic-author statistics
M4250
M4350
Use this command to clear the counters for RADIUS dynamic authorization.
| Format | clear radius dynamic-author statistics |
| Mode | Privileged EXEC |
client
M4250
M4350
Use this command to configure the IP address or host name of the dynamic authorization client. Use the optional server-key keyword and key-string argument to configure the server key at the client level.
| Format | client {ip-address | hostname} [server-key [0 | 7] key-string] |
| Mode | Dynamic Authorization |
no client
Use this command to remove the configured dynamic authorization client and the key that is associated with that client in the device.
| Format | no client {ip-address | hostname} |
| Mode | Dynamic Authorization |
debug aaa coa
Use this command to display debug information for the dynamic authorization server process.
| Format | debug aaa coa |
| Mode | Privileged EXEC |
debug aaa pod
Use this command to display disconnect message packets.
| Format | debug aaa pod |
| Mode | Privileged EXEC |
ignore server-key
M4250
M4350
Use this command to configure the switch to ignore the server key.
| Format | ignore server-key |
| Mode | Dynamic Authorization |
no ignore server-key
Use this command to configure the switch not to ignore the server key. That is, this command resets the ignore server key property on the switch.
| Format | no ignore server-key |
| Mode | Dynamic Authorization |
ignore session-key
M4250
M4350
Use this command to configure the switch to ignore the session key.
| Format | ignore session-key |
| Mode | Dynamic Authorization |
no ignore session-key
Use this command to configure the switch not to ignore the session key. That is, this command resets the ignore session key property on the switch.
| Format | no ignore session-key |
| Mode | Dynamic Authorization |
port
M4250
M4350
Use this command to specify the UDP port on which the switch can detect RADIUS requests from the configured dynamic authorization clients. The supported range for the port number is 1025–65535.
| Default | 3799 |
| Format | port port-number |
| Mode | Dynamic Authorization |
no port
Use this command to reset the configured UDP port on which the switch can detect RADIUS requests from dynamic authorization clients to port number 3799, which is the default port.
| Default | 3799 |
| Format | no port |
| Mode | Dynamic Authorization |
server-key
M4250
M4350
Use this command to configure a global shared secret that is used for all dynamic authorization clients on which no individual shared secret key is configured.
| Format | server-key [0 | 7] key-string |
| Mode | Dynamic Authorization |
| Parameter | Description |
|---|---|
| 0 | The value that you enter for the key-string parameter specifies an unencrypted key. |
| 7 | The value that you enter for the key-string parameter specifies an encrypted key. |
| key-string | The shared secret string. For unencrypted key, the maximum length is 128 characters. |
no server-key
Use this command to remove the global shared secret key configuration.
| Format | no server-key |
| Mode | Dynamic Authorization |
radius accounting mode
M4250
M4350
This command is used to enable the RADIUS accounting function.
| Default | disabled |
| Format | radius accounting mode |
| Mode | Global Config |
no radius accounting mode
This command is used to set the RADIUS accounting function to the default value - i.e. the RADIUS accounting function is disabled.
| Format | no radius accounting mode |
| Mode | Global Config |
radius server attribute 4
M4250
M4350
This command specifies the RADIUS client to use the NAS-IP Address attribute in the RADIUS requests. If the specified IP address (for the server) is configured while enabling this attribute, the RADIUS client uses that IP address while sending the NAS-IP-Address attribute in RADIUS communication.
| Format | radius server attribute 4 ipaddr |
| Mode | Global Config |
Command example:
(NETGEAR Switch) (Config) #radius server attribute 4 192.168.37.60
no radius server attribute 4
This command disables the NAS-IP-Address attribute global parameter for a RADIUS client so that the client does not send the NAS-IP-Address attribute in RADIUS requests.
| Format | no radius server attribute 4 |
| Mode | Global Config |
radius server attribute 95
M4250
M4350
This command specifies the RADIUS client to use the NAS-IPv6 Address attribute in the RADIUS requests. If the specified IPv6 address (for the server) is configured while enabling this attribute, the RADIUS client uses that IPv6 address while sending the NAS-IP-Address attribute in RADIUS communication.
| Format | radius server attribute 95 ipv6-address |
| Mode | Global Config |
Command example:
(NETGEAR Switch) (Config) #radius server attribute 95 24::5:6
no radius server attribute 95
This command disables the NAS-IPv6-Address attribute global parameter for a RADIUS client so that the client does not send the NAS-IPv6-Address attribute in RADIUS requests.
| Format | no radius server attribute 95 |
| Mode | Global Config |
radius server attribute 30
M4250
M4350
This command configures the format in which the MAC address is sent to the RADIUS server in attribute 30 (Called-Station-Id).
| Default |
legacy lower-case |
| Format | radius server attribute 30 mac-format {ietf | legacy | unformatted} {lower-case | upper-case} |
| Mode | Global Config |
| Parameter | Definition |
|---|---|
| ietf | Formats the MAC address as xx-xx-xx-xx-xx-xx. |
| legacy | Formats the MAC address as xx:xx:xx:xx:xx:xx |
| unformatted | Formats the MAC address as aaaabbbbcccc. |
| lower-case | Formats the MAC address with lower-case characters. |
| upper-case | Formats the MAC address with upper-case characters. |
Command example:
(NETGEAR Switch) (Config) #radius server attribute 30 mac-format unformatted lower-case
no radius server attribute 30
This command resets the format in which the MAC address is sent.
| Format | no radius server attribute 30 mac-format |
| Mode | Global Config |
radius server attribute 31
M4250
M4350
This command configures the format in which the MAC address is sent to the RADIUS server in attribute 31 (Calling-Station-ID).
| Default |
legacy lower-case |
| Format | radius server attribute 31 mac-format {ietf | legacy | unformatted} {lower-case | upper-case} |
| Mode | Global Config |
| Parameter | Definition |
|---|---|
| ietf | Formats the MAC address as xx-xx-xx-xx-xx-xx. |
| legacy | Formats the MAC address as xx:xx:xx:xx:xx:xx |
| unformatted | Formats the MAC address as aaaabbbbcccc. |
| lower-case | Formats the MAC address with lower-case characters. |
| upper-case | Formats the MAC address with upper-case characters. |
Command example:
(NETGEAR Switch) (Config) #radius server attribute 31 mac-format legacy upper-case
no radius server attribute 31
This command resets the format in which the MAC address is sent.
| Format | no radius server attribute 31 mac-format |
| Mode | Global Config |
radius server attribute 32
M4250
M4350
This command configures either the inclusion of and the type of NAS identifier string that is sent in attribute 32 (NAS-Identifier) or the format in which the MAC address is sent to the RADIUS server in attribute 32.
| Default |
For mac-format: legacy lower-case |
| Format | radius server attribute 32 {include-in-access-req [format attribute 32 format] | mac-format {ietf | legacy | unformatted} {lower-case | upper-case}} |
| Mode | Global Config |
| Parameter | Definition |
|---|---|
| format attribute 32 format |
Enter one of the following for this argument:
|
| ietf | Formats the MAC address as xx-xx-xx-xx-xx-xx. |
| legacy | Formats the MAC address as xx:xx:xx:xx:xx:xx |
| unformatted | Formats the MAC address as aaaabbbbcccc. |
| lower-case | Formats the MAC address with lower-case characters. |
| upper-case | Formats the MAC address with upper-case characters. |
Command example:
(NETGEAR Switch) (Config) #radius server attribute 32 mac-format unformatted upper-case
no radius server attribute 32
This command either excludes the NAS identifier string so that it is not sent in attribute 32 or resets the format in which the MAC address is sent in attribute 32.
| Format | no radius server attribute 32 {include-in-access-req | mac-format} |
| Mode | Global Config |
radius server attribute 44
M4250
M4350
This command configures the inclusion of attribute 44 (Acct-Session-Id) in a RADIUS server access request.
| Default | Disabled |
| Format | radius server attribute 44 include-in-access-req |
| Mode | Global Config |
Command example:
(NETGEAR Switch) (Config) #radius server attribute 44 include-in-access-req
no radius server attribute 44
This command excludes attribute 44 (Acct-Session-Id) in a RADIUS server access request.
| Format | no radius server attribute 44 include-in-access-req |
| Mode | Global Config |
radius server host {ipaddr | ipv6address | hostname}
M4250
M4350
This command configures the IPv4 address, IPv6 address, or DNS host name that must be used for communication with the RADIUS server of a selected server type. When you configure the IPv4 address, IPv6 address, or DNS host name for the authenticating or accounting servers, you can also configure the port number and server name, as well as many other optional parameters (see further down in this section).
If the authenticating and accounting servers are configured without a name, the command uses the Default_RADIUS_Auth_Server and Default_RADIUS_Acct_Server as the default names, respectively. The same name can be configured for more than one authenticating servers but the name must be unique for accounting servers. The RADIUS client allows the configuration of a maximum 32 authenticating and accounting servers:
- Authentication server: If you use the auth parameter, the command configures the IPv4 address, IPv6 address, or host name that must be used to connect to a RADIUS authentication server. You can configure up to three authentication servers per RADIUS client. If the maximum number of configured servers is reached, the command fails until you remove one of the servers by issuing the no form of the command.
- Accounting server: If you use the acct parameter, the command configures the IPv4 address, IPv6 address, or host name that must be used for the RADIUS accounting server. You can configure one accounting server only. If an accounting server is currently configured, use the no form of the command to remove it from the configuration.
You can use the following optional parameters:
- Port: Use the optional port parameter to configure the UDP port number to use when connecting to the configured RADIUS server. For the port keyword, the number argument must be a value in the range 0–65535. The default UDP port number for an authentication server is 1812. The default UDP port number for an accounting server is 1813.
- Dead time: Use the optional deadtime parameter to configure the dead time that must be used for the configured RADIUS server. If the RADIUS server does not respond after the dead time (unresponsive time) period is exceeded, it is marked “dead” (unresponsive). The dead time period is from 0 to 2000 minutes. The default is 0.
- Idle time: Use the optional idle-time parameter to configure the idle time that must be used for the configured RADIUS server. If the RADIUS server does not respond after the idle time period is exceeded, the server’s state must be verified. The idle time period is from 1 to 35791 minutes. The default is 60 minutes.
- Type: Use the optional type parameter to configure the type of RADIUS server, which can be a standard server (enter 0 for the server-type argument) or a NETGEAR server (enter 1 for the server-type argument).
- Usage: Use the optional usage parameter to configure who can log in to the RADIUS server. The login parameter restricts authentication requests to the switch administrator. The authmgr parameter restricts authentication requests to 802.1x and MAB authentications. The default all parameter does not restrict authentication requests.
- Test: Use the optional test username parameter to configure automated tests for configured RADIUS servers. When a test user name is configured for a RADIUS server, the client sends periodic test probes to the server. The RADIUS server responds with a reject message. The receipt of a response is an indication of liveliness of the server. Test probes are sent to the server based on the configured time interval in minutes as well as idle time.
| Default |
Dead time: 0 minutes Idle time: 60 minutes |
| Format | radius server host {auth | acct} {ipaddr | ipv6addr | dnsname} [name servername] [port number] [type server-type] [deadtime 0-2000] [idle-time 1-35791] [usage {all | authmgr | login}] [test username username] |
| Mode | Global Config |
| Field | Description |
|---|---|
| ipaddr | The IPv4 address of the server. |
| ipv6addr | The IPv6 address of the server. |
| dnsname | The DNS name of the server. |
| name servername | The alias name to identify the server. |
| port number | The port number that is used to connect to the server. The range is from 0 to 65535. |
| type server-type |
Enter one of the following options:
|
| deadtime 0-2000 | The deadtime for the server. The range is from 0 to 2000. |
| idle-time 1-35791 | The idle time for the server. The range is from 1 to 35791. |
| usage |
The usage type of the RADIUS server:
|
| test username username | The user name for a test configuration. |
Command example:
(NETGEAR Switch) (Config) #radius server host acct 192.168.37.60
(NETGEAR Switch) (Config) #radius server host acct 192.168.37.60 port 1813
(NETGEAR Switch) (Config) #radius server host acct 192.168.37.60 name Network1_RS port
1813
(NETGEAR Switch) (Config) #radius server host auth 192.168.37.65 name Network2_RS
no radius server host
This command deletes the configured server entry from the list of configured RADIUS servers. If the RADIUS authenticating server being removed is the active server in the servers that are identified by the same server name, the RADIUS client selects another server for RADIUS transactions. If you use the auth parameter, the previously configured RADIUS authentication server is removed from the configuration. Similarly, if you use the acct parameter, the previously configured RADIUS accounting server is removed from the configuration. The ipaddr, ipv6addr, or dnsname argument must match the IP address or DNS name of the previously configured RADIUS authentication or accounting server.
| Format | no radius server host {auth | acct} {ipaddr | ipv6addr | dnsname} [idle-time] [usage] [test username] |
| Mode | Global Config |
radius server host link-local
M4250
M4350
This command configures the link local address and outgoing interface that must be used for communication with the RADIUS server of a selected server type. The outgoing interface can be any physical interface, service port, or network port. When you configure the link local address and outgoing interface for the authenticating or accounting servers, you can also configure the port number and server name, as well as many other optional parameters (see further down in this section).
If the authenticating and accounting servers are configured without a name, the command uses the Default_RADIUS_Auth_Server and Default_RADIUS_Acct_Server as the default names, respectively. The same name can be configured for more than one authenticating servers but the name must be unique for accounting servers. The RADIUS client allows the configuration of a maximum 32 authenticating and accounting servers:
- Authentication server: If you use the auth parameter, the command configures the IPv4 address, IPv6 address, or host name that must be used to connect to a RADIUS authentication server. You can configure up to three authentication servers per RADIUS client. If the maximum number of configured servers is reached, the command fails until you remove one of the servers by issuing the no form of the command.
- Accounting server: If you use the acct parameter, the command configures the IPv4 address, IPv6 address, or host name that must be used for the RADIUS accounting server. You can configure one accounting server only. If an accounting server is currently configured, use the no form of the command to remove it from the configuration.
You can use the following optional parameters:
- Port: Use the optional port parameter to configure the UDP port number to use when connecting to the configured RADIUS server. For the port keyword, the number argument must be a value in the range 0–65535. The default UDP port number for an authentication server is 1812. The default UDP port number for an accounting server is 1813.
- Dead time: Use the optional deadtime parameter to configure the dead time (unresponsive time) that must be used for the configured RADIUS server. If the RADIUS server does not respond after the dead time period is exceeded, it is marked “dead” (unresponsive). The dead time period is from 0 to 2000 minutes. The default is 0.
- Idle time: Use the optional idle-time parameter to configure the idle time that must be used for the configured RADIUS server. If the RADIUS server does not respond after the idle time period is exceeded, the server’s state must be verified. The idle time period is from 1 to 35791 minutes. The default is 60 minutes.
- Type: Use the optional type parameter to configure the type of RADIUS server, which can be a standard server (enter 0 for the server-type argument) or a NETGEAR server (enter 1 for the server-type argument).
- Usage: Use the optional usage parameter to configure who can log in to the RADIUS server. The login parameter restricts authentication requests to the switch administrator. The authmgr parameter restricts authentication requests to 802.1x and MAB authentications. The default all parameter does not restrict authentication requests.
- Test: Use the optional test username parameter to configure automated tests for configured RADIUS servers. When a test user name is configured for a RADIUS server, the client sends periodic test probes to the server. The RADIUS server responds with a reject message. The receipt of a response is an indication of liveliness of the server. Test probes are sent to the server based on the configured time interval in minutes as well as idle time.
| Default |
Dead time: 0 minutes Idle time: 60 minutes |
| Format | radius server host {auth | acct} {link-local link-local-address} {interface {unit/slot/port | network | serviceport}} [name servername] [port number] [type server-type] [deadtime 0-2000] [idle-time 1-35791] [usage {all | authmgr | login}] [test username username] |
| Mode | Global Config |
| Field | Description |
|---|---|
| link-local link-local-address | The IPv4 address, IPv6 address, or host name of the local link. |
| interface |
The interface that connects to the RADIUS server:
|
| name servername | The alias name to identify the server. |
| port number | The port number that is used to connect to the server. The range is from 0 to 65535. |
| type server-type |
Enter one of the following options:
|
| deadtime 0-2000 | The deadtime for the server. The range is from 0 to 2000. |
| idle-time 1-35791 | The idle time for the server. The range is from 1 to 35791. |
| usage |
The usage type of the RADIUS server:
|
| test username username | The user name for a test configuration. |
Command example:
(NETGEAR Switch) (Config) radius server host auth link-local fe80::208:a1ff:fe7e:4519
interface network name auth_server port 1813
no radius server host link-local
This command deletes the configured server entry from the list of configured RADIUS servers. If the RADIUS authenticating server being removed is the active server in the servers that are identified by the same server name, the RADIUS client selects another server for RADIUS transactions. If you use the auth parameter, the previously configured RADIUS authentication server is removed from the configuration. Similarly, if you use the acct parameter, the previously configured RADIUS accounting server is removed from the configuration. The link-local-address argument must match the link local address of the previously configured RADIUS authentication or accounting server.
| Format | no radius server host {auth | acct} link-local link-local-address |
| Mode | Global Config |
radius server key
M4250
M4350
This command configures the key to be used in RADIUS client communication with the specified server. Depending on whether the auth or acct token is used, the shared secret is configured for the RADIUS authentication or RADIUS accounting server. The IP address or hostname provided must match a previously configured server. When this command is executed, the secret is prompted.
Text-based configuration supports Radius server’s secrets in encrypted and non-encrypted format. When you save the configuration, these secret keys are stored in encrypted format only. If you want to enter the key in encrypted format, enter the key along with the encrypted keyword. In the output of the show running-config command (for information about the command, see show running-config), these secret keys are displayed in encrypted format. You cannot show these keys in plain text format.
| Format | radius server key [{auth | acct} {ipaddr | ipv6address | hostname}] encrypted password |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| ipaddr | The IPv4 address of the server. |
| ipv6address | The IPv6 address of the server. |
| hostname | The host name of the server. |
| password | The password in encrypted format. |
(NETGEAR Switch) (Config) radius server key acct 10.240.4.10 encrypted abcdef12345
no radius server key
This command removes the shared secret used for the RADIUS servers.
| Format | no radius server key {auth | acct} {ipaddr | ipv6address | dnsname} |
| Mode | Global Config |
radius server msgauth
M4250
M4350
This command enables the message authenticator attribute to be used for the specified RADIUS Authenticating server.
| Format | radius server msgauth {ipaddr | ipv6address | hostname} |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| ipaddr | The IPv4 address of the server. |
| ipv6address | The IPv6 address of the server. |
| hostname | The host name of the server. |
no radius server msgauth
This command disables the message authenticator attribute to be used for the specified RADIUS Authenticating server.
| Format | no radius server msgauth {ipaddr | ipv6address | hostname} |
| Mode | Global Config |
radius server primary
M4250
M4350
This command specifies a configured server that should be the primary server in the group of servers which have the same server name. Multiple primary servers can be configured for each number of servers that have the same name. When the RADIUS client has to perform transactions with an authenticating RADIUS server of specified name, the client uses the primary server that has the specified server name by default. If the RADIUS client fails to communicate with the primary server for any reason, the client uses the backup servers configured with the same server name. These backup servers are identified as the Secondary type.
| Format | radius server primary {ipaddr | ipv6address | hostname} |
| Mode | Global Config |
| Field | Description |
|---|---|
| ipaddr | The IPv4 address of the server. |
| ipv6address | The IPv6 address of the server. |
| hostname | The host name of the server. |
radius server retransmit
M4250
M4350
This command configures the global parameter for the RADIUS client that specifies the number of transmissions of the messages to be made before attempting the fall back server upon unsuccessful communication with the current RADIUS authenticating server. When the maximum number of retries are exhausted for the RADIUS accounting server and no response is received, the client does not communicate with any other server.
| Default | 4 |
| Format | radius server retransmit retries |
| Mode | Global Config |
| Field | Description |
|---|---|
| retries | The maximum number of transmission attempts in the range of 1 to 15. |
no radius server retransmit
This command sets the value of this global parameter to the default value.
| Format | no radius server retransmit |
| Mode | Global Config |
radius source-interface
M4250
M4350
Use this command to specify the physical or logical interface to use as the RADIUS client source interface (Source IP address). If configured, the address of source Interface is used for all RADIUS communications between the RADIUS server and the RADIUS client. The selected source-interface IP address is used for filling the IP header of RADIUS management protocol packets. This allows security devices (firewalls) to identify the source packets coming from the specific switch.
If a source-interface is not specified, the primary IP address of the originating (outbound) interface is used as the source address. If the configured interface is down, the RADIUS client falls back to its default behavior.
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 | radius source-interface {unit/slot/port | loopback loopback-id | vlan vlan-id | serviceport} |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| unit/slot/port | The unit identifier assigned to the switch. |
| loopback-id | Configures the loopback interface. The range of the loopback ID is 0 to 7. |
| vlan-id | Configures the VLAN interface to use as the source IP address. The range of the VLAN ID is 1 to 4093. |
| serviceport | The service port IP address is used. |
no radius source-interface
Use this command to reset the RADIUS source interface to the default settings.
| Format | no radius source-interface |
| Mode | Global Config |
radius server load-balance
M4250
M4350
This command configures the load-balancing algorithm used by the RADIUS client to manage authentication and accounting requests sent to configured RADIUS servers. The load-balancing configuration is configured for a group of RADIUS servers or global default RADIUS server group. A server group is identified as a group of RADIUS servers using the same configured server name.
The supported load-balancing method is based on the least number of outstanding requests. In this mode, the RADIUS client selects a configured RADIUS server that has the least number of pending requests. Before selecting a new server, the number of pending requests on the current server in use should be more than configured batch size value.
| Default |
Method: None Batch size: 25 |
| Format | radius server load-balance {auth | acct} {radius | name servername} method {none | least-outstanding [batch-size 1-2147483647]} |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| auth | Configures the RADIUS authenticating server group. |
| acct | Configures the RADIUS accounting server group. |
| radius | The RADIUS servers use the default identification name. |
| name servername | The name of the RADIUS server group. |
| method |
This selection determines the load-balancing:
|
Command example:
(NETGEAR Switch) (Config) # radius server load-balance acct name group1 method
least-outstanding batch-size 40
(NETGEAR Switch) (Config) # radius server load-balance auth radius method
least-outstanding batch-size 30
no radius server load-balance
Use this command to disable the load-balancing algorithm used by the RADIUS client to manage authentication and accounting requests sent to configured RADIUS servers.
| Format | no radius server load-balance {auth | acct} {radius | name servername} method |
| Mode | Global Config |
radius server timeout
M4250
M4350
This command configures the global parameter for the RADIUS client that specifies the time-out value (in seconds) after which a request must be retransmitted to the RADIUS server if no response is received. The time-out value is an integer in the range of 1 to 30 seconds.
| Default | 5 |
| Format | radius server timeout seconds |
| Mode | Global Config |
| Field | Description |
|---|---|
| retries | Maximum number of transmission attempts in the range 1–30. |
no radius server timeout
This command sets the time-out global parameter to the default value.
| Format | no radius server timeout |
| Mode | Global Config |
radius server vsa send
M4250
M4350
This command enables the processing of dynamic ACL vendor-specific attributes sent by the RADIUS server. Use the authentication keyword to allow the processing of attributes for authentication.
| Default | Disabled |
| Format | radius server vsa send [authentication] |
| Mode | Global Config |
no radius server vsa send
This command disables the processing of dynamic ACL vendor-specific attributes sent by the RADIUS server.
| Format | no radius server vsa send [authentication] |
| Mode | Global Config |
radius server dead-criteria
M4250
M4350
This command configures either the time in seconds after which a RADIUS server does not respond or the number of connection attempts to which the RADIUS server does not respond. When the RADIUS server does not respond, it is marked “dead” (unresponsive). If you configure the time-out period, you can also configure the number of attempts. If the number of attempts is exceeded before the time-out period is reached, the RADIUS server is marked “dead.”
The time-out is from 1 to 120 seconds. The number of attempts is from 1 to 100.
| Default | Disabled |
| Format | radius server dead-criteria {time 1-120 [tries 1-100] | tries 1-100} |
| Mode | Global Config |
Command example:
(NETGEAR Switch)(Config)# radius server dead-criteria time 40 tries 6
no radius server dead-criteria
This command disables the time-out period or the number of failed connection attempts to a RADIUS server so that the server is not marked “dead” if it is unresponsive.
| Format | no radius server dead-criteria {time | tries} |
| Mode | Global Config |
radius server deadtime
M4250
M4350
This command configures the “dead time” or unresponsive time (in minutes) for all RADIUS authentication servers. The dead time is the period after which a RADIUS server that is not responding to authentication requests is ignored. The dead time is from 0 to 2000 minutes. If you configure 0, the feature is disabled, that is, an unresponsive RADIUS server is not ignored.
| Default | 0 |
| Format | radius server deadtime 0-2000 |
| Mode | Global Config |
Command example:
(NETGEAR Switch)(Config)# radius server deadtime 1800
no radius server deadtime
This command disables the deadtime feature so that an unresponsive RADIUS server is not ignored.
| Format | no radius server deadtime |
| Mode | Global Config |
show radius
M4250
M4350
This command displays the values configured for the global parameters of the RADIUS client.
| Format | show radius |
| Mode | Privileged EXEC |
| Term | Definition |
|---|---|
| Number of Configured Authentication Servers | The number of RADIUS Authentication servers that are configured. |
| Number of Configured Accounting Servers | The number of RADIUS Accounting servers that are configured. |
| Number of Named Authentication Server Groups | The number of configured named RADIUS server groups. |
| Number of Named Accounting Server Groups | The number of configured named RADIUS server groups. |
| Number of Retransmits | The configured value of the maximum number of times a request packet is retransmitted. |
| Time Duration | The configured timeout value, in seconds, for request retransmissions. |
| RADIUS Accounting Mode | A global parameter to indicate whether the accounting mode for all the servers is enabled or not. |
| RADIUS Attribute 4 Mode | A global parameter to indicate whether the NAS-IP-Address attribute has been enabled to use in RADIUS requests. |
| RADIUS Attribute 4 Value | A global parameter that specifies the IP address to be used in the NAS-IP-Address attribute to be used in RADIUS requests. |
Command example:
(NETGEAR Switch) #show radius
Number of Configured Authentication Servers............. 32
Number of Configured Accounting Servers................. 32
Number of Named Authentication Server Groups............ 15
Number of Named Accounting Server Groups................ 3
Number of Retransmits................................... 4
Time Duration........................................... 10
RADIUS Accounting Mode.................................. Disable
RADIUS Attribute 4 Mode................................. Enable
RADIUS Attribute 4 Value ............................... 192.168.37.60
show radius servers
M4250
M4350
This command displays the summary and details of RADIUS authenticating servers configured for the RADIUS client.
| Format | show radius servers [ipaddr | ipv6address | hostname] [name servername] |
| Mode | Privileged EXEC |
| Field | Description |
|---|---|
| ipaddr | The IP address of the authenticating server. |
| ipv6address | The IP address of the authenticating server. |
| hostname | The host name of the authenticating server. |
| name servername | The alias name to identify the server. |
| Current | The * symbol preceding the server host address specifies that the server is currently active. |
| Host Address | The IP address of the host. |
| Server Name | The name of the authenticating server. |
| Port | The port used for communication with the authenticating server. |
| Type | Specifies whether this server is a primary or secondary type. |
| Current Host Address | The IP address of the currently active authenticating server. |
| Secret Configured | Yes or No Boolean value that indicates whether this server is configured with a secret. |
| Number of Retransmits | The configured value of the maximum number of times a request packet is retransmitted. |
| Message Authenticator | A global parameter to indicate whether the Message Authenticator attribute is enabled or disabled. |
| Time Duration | The configured timeout value, in seconds, for request retransmissions. |
| RADIUS Accounting Mode | A global parameter to indicate whether the accounting mode for all the servers is enabled or not. |
| RADIUS Attribute 4 Mode | A global parameter to indicate whether the NAS-IP-Address attribute has been enabled to use in RADIUS requests. |
| RADIUS Attribute 4 Value | A global parameter that specifies the IP address to be used in NAS-IP-Address attribute used in RADIUS requests. |
Command example:
(NETGEAR Switch) #show radius servers
Current Host Address Server Name Port Type
---- ------------------------ --------------------------------- ----- ----------
* 192.168.37.200 Network1_RADIUS_Server 1813 Primary
192.168.37.201 Network2_RADIUS_Server 1813 Secondary
192.168.37.202 Network3_RADIUS_Server 1813 Primary
192.168.37.203 Network4_RADIUS_Server 1813 Secondary
Command example:
(NETGEAR Switch) #show radius servers name
Current Host Address Server Name Type
------------------------ --------------------------------- ----------
192.168.37.200 Network1_RADIUS_Server Secondary
192.168.37.201 Network2_RADIUS_Server Primary
192.168.37.202 Network3_RADIUS_Server Secondary
192.168.37.203 Network4_RADIUS_Server Primary
Command example:
(NETGEAR Switch) #show radius servers name Default_RADIUS_Server
Server Name............................ Default_RADIUS_Server
Host Address........................... 192.168.37.58
Secret Configured...................... No
Message Authenticator ................. Enable
Number of Retransmits.................. 4
Time Duration.......................... 10
RADIUS Accounting Mode................. Disable
RADIUS Attribute 4 Mode................ Enable
RADIUS Attribute 4 Value .............. 192.168.37.60
Command example:
(NETGEAR Switch) #show radius servers 192.168.37.58
Server Name............................ Default_RADIUS_Server
Host Address........................... 192.168.37.58
Secret Configured...................... No
Message Authenticator ................. Enable
Number of Retransmits.................. 4
Time Duration.......................... 10
RADIUS Accounting Mode................. Disable
RADIUS Attribute 4 Mode................ Enable
RADIUS Attribute 4 Value .............. 192.168.37.60
show radius accounting
M4250
M4350
This command displays a summary of configured RADIUS accounting servers.
| Format | show radius accounting name [servername] |
| Mode | Privileged EXEC |
| Field | Description |
|---|---|
| servername | An alias name to identify the server. |
| RADIUS Accounting Mode | A global parameter to indicate whether the accounting mode for all the servers is enabled or not. |
If you do not specify any parameters, then only the accounting mode and the RADIUS accounting server details are displayed.
| Term | Definition |
|---|---|
| Host Address | The IP address of the host. |
| Server Name | The name of the accounting server. |
| Port | The port used for communication with the accounting server. |
| Secret Configured | Yes or No Boolean value indicating whether this server is configured with a secret. |
Command example:
(NETGEAR Switch) #show radius accounting name
Host Address Server Name Port Secret
Configured
----------------------- --------------------------------- -------- -----------
192.168.37.200 Network1_RADIUS_Server 1813 Yes
192.168.37.201 Network2_RADIUS_Server 1813 No
192.168.37.202 Network3_RADIUS_Server 1813 Yes
192.168.37.203 Network4_RADIUS_Server 1813 No
Command example:
(NETGEAR Switch) #show radius accounting name Default_RADIUS_Server
Server Name............................ Default_RADIUS_Server
Host Address........................... 192.168.37.200
RADIUS Accounting Mode................. Disable
Port .................................. 1813
Secret Configured ..................... Yes
show radius accounting statistics
M4250
M4350
This command displays a summary of statistics for the configured RADIUS accounting servers.
| Format | show radius accounting statistics {ipaddr | ipv6address | hostname | name servername} |
| Mode | Privileged EXEC |
| Term | Definition |
|---|---|
| ipaddr | The IP address of the authenticating server. |
| ipv6address | The IP address of the authenticating server. |
| hostname | The host name of the authenticating server. |
| servername | The alias name to identify the server. |
| RADIUS Accounting Server Name | The name of the accounting server. |
| Server Host Address | The IP address of the host. |
| Round Trip Time | The time interval, in hundredths of a second, between the most recent Accounting-Response and the Accounting-Request that matched it from this RADIUS accounting server. |
| Requests | The number of RADIUS Accounting-Request packets sent to this server. This number does not include retransmissions. |
| Retransmission | The number of RADIUS Accounting-Request packets retransmitted to this RADIUS accounting server. |
| Responses | The number of RADIUS packets received on the accounting port from this server. |
| Malformed Responses | The number of malformed RADIUS Accounting-Response packets received from this server. Malformed packets include packets with an invalid length. Bad authenticators or signature attributes or unknown types are not included as malformed accounting responses. |
| Bad Authenticators | The number of RADIUS Accounting-Response packets containing invalid authenticators received from this accounting server. |
| Pending Requests | The number of RADIUS Accounting-Request packets sent to this server that have not yet timed out or received a response. |
| Timeouts | The number of accounting timeouts to this server. |
| Unknown Types | The number of RADIUS packets of unknown types, which were received from this server on the accounting port. |
| Packets Dropped | The number of RADIUS packets received from this server on the accounting port and dropped for some other reason. |
Command example:
(NETGEAR Switch) #show radius accounting statistics 192.168.37.200
RADIUS Accounting Server Name................. Default_RADIUS_Server
Host Address.................................. 192.168.37.200
Round Trip Time............................... 0.00
Requests...................................... 0
Retransmissions............................... 0
Responses..................................... 0
Malformed Responses........................... 0
Bad Authenticators............................ 0
Pending Requests.............................. 0
Timeouts...................................... 0
Unknown Types................................. 0
Packets Dropped............................... 0
Command example:
(NETGEAR Switch) #show radius accounting statistics name Default_RADIUS_Server
RADIUS Accounting Server Name................. Default_RADIUS_Server
Host Address.................................. 192.168.37.200
Round Trip Time............................... 0.00
Requests...................................... 0
Retransmissions............................... 0
Responses..................................... 0
Malformed Responses........................... 0
Bad Authenticators............................ 0
Pending Requests.............................. 0
Timeouts...................................... 0
Unknown Types................................. 0
Packets Dropped............................... 0
show radius source-interface
M4250
M4350
Use this command in Privileged EXEC mode to display the configured RADIUS client source-interface (Source IP address) information.
| Format | show radius source-interface |
| Mode | Privileged EXEC |
Command example:
(NETGEAR Switch)# show radius source-interface
RADIUS Client Source Interface.............. (not configured)
show radius statistics
M4250
M4350
This command displays the summary statistics of configured RADIUS authenticating servers.
| Format | show radius statistics {ipaddr | ipv6address | hostname | name servername} |
| Mode | Privileged EXEC |
| Term | Definition |
|---|---|
| ipaddr | The IP address of the authenticating server. |
| ipv6address | The IP address of the authenticating server. |
| hostname | The host name of the authenticating server. |
| servername | The alias name to identify the server. |
| RADIUS Server Name | The name of the authenticating server. |
| Server Host Address | The IP address of the host. |
| Access Requests | The number of RADIUS Access-Request packets sent to this server. This number does not include retransmissions. |
| Access Retransmissions | The number of RADIUS Access-Request packets retransmitted to this RADIUS authentication server. |
| Access Accepts | The number of RADIUS Access-Accept packets, including both valid and invalid packets, that were received from this server. |
| Access Rejects | The number of RADIUS Access-Reject packets, including both valid and invalid packets, that were received from this server. |
| Access Challenges | The number of RADIUS Access-Challenge packets, including both valid and invalid packets, that were received from this server. |
| Malformed Access Responses | The number of malformed RADIUS Access-Response packets received from this server. Malformed packets include packets with an invalid length. Bad authenticators or signature attributes or unknown types are not included as malformed access responses. |
| Bad Authenticators | The number of RADIUS Access-Response packets containing invalid authenticators or signature attributes received from this server. |
| Pending Requests | The number of RADIUS Access-Request packets destined for this server that have not yet timed out or received a response. |
| Timeouts | The number of authentication timeouts to this server. |
| Unknown Types | The number of packets of unknown type that were received from this server on the authentication port. |
| Packets Dropped | The number of RADIUS packets received from this server on the authentication port and dropped for some other reason. |
Command example:
(NETGEAR Switch) #show radius statistics 192.168.37.200
RADIUS Server Name............................ Default_RADIUS_Server
Server Host Address........................... 192.168.37.200
Access Requests............................... 0.00
Access Retransmissions........................ 0
Access Accepts................................ 0
Access Rejects................................ 0
Access Challenges............................. 0
Malformed Access Responses.................... 0
Bad Authenticators............................ 0
Pending Requests.............................. 0
Timeouts...................................... 0
Unknown Types................................. 0
Packets Dropped............................... 0
Command example:
(NETGEAR Switch) #show radius statistics name Default_RADIUS_Server
RADIUS Server Name............................ Default_RADIUS_Server
Server Host Address........................... 192.168.37.200
Access Requests............................... 0.00
Access Retransmissions........................ 0
Access Accepts................................ 0
Access Rejects................................ 0
Access Challenges............................. 0
Malformed Access Responses.................... 0
Bad Authenticators............................ 0
Pending Requests.............................. 0
Timeouts...................................... 0
Unknown Types................................. 0
Packets Dropped............................... 0
show radius server dynamic-author
M4250
M4350
Use this command to display the dynamic authorization server settings.
| Format | show radius server dynamic-author |
| Mode | Privileged EXEC |
Command example:
(NETGEAR Switch)#show radius server dynamic-author
AdminMode...................................... Disabled
Port........................................... 3799
Auth Type...................................... all
Global Secret Key.............................. N/A
Ignore server-key.............................. Disabled
Ignore session-key............................. Disabled
CoA Bounce-Host-Port........................... Accept
CoA Disable-Host-Port.......................... Accept
Client Address Secret
------------------------ --------------------------------
show radius server dynamic-author statistics
M4250
M4350
Use this command to display the global counters and per-client counters of the Dynamic Authorization Server (DAS).
You can use the optional client keyword to narrow down the statistics for all clients or a specific client. For a specific client, specify the ip-address, ipv6-address, or hostname argument.
| Format | show radius server dynamic-author statistics [client {all | ip-address | ipv6-address | hostname}] |
| Mode | Privileged EXEC |
Command example:
(NETGEAR Switch)# show radius server dynamic-author statistics
Number of CoA Requests Received................ 5
Number of CoA ACK Responses Sent............... 2
Number of CoA NAK Responses Sent............... 3
Number of CoA Requests Ignored................. 1
Number of CoA Missing/Unsupported Attribute R.. 0
Number of CoA Session Context Not Found Reque.. 2
Number of CoA Invalid Attribute Value Request.. 0
Number of Administratively Prohibited Request.. 0
Command example:
(NETGEAR Switch)# show radius server dynamic-author statistics client all
DAC Address...................................... 10.89.108.26
Number of CoA Requests Received....................... 4
Number of CoA ACK Responses Sent...................... 0
Number of CoA NAK Responses Sent...................... 4
Number of CoA Requests Ignored........................ 0
Number of CoA Missing/Unsupported Attribute Requests.. 0
Number of CoA Session Context Not Found Requests...... 4
Number of CoA Invalid Attribute Value Requests........ 0
Number of Administratively Prohibited Requests........ 0
DAC Address....................................... 10.52.139.190
Number of CoA Requests Received....................... 3
Number of CoA ACK Responses Sent...................... 0
Number of CoA NAK Responses Sent...................... 3
Number of CoA Requests Ignored........................ 3
Number of CoA Missing/Unsupported Attribute Requests.. 0
Number of CoA Session Context Not Found Requests...... 0
Number of CoA Invalid Attribute Value Requests........ 0
Number of Administratively Prohibited Requests........ 0
Command example:
(NETGEAR Switch)# show radius server dynamic-author statistics client 10.89.108.26
DAC Address...................................... 10.89.108.26
Number of CoA Requests Received....................... 4
Number of CoA ACK Responses Sent...................... 0
Number of CoA NAK Responses Sent...................... 4
Number of CoA Requests Ignored........................ 0
Number of CoA Missing/Unsupported Attribute Requests.. 0
Number of CoA Session Context Not Found Requests...... 4
Number of CoA Invalid Attribute Value Requests........ 0
Number of Administratively Prohibited Requests........ 0