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.
If the proportion of used MPLS resources, such as LSPs, dynamic labels, and dynamic BFD sessions to all supported ones reaches a specified upper limit, new MPLS services may fail to be established because of insufficient resources. To facilitate operation and maintenance, an upper alarm threshold of MPLS resource usage can be set. If MPLS resource usage reaches the specified upper alarm threshold, an alarm is generated.
By default, the trap function is disabled for the RSVP module.
By default, the trap function is disabled for the LSPM module.
By default, the interval for suppressing the display of excessive LSP traps is 300 seconds, and a maximum of three LSP traps can be sent in the suppression interval.
You can set the following parameters:
By default, the upper limit is 80%, and the lower limit is 70%, which are recommended.
Each command only configures the trigger conditions for an alarm and its clear alarm. Although trigger conditions are met, the alarm and its clear alarm can be generated only after the snmp-agent trap enable feature-name mpls_lspm trap-name { hwMplsDynamicLabelThresholdExceed | hwMplsDynamicLabelThresholdExceedClear } command is run to enable the device to generate a dynamic label insufficiency alarm and its clear alarm.
After the snmp-agent trap enable feature-name mpls_lspm trap-name { hwMplsDynamicLabelTotalCountExceed | hwMplsDynamicLabelTotalCountExceedClear } command is run to enable the device to generate limit-reaching alarms and their clear alarms, the following situations occur:
If the number of dynamic labels reaches the maximum number of dynamic labels supported by a device, a limit-reaching alarm is generated.
If the number of dynamic labels falls below 95% of the maximum number of dynamic labels supported by the device, a clear alarm is generated.
The parameters in this command are described as follows:
The default upper limit of an alarm for RSVP LSP usage is 80%. The default lower limit of a clear alarm for RSVP LSP usage is 75%. Using the default upper limit and lower limit is recommended.
This command configures the alarm threshold for RSVP LSP usage. The alarm that the number of RSVP LSPs reached the upper threshold is generated only when the command snmp-agent trap enable feature-name mpls_lspm trap-name hwmplslspthresholdexceed is configured, and the actual RSVP LSP usage reaches the upper limit of the alarm threshold. The alarm that the number of RSVP LSPs fell below the lower threshold is generated only when the command snmp-agent trap enable feature-name mpls_lspm trap-name hwmplslspthresholdexceedclear is configured, and the actual RSVP LSP usage falls below the lower limit of the clear alarm threshold.
After the snmp-agent trap enable feature-name mpls_lspm trap-name { hwmplslsptotalcountexceed | hwmplslsptotalcountexceedclear } command is run to enable LSP limit-crossing alarm and LSP limit-crossing clear alarm, an alarm is generated in the following situations:
If the total number of RSVP LSPs reaches the upper limit, a limit-crossing alarm is generated.
If the total number of RSVP LSPs falls below 95% of the upper limit, a limit-crossing clear alarm is generated.
The parameters in this command are described as follows:
The default upper limit of an alarm for total CR-LSP usage is 80%. The default lower limit of a clear alarm for total CR-LSP usage is 75%. Using the default upper limit and lower limit is recommended.
This command configures the alarm threshold for total CR-LSP usage. The alarm that the number of total CR-LSPs reached the upper threshold is generated only when the command snmp-agent trap enable feature-name mpls_lspm trap-name hwmplslspthresholdexceed is configured, and the actual total CR-LSP usage reaches the upper limit of the alarm threshold. The alarm that the number of total CR-LSPs fell below the lower threshold is generated only when the command snmp-agent trap enable feature-name mpls_lspm trap-name hwmplslspthresholdexceedclear is configured, and the actual total CR-LSP usage falls below the lower limit of the clear alarm threshold.
After the snmp-agent trap enable feature-name mpls_lspm trap-name { hwmplslsptotalcountexceed | hwmplslsptotalcountexceedclear } command is run to enable LSP limit-crossing alarm and LSP limit-crossing clear alarm, an alarm is generated in the following situations:
If the total number of CR-LSPs reaches the upper limit, a limit-crossing alarm is generated.
If the total number of CR-LSPs falls below 95% of the upper limit, a limit-crossing clear alarm is generated.
Note the following issues when configuring trigger conditions:
By default, the upper alarm threshold is 80%, and the lower alarm threshold is 75%, which are recommended.
The mpls rsvp-peer-number threshold-alarm command only configures the trigger conditions for an alarm and its clear alarm. Although trigger conditions are met, the alarm and its clear alarm can be generated only after the snmp-agent trap enable feature-name mpls_rsvp trap-name { hwrsvpteifnbrthresholdexceed | hwrsvpteifnbrthresholdexceedclear } command is run to enable the device to generate the RSVP neighbor threshold-reaching alarm and its clear alarm.
After the snmp-agent trap enable feature-name mpls_rsvp trap-name { hwrsvpteifnbrtotalcountexceed | hwrsvpteifnbrtotalcountexceedclear } command is run to enable the device to generate limit-reaching alarms and their clear alarms, the following situations occur:
If the number of configured RSVP neighbors reaches the maximum number of RSVP neighbors supported by a device, a limit-reaching alarm is generated.
If the number of configured RSVP neighbors falls below 95% of the maximum number of RSVP neighbors supported by the device, a clear alarm is generated.
Note the following issues when configuring trigger conditions:
By default, the upper alarm threshold is 80%, and the lower alarm threshold is 75%, which are recommended.
Each command only configures the trigger conditions for an alarm and its clear alarm. Although trigger conditions are met, the alarm and its clear alarm can be generated only after the snmp-agent trap enable feature-name mpls_lspm trap-name { hwmplsresourcethresholdexceed | hwmplsresourcethresholdexceedclear } command is run to enable the device to generate an MPLS resource insufficiency alarm and its clear alarm.
After the snmp-agent trap enable feature-name mpls_lspm trap-name { hwmplsresourcetotalcountexceed | hwmplsresourcetotalcountexceedclear } command is run to enable the device to generate limit-reaching alarms and their clear alarms, the following situations occur:
If the number of used TE resources reaches the maximum number of TE resources supported by a device, a limit-reaching alarm is generated.
If the number of used TE resources falls below 95% of the maximum number of TE resources supported by a device, a clear alarm is generated.
Note the following issues when configuring trigger conditions:
By default, the upper alarm threshold is 80%, and the lower alarm threshold is 75%, which are recommended.
Each command only configures the trigger conditions for an alarm and its clear alarm. Although trigger conditions are met, the alarm and its clear alarm can be generated only after the snmp-agent trap enable feature-name mpls_lspm trap-name { hwmplsresourcethresholdexceed | hwmplsresourcethresholdexceedclear } command is run to enable the device to generate an MPLS resource insufficiency alarm and its clear alarm.
After the snmp-agent trap enable feature-name mpls_lspm trap-name { hwmplsresourcetotalcountexceed | hwmplsresourcetotalcountexceedclear } command is run to enable the device to generate limit-reaching alarms and their clear alarms, the following situations occur:
If the number of used TE resources reaches the maximum number of TE resources supported by a device, a limit-reaching alarm is generated.
If the number of used TE resources falls below 95% of the maximum number of TE resources supported by a device, a clear alarm is generated.