Server IP address 10.1.2.1/24

 

初始配置

 

Router:

 

Conf t

 

Int e 0

 

Ip ad 10.1.1.1 255.255.255.0

 

No shut

 

在Switch上配置IEEE 802.1X

 

 

Conf t

 

Aaa new-model                                                                            /启用AAA

 

Aaa authentication dot1x default group radius                            /在AAA下启用DOT1X验证方法

 

Dot1x system-auth-control

 

Radius-server host 10.1.2.1                                                          / 配置RADIUS服务器

 

Int f 0/1