RADIUS Commands

radius-server host

To configure a RADIUS server host, use the radius-server host command in global configuration mode. To delete the specified RADIUS server host, use the no form of the command.

radius-server host { ip-address | hostname} admin-priv admin-priv-number key key-number oper-priv oper-priv-number shared-secret shared-secret-string

no radius-server host { ip-address | hostname}

Syntax Description

ip-address

Specifies the RADIUS server host IP address. The IP address can be an IPv4 or IPv6 address.

hostname

Specifies the RADIUS server host name. The host name can either be an IPv4 or IPv6 address or a DNS domain name.

admin-priv admin-priv-number

Specifies the minimum privilege level for administrator. Valid range is from 1 to 15.

key key-number

Specifies a preshared key for RADIUS communication between the device and the RADIUS server.

oper-priv oper-priv-number

Specifies the minimum privilege level for operator. Valid range is from 1 to 15.

shared-secret shared-secret-string

Specifies the preshared secret to authenticate communication between the device and the RADIUS server.

Command Default

The default value for the admin-priv parameter is 15. The default value for the oper-priv parameter is 11.

Command Modes

Switch configuration (config-switch)

Command History

Release Modification
3.5.1

This command was introduced.

Examples

The following example specifies a RADIUS server host.


nfvis(config-switch)# radius-server host 172.29.39.46 admin-priv 13 key 0 oper-priv 9 shared-secret myRaDIUSpassword
nfvis(config-switch)# commit
nfvis(config-switch)# end

show running-config radius-server

To display the running RADIUS server configuration information, use the show running-config radius-server command in privileged EXEC mode.

show running-config radius-server

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

Privileged EXEC (#)

Command History

Release Modification
3.5.1

This command was introduced.

Examples

nfvis# show running-config radius-server
radius-server host 198.51.100.10
key 0
shared-secret sec123
admin-priv 2
oper-priv 1