Command Manual - Network Protocol
Quidway S6500 Series Ethernet Switches
Chapter 2 ARP Configuration Commands
Huawei Technologies Proprietary
2-2
Parameter
ip-address
: IP address of the ARP mapping entry.
mac-address
: MAC address of ARP mapping entry, whose format is H-H-H ( H
indicates a hexadecimal number).
vlan-id
: VLAN to which the static ARP entry belongs, which is in the range of 1 to
4094.
interface_name
: Port to which the static ARP entry belong, represented with
interface_name
=
interface_type interface_num.
interface_type
is port type and
interface_num
is port number. For details about
interface_type
,
interface_num
and
interface_name
, refer to the
Port Command Manual
.
Description
Using
arp static
command, you can configure the static ARP mapping entries in an
ARP mapping table. Using
undo arp
static
command, you can cancel a static ARP
mapping entry from the ARP table
By default, the mapping table of the system ARP is empty and the switch can maintain
its address mapping by means of dynamic ARP.
Note that:
z
Static ARP map entry will be always valid as long as Ethernet switch works
normally. But if you modify or delete VLAN interfaces, delete VLANs or delete
ports from VLANs to make ARP invalid, the ARP mapping entry will be also
deleted. The valid period of dynamic ARP map entries will last only 20 minutes by
default.
z
The parameter
vlan-id
must be the ID of a VLAN that has been created by the
user, and the Ethernet port specified behind this parameter must belong to the
VLAN.
z
The aggregation port or port with LACP enabled cannot be set as the egress port
of static ARP.
For the related command, see
reset arp
,
display arp
,
debugging arp
.
Example
# Associate the IP address 202.38.10.2 with the MAC address 00e0-fc01-0000, and
the ARP mapping entry belongs to the Ethernet port Ethernet1/0/1 on VLAN1.
[Quidway] arp static 202.38.0.10 00e0-fc01-0000 1 ethernet1/0/1
2.1.3 arp timer aging
Syntax
arp timer aging aging-time
undo arp timer aging