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

思科 DAI:动态 ARP 检测

DAI 结合 DHCP Snooping 绑定表校验 ARP 报文,把伪造网关的中间人攻击挡在接入端口上。

网络设备配置速查网络更新于 2026-10-12
场景防 ARP 欺骗/中间人攻击
适用Cisco Catalyst 交换机
前置必须先启用 DHCP Snooping(或配置静态绑定表)

思科 IOS

思科 IOS
ip dhcp snooping
ip dhcp snooping vlan 10
ip arp inspection vlan 10
interface GigabitEthernet0/1
 ip dhcp snooping trust
 ip arp inspection trust
show ip arp inspection vlan 10

华为 VRP

华为 VRP
dhcp snooping enable
interface GigabitEthernet0/0/1
 dhcp snooping enable
 arp anti-attack check user-bind enable

H3C Comware

H3C Comware
arp detection enable
interface GigabitEthernet1/0/2
 arp detection trust
! 用户接入端口默认做 ARP 合法性检查
差异:思科 DAI 的检查依赖 DHCP Snooping 数据库或静态 source binding,没有绑定表时所有 ARP 都会被丢弃(含合法流量);华为用 arp anti-attack check user-bind,H3C 用 arp detection。

易错点

  • 在网关/上行口忘记配 trust,DAI 会把合法的 ARP 全丢掉,整网瘫痪

数据来源与参考

  • Cisco IOS Dynamic ARP Inspection 配置指南
  • 华为 VRP ARP 绑定表检测
  • H3C Comware ARP Detection 配置

相关工具

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