首页/网络/网络设备配置速查/思科 802.1X:IBNS 端口认证配置
本包目录(508 条)
设备开局与基础配置61 条接口与链路73 条VLAN 与二层交换60 条路由(静态 / OSPF)62 条
ACL 与安全65 条
NAT 与出口31 条DHCP 与地址服务32 条堆叠、高可用与备份升级52 条设备排障72 条

思科 802.1X:IBNS 端口认证配置

思科把 802.1X 归入 IBNS 体系:先配 AAA 与 RADIUS 服务器,再在端口启用 port-control 与 PAE 角色。

网络设备配置速查网络更新于 2026-10-12
场景交换机端口准入
适用Cisco Catalyst/IOS-XE
关键命令authentication port-control auto、dot1x pae authenticator

思科 IOS

思科 IOS
aaa new-model
radius server ISE
 address ipv4 10.1.1.100 auth-port 1812 acct-port 1813
 key 共享密钥
aaa authentication dot1x default group radius
dot1x system-auth-control
interface GigabitEthernet0/1
 switchport mode access
 authentication port-control auto
 dot1x pae authenticator
show authentication sessions interface GigabitEthernet0/1

华为 VRP

华为 VRP
dot1x enable
interface GigabitEthernet0/0/1
 dot1x enable
dot1x authentication-method eap

H3C Comware

H3C Comware
dot1x
interface GigabitEthernet1/0/1
 dot1x
dot1x authentication-method eap
差异:思科的老式端口命令 dot1x port-control auto 已逐步被 authentication port-control auto 取代,两套命令在不同 IOS 版本并存;华为/H3C 端口命令就是简单的 dot1x enable / dot1x。

易错点

  • RADIUS 不可达时若无 critical 语音/认证旁路配置,所有终端将无法上网

数据来源与参考

  • Cisco IOS IBNS 802.1X 配置指南
  • 华为 VRP dot1x 命令参考
  • H3C Comware dot1x 命令参考

相关工具

​‌‌​​‌​​​‌‌​‌‌‌‌​‌‌​​​‌‌​‌‌‌​​‌‌​​‌​‌‌‌​​‌‌‌​​​‌​‌‌​‌​​‌​‌‌‌​​​‌​‌‌​‌​​‌​‌‌​​​‌‌​‌‌‌​‌​​​‌‌​‌‌‌‌​​‌​‌‌‌​​‌‌​​​‌‌​‌‌​‌‌‌‌​‌‌​‌‌​‌