< Home

snmp-agent trap enable feature-name pim-std

Function

The snmp-agent trap enable feature-name pim-std command enables PIM-STD traps.

The undo snmp-agent trap enable feature-name pim-std command disables related PIM-STD traps.

By default, the trap function for PIM-STD MIB events is disabled.

Format

snmp-agent trap enable feature-name pim-std [ trap-name { pimneighborloss | piminvalidregister | piminvalidjoinprune | pimrpmappingchange | piminterfaceelection } ]

undo snmp-agent trap enable feature-name pim-std [ trap-name { pimneighborloss | piminvalidregister | piminvalidjoinprune | pimrpmappingchange | piminterfaceelection } ]

Only the S5720-EI, S5720-HI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720-LI, S6720S-EI, S6720S-LI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Parameters

Parameter Description Value
trap-name Enables the trap function for specific events. -
pimneighborloss Enables the trap function for the PIM-STD MIB events of neighbor loss. -
piminvalidregister Enables the trap function for the PIM-STD MIB events of invalid Register messages. -
piminvalidjoinprune Enables the trap function for the PIM-STD MIB events of invalid Join/Prune messages. -
pimrpmappingchange Enables the trap function for the PIM-STD MIB events of RP-Mapping change. -
piminterfaceelection Enables the trap function for the PIM-STD MIB events of interface election. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

At present, the defined public PIM-STD MIB traps events include neighbor loss, invalid Join/Prune messages, RP-mapping change, interface election, and invalid Register messages. You can run the snmp-agent trap enable feature-name pim-std command to enable the trap function for PIM-STD MIB events when you need to monitor the current status of PIM protocol events.

Precautions

When using the snmp-agent trap enable feature-name pim-std, note the following points:

  • Run the snmp-agent trap enable feature-name pim-std command directly to enable the trap function for all PIM-STD MIB events.

  • Specify trap-name to enable the trap function for a specified type of PIM-STD MIB events.

Example

# Enable the trap function for the PIM-STD MIB events of neighbor loss.

<HUAWEI> system-view
[HUAWEI] snmp-agent trap enable feature-name pim-std trap-name pimneighborloss

# Enable the trap function for all PIM-STD MIB events.

<HUAWEI> system-view
[HUAWEI] snmp-agent trap enable feature-name pim-std

# Disable the trap function for the PIM-STD MIB events of neighbor loss.

<HUAWEI> system-view
[HUAWEI] undo snmp-agent trap enable feature-name pim-std trap-name pimneighborloss
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic