The arp send-packet command configures an interface to send a unicast Address Resolution Protocol (ARP) request message that carries the specified destination IP and MAC addresses.
Parameter | Description | Value |
---|---|---|
ip-address |
Specifies the destination IP address for a unicast ARP request message to be sent. |
The value is in dotted decimal notation. |
mac-address |
Specifies the destination MAC address for a unicast ARP request message to be sent. |
The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. If an H contains fewer than 4 digits, the left-most digits are padded with zeros. For example, e0 is displayed as 00e0. |
interface interface-name |
Specifies the name of an interface for sending out a unicast ARP request message. |
- |
interface interface-type interface-number |
Specifies the type and number of an interface for sending out a unicast ARP request message. |
- |
vid vid |
Specifies the outer tag value for a unicast ARP request message to be sent. |
The value is an integer ranging from 1 to 4094. |
cevid cevid |
Specifies the inner tag value for a unicast ARP request message to be sent. |
The value is an integer ranging from 1 to 4094. |
Usage Scenario
To check whether a peer device is reachable, run the
arp send-packet command to configure a local interface to send a unicast ARP request message that carries the peer device's IP and MAC addresses as the destination addresses.