User's Manual

Table Of Contents
56-5
56.3 RADIUS Typical Examples
56.3.1 IPv4 Radius Example
Figure 56-2 The Topology of IEEE802.1x configuration
A computer connects to a switch, of which the IP address is 10.1.1.2 and connected with a RADIUS
authentication server without Ethernet1/0/2; IP address of the server is 10.1.1.3 and the authentication port is
defaulted at 1812, accounting port is defaulted at 1813.
Configure steps as below:
Switch(config)#interface vlan 1
Switch(Config-if-vlan1)#ip address 10.1.1.2 255.255.255.0
Switch(Config-if-vlan1)#exit
Switch(config)#radius-server authentication host 10.1.1.3
Switch(config)#radius-server accounting host 10.1.1.3
Switch(config)#radius-server key test
Switch(config)#aaa enable
Switch(config)#aaa-accounting enable
10.1.1.1
10.1.1.2
Radius Server
10.1.1.3