Command Manual (For Soliton) – ARP
H3C S3100 Series Ethernet Switches
Chapter 1 ARP Configuration Commands
1-8
Parameters
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 4,094.
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 entry.
Use the
undo arp
command to remove an ARP entry.
By default, the system ARP mapping table is empty and the address mapping entries
are obtained by ARP dynamically.
Note that:
z
Static ARP entries are valid as long as the Ethernet switch operates normally. But
some operations, such as removing a VLAN, or removing a port from a VLAN, will
make the corresponding ARP entries invalid and therefore removed automatically.
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, static ARP entries cannot be configured on the ports of an aggregation
group.
Related commands:
reset arp
,
display arp
.
Examples
# Create a static ARP mapping entry, with the IP address of 202.38.10.2, the MAC
address of 000f-e20f-0000. The ARP mapping entry belongs to Ethernet 1/0/1 which
belongs to VLAN 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] arp static 202.38.10.2 000f-e20f-0000 1 Ethernet 1/0/1
1.1.11 arp timer aging
Syntax
arp timer aging aging-time
undo arp timer aging