display l2-multicast fast-forwarding cache

Use display l2-multicast fast-forwarding cache to display Layer 2 multicast fast forwarding entries.

Syntax

In standalone mode:

display l2-multicast fast-forwarding cache [ vlan vlan-id ] [ source-address | group-address ] * [ slot slot-number ]

In IRF mode:

display l2-multicast fast-forwarding cache [ vlan vlan-id ] [ source-address | group-address ] * [ chassis chassis-number slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

vlan vlan-id: Specifies a VLAN by its VLAN ID in the range of 1 to 4094.

source-address: Specifies a multicast source address. If you do not specify a multicast source, this command displays Layer 2 multicast fast forwarding entries for all multicast sources.

group-address: Specifies a multicast group address in the range of 224.0.1.0 to 239.255.255.255. If you do not specify a multicast group, this command displays Layer 2 multicast fast forwarding entries for all multicast groups.

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays Layer 2 multicast fast 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 Layer 2 multicast fast forwarding entries for the global active MPU. (In IRF mode.)

Examples

# Display Layer 2 multicast fast forwarding entries.

<Sysname> display l2-multicast fast-forwarding cache
Total 1 entries, 1 matched

(10.1.1.2,225.1.1.1)
     Status      : Enable                VLAN            : 1
     Source port : 9876                  Destination port: 5432
     Protocol    : 17                    Flag            : 0x2
     Ingress port: HundredGigE1/0/2
     List of 1 egress ports:
         HundredGigE1/0/3
         Status: Enable                Flag: 0x10

Table 8: Command output

Field

Description

Total 1 entries, 1 matched

Total number of (S, G) entries in the Layer 2 multicast fast forwarding table, and the total number of matching entries.

(10.1.1.2, 225.1.1.1)

(S, G) entry in the Layer 2 multicast fast forwarding table.

Protocol

Protocol number.

VLAN

VLAN ID.

Flag

Flag for the (S, G) entry or the outgoing port.

This field displays one flag or the sum of multiple flags. In this example, the value 0x2 means that the entry has only one flag 0x2.

The following flags are available for an entry:

  • 0x1—The entry is created because of packets passed through between cards.

  • 0x2—The entry is added by multicast forwarding.

The following flags are available for an outgoing interface:

  • 0x1—The port is added to the entry because of packets passed through between cards.

  • 0x2—The port is added to an existing entry.

  • 0x10—The port is associated with the entry.

  • 0x20—The port is to be deleted.

Status

Status of the (S, G) entry or the outgoing port:

  • Enabled—Available.

  • Disabled—Unavailable.

Ingress port

Incoming port of the (S, G) entry.

List of 1 egress ports

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

Related commands

reset l2-multicast fast-forwarding cache all