52.3 RADIUS Typical Examples
52.3.1 IPv4 Radius Example
10.1.1.2
10.1.1.1
Radius Server
10.1.1.3
Figure 52-3-1 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 RA DIUS
authentication server without Ethernet 1/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:
XGS 3-42000R(config)#interface vlan 1
XGS 3-42000R(config-if-vlan1)#ip address 10.1.1. 2 255.255. 255. 0
XGS 3-42000R(config-if-vlan1)#exit
XGS 3-42000R(config)#radius-s erver authentication host 10.1.1.3
XGS 3-42000R(config)#radius-s erver accounting host 10.1.1. 3
XGS 3-42000R(config)#radius-s erver key test
XGS 3-42000R(config)#aaa enable
XGS 3-42000R(config)#aaa-accounting enable
52-5