How to Configure Web-Based Authentication
SUMMARY STEPS
1. enable
2. configure terminal
3. ip radius source-interface vlan vlan interface number
4. radius-server host {hostname | ip-address} test username username
5. radius-server key string
6. radius-server dead-criteria tries num-tries
7. end
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Switch> enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
ip radius source-interface vlan vlan interface
number
Example:
Switch(config)# ip radius source-interface
vlan 80
Step 4
radius-server host {hostname | ip-address} test
username username
Example:
Switch(config)# radius-server host
172.l20.39.46 test username user1
Step 5
radius-server key string
Example:
Switch(config)# radius-server key rad123
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1436
Purpose
Enables privileged EXEC mode. Enter your password if prompted.
Enters the global configuration mode.
Specifies that the RADIUS packets have the IP address of the
indicated interface.
Specifies the host name or IP address of the remote RADIUS server.
The test username username option enables automated testing of
the RADIUS server connection. The specified username does not
need to be a valid user name.
The key option specifies an authentication and encryption key to
use between the switch and the RADIUS server.
To use multiple RADIUS servers, reenter this command for each
server.
Configures the authorization and encryption key used between the
switch and the RADIUS daemon running on the RADIUS server.