Command Manual – ARP
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 ARP Configuration Commands
Huawei Technologies Proprietary
1-2
View
System view, Ethernet interface view
Parameter
ip-address
: IP address contained in the ARP mapping entry to be created/removed.
mac-address
: MAC address contained in the ARP mapping entry to be created, in the
format of H-H-H.
vlan-id
: ID of the VLAN to which the static ARP entry belongs, in the range of 1 to 4094.
interface-type
: Type of the port to which the static ARP entry belongs.
interface-number
: Number of the port to which the static ARP entry belongs.
Description
Use the
arp static
command to create a static ARP mapping entry.
Use the
undo arp
command to remove an ARP mapping entry.
The system ARP mapping table is empty when a switch is just started. And the dynamic
address mapping entries are generated by ARP.
Note that:
z
Static ARP mapping entries are valid as long as the Ethernet switch operates.
However, an ARP mapping entry is removed if the corresponding VLAN is
removed. By default, a dynamic ARP mapping entry remains valid for 20 minutes.
z
As for the
arp static
command, the value of the
vlan-id
argument must be the ID of
an existing VLAN, and the port identified by the
interface-type
and
interface-number
arguments must belong to the VLAN.
z
Currently, it is not supported to configure static ARP mapping entry on aggregation
port
Related command:
reset arp
,
display arp
.
Example
# Create a static ARP mapping entry, with the IP address of 202.38.10.2, the MAC
address of 00e0-fc01-0000. The ARP mapping entry belongs to Ethernet1/0/1 port
(assuming that Ethernet1/0/1 port belongs to VLAN1).
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] arp static 202.38.10.2 00e0-fc01-0000 1 Ethernet 1/0/1
1.1.3 arp timer aging
Syntax
arp timer aging aging-time