< Home

port-security mac-address sticky (AP wired port profile view)

Function

The port-security mac-address sticky enables the sticky MAC function on an interface.

The undo port-security mac-address sticky disables the sticky MAC function on an interface.

By default, the sticky MAC function is disabled on an interface.

Format

port-security mac-address sticky

undo port-security mac-address sticky

Parameters

None.

Views

AP wired port profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the port security function is enabled on an interface using the port-security enable command, the MAC addresses learned by the interface are converted into dynamic secure MAC addresses.

After the sticky MAC function is enabled on the interface, the dynamic secure MAC addresses learned by the interface are converted into sticky MAC addresses.

Before the number of sticky MAC addresses reaches the limit on the interface, the MAC addresses learned subsequently are still converted into sticky MAC addresses. When the number of sticky MAC addresses reaches the limit, non-sticky MAC addresses are discarded. In addition, the system determines whether to send a trap message based on the configuration of the interface protection mode.

Prerequisites

The port security function has been enabled using the port-security enable command on the interface.

Example

# Enable the sticky MAC function.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] wired-port-profile name wire1
[HUAWEI-wlan-wired-port-wire1] mode endpoint
Warning: If the AP goes online through a wired port, the incorrect port mode con
figuration will cause the AP to go out of management. This fault can be recovere
d only by modifying the configuration on the AP. Continue? [Y/N]:y              
Warning: This action will take effect after resetting AP. 
[HUAWEI-wlan-wired-port-wire1] port-security enable
[HUAWEI-wlan-wired-port-wire1] port-security mac-address sticky
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >