mru statistic enable

Function

The mru statistic enable command enables an interface to collect MRU-based packet loss statistics.

The undo mru statistic enable command disables an interface from collecting MRU-based packet loss statistics.

By default, an interface is disabled from collecting MRU-based packet loss statistics.

Format

mru statistic enable

undo mru statistic enable

Parameters

None

Views

100GE interface view, 10G LAN interface view, 25GE interface view, 40GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE sub-interface view, GE electrical interface view, Global-VE layer2 subinterface view, Global VE sub-interface view, PW-VE sub-interface view, VBDIF interface view, VE layer2 subinterface view, VE sub-interface view, VLANIF interface view, Layer 2 sub-interface view, Management interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

An MRU-configured interface discards packets if the size of the received packets is longer than the interface MRU. Before checking MRU-based packet loss statistics on an interface, run the mru statistic enable command to enable the interface to collect MRU-based packet loss statistics.

Prerequisites

The maximum receive unit (MRU) for an interface has been enabled using the mru command.

Example

# Enable GE 0/1/1 to collect MRU-based packet loss statistics.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet0/1/1
[*HUAWEI-GigabitEthernet0/1/1] mru 1500
[*HUAWEI-GigabitEthernet0/1/1] mru statistic enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >