< Home

arp send-packet

Function

The arp send-packet command configures the ARP unicast probe function.

Format

arp send-packet ip-address mac-address interface interface-type interface-number[.subinterface-number ] [ vid vid [ cevid cevid ] ]

Only 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 cevid and subinterface-number parameter.

Parameters

Parameter Description Value

ip-address

Specifies the destination IP address of a unicast ARP Request packet.

The value is in dotted decimal notation.

mac-address

Specifies the destination MAC address of a unicast ARP Request packet.

The value is in the H-H-H format. An H contains 1 to 4 hexadecimal digits. The value cannot be set to FFFF-FFFF-FFFF.

interface interface-type interface-number[.subinterface-number ]

Specifies the outbound interface for a unicast ARP Request packet.

  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
  • subinterface-number specifies the sub-interface number.

-

vid vid

Specifies the outer VLAN tag of a unicast ARP Request packet.

The value is an integer that ranges from 1 to 4094.

cevid cevid

Specifies the inner VLAN tag of a unicast ARP Request packet.

The value is an integer that ranges from 1 to 4094.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The arp send-packet command triggers the device to send a unicast ARP Request packet to the user with the specified IP address and MAC address. You can determine whether the peer exists by checking whether the device receives an ARP Reply packet from the peer.
  • If the device receives an ARP Reply packet from the peer, the peer exists. The device then generates or updates the ARP entry based on the ARP Reply packet.
  • If the device does not receive an ARP Reply packet from the peer, the peer does not exist. The device does not generate an ARP entry in this case.

Example

# Configure the device to send a unicast ARP Request packet with the destination IP address 10.10.10.1 and destination MAC address 5489-98f4-786e from VLANIF 100.

<HUAWEI> arp send-packet 10.10.10.1 5489-98f4-786e interface vlanif 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >