
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
1-12
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring RADIUS
Configuring RADIUS Servers
The following example shows how to configure the accounting and authentication attributes for a
RADIUS server:
switch#
configure terminal
switch(config)#
radius-server host 10.10.1.1 acct-port 2004
switch(config)#
radius-server host 10.10.1.1 accounting
switch(config)#
radius-server host 10.10.2.2 auth-port 2005
switch(config)#
radius-server host 10.10.2.2 authentication
switch(config)#
exit
switch(config)#
show radius-server
switch#
copy running-config startup-config
Configuring Periodic RADIUS Server Monitoring
You can monitor the availability of RADIUS servers. These parameters include the username and
password to use for the server and an idle timer. The idle timer specifies the interval during which a
RADIUS server receives no requests before the Nexus 5000 Series switch sends out a test packet. You
can configure this option to test servers periodically.
Note
For security reasons, we recommend that you do not configure a test username that is the same as an
existing user in the RADIUS database.
The test idle timer specifies the interval during which a RADIUS server receives no requests before the
Nexus 5000 Series switch sends out a test packet.
Note
The default idle timer value is 0 minutes. When the idle time interval is 0 minutes, the Nexus 5000 Series
switch does not perform periodic RADIUS server monitoring.
To configure periodic RADIUS server monitoring, perform this task:
Command
Purpose
Step 1
switch#
configure terminal
Enters configuration mode.
Step 2
switch(config)#
radius-server host
{
ipv4-address
|
ipv6-address
|
host-name
}
test
{
idle-time
minutes
|
password
password
[
idle-time
minutes
] |
username
name
[
password
password
[
idle-time
minutes
]]}
Specifies parameters for server monitoring. The
default username is test and the default password is
test. The default value for the idle timer is 0 minutes.
The valid range is 0 to 1440 minutes.
Note
For periodic RADIUS server monitoring,
you must set the idle timer to a value greater
than 0.
Step 3
switch(config)#
radius-server deadtime
minutes
Specifies the number of minutes before the Nexus
5000 Series switch checks a RADIUS server that
was previously unresponsive. The default value is 0
minutes. The valid range is 1 to 1440 minutes.
Step 4
switch(config)#
exit
Exits configuration mode.
Step 5
switch#
show radius-server
(Optional) Displays the RADIUS server
configuration.
Step 6
switch#
copy running-config startup-config
(Optional) Copies the running configuration to the
startup configuration.