#
sysname Quidway
#
vlan batch 2
#
vlan 2
mac-limit maximum 100 action forward
#
interface GigabitEthernet1/0/1
port hybrid pvid vlan 2
port hybrid untagged vlan 2
#
interface GigabitEthernet2/0/1
port hybrid pvid vlan 2
port hybrid untagged vlan 2
#
return
7.14.3 Example for Configuring the Limitation on MAC Address
Learning Based on VSIs
Networking Requirements
To ensure the security for the users within the VSI, configure the limitation on MAC address
learning in the VSI named huawei.
Figure 7-8 Networking diagram for configuring the limitation on MAC address learning based
on VSI
Simulated
VLAN
User
network 1
User
network 2
VSI : huaweiVSI : huawei
Configuration Roadmap
The configuration roadmap is as follows:
1. Create a VSI.
2. Configure the limitation on MAC address learning based on VSIs.
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.
374