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 TE Trap Function
Enabling the MPLS TE Trap Function
Context
To facilitate
operation and maintenance and learn about the running status of the
MPLS network, configure the MPLS TE trap function so that the device
can notify the NMS of the RSVP and MPLS TE status change and usage
of dynamic labels.
Procedure
Configure the RSVP trap function.
Run the system-view command
to enter the system view.
Run the snmp-agent trap enable feature-name mpls_rsvp [ trap-nametrap-name ] command
to enable the trap function for the RSVP module.
By default, the trap function is disabled for the RSVP module.
Configure the trap
function for the TE tunnel.
Run the system-view command
to enter the system view.
Run the snmp-agent trap enable feature-name tunnel-te [ trap-nametrap-name ] command
to enable the trap function for the Tunnel-TE module.
By default, the trap function is disabled for the Tunnel-TE
module.
Configure the alarm function for LSPM.
Run the system-view command
to enter the system view.
Run the snmp-agent trap enable feature-name mpls_lspmtrap-nametrapname command
to enable the trap function for the LSPM module.
By default, the trap function is disabled for the LSPM module.
Run the snmp-agent trap suppress feature-name lsptrap-name { mplsxcup | mplsxcdown } trap-intervaltrap-interval [ max-trap-numbermax-trap-number ] command to set the interval
for suppressing excess LSP traps.
By default, the interval for suppressing excess LSP traps
is 300 seconds.
Run the mpls command
to enter the MPLS view.
Run the mpls dynamic-label-number threshold-alarmupper-limitupper-limit-valuelower-limitlower-limit-value command to set alarm thresholds for dynamic label usage.
By default, the upper and lower thresholds are 80% and 70%
respectively.
This command specifies only
the alarm thresholds for dynamic label usage. The system
can generate hwMplsDynamicLabelThresholdExceed and hwMplsDynamicLabelThresholdExceedClear
only when snmp-agent trap enable feature-name mpls_lspmtrap-name { hwMplsDynamicLabelThresholdExceed | hwMplsDynamicLabelThresholdExceedClear } is used and the usage of dynamic labels reaches the threshold.
Verifying the Configuration
Run the display snmp-agent trap feature-name mpls_rsvp all command to view status of all traps on the RSVP module.
Run the display snmp-agent trap feature-name tunnel-te all command to view status of all traps on the Tunnel-TE module.
Run the display snmp-agent trap feature-name mpls_lspm all command to view status of all traps on the LSPM module.