R3204P16-HP Load Balancing Module Network Management Command Reference-6PW101
55
Parameters
vlan-id-list: Specifies a list of VLANs that the hybrid ports will be assigned to, in the format of [ vlan-id1
[ to vlan-id2 ] ]&<1-10>, where vlan-id ranges from 1 to 4094 and &<1-10> indicates that you can
specify up to 10 VLAN IDs or VLAN ID ranges. Be sure that the specified VLANs already exist.
tagged: Configures the ports to send the packets of the specified VLANs without removing VLAN tags.
untagged: Configures the ports to send the packets of the specified VLANs after removing VLAN tags.
Description
Use the port hybrid vlan command to assign the hybrid ports to the specified VLANs.
Use the undo port hybrid vlan command to remove the hybrid ports from the specified VLANs.
By default, a hybrid port only allows packets from VLAN 1 to pass through untagged.
A hybrid port can carry multiple VLANs. If you execute the port hybrid vlan command multiple times, the
VLANs the hybrid port carries are the set of VLANs specified by vlan-id-list in each execution.
Related commands: port link-type.
Examples
# Assign hybrid port Ten-GigabitEthernet 0/0 to VLAN 2, VLAN 4, and VLAN 50 through VLAN 100,
and configure Ten-GigabitEthernet0/0 to send VLAN packets without removing their VLAN tags.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 0/0
[Sysname-Ten-GigabitEthernet0/0] port link-type hybrid
[Sysname-Ten-GigabitEthernet0/0] port hybrid vlan 2 4 50 to 100 tagged
port link-type
Syntax
port link-type { access | hybrid | trunk }
undo port link-type
View
Ethernet interface view
Default level
2: System level
Parameters
access: Configures the link type of a port as access.
hybrid: Configures the link type of a port as hybrid.
trunk: Configures the link type of a port as trunk.
Description
Use the port link-type command to configure the link type of a port.
Use the undo port link-type command to restore the default link type of a port.
By default, any port is an access port.
To change the link type of a port from trunk to hybrid or vice versa, you must set the link type to access
first.