EasyManua.ls Logo

Huawei quidway s7700 - Page 390

Huawei quidway s7700
648 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 a VLAN and add interfaces to the VLAN.
2. Configure the limitation on MAC address learning based on VLANs.
Data Preparation
To complete the configuration, you need the following data:
l VLAN to which the interfaces belong: VLAN 2
l User interfaces: GE 1/0/1 and GE 2/0/1
l Maximum number of learned MAC addresses: 100
Procedure
Step 1 Configure the limitation on MAC address learning.
# Add GE 1/0/1 and GE 2/0/1 to VLAN 2.
<Quidway> system-view
[Quidway] vlan 2
[Quidway-vlan2] quit
[Quidway] interface gigabitethernet 1/0/1
[Quidway-GigabitEthernet1/0/1] port hybrid pvid vlan 2
[Quidway-GigabitEthernet1/0/1] port hybrid untagged vlan 2
[Quidway-GigabitEthernet1/0/1] quit
[Quidway] interface gigabitethernet 2/0/1
[Quidway-GigabitEthernet2/0/1] port hybrid pvid vlan 2
[Quidway-GigabitEthernet2/0/1] port hybrid untagged vlan 2
[Quidway-GigabitEthernet2/0/1] quit
# Configure the rule of limiting MAC address learning in VLAN 2: A maximum of 100 MAC
addresses can be learned; packets are still forwarded and an alarm is generated when the number
of learned MAC addresses reaches the limit, but new MAC addresses are not added to the MAC
address table.
[Quidway] vlan 2
[Quidway-vlan2] mac-limit maximum 100 action forward alarm enable
[Quidway-vlan2] quit
Step 2 Verify the configuration.
# Run the display mac-limit command in any view. You can check whether the rule of limiting
MAC address learning is successfully configured.
<Quidway> display mac-limit
MAC Limit is enabled
Total MAC Limit rule count : 1
PORT VLAN/VSI/SI SLOT Maximum Rate(ms) Action Alarm
----------------------------------------------------------------------------
- 2 - 100 - forward enable
----End
Configuration Files
The following lists the configuration file of the Switch.
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 7 MAC Address Table Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
373

Table of Contents

Other manuals for Huawei quidway s7700

Related product manuals