Published On: August 6ᵗʰ, 2019 02:06
Cisco Enterprise Network Compute System Switch Command Reference
RADIUS Commands
- radius-server deadtime
- radius-server host
- radius-server key
- radius-server retransmit
- radius-server timeout
- ip radius source-interface
- show switch radius-server
radius-server deadtime
To configure how long unavailable RADIUS servers are skipped over by transaction requests, use the radius-server deadtime command in switch configuration mode. This improves RADIUS response time when servers are unavailable. To restore the default configuration, use the no form of this command.
Syntax Description
deadtime |
Specifies the time interval in minutes, during which a RADIUS server is skipped over by transaction requests. Valid range is from 0 to 2000. |
Command History
radius-server host
To configure a RADIUS server host, use the radius-server host command in switch configuration mode. To delete the specified RADIUS server host, use the no form of the command.
radius-server host { ip-address | hostname} [ acct-port UDP-port-number] [ auth-port UDP-port-number] [ deadtime deadtime] [ key key-string] [ priority priority] [ retransmit retries]
no radius-server host
Syntax Description
ip-address |
Specifies the RADIUS server host IP address. The IP address can be an IPv4, IPv6 or IPv6z address. |
hostname |
Specifies the RADIUS server host name. Translation to IPv4 addresses only is supported. (Length: 1–158 characters. Maximum label length of each part of the hostname: 63 characters) |
acct-port UDP-port-number |
(Optional) Specify the UDP port number for accounting requests. If the port number is set to 0, the host is not used for authentication. If unspecified, the port number defaults to 1813. |
auth-port UDP-port-number |
(Optional) Specify the UDP port number for authentication requests. If set to 0, the host is not used for authentication . If unspecified, the port number defaults to 1812. |
deadtime deadtime |
(Optional) Specify time, in minutes, for which a RADIUS server is skipped over by transaction requests. Range: 1-2000 |
key key-string |
(Optional) Specifies the authentication and encryption key (per-server encryption key) for all RADIUS communications between the device and the RADIUS server. This key must match the encryption used on the RADIUS daemon. Length: 0–128 characters. To specify an empty string, enter "". If this parameter is omitted, the globally-configured radius key will be used. |
priority priority |
(Optional) Specifies the order in which servers are used, where 0 is the highest priority. Range: 0-65535. |
retransmit retries |
(Optional) Specify the number of retries to the active server (overrides default). If no retransmit value is specified, the global value is used. Range: 0-15. |
Command Default
If retransmit is not specified, the global value set in the radius-server retransmit command is used.
If key is not specified, the global value set in the radius-server key command is used.
Command History
radius-server key
To set the authentication key for RADIUS communications between the device and the RADIUS daemon, use the radius-server key command in switch configuration mode. To restore the default configuration, use the no form of this command
Syntax Description
key-string |
Specifies the authentication and encryption key for all RADIUS communication between the device and the RADIUS server. This key must match the encryption used on the RADIUS daemon. Range: 0 to 128 characters. |
Command History
radius-server retransmit
radius-server timeout
ip radius source-interface
To use the IPv4 address of the specified source interface as the Source IPv4 address for communication with IPv4 RADIUS servers, use the ip radius source-interface command in switch configuration mode. To restore the default configuration, use the no form of the command.
Syntax Description
Command Default
The source IPv4 address is the IPv4 address defined on the outgoing interface and belonging to next hop IPv4 subnet.
Command History
show switch radius-server
To display the RADIUS server configuration, use the show switch radius-server command in privileged EXEC mode.
Syntax Description
configuration |
Specifies the mode for the RADIUS server configuration information. |
global |
Displays the global configuration information about the RADIUS server. |
host |
Displays the RADIUS server host information. |
Command History
Examples
The following is a sample output of the show switch radius-server command that displays the RADIUS server configuration:
nfvis# show switch radius-server radius-server configuration global key None radius-server configuration global timeout 3 radius-server configuration global deadtime 0 radius-server configuration global retransmit 3 radius-server configuration global source-ipv4-intf none