Command Manual – ARP
H3C S7500E Series Ethernet Switches
Chapter 1 ARP Configuration Commands
1-2
Parameters
ip-address
: IP address in an ARP entry.
mac-address
: MAC address in an ARP entry, in the format H-H-H.
vlan-id
: ID of a VLAN to which a static ARP entry belongs to, in the range 1 to 4094.
interface-type interface-number
: Port type and port number.
Description
Use the
arp static
command to configure a static ARP entry in the ARP mapping table.
Use the
undo arp
command to remove an ARP entry.
Note that:
z
A static ARP entry is effective when the device works normally. However, when
the VLAN or VLAN interface to which an ARP entry corresponds is deleted, the
entry, if permanent, will be deleted, and if non-permanent and resolved, will
become unresolved. A VLAN interface must be created for the VLAN.
z
The
vlan-id
argument is used to specify the corresponding VLAN of an ARP entry
and must be the ID of an existing VLAN. In addition, the Ethernet port following the
argument must belong to that VLAN.
Related commands:
reset arp
,
display arp
.
Examples
# Configure a static ARP entry, with the IP address being 202.38.10.2, the MAC
address being 000f-e201-0000, and the outbound port being GigabitEthernet 2/0/10 of
VLAN 10.
<Sysname> system-view
[Sysname] arp static 202.38.10.2 000f-e201-0000 10 gigabitethernet 2/0/10
1.1.3 arp timer aging
Syntax
arp timer aging aging-time
undo arp timer aging
View
System view
Parameters
aging-time
: Aging time for dynamic ARP entries in minutes. It ranges from 1 to 1,440
and defaults to 20.