PurposeCommand or Action
(Optional)
Specifies that the specified RADIUS server only be
used for authentication purposes. The default is both
accounting and authentication.
switch(config)# radius-server host
{ipv4-address | ipv6-address | host-name}
authentication
Step 5
Exits configuration mode.switch(config)# exit
Step 6
(Optional)
Displays the RADIUS server configuration.
switch(config)# show radius-server
Step 7
Saves the change persistently through reboots and
restarts by copying the running configuration to the
startup configuration.
switch(config)# copy running-config
startup-config
Step 8
This example shows how to configure 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 # exit
switch # copy running-config startup-config
switch #
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 switch sends out a test packet. You can configure this option to test servers
periodically.
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.
Note
The test idle timer specifies the interval during which a RADIUS server receives no requests before the switch
sends out a test packet.
The default idle timer value is 0 minutes. When the idle time interval is 0 minutes, the switch does not perform
periodic RADIUS server monitoring.
Procedure
PurposeCommand or Action
Enters global configuration move.switch# configure terminal
Step 1
Specifies parameters for server monitoring. The default
username is test and the default password is test.
switch(config)# radius-server host
{ipv4-address | ipv6-address |
Step 2
Cisco Nexus 3600 NX-OS Security Configuration Guide, Release 7.x
40
Configuring RADIUS
Configuring Periodic RADIUS Server Monitoring