show ip mroute
Use this command to display the IP multicast routing (mroute) table. The routing table is based on the pairing of Source Addresses with their respective Destination Multicast Group Address (S, G).
Command Syntax
show ip mroute (dense|sparse|) (count|summary|)
show ip mroute A.B.C.D (dense|sparse|)(count|summary|)
show ip mroute A.B.C.D A.B.C.D (dense|sparse|) (count|summary|)
show ip mroute (vrf NAME|) (dense|sparse|) (count|summary|)
show ip mroute (vrf NAME|) A.B.C.D (dense|sparse|) (count|summary|)
show ip mroute (vrf NAME|) A.B.C.D A.B.C.D (dense|sparse|) (count|summary|)
Parameters
A.B.C.D
Source or Group IP address.
count
Route and packet count data.
summary
Provide abbreviated display.
dense
Show dense multicast routes.
sparse
Show sparse multicast routes.
vrf
Specify the VRF name.
Command Mode
Exec and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following is a sample output of this command displaying the IP multicast routing table, with and without specifying the group and source IP address:
rtr6#show ip mroute
IP Multicast Routing Table
Flags: I - Immediate Stat, T - Timed Stat, F - Forwarder installed
B - BIDIR
Timers: Uptime/Stat Expiry
Interface State: Interface (TTL)
(172.31.1.52, 224.0.0.13), uptime 00:09:39
Owner PIM, Flags: F
Incoming interface: eth1
Outgoing interface list:
eth2 (1)
The following is a sample output of this command displaying the packet count from the IP multicast routing table:
#show ip mroute count
IP Multicast Statistics
Total 1 routes using 132 bytes memory
Route limit/Route threshold: 2147483647/2147483647
Total NOCACHE/WRONGVIF/WHOLEPKT recv from fwd: 1/0/0
Total NOCACHE/WRONGVIF/WHOLEPKT sent to clients: 1/0/0
Immediate/Timed stat updates sent to clients: 0/0
Reg ACK recv/Reg NACK recv/Reg pkt sent: 0/0/0
Next stats poll: 00:01:10
Forwarding Counts: Pkt count/Byte count, Other Counts: Wrong If pkts
Fwd msg counts: WRONGVIF/WHOLEPKT recv
Client msg counts: WRONGVIF/WHOLEPKT/Imm Stat/Timed Stat sent
Reg pkt counts: Reg ACK recv/Reg NACK recv/Reg pkt sent
(10.10.1.52, 224.0.1.3), Forwarding: 2/19456, Other: 0
Fwd msg: 0/0, Client msg: 0/0/0/0, Reg: 0/0/0
The following is a sample output for this command displaying the IP multicast routing table in an abbreviated form:
#show ip mroute summary
IP Multicast Routing Table
Flags: I - Immediate Stat, T - Timed Stat, F - Forwarder installed
Timers: Uptime/Stat Expiry
Interface State: Interface (TTL)
(10.10.1.52, 224.0.0.13), 00:01:32/00:03:20, PIM-SM, Flags: TF
The following is a sample output for this command displaying the IP multicast routing table for Bidirectional routes:
#show ip mroute
IP Multicast Routing Table
Flags: I - Immediate Stat, T - Timed Stat, F - Forwarder installed
B - BIDIR
Timers: Uptime/Stat Expiry
Interface State: Interface (TTL)
(*, 225.0.0.0)/24, uptime 00:01:53
Owner PIM, Flags: FB
RPA ID: 4
Outgoing interface list:
vlan1.10 (1)
(*, 225.0.0.1)/32, uptime 00:00:20
Owner PIM, Flags: FB
RPA ID: 4
Outgoing interface list:
vlan1.10 (1)
vlan1.20 (1)
Table 1-4: Mroute pointers
Pointers | Description |
---|
I | Immediate statistics |
T | Timed statistics |
F | Forwarder installed |
B | Bidirectional |
Timers | • Uptime – route uptime. • Statistics Expiry –The time the routing table waits before updating statistics. |
Interface State | Interface Time to Live (TTL) |
Table 1-5: Show ip mroute output
Entry | Description |
---|
(a.d.c.d, 224.x.x.x) | Source Address paired with its Destination Multicast Group Address |
uptime | As stated. |
Owner | The owner is derived from the multicast group notable address (IANA). In the example above, the owner is specified as PIM because it is using the IANA address: 224.0.0.13. Other owners can be OSPF (224.0.0.5), IS-IS (224.0.0.19–21), and so on. |
Flags | The flags associated with this mroute table entry. |
Incoming interface | The name of the in coming interface (eth1, xe5/2, etc.). |
Outgoing interface list | A numbered list of the outgoing interfaces |
Table 1-6: Show ip mroute statistics received and sent
Entry | Description |
---|
NOCACHE | Number of No Cache messages received. |
WRONGVIF | The Virtual Host Interface (VIF) enables the router to send and receive IP multicast packets on several different interfaces at once. This is the count of wrong VIFs received. |
WHOLEPKT | When a source is multicasting a large volume data and the PIM router does not know about the particular Rendezvous Point (RP(G)), the PIM process will constantly receive WHOLEPKT notification from the kernel – this shows the count of such notifications. |