No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
port-security protect-action (AP wired port profile view)

port-security protect-action (AP wired port profile view)

Function

The port-security protect-action command configures a protection action for the system to perform when the number of learned MAC addresses reaches the limit.

The undo port-security protect-action command restores the default protection action.

The default action is restrict.

Format

port-security protect-action { protect | restrict }

undo port-security protect-action

Parameters

Parameter

Description

Value

protect

Discards packets with new source MAC addresses when the number of learned MAC addresses reaches the limit.

-

restrict

Discards packets with new source MAC addresses and sends a trap message when the number of learned MAC addresses reaches the limit.

-

Views

AP wired port profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After enabling port security, you can run the port-security protect-action command to configure the action performed on the interface when the number of learned MAC addresses reaches the limit.

Prerequisites

Port security has been enabled by using the port-security enable command on the interface.

Precautions

If you run the port-security protect-action command multiple times in the same interface view, only the latest configuration takes effect.

Example

# Set the protection action on AP wired port to protect.

<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 protect-action protect
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 114250

Downloads: 83

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next