snmp-server enable traps pim
To enable SNMP Protocol-Independent Multicast (PIM) traps, use the snmp-server enable traps pim
command in global configuration mode. Use the no form of this command to return to the default setting.
snmp-server enable traps pim [invalid-pim-message][neighbor-change][rp-mapping-change]
no snmp-server enable traps pim [invalid-pim-message][neighbor-change][rp-mapping-change]
Syntax Description
(Optional) Enables invalid PIM message traps.invalid-pim-message
(Optional) Enables PIM neighbor-change traps.neighbor-change
(Optional) Enables rendezvous point (RP)-mapping change traps.rp-mapping-change
Command Default
The sending of PIM SNMP traps is disabled.
Command Modes
Global configuration
Command History
ModificationRelease
This command was introduced.Cisco IOS XE 3.3SECisco IOS XE 3.3SE
Usage Guidelines
Specify the host (NMS) that receives the traps by using the snmp-server host global configuration command.
If no trap types are specified, all trap types are sent.
Informs are not supported in SNMPv1.Note
To enable more than one type of trap, you must enter a separate snmp-server enable traps command for
each trap type.
Examples
This example shows how to enable invalid PIM message traps:
Device(config)# snmp-server enable traps pim invalid-pim-message
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
548
snmp-server enable traps pim