3
NOTE:
A static ARP entry is effective when the switch works normally. However, when the VLAN or VLAN interface to
which an ARP entry corresponds is deleted, the entry, if long, will be deleted, and if short and resolved, will
become unresolved.
The
vlan-id
argument specifies the VLAN corresponding to 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.
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 GigabitEthernet 1/0/1 of VLAN 10.
<Sysname> system-view
[Sysname] arp static 202.38.10.2 00e0-fc01-0000 10 GigabitEthernet 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
: Specifies the age timer for dynamic ARP entries in minutes, in the range 1 to 1440.
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
Содержание A5120 EI Series
Страница 26: ...18 Sysname Vlan interface1 ip address 202 38 160 1 255 255 255 0 sub ...
Страница 83: ...75 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 189: ...181 Sysname tcp ipv6 window 4 ...