Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
arp static
ip-address mac-address
vid
vlan-id
interface
interface-type interface-
number
A static ARP entry is configured in a VLAN.
When configuring a static ARP entry in a VLAN, you must specify the outbound interface so
that the packets are sent out from the specified outbound interface.
----End
1.3.4 Configuring a Static ARP Entry in a VPN Instance
To implement Layer 2 communication between devices in a VPN instance, you can configure
static ARP entries in the VPN instance.
Context
NOTE
To configure static ARP entries for double-tagged packets, run the
arp static cevid
command.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
arp static
ip-address mac-address
vpn-instance
vpn-instance-name
A static ARP entry is configured for a VPN instance.
----End
1.3.5 Checking the Configuration
Procedure
l
Run the
display arp
[
all
] command to check all ARP entries, including static ARP entries
and dynamic ARP entries.
l
Run the
display arp network
net-number
net-mask
[
dynamic
|
static
] command to check
ARP entries on the specified network segment.
l
Run the
display arp static
command to check static ARP entries.
l
Run the
display arp statistics
{
all
|
interface
interface-type interface-number
} command
to check statistics on ARP entries on the AR150/200 or the specified interface.
----End
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service
1 ARP Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6