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

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. (In standalone mode.)

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
     List of 1 outgoing interfaces:
       1: Vlan-interface20
     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:

  • 0x0—The entry is in correct state.

  • 0x1—The entry is in inactive state.

  • 0x2—The entry is null.

  • 0x4—The entry fails to update.

  • 0x8—Outgoing interface information fails to update for the entry.

  • 0x10—Data-group information fails to update for the entry.

  • 0x20—A register outgoing interface is available.

  • 0x40—The entry is to be deleted.

  • 0x80—The entry is in registration suppression state.

  • 0x100—The entry is being deleted.

  • 0x200—The entry is in GR state.

  • 0x800—The entry has the associated ARP entry for the multicast source address.

  • 0x400000—The entry is created by the IGMP proxy.

  • 0x2000000—The entry is a BIDIR-PIM forwarding 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.

List of 1 outgoing interfaces

Outgoing interface list of the (S, G) entry.

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.

Forwarded 19648 packets(20512512 bytes)

Number of packets (bytes) that have been forwarded.

Related commands

reset multicast forwarding-table