H3C S6812 Series Command Reference Manual page 533

Hide thumbs Also See for S6812 Series:
Table of Contents

Advertisement

device assigns the hybrid port to the rest of the primary VLANs and their associated
secondary VLANs as a tagged member.
If the hybrid port does not allow any of the primary VLANs and their associated secondary
VLANs, the device assigns the port to these VLANs as a tagged member.
The undo form of this command does not change the VLAN attributes (allowed secondary VLANs,
port link type, and PVID) of the port.
If you execute the undo form of this command on a trunk promiscuous port, the command removes
the port from the VLANs specified by the vlan-id-list argument.
You can configure the specified VLANs as primary VLANs before or after you execute this command.
This command is mutually exclusive with the port private-vlan host, port private-vlan
promiscuous and port private-vlan trunk secondary commands.
For an uplink port to permit multiple primary VLANs, use the port private-vlan trunk promiscuous
command to assign the port to these VLANs. The port can then transmit packets from these primary
VLANs with VLAN tags. For an uplink port to permit only one primary VLAN, use the port
private-vlan promiscuous command to assign the port to the VLAN. The port can then transmit
packets from the primary VLAN without VLAN tags.
Examples
In this example, VLANs 2 and 3 are primary VLANs. VLAN 2 is associated with secondary VLAN 20.
VLAN 3 is associated with secondary VLAN 30.
# Display information about Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] display this
#
interface Ten-GigabitEthernet1/0/1
port link-mode bridge
#
return
# Configure Ten-GigabitEthernet 1/0/1 as a trunk promiscuous port of VLANs 2 and 3, and then verify
the configuration.
[Sysname-Ten-GigabitEthernet1/0/1] port private-vlan 2 3 trunk promiscuous
[Sysname-Ten-GigabitEthernet1/0/1] display this
#
interface Ten-GigabitEthernet1/0/1
port link-mode bridge
port link-type hybrid
port private-vlan 2 3 trunk promiscuous
port hybrid vlan 2 3 20 30 tagged
port hybrid vlan 1 untagged
#
return
The output shows that:
Ten-GigabitEthernet 1/0/1 is a trunk promiscuous port of VLANs 2 and 3.
Ten-GigabitEthernet1/0/1 is a tagged member of VLANs 2, 3, 20, and 30.
The port link type of Ten-GigabitEthernet 1/0/1 is hybrid.
# Execute the undo port private-vlan trunk promiscuous command on Ten-GigabitEthernet 1/0/1,
and then verify the configuration.
46

Advertisement

Table of Contents
loading

This manual is also suitable for:

S6813 seriesS5150-ei

Table of Contents