port pvid forbidden

Use port pvid forbidden to disable a port from forwarding packets that fail the exact MAC address match in its PVID.

Use undo port pvid forbidden to restore the default.

Syntax

port pvid forbidden

undo port pvid forbidden

Default

When a port receives packets whose source MAC addresses fail the exact MAC address match, the port forwards them in its PVID.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

Use this feature only with dynamic MAC-based VLAN assignment.

Examples

# Disable Ten-GigabitEthernet 1/0/1 from forwarding packets that fail the exact MAC address match in its PVID.

<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] port pvid forbidden

Related commands

mac-vlan trigger enable