49-104
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 49 Configuring 802.1X Port-Based Authentication
Controlling Switch Access with RADIUS
To configure per-server RADIUS server communication, perform this task. This procedure is required.
To remove the specified RADIUS server, use the
no radius-server host
hostname
|
ip-address
global configuration command.
This example shows how to configure one RADIUS server to be used for authentication and another to be used for accounting:
Switch(config)#
radius-server host 172.29.36.49 auth-port 1612 key rad1
Switch(config)#
radius-server host 172.20.36.50 acct-port 1618 key rad2
Command
Purpose
Step 1
Switch#
configure terminal
Enters global configuration mode.
Step 2
Switch(config)#
radius-server host
{
hostname
|
ip-address
} [
auth-port
port-number
] [
acct-port
port-number
] [
timeout
seconds
]
[
retransmit
retries
] [
key
string
]
Specifies the IP address or hostname of the remote RADIUS server host.
•
(Optional) For
auth-port
port-number
, specify the UDP destination
port for authentication requests.
•
(Optional) For
acct-port
port-number
, specify the UDP destination
port for accounting requests.
•
(Optional) For
timeout
seconds
, specify the time interval that the
switch waits for the RADIUS server to reply before resending. The
range is 1 to 1000. This setting overrides the
radius-server timeout
global configuration command setting. If no timeout is set with the
radius-server host
command, the setting of the
radius-server
timeout
command is used.
•
(Optional) For
retransmit
retries
, specify the number of times a
RADIUS request is resent to a server if that server is not responding
or responding slowly. The range is 1 to 1000. If no retransmit value is
set with the
radius-server host
command, the setting of the
radius-server retransmit
global configuration command is used.
•
(Optional) For
key
string
, specify the authentication and encryption
key used between the switch and the RADIUS daemon running on the
RADIUS server.
Note
The key is a text string that must match the encryption key used
on the RADIUS server. Always configure the key as the last item
in the
radius-server host
command. Leading spaces are ignored,
but spaces within and at the end of the key are used. If you use
spaces in your key, do not enclose the key in quotation marks
unless the quotation marks are part of the key.
To configure the switch to recognize more than one host entry associated
with a single IP address, enter this command as many times as necessary,
making sure that each UDP port number is different. The switch software
searches for hosts in the order in which you specify them. Set the timeout,
retransmit, and encryption key values to use with the specific RADIUS
host.
Step 3
Switch(config)#
end
Returns to privileged EXEC mode.
Step 4
Switch#
show running-config
Verifies your entries.
Step 5
Switch#
copy running-config
startup-config
(Optional) Saves your entries in the configuration file.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...