Operation Manual – VLAN
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 VLAN Configuration
1-15
To do...
Use the command…
Remarks
Display the protocol
information and protocol
indexes of specified
VLANs
display protocol-vlan vlan
{
vlan
-
id
[
to vlan
-
id
]
| all
}
Available in any
view
Display protocol-based
VLAN information on
specified interfaces
display protocol-vlan interface
{
interface-type interface-number
[
to
interface-type
interface-number
] |
all
}
Available in any
view
Display the
IP-subnet-based VLAN
information and IP subnet
indexes of specified
VLANs
display ip-subnet-vlan vlan
{
vlan-id
[
to
vlan-id
] |
all
}
Available in any
view
Display the
IP-subnet-based VLAN
information and IP subnet
index of specified ports
display ip-subnet-vlan
interface
{
interface-type
interface-number
[
to
interface-type interface-number
|
all
}
Available in any
view
Clear the statistics on a
VLAN interface
reset counters interface
Vlan-interface
[
vlan-interface-id
]
Available in user
view
1.8 VLAN Configuration Example
I. Network requirements
z
Device A connects to Device B through Trunk port Ethernet 1/0/1;
z
The default VLAN ID of the port is 100;
z
This port allows packets from VLAN 2, VLAN 6 through VLAN 50, and VLAN 100
to pass through.
II. Network diagram
Figure 1-4
Network diagram for port-based VLAN configuration
III. Configuration procedure
1)
Configure Device A
# Create VLAN 2, VLAN 6 through VLAN 50, and VLAN 100.
<DeviceA> system-view
[DeviceA] vlan 2