2-5
z
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.
z
Ensure that the VLANs already exist before configuring them to pass through a Hybrid port.
z
The default VLAN IDs of the Hybrid ports on the local and the peer devices must be the same.
Otherwise, packets cannot be transmitted properly.
Configuring a Trunk-Port-Based VLAN
A Trunk port may belong to multiple VLANs, and you can only perform this configuration in Ethernet port
view.
Follow these steps to configure the Trunk-port-based VLAN:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface interface-type
interface-number
—
Configure the port link type as
Trunk
port link-type
trunk
Required
Allow the specified VLANs to pass
through the current Trunk port
port trunk permit vlan
{
vlan-id-list
|
all
}
Required
By default, all Trunk ports only
allow packets of VLAN 1 to pass.
Configure the default VLAN for the
Trunk port
port trunk pvid vlan
vlan-id
Optional
VLAN 1 is the default by default.
z
To convert 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.
z
The default VLAN IDs of the Trunk ports on the local and peer devices must be the same.
Otherwise, packets cannot be transmitted properly.
Displaying and Maintaining Port-Based VLAN
To do…
Use the command…
Remarks
Display the hybrid or trunk ports
display port
{
hybrid
|
trunk
}
Available in any view.
Содержание S3100 Series
Страница 12: ...10 You can e mail your comments about product documentation to info h3c com We appreciate your comments...
Страница 74: ...7 7 Sysname ip http acl 2030...
Страница 270: ...1 51 Sysname GigabitEthernet1 0 1 port trunk permit vlan all...
Страница 287: ...1 14 the interface on which the packet actually arrived The RPF check succeeds and the packet is forwarded...
Страница 579: ...ii Configuration Example 2 4 QoS Profile Configuration Example 2 4...
Страница 713: ...1 22 Total associations 1...
Страница 823: ...1 16...
Страница 1054: ...i Table of Contents Appendix A Acronyms A 1...