EasyManua.ls Logo

Huawei AR3200 Series - Page 190

Huawei AR3200 Series
275 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuration Roadmap
The configuration roadmap is as follows:
1. Create VLANs on the Router and add the interfaces to the VLANs.
2. Set the limit on the number of MAC addresses learned in VLAN 200.
Data Preparation
To complete the configuration, you need the following data:
l VLAN that Ethernet2/0/1 belongs to: VLAN 100 and VLAN 200
l VLAN that Ethernet2/0/2 belongs to: VLAN 200
l Limit on the number of MAC addresses learned in VLAN 200: 500
l Action performed when the limit is reached: generate an alarm
Procedure
Step 1 Configure a MAC address limiting rule in VLAN 200.
# Add Ethernet2/0/1 to VLAN 100 and VLAN 200; add Ethernet2/0/2 to VLAN 200.
<Huawei> system-view
[Huawei] vlan batch 100 200
[Huawei] interface ethernet 2/0/1
[Huawei-Ethernet2/0/1] port link-type trunk
[Huawei-Ethernet2/0/1] port trunk allow-pass vlan 100 200
[Huawei-Ethernet2/0/1] quit
[Huawei] interface ethernet 2/0/2
[Huawei-Ethernet2/0/2] port link-type trunk
[Huawei-Ethernet2/0/2] port trunk allow-pass vlan 200
[Huawei-Ethernet2/0/2] quit
# Configure the following MAC address limiting rule in VLAN 200:
l A maximum of 500 MAC addresses can be learned.
l When the number of learned MAC addresses reaches the limit, the Router forwards packets
with new source MAC addresses and generates an alarm, but does not add the new MAC
addresses to the MAC address table.
[Huawei] vlan 200
[Huawei-vlan200] mac-limit maximum 500 alarm enable
[Huawei-vlan200] quit
Step 2 Verify the configuration.
# Run the display mac-limit command in any view to check whether the MAC address limiting
rule is successfully configured.
<Huawei> display mac-limit
-----------------------------------------------------------------------
PORT VLAN Maximum Action Alarm
-----------------------------------------------------------------------
- 200 500 forward enable
-----------------------------------------------------------------------
----End
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.
179

Table of Contents

Related product manuals