Chapter 10 Configuring IEEE 802.1x Port-Based Authentication

Configuring IEEE 802.1x Authentication

Beginning in privileged EXEC mode, follow these steps to configure the RADIUS server parameters on the switch. This procedure is required.

 

Command

Purpose

Step 1

 

 

configure terminal

Enter global configuration mode.

Step 2

 

 

radius-server host {hostname

Configure the RADIUS server parameters.

 

ip-address}auth-portport-number key

For hostname ip-address,specify the hostname or IP address of the

 

string

remote RADIUS server.

 

 

 

 

For auth-portport-number, specify the UDP destination port for

 

 

authentication requests. The default is 1812. The range is 0 to 65536.

 

 

For key string, specify the authentication and encryption key used

 

 

between the switch and the RADIUS daemon running on the RADIUS

 

 

server. The key is a text string that must match the encryption key used on

 

 

the RADIUS server.

 

 

Note Always configure the key as the last item in the radius-server

 

 

host command syntax because leading spaces are ignored, but

 

 

spaces within and at the end of the key are used. If you use spaces

 

 

in the key, do not enclose the key in quotation marks unless the

 

 

quotation marks are part of the key. This key must match the

 

 

encryption used on the RADIUS daemon.

 

 

If you want to use multiple RADIUS servers, re-enter this command.

Step 3

 

 

end

Return to privileged EXEC mode.

Step 4

 

 

show running-config

Verify your entries.

Step 5

 

 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

 

 

 

To delete the specified RADIUS server, use the no radius-server host {hostname ip-address} global configuration command.

This example shows how to specify the server with IP address 172.20.39.46 as the RADIUS server, to use port 1612 as the authorization port, and to set the encryption key to rad123, matching the key on the RADIUS server:

Switch(config)# radius-server host 172.l20.39.46 auth-port 1612 key rad123

You can globally configure the timeout, retransmission, and encryption key values for all RADIUS servers by using the radius-server host global configuration command. If you want to configure these options on a per-server basis, use the radius-server timeout, radius-server retransmit, and the radius-server key global configuration commands. For more information, see the “Configuring Settings for All RADIUS Servers” section on page 9-29.

You also need to configure some settings on the RADIUS server. These settings include the IP address of the switch and the key string to be shared by both the server and the switch. For more information, see the RADIUS server documentation.

 

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

 

 

 

 

 

 

OL-9775-02

 

 

10-27

 

 

 

 

 

Page 279
Image 279
Cisco Systems 3750E manual Ip-address auth-port port-number key, 10-27