display multicast forwarding-table
Use display multicast forwarding-table to display multicast forwarding entries.
Syntax
In standalone mode:
display multicast [ vpn-instance vpn-instance-name ] forwarding-table [ source-address [ mask { mask-length | mask } ] | group-address [ mask { mask-length | mask } ] | incoming-interface interface-type interface-number | outgoing-interface { exclude | include | match } interface-type interface-number | slot slot-number | statistics ] *
In IRF mode:
display multicast [ vpn-instance vpn-instance-name ] forwarding-table [ source-address [ mask { mask-length | mask } ] | group-address [ mask { mask-length | mask } ] | chassis chassis-number slot slot-number | incoming-interface interface-type interface-number | outgoing-interface { exclude | include | match } interface-type interface-number | statistics ] *
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays multicast forwarding entries on the public network.
source-address: Specifies a multicast source address.
group-address: Specifies a multicast group address in the range of 224.0.0.0 to 239.255.255.255.
mask-length: Specifies an address mask length. The default value is 32. For a multicast group address, the value range for this argument is 4 to 32. For a multicast source address, the value range for this argument is 0 to 32.
mask: Specifies an address mask. The default value is 255.255.255.255.
incoming-interface: Specifies the multicast forwarding entries that contain the specified incoming interface.
interface-type interface-number: Specifies an incoming interface by its type and number.
outgoing-interface: Specifies the multicast forwarding entries that contain the specified outgoing interface.
exclude: Specifies the multicast forwarding entries that do not contain the specified interface in the outgoing interface list.
include: Specifies the multicast forwarding entries that contain the specified interface in the outgoing interface list.
match: Specifies the forwarding entries that contain only the specified interface in the outgoing interface list.
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays multicast forwarding entries for the MPU.
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, this command displays multicast forwarding entries for the global active MPU. (In IRF mode.)
statistics: Displays statistics for the multicast forwarding table.
Examples
# Display multicast forwarding entries on the public network.
<Sysname> display multicast forwarding-table Total 1 entries, 1 matched 00001. (172.168.0.2, 227.0.0.1) Flags: 0x0 Uptime: 00:08:32, Timeout in: 00:03:26 Incoming interface: Vlan-interface10 Incoming sub-VLAN: VLAN 11 Outgoing sub-VLAN: VLAN 12 VLAN 13 List of 1 outgoing interfaces: 1: Vlan-interface20 Sub-VLAN: VLAN 21 VLAN 22 Matched 19648 packets(20512512 bytes), Wrong If 0 packet Forwarded 19648 packets(20512512 bytes)
Table 27: Command output
Field | Description |
---|---|
Total 1 entries, 1 matched | Total number of (S, G) entries, and the total number of matching (S, G) entries. |
00001 | Sequence number of the (S, G) entry. |
(172.168.0.2,227.0.0.1) | (S, G) entry. |
Flags | Entry flag. This field displays one flag or the sum of multiple flags. In this example, the value 0x0 means that the entry has only one flag 0x0. The following entries are available for an entry:
|
Uptime | Length of time for which the (S, G) entry has been up. |
Timeout in | Length of time in which the (S, G) entry will expire. |
Incoming interface | Incoming interface of the (S, G) entry. |
Incoming sub-VLAN | Incoming sub-VLAN of the super VLAN when the incoming interface of the (S, G) entry is the VLAN interface of this super VLAN. |
Outgoing sub-VLAN | Outgoing sub-VLAN of the super VLAN when the incoming interface of the (S, G) entry is the VLAN interface of this super VLAN. |
List of 1 outgoing interfaces | Outgoing interface list of the (S, G) entry. |
Sub-VLAN | Outgoing sub-VLAN of the super VLAN when the outgoing interface of the (S, G) entry is the VLAN interface of this super VLAN. |
Matched 19648 packets(20512512 bytes), Wrong If 0 packet | Number of packets (bytes) that match the (S, G) entry, and number of packets with incoming interface errors. The numbers are displayed as 0 if an outgoing interface of the (S, G) entry is on the specified slot. |
Forwarded 19648 packets(20512512 bytes) | Number of packets (bytes) that have been forwarded. The numbers are displayed as 0 if an outgoing interface of the (S, G) entry is on the specified slot. |
Related commands
reset multicast forwarding-table