cisco — Configuring Switch-to-RADIUS Server Communication

Procedure Configuring IEEE 802.1x Port-Based Authentication Configuring Switch-to-RADIUS Server Communication Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 ip radius source-interface vlan vlan interface number Example: Device(config)# ip radius source-interface vlan 80 Specifies that the RADIUS packets have the IP address of the indicated interface. Step 4 radius server server name Example: Device(config)# radius server rsim address ipv4 172.16.0.1 (Optional) Specifies the IP address of the RADIUS server.

Step 5 address {ipv4 | ipv6} ip address Example: Device(config-radius-server)# address ipv4 10.0.1.2 auth-port 1550 acct-port 1560 Configures the IP address for the RADIUS server. Step 6 key string Example: Device(config-radius-server)# key rad123 (Optional) Specifies the authentication and encryption key used between the switch and the RADIUS daemon running on the RADIUS server. Step 7 exit Example: Device(config-radius-server)# exit Exits the RADIUS server mode and enters the global configuration mode. Configuring IEEE 802.1x Port-Based Authentication 52