交换机配合认证计费设备的802.1X配置
Interface Vlan1
ip address 100.100.100.49 255.255.255.0
no shutdown
exit
radius-server authentication host 100.100.100.60 //radius-server-ip
radius-server accounting host 100.100.100.60 //radius-server-ip
radius-server key test
radius-server timeout 5
aaa-account enable //开启计费功能
aaa enable //开启aaa功能
dot1x enable //开启802.1X
no dot1x re-authentication //关闭重认证
dot1x privateclient enable //开启私有802.1X
int eth 1 //接口下开启802.1X 及认证的方式
dot1x enable
dot1x port-method macbased
dot1x port-control auto
dot1x max-user 1
exit
int eth 2
dot1x enable
dot1 port-method macbased
dot1x port-control auto
dot1x max-user 1
exit