(Optional) Setting EFM OAMPDU Parameters
Context
EFM entities exchange OAMPDUs periodically to report the link status. Network administrators can set EFM OAMPDU parameters to effectively manage networks.
After the maximum OAMPDU size is set on an interface, the interface considers excess EFM OAMPDUs invalid and discards them. You can adjust the maximum size of an EFM OAMPDU so that devices can communicate.
After setting up an EFM connection, two EFM entities exchange OAMPDUs at a specific interval to check for a properly working connection. If an EFM entity does not receive any OAMPDU from its remote EFM entity within the interval at which OAMPDUs are received, the link is considered as not working properly. Network administrators can set different intervals at which OAMPDUs are received based on user requirements. A short interval can be set for high-priority or delay-sensitive services. A long interval can be set for low-priority or delay-insensitive services.
Perform the following steps on the interfaces at both ends of a link.
Procedure
- Setting the maximum size of an EFM OAMPDU
Run system-view
The system view is displayed.
Run interface interface-type interface-number
The view of the interface at one end of the link is displayed.
Run efm packet max-size size
The maximum size of an EFM OAMPDU is set.
By default, the maximum size of an EFM OAMPDU on an interface is 128 bytes.
If the maximum EFM OAMPDU sizes configured on the interfaces at both ends of a link are different, the interfaces negotiate the maximum EFM OAMPDU size during the discovery process. The smaller one between the maximum EFM OAMPDU sizes on the two ends is used.
- Setting the timeout interval at which EFM OAMPDUs are received
Run system-view
The system view is displayed.
Run interface interface-type interface-number
The view of the interface at one end of the link is displayed.
Run efm timeout timeout-value
The timeout interval at which EFM OAMPDUs are received is set.
By default, the timeout interval at which EFM OAMPDUs are received is 5000 ms.
The interfaces at both ends of a link must use the same timeout interval. Otherwise, session negotiation between the two interfaces fails or the session flaps.
The timeout interval is set only after EFM is enabled globally and before EFM is enabled on an interface.