209
interface GigabitEthernet1/0/1
port link-type hybrid
port private-vlan 2 promiscuous
undo port hybrid vlan 1
port hybrid vlan 2 20 untagged
port hybrid pvid vlan 2
#
return
The output shows that:
•
GigabitEthernet 1/0/1 is a promiscuous port.
•
The port link type of GigabitEthernet 1/0/1 is hybrid and its PVID is VLAN 2.
•
GigabitEthernet 1/0/1 is an untagged member of primary VLAN 2 and secondary VLAN 20.
# Execute the
undo port private-vlan
command on GigabitEthernet 1/0/1, and then verify the
configuration.
[Sysname-GigabitEthernet1/0/1] undo port private-vlan
[Sysname-GigabitEthernet1/0/1] display this
#
interface GigabitEthernet1/0/1
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 20 untagged
port hybrid pvid vlan 2
#
return
The output shows that:
•
The link type and PVID of GigabitEthernet 1/0/1 do not change.
•
GigabitEthernet 1/0/1 is an untagged member of VLAN 20.
•
GigabitEthernet 1/0/1 is removed from primary VLAN 2.
Related commands
•
port private-vlan host
•
port private-vlan trunk promiscuous
•
port private-vlan trunk secondary
•
private-vlan
(VLAN view)
•
private-vlan
primary
port private-vlan trunk promiscuous
Use
port private-vlan trunk promiscuous
to configure a port as a trunk promiscuous port of the
specified VLANs and assign the port to these VLANs.
Use
undo port private-vlan trunk promiscuous
to cancel the trunk promiscuous attribute of a port
in the specified VLANs.
Syntax
port private-vlan vlan-id-list
trunk promiscuous
undo port private-vlan
vlan-id-list
trunk promiscuous
Summary of Contents for FlexNetwork 5130 HI series
Page 302: ...294 ...