Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
17-10
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 17 Configuring RADIUS
Configuring RADIUS Servers
The following example shows how to configure RADIUS transmission retry count and timeout interval
for a server:
switch# configure terminal
switch(config)# radius-server host server1 retransmit 3
switch(config)# radius-server host server1 timeout 10
switch(config)# exit
switch# show radius-server
switch# copy running-config startup-config
Configuring Accounting and Authentication Attributes for RADIUS Servers
You can specify that a RADIUS server is to be used only for accounting purposes or only for
authentication purposes. By default, RADIUS servers are used for both accounting and authentication.
You can also specify the destination UDP port numbers where RADIUS accounting and authentication
messages should be sent.
To configure the accounting and authentication attributes for RADIUS servers, 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}
retransmit count
Specifies the retransmission count for a specific
server. The default is the global value.
Note The retransmission count value specified for
a RADIUS server overrides the count
specified for all RADIUS servers in Step 2.
Step 3
switch(config)# switch(config)#
radius-server host {ipv4-address
|ipv6-address | host-name} timeout seconds
Specifies the transmission timeout interval for a
specific server. The default is the global value.
Note The timeout interval value specified for a
RADIUS server overrides the interval value
specified for all RADIUS servers in Step 3.
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.
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config) #radius-server host
{ipv4-address | ipv6-address | host-name}
acct-port udp-port
(Optional) Specifies a UDP port to use for RADIUS
accounting messages.The default UDP port is 1812.
The range is from 0 to 65535.
Step 3
switch(config)# radius-server host
{ipv4-address | ipv6-address | host-name}
accounting
(Optional) Specifies that the specified RADIUS
server it to be used only for accounting purposes.
The default is both accounting and authentication.