The efm packet max-size command sets the maximum size for an EFM OAM PDU.
The undo efm packet max-size command restores the default setting.
By default, the maximum size of an EFM OAM PDU is 128 bytes.
Layer 2 100GE interface view, 100GE interface view, Layer 2 10GE interface view, 10GE interface view, 25GE-L2 view, 25GE interface view, 400GE-L2 view, 400GE interface view, Layer 2 40GE interface view, 40GE interface view, Layer 2 50GE interface view, 50GE interface view, FlexE interface view, Layer 2 GE interface view, GE optical interface view, GE interface view, GE electrical interface view
Usage Scenario
When a Huawei device communicates with a non-Huawei device, you can set the maximum size for an EFM OAM PDU to ensure successful EFM OAM session negotiation.
Prerequisites
EFM OAM has been globally enabled using the efm enable command in the system view.
Configuration Impact
When the size of a received EFM OAM PDU is greater than the configured maximum size, the OAM PDU is discarded as an invalid packet.
Precautions
After the maximum size is set for an EFM OAM PDU, the actual maximum size of an EFM OAM PDU is negotiated by devices on two ends. If different values are set for the two devices, the smaller value is taken as the actual maximum size of an EFM OAM PDU.