
Context
If static ARP and the Virtual Router Redundancy Protocol (VRRP) are enabled on a device
simultaneously, the virtual IP address of the VRRP backup group configured on the VLAN
interface cannot be the IP address contained in the static ARP entries; otherwise, incorrect host
routes are generated and thus packets cannot be normally forwarded.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Configure static ARP entries in a Virtual Local Area Network (VLAN).
To configure static ARP entries in a VLAN, do as follows:
l
Run the
arp static
ip-address mac-address
[
vid
vlan-id
interface
interface-type interface-
number
] command.
To configure static ARP entries for VLANIF interfaces, if an ARP entry contains only the
IP address and MAC address, and the VLAN ID and outbound interface of the ARP packet
are not specified, the system selects the outbound interface automatically. If the VLAN ID
and outbound interface are specified, the system forwards the packet from the specified
outbound interface.
If the interface corresponding to the VLAN is bound to a Virtual Private Network (VPN),
the device can automatically associate the configured static ARP entry with the VPN. This
command is applicable to port-based VLANs.
NOTE
Static ARP entries keep valid when a device works normally.
----End
2.3.4 Checking the Configuration
You can view the configuration of static ARP.
Prerequisite
The configurations of the ARP function are complete.
Procedure
l
Run the
display arp statistics
{
all
} command to check the statistics for ARP entries.
----End
2.4 Optimizing Dynamic ARP
If dynamic ARP is configured, the system automatically resolutes an IP address into an Ethernet
MAC address.
Quidway S2700 Series Ethernet Switches
Configuration Guide - IP Service
2 ARP Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
12