Operation Manual – VLAN
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 VLAN Configuration
1-14
Note:
This feature is only applicable to Hybrid ports.
Follow these steps to configure an IP-subnet-based VLAN:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter VLAN view
vlan
vlan-id
—
Configure the association
between an IP subnet with
the current VLAN
ip-subnet-vlan
[
ip-subnet-index
]
ip
ip-address
[
mask
]
Required
The configured IP network
segment or IP address
cannot be a multicast
network segment or a
multicast address
Return to system view
quit
—
Enter
Ethernet port
view
interface interface-type
interface-number
Enter
Ethernet
port view
or port
group
view
Enter port
group view
port-group
{
manual
port-group-name
|
aggregation agg-id
}
Use either command;
In Ethernet port view, the
subsequent configurations
only apply to the current
port; in port group view, the
subsequent configurations
apply to all ports in the port
group
Configure port link type as
Hybrid
port link-type
hybrid
Required
Allow an IP-subnet-based
VLAN to pass through the
current Hybrid port
port hybrid
vlan
vlan-id-list
{
tagged
|
untagged
}
Required
Configure the association
between the Hybrid port
and the IP-subnet-based
VLAN
port hybrid
ip-subnet-vlan
vlan
vlan-id
Required
1.7 Displaying and Maintaining VLAN
To do...
Use the command…
Remarks
Display the information
about specific VLANs
display
vlan
[
vlan-id1
[
to
vlan-id2
] |
all
|
dynamic
|
reserved
|
static
]
Available in any
view
Display the information
about a VLAN interface
display
interface
Vlan-interface
[
vlan-interface-id
]
Available in any
view