< Home

snmp-agent trap enable feature-name mpls_lspm

Function

The snmp-agent trap enable feature-name mpls_lspm command enables the trap for the MPLS LSPM module.

The undo snmp-agent trap enable feature-name mpls_lspm command disables the trap for the MPLS LSPM module.

By default, the trap is disabled for the MPLS LSPM module.

Format

snmp-agent trap enable feature-name mpls_lspm [ trap-name trapname ]

undo snmp-agent trap enable feature-name mpls_lspm [ trap-name trapname ]

Parameters

Parameter Description Value
trap-name trapname Enables the trap of MPLS events of a specified type.
  • hwmplsdynamiclabelthresholdexceed: Dynamic label usage reached the upper limit.
  • hwmplsdynamiclabelthresholdexceedclear: Dynamic label usage reached the lower limit.
  • hwmplsdynamiclabeltotalcountexceed: Dynamic label usage reached 100%.
  • hwmplsdynamiclabeltotalcountexceedclear: Dynamic label usage fell to 95%.
  • hwmplsexttunneldown: Enables the trap of the event that the TE tunnel changes to Down.
  • hwmplsexttunneldownclear: Enables the trap of the event that the TE tunnel Down alarm was cleared.
  • hwmplsldpvirtualtunneldown: Enables the trap of the event that an LDP virtual tunnel goes Down.
  • hwmplsldpvirtualtunnelup: Enables the trap of the event that an LDP virtual tunnel goes Up.
  • hwmplslspthresholdexceed: Enables the function to generate an alarm if the number of LSPs exceeds the alarm threshold.
  • hwmplslspthresholdexceedclear: Enables the function to clear an alarm if the number of LSPs falls below the alarm threshold.
  • hwmplslsptotalcountexceed: Enables the function to generate an alarm if the number of LSPs exceeds the maximum limit.
  • hwmplslsptotalcountexceedclear: Enables the function to clear an alarm if the number of LSPs falls below the maximum limit.
  • hwmplsresourcethresholdexceed: Enables the function to generate an alarm if the number of used MPLS resources exceeds the alarm threshold.
  • hwmplsresourcethresholdexceedclear: Enables the function to clear an alarm if the number of used MPLS resources falls below the alarm threshold.
  • hwmplsresourcetotalcountexceed: Enables the function to generate an alarm if the number of used MPLS resources exceeds the maximum limit.
  • hwmplsresourcetotalcountexceedclear: Enables the function to clear an alarm if the number of used MPLS resources falls below the maximum limit.
  • hwmplsstaticcrlspdown: Enables the private trap of the event that a static CR-LSP goes Down.
  • hwmplsstaticcrlspup: Enables the private trap of the event that a static CR-LSP goes Up.
  • hwmplsstaticlspdown: Enables the private trap of the event that a static LSP goes Down.
  • hwmplsstaticlspup: Enables the private trap of the event that a static LSP goes Up.
  • hwmplsteautotunneldownclear: Enables the trap of the event that the TE Auto tunnel Down alarm was cleared.
  • hwmplsteautotunnelprimarydownclear: Enables the trap of the event that the Down alarm about the primary LSP in the TE Auto tunnel was cleared.
  • hwmplstefrrprotaval: Enables the trap of the TE FRR bypass tunnel binding event.
  • hwmplstefrrprotnotaval: Enables the trap of the TE FRR bypass tunnel unbinding event.
  • hwmplstefrrresume: Enables the private trap of the event of TE FRR fault recovery.
  • hwmplstefrrswitch: Enables the private trap of the event of TE FRR protection switching.
  • hwmplstunnelbbresume: Enables the trap of main LSP of tunnel resumes from backup LSP in BBK.
  • hwmplstunnelbbswitch: Enables the trap of main LSP of tunnel switches to backup LSP in BBK.
  • hwmplstunnelbesteffortdown: Enables the trap of the event that the best-effort LSP of the tunnel changes to Down.
  • hwmplstunnelbesteffortup: Enables the trap of the event that the best-effort LSP of the tunnel changes to Up.
  • hwmplstunnelchangebw: Enables the private trap of the event that the tunnel bandwidth changes.
  • hwmplstunnelcommitlost: The configuration of an MPLS TE tunnel was not committed.
  • hwmplstunnelcommitlostclear: The configuration of all MPLS TE tunnel were committed.
  • hwmplstunneldelete: Enables the function to generate an alarm if an MPLS TE tunnel is deleted.
  • hwmplstunnelhotstandbydown: Enables the trap of the event that the hot-standby LSP of the tunnel changes to Down.
  • hwmplstunnelhotstandbyresume: Enables the trap of the event that when the primary LSP went Up and traffic was switched back from the hot-standby LSP to the primary LSP.
  • hwmplstunnelhotstandbyswitch: Enables the trap of the event that when the primary LSP went Down and traffic was switched to a hot-standby LSP.
  • hwmplstunnelhotstandbyup: Enables the trap of the event that the hot-standby LSP of the tunnel changes to Up.
  • hwmplstunnelhsbresume: Enables the private trap of the event that traffic switches from the hot-standby CR-LSP to the primary CR-LSP.
  • hwmplstunnelhsbswitch: Enables the private trap of the event that traffic switches from the primary CR-LSP to the hot-standby CR-LSP.
  • hwmplstunnelobresume: Enables the private trap of the event that traffic switches from the ordinary backup CR-LSP to the primary CR-LSP.
  • hwmplstunnelobswitch: Enables the private trap of the event that traffic switches from the primary CR-LSP to the ordinary backup CR-LSP.
  • hwmplstunnelordinarydown: Enables the trap of the event that the ordinary LSP of the tunnel changes to Down.
  • hwmplstunnelordinaryup: Enables the trap of the event that the ordinary LSP of the tunnel changes to Up.
  • hwmplstunnelprimarydown: Enables the trap of the event that the primary LSP of the tunnel changes to Down.
  • hwmplstunnelprimaryup: Enables the trap of the event that the primary LSP of the tunnel changes to Up.
  • mplstunneldown: Enables the trap of the event that a tunnel goes Down.
  • mplstunnelreoptimized: Enables the trap of the tunnel reoptimization event.
  • mplstunnelrerouted: Enables the trap of the tunnel reroute event.
  • mplstunnelup: Enables the trap of the event that a tunnel goes Up.
  • mplsxcdown: Enables the trap of the event that an LSP goes Down.
  • mplsxcup: Enables the trap of the event that an LSP goes Up.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Run the snmp-agent trap enable feature-name mpls_lspm command to enable the MPLS LSPM module trap. Except mplsxcup and mplsxcdown, all traps of the MPLS LSPM module are non-excessive trap messages.

Example

# Enables the trap of the event that a tunnel goes Up.

<HUAWEI> system-view
[HUAWEI] snmp-agent trap enable feature-name mpls_lspm trap-name mplstunnelup
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >