arp packet payload (interface view)

Function

The arp packet payload command sets the payload length of ARP packets on an interface.

The undo arp packet payload command restores the default payload length of ARP packets on an interface.

By default, the payload length of ARP packets is not customized.

Format

arp packet payload payloadLen

undo arp packet payload

undo arp packet payload payloadLen

Parameters

Parameter Description Value
payloadLen

Specifies the payload length of an ARP packet.

The value is an integer that ranges from 0 to 32, in bytes.

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, PW-VE sub-interface view, PW-VE interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view, Management interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
arp write

Usage Guidelines

Usage Scenario

An Ethernet frame in which an ARP packet is encapsulated in the payload is called an ARP frame. An ARP packet is only 28 bytes long. Data (payload) in an Ethernet frame is at least 46 bytes long. Padding bytes (payload of an ARP packet) need to be added behind the ARP packet to meet the requirement for the minimum data length.

If the payload lengths of ARP packets are different on two interconnected devices, ARP negotiation fails and ARP entries cannot be learned. To prevent this issue, configure the same payload length for ARP packets on both devices.

Example

# Set the payload length of ARP packets to be sent to 18 bytes.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] undo portswitch
[*HUAWEI-GigabitEthernet0/1/0] arp packet payload 18
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >