Monitoring IP Multicast Settings
To display general information about the IP multicast configuration on the router, use the following show commands.
show ip mroute
- Use to display information about all or specified multicast forwarding entries.
- Specify a multicast group IP address or both a multicast group IP address and a multicast source IP address to display information about particular multicast forwarding entries.
- Use the summary option to see a summary rather than a detailed description.
- Use the count option to display the number of multicast forwarding entries.
- Use the statistics option to display statistics for packets received through all multicast forwarding entries that the router has added to the multicast routing table and established on the appropriate line modules.
- Use the active option to display the active multicast routes with admission bandwidth greater than the specified bandwidth threshold. The default is 4000 bps.
- Field descriptions
- (S, G)IP addresses of the multicast source and the multicast group
- Admission bandwidthAdmission bandwidth per mroute, in bps
- QoS bandwidthQoS bandwidth per mroute, in bps
- UptimeLength of time that the (S,G) pair has been active, in days hours:minutes:seconds format
- Data RateFlow rate for the threshold entry, in Kbps
- SPT ThresholdSPT threshold value for the entry, in Kbps
- ThresholdThreshold value for the entry, in Kpbs
- ExpiresLength of time that the (S,G) pair can be active, in days hours:minutes:seconds format or never
- RPF routeIP address and subnetwork mask of the RPF route
- incoming interfaceType and specifier of the incoming interface for the RPF route
- neighbor addressIP address of the neighbor
- State/OwnerOwner of the route
- LocalRoute belonging to the local interface
- StaticStatic route
- Other protocolsRoute established by a protocol such as RIP or OSPF
- Type of interface and its specifier
- Action that the interface takes with packets: Accept or Discard
- Multicast protocol that owns the interface
- Type of interface and its specifier
- Action that the interface takes with packets: Forward or Blocked (port-limit)
- Protocol running on the interface: PIM, DVMRP, or IGMP
- Amount of time that the interface has been active in this multicast forwarding entry, in days hours:minutes:seconds format
- Length of time that the interface can remain active in this multicast forwarding entry, in days hours:minutes:seconds format or never
host1#show ip mrouteIP Multicast Routing Table(S, G) uptime d h:m:s[Data rate: Kbps] [SPT Threshold: Kbps] [Threshold: Kbps][Admission bandwidth: bps][QoS bandwidth: bps]RPF route: addr/mask, incoming interfaceneighbor address, owner route-ownerIncoming interface list:Interface (addr/mask), State/Owner [(RPF IIF)]Outgoing interface list:Interface (addr/mask), State/Owner, Uptime/Expires(10.0.10.1, 225.1.1.1) uptime 0 00:10:31Data rate: 2132 Kbps, Threshold 500 KbpsAdmission bandwidth: 2000000 bpsRPF route: 10.0.10.0/24, incoming interface atm5/3.1010neighbor 10.0.10.8, owner LocalIncoming interface list:atm5/3.1010 (10.0.10.8/24), Accept/Pim (RPF IIF)Outgoing interface list:atm5/1.108 (108.0.8.5/8), Forward/Pim, 0 00:02:52/neveratm5/1.109 (107.0.8.4/8), Forward/Pim, 0 00:10:07/never(1.1.1.1, 225.1.1.1) uptime 0 00:00:34, never expiresRPF route: 1.0.0.0/8, incoming interface ATM5/1.200neighbor 2.2.2.2, owner NetmgmtIncoming interface list:ATM5/1.200 (2.1.1.1/8), Accept/Igmp (RPF IIF)Outgoing interface list:ATM5/1.300 (3.1.1.1/8), Forward/Igmp, 0 00:00:34/neverCounts: 2 (S, G) entries0 (*, G) entries
NOTE: The (S,G) entry (1.1.1.1, 225.1.1.1) is the permanent mroute.
Example 2Adaptive bandwidths enabled Host1#show ip mrouteIP Multicast Routing Table(S, G) uptime d h:m:s[, expires d h:m:s][Admission bandwidth: bps][QoS bandwidth: bps]RPF route: addr/mask, incoming interfaceneighbor address, owner route-ownerIncoming interface list:Interface (addr/mask), State/Owner [(RPF IIF)]Outgoing interface list:Interface (addr/mask), State/Owner, Uptime/Expires(10.0.1.9, 225.1.1.1) uptime 0 00:00:23Admission bandwidth: 1998000 bps (adaptive)QoS bandwidth: 1998000 bps (adaptive)RPF route: 10.0.0.0/8, incoming interface ATM2/1.200neighbor 21.1.1.1, owner NetmgmtIncoming interface list:ATM2/1.200 (21.2.2.2/8), Accept/Pim (RPF IIF)Outgoing interface list:ATM2/1.300 (31.2.2.2/8), Blocked (port-adm-limit)/Pim, 0 00:00:23/neverCounts: 1 (S, G) entries0 (*, G) entriesshow ip mroute active
- Use to display the active multicast routes with admission bandwidth greater than the specified bandwidth threshold.
- The default is 4000 bps.
- Field descriptions
- See the show ip mroute command and the show ip mroute summary command for descriptions of all fields.
host1#show ip mroute active 10000Active IP Multicast Routes >=10000 bps(S, G) uptime d h:m:s[, expires d h:m:s][Admission bandwidth: bps][QoS bandwidth: bps]RPF route: addr/mask, incoming interfaceneighbor address, owner route-ownerIncoming interface list:Interface (addr/mask), State/Owner [(RPF IIF)]Outgoing interface list:Interface (addr/mask), State/Owner, Uptime/Expires(52.0.0.1, 232.0.0.1) uptime 0 00:01:07Admission bandwidth: 47000 bps (adaptive)QoS bandwidth: 47000 bps (adaptive)RPF route: 52.0.0.0/24, incoming interface ATM2/1.17neighbor 17.0.0.2, owner NetmgmtRpfIncoming interface list:ATM2/1.17 (17.0.0.2/24), Accept/Igmp (RPF IIF)Outgoing interface list:NULLCounts: 1 (S, G) entries0 (*, G) entriesExample 2Displays the summary of active multicast routes host1#show ip mroute summary activeActive IP Multicast Routes >=4000 bpsGroup Address Source Address RPF route RPF Iif #Oifs--------------- --------------- ------------------ --------------- -----232.0.0.1 51.0.0.1 51.0.0.0/24 ATM3/1.17 0232.0.0.2 51.0.0.1 51.0.0.0/24 ATM3/1.17 0232.0.0.3 51.0.0.1 51.0.0.0/24 ATM3/1.17 0Counts: 3 (S, G) entries0 (*, G) entriesshow ip mroute count
- Use to display information about the number of groups and sources.
- Specify a multicast group address or both a multicast group address and a multicast source address to display information about a particular multicast forwarding entry.
- Field descriptions
host1#show ip mroute countIP Multicast Routing TableCounts: 2 (S, G) entries0 (*, G) entriesshow ip mroute statistics
- Use to display statistics for packets received through multicast routes that the router has added to the multicast routing table and established on the appropriate line modules.
- Specify a multicast group IP address or both a multicast group IP address and a multicast source IP address to display information about a particular multicast forwarding entry.
- Field descriptions
- See the show ip mroute command for descriptions of all fields except the Statistics field.
- Statistics
- ReceivedNumber of packets and bytes that the VR received for this multicast route
- ForwardedNumber of packets and bytes that the VR has forwarded for this multicast route
- Rcvd on OIFNumber of packets that the VR has received on the outgoing interface (OIF) for this multicast route
host1#show ip mroute statisticsIP Multicast Routing Table(S, G) uptime d h:m:s[, expires d h:m:s][Admission bandwidth: bps][QoS bandwidth: bps]RPF route: addr/mask, incoming interfaceneighbor address, owner route-ownerIncoming interface list:Interface (addr/mask), State/Owner [(RPF IIF)]Outgoing interface list:Interface (addr/mask), State/Owner, Uptime/Expires(10.0.1.9, 225.1.1.1) uptime 0 00:00:23Admission bandwidth: 2000000 bpsQoS bandwidth: 2000000 bpsRPF route: 10.0.0.0/8, incoming interface ATM2/1.200neighbor 21.1.1.1, owner NetmgmtIncoming interface list:ATM2/1.200 (21.2.2.2/8), Accept/Pim (RPF IIF)Outgoing interface list:ATM2/1.300 (31.2.2.2/8), Blocked (port-adm-limit)/Pim, 0 00:00:23/neverStatistics:Received : 23 pkts, 1472 bytesForwarded : 0 pkts, 0 bytesRcvd on OIF: 0 pktsCounts: 1 (S, G) entries0 (*, G) entriesshow ip mroute summary
- Use to display a summary of all or specified multicast routes.
- Specify a multicast group IP address or both a multicast group IP address and a multicast source IP address to display information about a particular multicast forwarding entry.
- Field descriptions
- Group AddressIP address of the multicast group
- Source AddressIP address of the multicast source
- RPF routeIP address and network mask of the RPF route
- RPF Iif Type and identifier for the incoming interface for the RPF route
- #OifsNumber of outgoing interfaces
- CountsNumbers of types of (S,G) pairs
host1#show ip mroute summaryIP Multicast Routing TableGroup Address Source Address RPF route RPF Iif #Oifs--------------- --------------- --------- ------------- ----224.0.1.39 52.1.1.1 51.1.1.1/32 Register IIF 0224.0.1.40 51.1.1.1 51.1.1.1/32 loopback1 1Counts: 2 (S, G) entries0 (*, G) entriesshow ip multicast protocols
- Use to display information about multicast protocols enabled on the router.
- Use the brief option to display a summary of information rather than a detailed description.
- Field descriptions
- Multicast ProtocolsMulticast protocols on this router
- ProtocolName of the multicast protocol
- TypeMode of the multicast protocol
- registeredNumber of interfaces on which the protocol is configured
- ownedNumber of interfaces that a protocol owns. If you configure only IGMP on an interface, IGMP owns the interface. However, if you configure IGMP and either PIM or DVMRP on the same interface, PIM or DVMRP owns the interface.
- Types and specifiers of interfaces. For details about interface types and specifiers, see JUNOSe Command Reference Guide, About This Guide.
- Protocols configured on the interface and the protocol that owns the interface. If you configure only IGMP on an interface, IGMP owns the interface. However, if you configure IGMP and PIM or DVMRP on the same interface, PIM or DVMRP owns the interface.
- Admission-bandwidthActual admission bandwidth/configured admission bandwidth (in bps)
- QoS AdjustBandwidth of QoS adjustment, in bps
- CountNumber of multicast protocols on the VR
- Active <S,G> countNumber of active S,G data streams on the interface
- Blocked <S,G> countNumber of blocked S,G data streams on the interface
host1#show ip multicast protocolsMulticast protocols:Protocol PimType: SparseInterfaces: 1 registered, 1 ownedRegistered interfaces:ATM2/1.103 (103.0.0.2/24) owner PimProtocol IgmpType: LocalInterfaces: 1000 registered, 1000 ownedRegistered interfaces:ATM2/0.131 (13.0.0.1/24) local Igmp owner IgmpAdmission-bandwidth 2000000/10000000 bpsQoS Adjust 2000000 bpsActive <S,G> count 15Blocked <S,G> count 10ATM2/0.132 (13.0.0.2/24) local Igmp owner IgmpAdmission-bandwidth 0/10000000 bpsQoS Adjust 0 bpsActive <S,G> count 25Blocked <S,G> count 10ATM2/0.133 (13.0.0.3/24) local Igmp owner IgmpAdmission-bandwidth 8000000/10000000 bpsQoS Adjust 0 bps...Count: 2 protocolsshow ip multicast protocols brief
- Use to display a summary of information about multicast protocols enabled on the router.
- Field descriptions
- ProtocolName of the multicast protocol
- Registered InterfacesNumber of interfaces on which the protocol is configured
- Owned InterfacesNumber of interfaces that a protocol owns. If you configure only IGMP on an interface, IGMP owns the interface. However, if you configure IGMP and either PIM or DVMRP on the same interface, PIM or DVMRP owns the interface.
- TypeMode of the multicast protocol
host1#show ip multicast protocols briefProtocol Registered Owned TypeInterfaces Interfaces--------- ---------- ---------- -------------------Pim 2 2 Sparse DenseIgmp 1 0 LocalCount: 2 protocolsshow ip multicast routing
host1#show ip multicast routingMulticast forwarding is enabled on this routerMulticast graceful restart is complete (timer 0 seconds) on this routerMulticast cache-miss processing is enabled on this routershow mroute port count
- Use to display the mroute port outgoing interface, limits, counts, bandwidth settings, and bandwidth accepted.
NOTE: This command displays information for mroutes on a port across all virtual routers.
- Field descriptions
- PortSlot/port value on the router
- LimitPort limit value defined for the specified port; -l indicates that no mrout port limits have been configured for the port
- CountNumber of mroute outgoing interfaces on the specified port
- BW bpsBandwidth limit, in bits per second
- Priority BW bpsPriority bandwidth limit, in bits per second
- AdmittedBandwidth admitted on the port, in bits per second
host1#show mroute port countBW PriorityPort Limit Count bps BW bps Hysteresis Admitted----- ----- ----- ----- -------- ---------- --------1/1/0 None 1 None None 85 01/1/1 None 2 15000 10000 85 2000Support for Multicast Router Information
When you enable multicast routing on a virtual router, the router acts as a multicast router information (mrinfo) server. This feature enables the router to respond to mrinfo requests from other network hosts. Specifically, E-series virtual routers respond to DVMRP ask neighbors and DVMRP ask neighbors2 requests.
Each virtual router responds to mrinfo requests with a list of multicast interfaces and their IP addresses. If appropriate, the virtual router also supplies the following information for each interface:
- Current functional status of the interface (for example, if the interface is down).
- Information as to whether the interface is disabled and the reason for the interface being disabledeither because IP is not configured on the interface or because the interface has been disabled through the software.
- Whether the interface is performing the IGMP queries for this subnet.
- Information about PIM neighbors:
If PIM is configured on the interface, the virtual router supplies a list of the interface's PIM neighbors and indicates which neighbors are leaf neighbors.
If the interface is an endpoint of a tunnel, the virtual router specifies the IP address of the endpoint of the tunnel.