reset l2-multicast fast-forwarding cache

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

Syntax

In standalone mode:

reset l2-multicast fast-forwarding cache [ vlan vlan-id ] { { source-address | group-address } * | all } [ slot slot-number ]

In IRF mode:

reset l2-multicast fast-forwarding cache [ vlan vlan-id ] { { source-address | group-address } * | all } [ chassis chassis-number slot slot-number ]

Views

Any view

Predefined user roles

network-admin

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.

group-address: Specifies a multicast group address in the range of 224.0.1.0 to 239.255.255.255.

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

all: Specifies all Layer 2 multicast fast forwarding entries.

Examples

# Clear all Layer 2 multicast fast forwarding entries.

<Sysname> reset l2-multicast fast-forwarding cache all

# Clear the Layer 2 multicast fast forwarding entry for the multicast source and group (20.0.0.2, 225.0.0.2).

<Sysname> reset l2-multicast fast-forwarding cache 20.0.0.2 225.0.0.2

Related commands

display l2-multicast fast-forwarding cache