4-3
z
A static ARP entry is effective when the AP 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.
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 interface following the argument must belong to
that VLAN. The VLAN interface of the VLAN must have been created.
z
If both the
vlan-id
and
ip-address
arguments are specified, the IP address of the VLAN interface
corresponding to the
vlan-id
argument must belong to the same network segment as the IP
address specified by the
ip-address
argument.
Related commands:
reset arp
and
display arp
.
Examples
# Configure a static ARP entry, with the IP address being 202.38.10.2, the MAC address being
00e0-fc01-0000, and the outbound interface being Ethernet 1/0/1 of VLAN 10.
<Sysname> system-view
[Sysname] arp static 202.38.10.2 00e0-fc01-0000 10 ethernet 1/0/1
arp timer aging
Syntax
arp timer aging aging-time
undo arp timer aging
View
System view
Default Level
2: System level
Parameters
aging-time
: Age timer for dynamic ARP entries in minutes, in the range 1 to 1,440.
Description
Use the
arp timer aging
command to set the age timer for dynamic ARP entries.
Use the
undo arp timer aging
command to restore the default.
By default, the age timer for dynamic ARP entries is 20 minutes.
Related commands:
display arp timer aging
.
Examples
# Set the age timer for dynamic ARP entries to 10 minutes.
<Sysname> system-view
[Sysname] arp timer aging 10
display arp
Syntax
display arp
[ [
all
|
dynamic
|
static
] |
vlan vlan-id
|
interface
interface-type interface-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
] |
count
]