< Home

mac-diagnose enable

Function

The mac-diagnose enable command enables diagnostic test on the MAC address learning capacity.

The mac-diagnose disable command disables diagnostic test on the MAC address learning capacity.

The undo mac-diagnose enable command disables diagnostic test on the MAC address learning capacity.

By default, diagnostic test on the MAC address learning capacity is enabled.

Format

mac-diagnose enable

mac-diagnose disable

undo mac-diagnose enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To rectify a Layer 2 communication fault on the device, run the mac-diagnose enable command to enable diagnostic test on the MAC address learning capacity.

Precautions

Using the mac-diagnose enable command, you can enable diagnostic test on the MAC address learning capacity. The mac-populate and mac-purge operations can be performed only when diagnostic test on the MAC address learning capacity is enabled. Otherwise, the mac-populate and mac-purge operations cannot be performed. In addition, information and statistics on populated OAM MAC address are cleared.

Example

# Enable diagnostic test on the MAC address learning capacity.

<HUAWEI> system-view
[HUAWEI] mac-diagnose enable

# Disable diagnostic test on the MAC address learning capacity.

<HUAWEI> system-view
[HUAWEI] mac-diagnose disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >