< Home

reset mac-address

Function

The reset mac-address command deletes all dynamic, dynamic secure, and sticky MAC address entries from an AP's wired interface.

Format

reset mac-address { ap-id ap-id | ap-name ap-name } interface-type interface-number

Parameters

Parameter

Description

Value

ap-id ap-id

Deletes all dynamic, dynamic secure, and sticky MAC address entries from the wired interface of the AP with a specified ID.

The AP ID must exist.

ap-name ap-name

Deletes all dynamic, dynamic secure, and sticky MAC address entries from the wired interface of the AP with a specified name.

The AP name must exist.

interface-type interface-number

Deletes all dynamic, dynamic secure, and sticky MAC address entries from a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the number of the outbound interface.
The following types of outbound interfaces are supported:
  • Eth-Trunk
  • Ethernet
  • Gigabitethernet
  • MultiGE
  • XGigabitethernet

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the reset mac-address command to delete all dynamic MAC address entries from an AP's wired interface. If the port security and sticky MAC functions are enabled, dynamic secure MAC address and sticky MAC address entries are also deleted.

Example

# Delete all dynamic, dynamic secure, and sticky MAC address entries from the wired interface of the AP with ID 1.

<HUAWEI> reset mac-address ap-id 1 ethernet 0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >