Cisco Cisco IOS Software Release 12.2(14)S

下载
页码 14
 
      PIM MIB Extension for IP Multicast
Configuration Tasks
4
Cisco IOS Release 12.2(14)S
RFCs
The CISCO-PIM-MIB partially supports RFC 2934. For more information, see the 
.
Configuration Tasks
See the following sections for configuration tasks for the PIM MIB Extension for IP Multicast feature. 
Each task in the list is identified as either required or optional:
 (required)
 (optional)
Configuring Cisco PIM SNMP Traps
To configure a router to send PIM trap notifications to a specified host, use the following commands in 
global configuration mode:
Verifying the Cisco PIM MIB
To verify the configuration of PIM notifications, use the show running-config command.
Configuration Examples
This example shows how to configure a router to generate notifications indicating that a PIM interface 
of the router has been enabled:
! Configure PIM traps to be sent as SNMPv2c traps to host with IP address 10.0.0.1.
router(config)# snmp-server host 10.0.0.1 traps version 2c public pim
Command
Purpose
Step 1
Router(config)# snmp-server enable traps 
pim
 [neighbor-change | rp-mapping-change | 
invalid-pim-message
]
Enables a router to send PIM notifications. The keywords are as 
follows:
neighbor-change—Enables notifications indicating when 
a router’s PIM interface is disabled or enabled, or when a 
router’s PIM neighbor adjacency expires or is established.
rp-mapping-change—Enables notifications indicating a 
change in RP mapping information due to either Auto-RP 
or BSR messages.
invalid-pim-message—Enables notifications for 
monitoring invalid PIM protocol operations (for example, 
when a router receives a join or prune message for which 
the RP specified in the packet is not the RP for the multicast 
group or when a router receives a register message from a 
multicast group for which it is not the RP).
Step 2
Router(config)# snmp-server host host-addr 
[traps | informscommunity-string pim
Specifies the recipient of a PIM SNMP notification operation.