To clear the Statistics of VLAN Packets, run the following reset command in the user view:
Procedure
l Run the reset vlan vlan-id statistics [ slot slot-id ] command to clear packets of a specified
VLAN statistics.
----End
3.12 Configuration Examples
This section provides several examples of VLAN configuration.
3.12.1 Example for Configuring Interface-based VLANs
It is easy to divide a LAN into VLANs based on ports. After ports are added to different VLANs,
users in the same VLAN can directly communicate with each other, whereas users in different
VLANs cannot directly communicate with each other.
Networking Requirements
An enterprise has multiple departments. It is required that departments in charge of the same
service can communicate with each other, and departments in charge of different services cannot
communicate with each other.
As shown in Figure 3-10, the requirements are as follows:
l Department 1 and Department 2 are isolated from Department 3 and Department 4.
l Department 1 and Department 2 can communicate with each other.
l Department 3 and Department 4 can communicate with each other.
Figure 3-10 Networking diagram for configuring interface-based VLANs
GE1/0/1
GE1/0/2
GE1/0/3
GE1/0/4
Group 2
VLAN 3
Switch
VLAN 3
Network
VLAN 2
Department 3
Department 2
Department 4
Department 1
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 3 VLAN Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
118