Configuring The Sticky Mac Function On An Interface - Huawei AR530 series Configuration Manual

Industrial switch routers ethernet switching
Hide thumbs Also See for AR530 series:
Table of Contents

Advertisement

Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching

1.6.2.2 Configuring the Sticky MAC Function on an Interface

Context
If a network requires high access security, you can configure port security on specified interfaces.
MAC addresses learned by these interfaces change to secure dynamic MAC addresses or sticky
MAC addresses. When the number of learned MAC addresses reaches the limit, the interface
does not learn new MAC addresses and allows only the devices with the learned MAC addresses
to communicate with the industrial switch router. This prevents devices with untrusted MAC
addresses from accessing these interfaces, improving security of the industrial switch router and
the network.
The sticky MAC function changes MAC addresses learned by an interface to sticky MAC
addresses. Sticky MAC addresses will not be aged out. After you save the configuration and
restart the industrial switch router, sticky MAC addresses still exist.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface interface-type interface-number
The interface view is displayed.
Step 3 Run:
port-security enable
Port security is enabled.
By default, port security is disabled on an interface.
Step 4 Run:
port-security mac-address sticky
The sticky MAC function is enabled on the interface.
By default, the sticky MAC function is disabled on an interface.
Step 5 (Optional) Run:
port-security max-mac-num max-number
The limit on the number of sticky MAC addresses is set on the interface.
By default, the limit on the number of sticky MAC addresses is 1.
Step 6 (Optional) Run:
port-security protect-action { protect | restrict | shutdown }
The protection action is configured.
The default action is restrict.
The protection actions are as follows:
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 MAC Address Table Configuration
16

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar550 series

Table of Contents