168
View
Layer 2 Ethernet port view
Default level
2: System level
Parameters
None
Example
# Enable dynamic MAC-based VLAN assignment on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] mac-vlan trigger enable
port pvid disable
Description
Use the port pvid disable command to disable the PVID of the port from forwarding packets whose
source MAC addresses do not match any MAC address-to-VLAN entry.
Use the undo port pvid disable command to restore the default.
By default, when a port receives a packet with an unknown source MAC address that does not match any
MAC address-to-VLAN entry, it forwards the packet in its PVID.
Syntax
port pvid disable
undo port pvid disable
View
Layer 2 Ethernet port view
Default level
2: System level
Parameters
None
Example
# Disable the PVID of GigabitEthernet 1/0/1 from forwarding packets whose source MAC addresses do
not match any MAC address-to-VLAN entry.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port pvid disable