Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)

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:
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
(Optional)
Specifies a UDP port to use for RADIUS accounting
messages.The default UDP port is 1812. The range
is from 0 to 65535.
switch(config) #radius-server host
{ipv4-address | ipv6-address | host-name}
acct-port udp-port
Step 2
(Optional)
Specifies that the specified RADIUS server it to be
used only for accounting purposes. The default is
both accounting and authentication.
switch(config)# radius-server host
{ipv4-address | ipv6-address | host-name}
accounting
Step 3
(Optional)
Specifies a UDP port to use for RADIUS
authentication messages. The default UDP port is
1812. The range is from 0 to 65535.
switch(config)# radius-server host
{ipv4-address | ipv6-address | host-name}
auth-port udp-port
Step 4
(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
(Optional)
Copies the running configuration to the startup
configuration.
switch# copy running-config
startup-config
Step 8
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
250 OL-16597-01
Configuring RADIUS
Configuring Accounting and Authentication Attributes for RADIUS Servers