No relevant resource is found in the selected language.
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Enabling the MPLS Trap Function
Enabling the MPLS Trap Function
Context
To facilitate
operation and maintenance and learn about the running status of the
MPLS network, configure the MPLS trap function so that the device
can notify the NMS of the LDP session status and usage of LDP
LSPs and dynamic labels.
The trap function is enabled for the MPLS LDP module.
By default, the trap function is disabled for the MPLS LDP module.
Configuring the trap function for LSPM
Run system-view
The system view is displayed.
Run snmp-agent trap enable feature-name mpls_lspmtrap-nametrapname
The trap function is enabled for the LSPM module.
By
default, the trap function is disabled for the LSPM module.
When performing the
following steps to configure alarm thresholds, pay attention to the
following points:
To configure the alarm function for dynamic label usage, specify hwMplsDynamicLabelThresholdExceed and hwMplsDynamicLabelThresholdExceedClear to enable the
threshold exceeding alarm and clear alarm when configuring trap-name. When the usage of dynamic labels exceeds
the upper threshold or falls below the lower threshold, the system
generates a threshold exceeding alarm or clear alarm.
To configure the LSP usage alarm function, specify hwmplslspthresholdexceed and hwmplslspthresholdexceedclear to enable the threshold exceeding alarm and clear alarm when configuring trap-name. When the LSP usage exceeds the upper threshold
or falls below the lower threshold, the system generates a threshold
exceeding alarm or clear alarm.