1-14
To do… Use the command… Remarks
Associate an IP subnet
with the current VLAN
ip-subnet-vlan
[ ip-subnet-index ] ip
ip-address [ mask ]
Required
The IP network segment or IP address to
be associated with a VLAN cannot be a
multicast network segment or a multicast
address.
Return to system view
quit
—
Enter
Ethernet
interface view
interface interface-type
interface-number
Enter Layer-2
aggregate
interface view
interface
bridge-aggregation
interface-number
Enter
interface
view or
port
group
view
Enter port
group view
port-group manual
port-group-name
Required
Use either command.
z In Ethernet interface view, the
subsequent configurations apply to
the current port.
z In port group view, the subsequent
configurations apply to all ports in the
port group.
z In Layer-2 aggregate interface view,
the subsequent configurations apply
to the Layer-2 aggregate interface and
all its member ports.
Configure port link type as
hybrid
port link-type hybrid
Required
Configure the hybrid
port(s) to permit the
specified IP subnet-based
VLANs to pass through
port hybrid vlan
vlan-id-list { tagged |
untagged }
Required
Associate the hybrid
port(s) with the specified
IP subnet-based VLAN
port hybrid
ip-subnet-vlan vlan
vlan-id
Required
After you configure a command on a Layer-2 aggregate interface, the system starts applying the
configuration to the aggregate interface and its aggregation member ports. If the system fails to do that
on the aggregate interface, it stops applying the configuration to the aggregation member ports. If it fails
to do that on an aggregation member port, it simply skips the port and moves to the next port.
Displaying and Maintaining VLAN
To do... Use the command… Remarks
Display VLAN information
display vlan [ vlan-id1 [ to vlan-id2 ] |
all | dynamic | interface
interface-type
interface-number.subnumber |
reserved | static ]
Available in any view
Display VLAN interface
information
display interface vlan-interface
[ vlan-interface-id ]
Available in any view
Display hybrid ports or trunk
ports on the device
display port { hybrid | trunk } Available in any view