-------------------------------------------------------------------------------
Total items displayed = 1
Run the
display mac-address blackhole
command to view the destination MAC addresses,
outbound interface numbers, and VLAN IDs of outbound interface in blackhole MAC address
entries.
<Huawei>
display mac-address blackhole
-------------------------------------------------------------------------------
MAC Address VLAN/Bridge Learned-From Type
-------------------------------------------------------------------------------
00e0-1234-5678 2/- - blackhole
-------------------------------------------------------------------------------
Total items displayed = 1
Run the
display mac-address aging-time
command to view the aging time of dynamic MAC
address entries.
<Huawei>
display mac-address aging-time
Aging time: 300 seconds
Run the
display mac-address summary
command to view the statistics about MAC address
entries.
<Huawei>
display mac-address summary
Mac Item of Lan Switch
---------------------------------------------------------------------
Slot Total Blackhole Static DynLoc DynRmt Secure Sticky Block Authen
---------------------------------------------------------------------
0 2 1 1 0 0 0 0 0 0
---------------------------------------------------------------------
sum: 2 1 1 0 0 0 0 0 0
Mac Item of Transparent Bridge
---------------------------------
Total Blackhole Static Dynamic
---------------------------------
0 0 0 0
6.4 Configuring Port Security
This section describes how to configure the port security function.
6.4.1 Establishing the Configuration Task
Applicable Environment
The port security function can prevent hosts with untrusted MAC addresses from connecting to
an interface of the AR3200. This function is applicable to networks that require high access
security.
Pre-configuration Tasks
None.
Data Preparation
To configure port security, you need the following data.
Huawei AR3200 Series Enterprise Routers
Configuration Guide - LAN
6 MAC Address Table Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
161