216
# Execute the undo port private-vlan trunk promiscuous command on GigabitEthernet
1/0/1, and then verify the configuration.
[Sysname-GigabitEthernet1/0/1] undo port private-vlan 2 3 trunk promiscuous
[Sysname-GigabitEthernet1/0/1] display this
#
interface GigabitEthernet1/0/1
port link-mode bridge
port link-type hybrid
port hybrid vlan 20 30 tagged
port hybrid vlan 1 untagged
#
return
The output shows that:
• GigabitEthernet 1/0/1 is removed from VLANs 2 and 3.
• GigabitEthernet 1/0/1 is a tagged member of VLANs 20 and 30.
• The port link type and PVID of GigabitEthernet 1/0/1 do not change.
Related commands
port private-vlan host
port private-vlan promiscuous
port private-vlan trunk secondary
private-vlan
(VLAN view)
private-vlan primary
port private-vlan trunk secondary
Use port private-vlan trunk secondary to configure a port as a trunk secondary port of
the specified VLANs and assign the port to these VLANs.
Use undo port private-vlan trunk secondary to cancel the trunk secondary attribute of
a port in the specified VLANs.
Syntax
port private-vlan vlan-id-list trunk secondary
undo port private-vlan vlan-id-list trunk secondary
Default
A port is not a trunk secondary port of any VLANs.
Views
Layer 2 Ethernet interface view
Layer 2 aggregate interface view
Predefined user roles
network-admin
Parameters
vlan-id-list: Specifies a space-separated list of up to 10 secondary VLAN items. Each item
specifies a secondary VLAN ID or a range of secondary VLAN IDs in the form of vlan-id1 to vlan-id2.
The value range for secondary VLAN IDs is 1 to 4094. The value for the
vlan-id2 argument must