mrinfo
To query neighboring multicast routers peering with the local router, use the mrinfo command in EXEC mode.
mrinfo [ipv4] host-address [source-address]
Syntax Description
ipv4 |
(Optional) Specifies IPv4 address prefixes. |
||
host-address |
Can be either the Domain Name System (DNS) name or IP address of a multicast router entered in A.B.C.D format.
|
||
source-address |
(Optional) Source address used on multicast routing information (mrinfo) requests. If omitted, the source is based on the outbound interface for the destination. |
Command Default
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release |
Modification |
---|---|
Release 2.0 |
This command was introduced. |
Release 3.5.0 |
The host-address argument was changed from optional to required. |
Usage Guidelines
The mrinfo command determines which neighboring multicast routers are peering with a multicast router.
You can query a multicast router with this command. The output format is identical to the multicast routed version of Distance Vector Multicast Routing Protocol (DVMRP). (The mrouted software is the UNIX software that implements DVMRP.)
Task ID
Task ID |
Operations |
---|---|
multicast |
execute |
Examples
The following is sample output from the mrinfo command. The first line shows the multicast configuration with version number and flags Parent Multicast Agent (PMA). The flags mean that the configuration is prune capable, mtrace capable, and SNMP capable. For each neighbor of the queried multicast router, the IP address of the queried router is displayed, followed by the IP address of the neighbor. The metric (cost of connect) and the threshold (multicast time to live) are displayed. Other information is available, such as whether this router is
- Running the PIM protocol
- An IGMP querier
- A leaf router
RP/0/RP0/CPU0:router# mrinfo 192.168.50.1
192.168.50.1 [version 0.37.0] [flags: PMA]:
172.16.1.1 -> 172.16.1.1 [1/0/pim/querier/leaf]
172.16.2.2 -> 172.16.2.2 [1/0/pim/querier/leaf]
192.168.50.1 -> 192.168.50.1 [1/0/pim/querier]
192.168.50.1 -> 192.168.50.101 [1/0/pim/querier]
192.168.40.101 -> 192.168.40.1 [1/0/pim]
192.168.40.101 -> 192.168.40.101 [1/0/pim]