[Huawei-Vlanif10]arp expire-time 1200  //配置动态ARP表项的老化超时时间,缺省为1200秒,即20分钟

[Huawei-Vlanif10]arp detect-times 3  //配置动态ARP表项的老化探测次数,缺省为3次

[Huawei-Vlanif10]arp detect-mode unicast  //配置接口以单播方式发送ARP老化探测报文,缺省只在最后一次发送ARP老化探测报文是广播方式,其余均为单播方式发送。

[Huawei]l2-topology detect enable  //使能二层拓扑探测功能

[Huawei]mac-address update arp  //使能MAC刷新ARP功能,保证动态ARP表项及时更新

[Huawei]display current-configuration | include arp  //查看动态ARP的老化参数配置

[Huawei]arp static 10.1.1.1 1-2-3 vid 10 interface g0/0/1  //当出接口是以太网接口,并且以太网接口处于二层模式时,配置静态ARP表项

[Huawei]arp static 10.1.1.1 1-2-3 vpn-instance 1  //当需要指定ARP表项所属的VPN实例时,配置静态ARP表项

[Huawei]arp static 10.1.1.1 1-2-3  //当需要配置短静态ARP表项,配置静态ARP表项

[Huawei]display arp dynamic  //查看设备已经学到的所有动态ARP表项

[Huawei]display arp static  //查看静态ARP表项

[Huawei]display arp network 10.1.1.1  //查看基于网段的静态ARP表项

[Huawei]display arp vpn-instance 1  //查看基于VPN实例的静态ARP表项

[Huawei-Vlanif10]arp-proxy enable  //使能路由式Proxy ARP功能

[Huawei-Vlanif10]arp-proxy inner-sub-vlan-proxy enable  //使能VLAN内Proxy ARP功能

[Huawei-Vlanif10]arp-proxy  inter-sub-vlan-proxy enable  //使能VLAN间Proxy ARP

[Huawei]mac-address multicast 0100-0100-0100 interface GigabitEthernet 0/0/1 vlan 10  //配置对应多出接口的MAC地址表项

[Huawei-GigabitEthernet0/0/2]mac-address multicast 0100-0100-0100 vlan 10  //在接口视图下配置对应多出接口的MAC地址表项

[Huawei]display mac-address multicast  //查看对应多出接口的MAC地址表项信息

[Huawei]display mac-address multicast 0100-0100-0100 vlan 10

[Huawei]display arp statistics all  //查看ARP表项的统计信息

[Huawei]display arp status 10.1.1.1 slot 0  //查看ARP表项在设备的下发状态

<Huawei>reset arp packet statistics  //清除ARP报文统计信息

<Huawei>display arp error packet  //查看最近接收的10个错误的ARP报文

<Huawei>display arp packet statistics  //查看ARP报文的统计数据

<Huawei>display arp track  //查看VLANIF接口在学习ARP表项过程中出接口的变化情况

<Huawei>display cpu-defend statistics packet-type arp-request all  //查看ARP请求报文上送CPU的统计信息

<Huawei>display cpu-defend statistics packet-type arp-miss all  //查看ARP应答报文上送CPU的统计信息