Operation Manual – User Access
H3C SecPath Series Security Products
Chapter 4 VLAN Configuration
4-4
Table 4-2
Displaying and debugging VLAN
Operation
Command
Display the maximum number of
processed packets configured on a
specified VLAN
display
vlan max-packet-process
vid
Display the packet statistics of the
specified VLAN, including the received
and sent packet numbers
display
vlan statistics vid vid
Display the VLAN configuration
information on an interface
display
vlan interface interface-type
interface-num
Clear the packet statistics of specified
VLAN
reset
vlan statistics vid vid
4.4 Typical VLAN Configuration Example
I. Network requirements
The following is a configuration example of layer-3 transmission (via subinterfaces). As
shown in the following figure, the VLAN attributes of ports are specified on Switch 1 and
Switch 2, thus the workstations A, B, C and D connected to these Switches belong to
VLAN 10 or VLAN 20. The following is required:
z
The addresses of subinterfaces Ethernet 3/0/0.1, Ethernet3/0/0.2, Ethernet4/0/0.1,
and Ethernet4/0/0.2 are 1.0.0.1, 2.0.0.1, 3.0.0.1, and 4.0.0.1 respectively.
z
Communication is available between workstations A and B as well as between C
and D, that is, workstations in different VLANs can communicate with each other
through the same Switch.
z
Communication is available between workstations A and C, as well as between B
and D, that is, workstations in the same VLAN can communicate with each other
through different Switches.
z
Communications can be carried out between workstations A and D, and between
B and C, that is, different switches and different VLANs can communicate with
each other.