< Home

collect dynamic mac disable

Function

The collect dynamic mac disable command disables the device from reporting dynamic MAC address information to an NMS.

The undo collect dynamic mac disable command enables the device to report dynamic MAC address information to an NMS.

By default, the device reports dynamic MAC address information to an NMS after the collect-item user-data enable command is run to enable the device to report traffic statistics about wired users to the NMS.

Format

collect dynamic mac disable

undo collect dynamic mac disable

Parameters

None

Views

System view, Ethernet interface view, GE interface view, XGE interface view, multi-GE interface view, 25GE interface view, 40GE interface view, 100GE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the collect-item user-data enable command is run to enable the device to report traffic statistics about wired users to an NMS, the device also reports information about online users who go online after successful authentication or without authentication. The information about users who go online without authentication includes dynamic MAC addresses learned by the device. Layer 2 network devices usually learn a large number of dynamic MAC addresses, which will be sent to the NMS if the collect-item user-data enable command is configured. As a result, large amounts of resources on the NMS will be occupied. To reduce the usage of NMS resources, you can run the collect dynamic mac disable command to disable the device from reporting dynamic MAC address information to the NMS.

Precautions

  • If this command is run in the system view, it takes effect on all interfaces of the device. If this command is run in the view of an interface, it takes effect only on the current interface.
  • This command does not take effect on the device's interface connected to the NMS.

Example

# Disable all interfaces on the device from reporting dynamic MAC address information to the NMS.

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