< Home

snmp-agent trap enable feature-name mpls_rsvp

Function

The snmp-agent trap enable feature-name mpls_rsvp command enables the trap for the MPLS RSVP module.

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

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

Format

snmp-agent trap enable feature-name mpls_rsvp [ trap-name trap-name ]

undo snmp-agent trap enable feature-name mpls_rsvp [ trap-name trap-name ]

Parameters

Parameter Description Value
trap-name trap-name Enables or disables a trap of the specified name.
NOTE:

If trap-name is not specified, all traps of the MPLS RSVP module will be enabled or disabled.

The value can be:
  • hwrsvpteauthfail: RSVP authentication failed.
  • hwrsvpteauthsuccess: RSVP authentication succeeded.
  • hwrsvptehellolost: The RSVP neighbor relationship was interrupted.
  • hwrsvptehellolostrecovery: The device is restored from the status of interruption of RSVP neighbor relationship.
  • hwrsvpteifnbrthresholdexceed: The proportion of configured RSVP neighbors to RSVP neighbors supported by a device reaches the upper alarm threshold.

  • hwrsvpteifnbrthresholdexceedclear: The proportion of configured RSVP neighbors to RSVP neighbors supported by a device falls below the lower threshold.

  • hwrsvpteifnbrtotalcountexceed: The number of configured RSVP neighbors on a device reaches the maximum number of RSVP neighbors supported by the device.

  • hwrsvpteifnbrtotalcountexceedclear: The number of configured RSVP neighbors on a device falls below the maximum limit of RSVP neighbors.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If you run this command without specifying the parameter trap-name, all traps of the MPLS RSVP module will be enabled or disabled.

After the configurations are complete, run the display snmp-agent trap feature-name mpls_rsvp all command to check whether all traps of the MPLS RSVP module are enabled.

Example

# Enable the trap of the event that RSVP authentication failed.

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