
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-11
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 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:
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
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.
Step 4
switch(config)#
radius-server host
{
ipv4-address
|
ipv6-address
|
host-name
}
auth-port
udp-port
(Optional) Specifies a UDP port to use for RADIUS
authentication messages. The default UDP port is
1812. The range is from 0 to 65535.
Step 5
switch(config)#
radius-server host
{
ipv4-address
|
ipv6-address
|
host-name
}
authentication
(Optional) Specifies that the specified RADIUS
server only be used for authentication purposes. The
default is both accounting and authentication.
Step 6
switch(config)#
exit
Exits configuration mode.
Step 7
switch(config)#
show radius-server
(Optional) Displays the RADIUS server
configuration.
Step 8
switch#
copy running-config startup-config
(Optional) Copies the running configuration to the
startup configuration.