Detailed instructions for use are in the User's Guide.
[. . . ] JUNOSeTM Software for E SeriesTM Broadband Services Routers
Multicast Routing Configuration Guide
Release 11. 1. x
Juniper Networks, Inc.
1194 North Mathilda Avenue Sunnyvale, California 94089 USA 408-745-2000
www. juniper. net
Published: 2010-04-05
Juniper Networks, the Juniper Networks logo, JUNOS, NetScreen, ScreenOS, and Steel-Belted Radius are registered trademarks of Juniper Networks, Inc. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners. Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right to change, modify, transfer, or otherwise revise this publication without notice. [. . . ] For details about interface types and specifiers, see Interface Types and Specifiers in JUNOSe Command Reference Guide. If you do not specify an interface, the router clears the counters on all interfaces. Example
host1#clear ip pim interface atm 3/0. 5 count
There is no no version. See clear ip pim interface count.
clear ip pim remote-neighbor count
Use to clear the counters for remote neighbor statistics on all interfaces or the specified interface. Specify the IP address of an interface to clear the counters for that interface. If you do not specify an interface, the router clears the counters on all interfaces. Example
host1#clear ipv6 pim remote-neighbor 1001::1 count
There is no no version. See clear ip pim remote-neighbor count.
Monitoring PIM
You can display information about PIM events and parameters.
110
Monitoring PIM
Chapter 3: Configuring PIM for IPv4 Multicast
Monitoring PIM Events
You can use the debug PIM commands to view information about PIM events. debug ip pim
Use to show information about the selected event. To control how much information to display, specify a verbosity level. Example
host1#debug ip pim events severity 1 verbosity low
Use the no version to disable the display. See debug ip pim.
undebug ip pim
Use to turn off the display of information previously enabled with the debug ip pim command. Example
host1#undebug ip pim events
There is no no version. See undebug ip pim.
Monitoring PIM Settings
You can use the show ip pim commands to display information about PIM settings. Field descriptions
Default PIM Version--Default PIM version number (always 2) Default Domain Id--Default Domain Id (always 0) Default Hello period--Default interval (in minutes) at which the router sends hello messages to neighbors Default Hello Hold Time--Default time (in minutes) for which the router keeps the neighbor state alive Join-Prune Interval--Interval value (in seconds) set in the join/prune message originated by the PIM router
Monitoring PIM
111
JUNOSe 11. 1. x Multicast Routing Configuration Guide
Join-Prune Holdtime-- Hold time value (in seconds) set in the join/prune messages originated by the PIM router. Keepalive Period--Time SG join state is maintained in the absence of SG Join message Assert Time--Period after last assert before assert state is timed out Register Suppression Time--Period during which a designated router stops sending registers to the RP Register Probe Time--Time before register suppression time (RST) expires when a designated router might send a NULL-Register to the RP Register TTL--TTL value (in PIM register packets) originated by this PIM router SSM--State of SSM on this PIM router (enabled or disabled) range--Default SSM group range or name of the access list specifying the range Sparse-Mode Graceful Restart Duration--Restart interval in seconds Join filter--Name of the join filter access-list (if configured) for this PIM router Designated Router Priority--Designated router priority value
Example
host1:1#show ip pim Default PIM Version: 2 Default Domain Id: 0 Default Hello Period: 30 Default Hello HoldTime: 105 Join-Prune Interval: 100 Join-Prune Holdtime: 350 Keepalive Period: 210 Assert Time: 210 Register Suppression Time: 60 Register Probe Time: 5 Register TTL: 64 SSM enabled, range default Sparse-Mode Graceful Restart Duration: 30 Graceful restart is complete (timer 0 seconds) Join filter, access-list bronze Designated Router Priority: 2
See show ip pim.
show ip pim auto-rp
Use to display information about RP routers and the RP mapping agent in a PIM sparse mode environment. Field descriptions
112
Monitoring PIM
Chapter 3: Configuring PIM for IPv4 Multicast
Configured with ttl--Number of hops for which the RP discovery message is valid Using interface addr--IP address of the interface from which the router sends RP discovery messages interval--Time interval, in seconds, at which the router sends RP discovery messages PIM AutoRP candidate RP mapping(s)--Routers that the RP mapping agent is evaluating to determine an RP router for this interface
Example 1
host1:1#show ip pim auto-rp This PIM router is an Auto RP mapping agent. Configured with ttl 64 [ Using interface addr 121. 0. 0. 1, interval 60 ]. PIM AutoRP candidate RP mapping(s)
Example 2
host1:1# show ip pim auto-rp This PIM router is _not_ an Auto RP mapping agent. PIM AutoRP candidate RP mapping(s) Candidate RP 122. 0. 0. 1 Group(s) 224. 0. 0. 0/4, AutoRP, ttl 64, interval 60, from access List 1 Candidate RP 122. 0. 0. 1 Group(s) 224. 0. 1. 39/32 (negative), AutoRP, ttl 64, interval 60, from access List 1 Candidate RP 122. 0. 0. 1 Group(s) 224. 0. 1. 40/32 (negative), AutoRP, ttl 64, interval 60, from access List 1
See show ip pim auto-rp.
show ip pim bsr
Use to display BSR information and the group prefixes for which the local router is a candidate RP in a PIM sparse mode environment. Field descriptions
Candidacy--Whether the router is a candidate BSR Configured on--Interface on which the router is configured address--Address of the router hashMaskLen--Hash mask length priority--Priority of the router period--Time between bootstrap messages, in seconds Elected BSR--This router or IP address of the elected bootstrap router next BSM--If BSR is this router, time until the next bootstrap message is sent, in seconds
Monitoring PIM
113
JUNOSe 11. 1. x Multicast Routing Configuration Guide
expires in--If BSR is not this router, time until the elected BSR expires if no bootstrap messages are received Local candidate RP mapping(s)--Routers that the mapping agent is evaluating to determine an RP router for this interface
Example 1--On a router that is the elected BSR
host1:1#show ip pim bsr This PIM router is a Candidate BSR. Configured on intf ATM3/0. 101, address: 101. 0. 0. 1 hashMaskLen 30, priority 2, period 60 seconds. [. . . ] To display all group-to-RP mappings that the router has recorded, specify the mapping keyword. Field descriptions
Group--Prefix of the multicast group RP--IP address of RP router for the multicast group priority--This field is not functional via--Method by which the RP router was assigned (static, BSR)
Example
host1:8#show ipv6 pim rp mapping PIM Group-to-RP mapping(s) Group(s) ff00::/12 RP ::122:1, priority 0, via static Group(s) ff0e::1:0/96 RP ::120:1, priority 0, via static
See show ipv6 pim rp
show ipv6 pim rp-hash
Use to show which RP router a multicast group is using. Field descriptions
Monitoring PIM
237
JUNOSe 11. 1. x Multicast Routing Configuration Guide
Group--Multicast group RP--RP router for the multicast group priority--This field is not functional via--Method by which the RP router was assigned (static, BSR)
Example
host1:2#show ipv6 pim rp-hash 232. 1. 1. 1 Group(s) ff00::/12 RP ::122:1, priority 0, via static
See show ipv6 pim rp-hash
show ipv6 pim sparse-mode sg-state
Use to display information for each (S, G) entry for PIM sparse mode and PIM SSM. Field descriptions
Group-to-RP mapping--IPv6 addresses and network mask of the multicast group RP--IPv6 address of RP router SSM group--Indicates that this is an SSM group RPF route--IPv6 address and network mask of the RPF route IIF--IPv6 address of the incoming interface for the RPF route UpNbr--IPv6 address of the upstream neighbor Oifs--Outgoing interface Register Oif to RP--IP address of RP router for the outgoing interface; suppressed for SSM Address--IPv6 address of outgoing interface Interface--Type and specifier of the interface. [. . . ]