l2-multicast egress statistics enable

Function

The l2-multicast egress statistics enable command enables a device to collect statistics about downstream Layer 2 IPv4 multicast packets based on a slot.

The undo l2-multicast egress statistics enable command disables a device from collecting statistics about downstream Layer 2 IPv4 multicast packets based on a slot.

By default, a device is disabled from collecting statistics about downstream Layer 2 IPv4 multicast packets based on a slot.

Format

l2-multicast egress statistics enable slot slot-id

undo l2-multicast egress statistics enable slot slot-id

Parameters

Parameter Description Value
slot slot-id

Specifies a slot ID. The value range varies with the hardware of the router.

The value is a string of 1 to 15 characters, spaces not supported.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

To enable a device to collect statistics about downstream Layer 2 IPv4 multicast packets based on a slot, run the l2-multicast egress statistics enable command. After the function is enabled, you can run the display l2-multicast egress statistics command to check statistics about downstream Layer 2 IPv4 multicast packets.

Follow-up Procedure

Run the display l2-multicast egress statistics command to check statistics about downstream Layer 2 IPv4 multicast packets.

Example

# Enable a device to collect statistics about downstream Layer 2 IPv4 multicast packets based on a specified slot.
<HUAWEI> system-view
[~HUAWEI] l2-multicast egress statistics enable slot 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >