2-608
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set radius server
set radius server
To set up the RADIUS server, use the set radius server command.
set radius server ipaddr [auth-port port] [acct-port port] [primary]
Syntax Description
Defaults The default auth-port is 181, and the default acct-port is 1813.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines If you configure multiple RADIUS servers, the first server configured is the primary. Authentication
requests are sent to this server first. You can specify a particular server as prim ary b y using the primary
keyword. You can add up to three RADIUS servers.
The ipaddr value can be entered as an IP alias or an IP address in dot notation a.b.c.d.
If you set the auth-port port to 0, the RADIUS server will not be used for authentication. If you set the
acct-port port to 0, the RADIUS server will not be used for accounting.
If you configure a RADIUS key on the switch, make sure you configure an identical key on the RADIUS
server.
You must specify a RADIUS server before enabling RADIUS on the switch.
Examples This example shows how to add a primary server using an IP alias:
Console> (enable) set radius server everquest.com auth-port 0 acct-port 1646 primary
everquest.com added to RADIUS server table as primary server.
Console> (enable)
This example shows how to add a primary server using an IP address:
Console> (enable) set radius server 172.22.11.12 auth-port 0 acct-port 1722 primary
172.22.11.12 added to RADIUS server table as primary server
Console> (enable)
Related Commands show radius
ipaddr Number of the IP address or IP alias in dot notation a.b.c.d.
auth-port port (Optional) Specifies a destination User Datagram Protocol (UDP) port for
RADIUS authentication messages.
acct-port port (Optional) Specifies a destination UDP port for RADIUS accounting messages.
primary (Optional) Specifies that this server be contacted first.