交换机
园区网交换机
数据中心与云计算交换机
中小网络精简型交换机
工业交换机
意图网络指挥官
无线
放装型无线接入点
墙面型无线接入点
智分无线接入点
室外无线接入点
场景化无线
无线控制器
小锐A系列
统一运维
身份管理
服务产品
运营商
政府
金融
互联网
电力能源
制造业
高教/职教
医疗卫生
交通
地产酒店文旅·连锁服务
公共安全
一、组网需求
二、组网拓扑
三、配置要点
四、配置步骤
注意:配置之前建议使用 Ruijie#show interface status查看接口名称,常用接口名称有FastEthernet(百兆)、GigabitEthernet(千兆)和TenGigabitEthernet(万兆),以下配置以百兆接口为例
1) 在接客户机的端口上开启防网关arp欺骗功能
Ruijie>enable
Ruijie#configure terminal
Ruijie(config)#interface FastEthernet 0/1
Ruijie(config-if-FastEthernet 0/1)#anti-arp-spoofing ip 192.168.1.254 ------>配置防网关arp欺骗
Ruijie(config)#interface FastEthernet 0/2
Ruijie(config-if-FastEthernet 0/3)#anti-arp-spoofing ip 192.168.1.254
Ruijie(config)#interface FastEthernet 0/3
Ruijie(config-if-FastEthernet 0/3)#anti-arp-spoofing ip 192.168.1.254
2)保存配置
Ruijie(config)#end
Ruijie#write ------> 确认配置正确,保存配置
五、验证命令
Ruijie #show anti-arp-spoofing
Anti-arp-spoofing
port ip
------- -------
FastEthernet 0/1 192.168.1.254
FastEthernet 0/2 192.168.1.254
FastEthernet 0/3 192.168.1.254