494
C
24: VLAN C
HAPTER
Configuring the
Hybrid-Port-Based VLAN
Displaying and
Maintaining VLAN
ONFIGURATION
A Hybrid port may belong to multiple VLANs, and this configuration can only be
performed in Ethernet port view or port group view.
Follow the following steps to configure the Hybrid-port-based VLAN:
To do...
Enter system view
Enter Ethernet
Enter Ethernet
port view or
port view
port group
Enter port
view
group view
Configure the port link type as
Hybrid
Allow a specified VLAN to pass
through the current Hybrid
port
Configure the default VLAN of
the Hybrid port
n
To configure a Trunk port into a Hybrid port (or vice versa), you need to use the
■
Access port as a medium. For example, the Trunk port has to be configured as
an Access port first and then a Hybrid port.
Ensure that a VLAN already exists before configuring it to pass through a
■
certain Hybrid port.
The default VLAN ID on the Hybrid ports of the local and the peer devices must
■
be the same. Otherwise, packets of the local default VLAN cannot be
transmitted properly.
Refer to
"Aggregation Port Group" on page 349
■
groups.
To do...
Display VLAN information
Display VLAN interface
information
Clear the statistics on a VLAN
interface
n
The reset counters interface command can be used to clear the statistics on a
VLAN interface. For more information, refer to
on page
89.
Use the command...
system-view
interface interface-type
interface-number
port-group aggregation
agg-id
port link-type hybrid
port hybrid vlan vlan-id-list
{ tagged | untagged }
port hybrid pvid vlan
vlan-id
Use the command...
display vlan [ vlan-id1 [ to
vlan-id2 ] | all | dynamic |
interface interface-type
interface-number.subnumber |
reserved | static]
display interface vlan-interface
[ vlan-interface-id ]
reset counters interface
[ interface-type
[ interface-number ] ]
"Ethernet Interface Configuration"
Remarks
-
User either command
Configured in Ethernet port
view, the setting is effective
on the current port only;
configured in port group
view, the setting is effective
on all ports in the port group.
Required
Required
By default, all Hybrid ports
belong to VLAN 1
Optional
VLAN 1 is the default by
default
for information about port
Remarks
Available in any view
Available in any view
Available in user view