The display multicast routing-table command displays information about a multicast routing table.
display multicast [ vpn-instance vpn-instance-name | all-instance ] routing-table [ group-address [ mask { group-mask | group-mask-length } ] | source-address [ mask { source-mask | source-mask-length } ] | incoming-interface { interface-type interface-number | register } | outgoing-interface { include | exclude | match } { interface-type interface-number | register | none | vpn-instance vpn-instance-name } ] * [ outgoing-interface-number [ number ] ]
| Parameter | Description | Value |
|---|---|---|
| vpn-instance vpn-instance-name | Specifies a VPN instance. vpn-instance-name specifies the name of the VPN instance. | The name is a string of 1 to 31 characters. |
| all-instance | Specifies all the instances. | - |
| group-address | Indicates the multicast group address. | The address is in dotted decimal notation. The value ranges from 224.0.0.0 to 239.255.255.255. |
| mask | Specifies the mask of the multicast group or source address. | - |
| group-mask | Indicates the mask of a specified group address. | The address mask is in dotted decimal notation. |
| group-mask-length | Indicates the mask length of a specified group address. | The value is a decimal integer that ranges from 4 to 32. |
| source-address | Indicates the multicast source address. | The address is in dotted decimal notation. |
| source-mask | Indicates the mask of the specified source address, in dotted decimal notation. | The address mask is in dotted decimal notation. |
| source-mask-length | Indicates the mask length of a specified source address. | The value is a decimal integer that ranges from 0 to 32. |
| incoming-interface | Indicates the upstream interface of a multicast routing entry. | - |
| interface-type interface-number | Indicates the type and the number of an interface. | - |
| register | Indicates the register interface of a multicast routing entry. | - |
| outgoing-interface | Indicates the downstream interface of a multicast routing entry. | - |
| include | Indicates the (S, G) entries whose downstream interface list contains specified downstream interfaces. | - |
| exclude | Indicates the (S, G) entries whose downstream interface list does not contain specified downstream interfaces. | - |
| match | Indicates (S, G) entries whose the downstream interface list contains only one interface that is the same as a specified downstream interface. | - |
| none | Indicates that the downstream interface list is null. | - |
| outgoing-interface-number | Indicates the number of downstream interfaces of multicast routing entries. | - |
| number | Specifies the number of downstream interfaces. | The value is an integer that ranges from 0 to 2048. |
Usage Scenario
The display multicast routing-table command is used to display the information of a multicast routing table.
Precautions
The display multicast routing-table command is used to display information about a multicast routing table. The display multicast forwarding-table command is used to display the information of a multicast forwarding table.
If vpn-instance or all-instance is not specified, only the public network instance is displayed.
The following is the checklist to check the consistency:
Each (S, G) entry has a unique upstream interface, indicating the interface through which multicast data is received.
Each (S, G) entry has a downstream interface list, indicating the interfaces through which multicast data is forwarded.
When the display multicast routing-table command is used, the following situations occur:
If vpn-instance or all-instance is not specified, information about the multicast routing table of the public network instance is displayed.
If group-address is specified, information about the multicast routing table to which a specified multicast group corresponds is displayed.
If group-address mask is specified, information about the multicast routing table to which a multicast group address within a specified address range corresponds is displayed.
If source-address is specified, information about the multicast routing table to which a specified multicast source address corresponds is displayed.
If source-address mask is specified, information about the multicast routing table to which a multicast source address within a specified address range corresponds is displayed.
If outgoing-interface-number is specified, the number of downstream interfaces of multicast routing entries is displayed.
If number is specified, information about the multicast groups corresponding to the number of downstream interfaces is displayed.
<sysname> display multicast routing-table
Multicast routing table of VPN-Instance: public net
Total 1 entry
00001. (172.16.0.2, 227.0.0.1)
Uptime: 00:00:28
Upstream Interface: GigabitEthernet0/0/1
List of 2 downstream interfaces
1: GigabitEthernet0/0/2
2: GigabitEthernet0/0/3
Item |
Description |
|---|---|
Multicast routing table of VPN-Instance |
Indicates the VPN instance to which the multicast routing information corresponds. |
Total 1 entry |
Indicates the number of eligible routing entries. |
00001 |
Indicates the sequence number of the (S, G) entry. |
(172.16.0.2, 227.0.0.1) |
Indicates the (S, G) entry in the multicast routing table. |
Uptime |
Indicates the period during which the (S, G) entry exists. |
Upstream Interface |
Indicates the upstream interface of the (S, G) entry. |
List of 2 downstream interfaces |
Indicates the downstream interface list. |
<sysname> display multicast routing-table outgoing-interface-number
Multicast routing table of VPN-Instance: public net
Total 2 entries
00001. (10.1.1.22, 232.1.1.1)
Uptime: 00:00:07
Upstream Interface: GigabitEthernet0/0/6
List of 2048 downstream interfaces
00002. (10.1.1.22, 232.1.2.1)
Uptime: 00:00:07
Upstream Interface: GigabitEthernet0/0/6
List of 2048 downstream interfaces
Item |
Description |
|---|---|
List of 2048 downstream interfaces |
Indicates the number of downstream interfaces of multicast routing entries. |