Parameter | Description | Value |
---|---|---|
vpn-instance-name |
Specifies the VPN instance name. |
The value must be an existing VPN instance name. |
dynamic |
Displays dynamic ARP entries. |
- |
static |
Displays static ARP entries. |
- |
You can run the display arp vpn-instance command to check ARP entries of a specified VPN instance.
# Check all ARP entries learned by the VPN instance r1.
<HUAWEI> display arp vpn-instance r1 IP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE VPN-INSTANCE VLAN/CEVLAN(SIP/DIP) ------------------------------------------------------------------------------ 192.168.1.11 0000-0a41-0201 I - Vlanif10 r1 192.168.1.1 0000-0a41-0200 12 D-0 Vlanif10 r1 ------------------------------------------------------------------------------ Total:2 Dynamic:1 Static:0 Interface:1
Item |
Description |
---|---|
IP ADDRESS |
IP address in the ARP entry. |
MAC ADDRESS |
MAC address in the ARP entry. NOTE:
If the value of MAC ADDRESS is Incomplete, the current ARP entry is a temporary one. When IP packets trigger ARP Miss messages, the device generates temporary ARP entries and sends ARP Request packets to the destination network segment.
You can run the arp-fake expire-time command to adjust the aging time of the temporary ARP entry. |
EXPIRE(M) |
Remaining lifetime of the ARP entry, in minutes. If the remaining lifetime is 0, ARP entry aging probe is to be started. The ARP entry aging time depends on the number of configured aging probe attempts and the number of ARP entries that need to be aged. |
TYPE |
Entry type and ID of the slot that obtains the entry. The entry type contains 3 bits. The first bit can be any of the following:
The second bit can only be F, indicating that the ARP entry has been reported to the routing module, the route to this IP address has been calculated, and the entry in the FIB table has been updated. If the entry is not reported to the routing module, this field displays -. For the ARP entry with the type as I, this flag bit does not exist. NOTE:
VLANIF interface and sub-interfaces for VLAN tag termination (including QinQ termination sub-interfaces and Dolt1q termination sub-interfaces) on devices report learned ARP entries to the routing module to generate 32-bit host routes (routes destined for complete host addresses). The host routes are accurate and can be used for packet forwarding. Because the forwarding model of the two types of interfaces requires accurate forwarding paths. However, the outbound interfaces of VLANIF interface routes are VLANIF interfaces. VLANIF interfaces are virtual interfaces that may correspond to multiple physical interfaces, and as a result, such routes cannot be used for packet forwarding. Therefore, the VLANIF interfaces report learned ARP entries to the routing module to generate host routes. As for sub-interfaces for VLAN tag termination, they may correspond to multiple VLANs, and the forwarding model requires that packets be sent to a specified VLAN. Therefore, the sub-interfaces for VLAN tag termination also report learned ARP entries to the routing module to generate host routes. The third bit indicates the ID of the slot that obtains the entry. For the ARP entry with the type as I or S, this field displays -. |
INTERFACE |
Type and number of the interface that has learned ARP entries. |
VPN-INSTANCE |
Name of the VPN instance to which the ARP entry belongs. To configure the VPN instance name, run the ip vpn-instance command. |
VLAN/CEVLAN |
ID of the VLAN/CEVLAN to which the ARP entry belongs. NOTE:
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support the CEVLAN parameter. In a VXLAN network, SIP and DIP indicate the source and destination IP addresses of a tunnel. NOTE:
Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support SIP/DIP. |
Total |
Total number of ARP entries. |
Dynamic |
Number of dynamic ARP entries. |
Static |
Number of static ARP entries. |
Interface |
Number of ARP entries for the interface. |