system‑view
#1、创建radius方案,填写亿格云服务器IP、端口、密钥
radius scheme yige‑cloud
primary authentication x.x.x.x 1812
primary accounting x.x.x.x 1813
key authentication simple "共享密钥"
key accounting simple "共享密钥"
nas‑ip A.B.C.D #❗重要:AC访问RADIUS源IP,亿格云需要把该IP加入RADIUS客户端白名单
user‑name‑format without‑domain
quit
#2、ISP域绑定radius方案(802.1X)
domain yige‑isp
authentication lan‑access radius‑scheme yige‑cloud
authorization lan‑access radius‑scheme yige‑cloud
accounting lan‑access radius‑scheme yige‑cloud
quit
#3、全局开启EAP中继(无线802.1X PEAP‑MSCHAPv2必备)
dot1x authentication‑method eap
#4、无线服务模板调用该域
wlan service‑template dot1x‑ssid
ssid YIGE‑WIFI
client‑security authentication‑mode dot1x
dot1x domain yige‑isp
service‑template enable
亿格云侧必须添加 AC 的
nas‑ip作为 RADIUS 客户端,共享密钥完全一致,放行 UDP 1812/1813端口。
NQA 可以模拟发送 Access‑Request 报文,完成业务层面连通性探测,代替 test‑aaaH3C。
#1、创建NQA模板,填写亿格云服务器IP、测试账号(亿格云提前建好该测试用户)
nqa entry admin testradius
type radius
radius‑server ip x.x.x.x 1812
username testuser
password simple testpass123
frequency 10000
reaction 1 checked‑element probe‑failure threshold 2 action‑type none
quit
#2、启动探测
nqa schedule admin testradius start‑time now lifetime forever
#查看探测结果
display nqa result admin testradius
display nqa history admin testradius
Success:网络可达、密钥协商正常;账号对错不代表业务全部通,代表 UDP1812 报文双向交互正常。Timeout:防火墙拦截 UDP1812/1813、路由不通、服务器未将 AC 加入客户端白名单。测试完成记得
undo nqa entry admin testradius关闭探测。
V7 RADIUS 方案自带服务器存活探测,周期性发送探测报文刷新服务器 Active/Blocked 状态H3C。
radius scheme yige‑cloud
server‑probe username probeuser #用户名随便填,服务器不需要该账号,仅做探测报文
server‑probe interval 10
server‑probe retry 3
quit
#查看服务器状态:State为Active代表服务器收到报文;Blocked代表无响应
display radius‑server configuration template yige‑cloud
⚠️该探测报文只是空探测,不能校验共享密钥是否正确,仅判断 UDP 报文能否到达服务器。密钥错误情况下服务器也会返回 Blocked。
生产环境尽量业务低峰开启 debug,测试完成务必关闭 debug!
terminal debugging
terminal monitor
debugging radius packet
#拿一台无线终端连接SSID做802.1X认证,观察控制台打印radius报文交互
#测试结束关闭debug
undo debugging all
观察关键点:
ping x.x.x.x #检查三层IP连通,ping通≠RADIUS业务通,ping用ICMP,RADIUS是UDP1812/1813
display radius‑server statistics template yige‑cloud
很多场景 ICMP 通,但防火墙拦截 UDP1812/1813,RADIUS 业务不通,ping 只能做初步参考,不能作为 RADIUS 业务可用依据H3C。
配置完成后,拿手机 / 笔记本连接 802.1X SSID,填入亿格云账号密码。
nas‑ip),填错服务器直接丢弃报文,无任何返回;dot1x authentication‑method eap,否则 PEAP 类型账号直接认证失败;user‑name‑format without‑domain,亿格云一般不需要携带域名后缀。排查时收集以下输出:
display radius‑server configuration template yige‑cloud
display radius‑server statistics template yige‑cloud
display nqa result admin testradius
display current‑configuration | include radius\|dot1x\|domain
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明