Port Pvid Forbidden; Vlan Precedence - HP FlexNetwork 5130 HI series Command Reference Manual

Layer 2 - lan switching
Table of Contents

Advertisement

If the MAC address does not match any MAC-to-VLAN entries or matches only a MAC-to-VLAN
entry whose mask is not all Fs, the device does not dynamically learn the MAC address or
assign the receiving port to the VLAN.
Examples
# 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
Related commands

port pvid forbidden

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
Usage guidelines
Use this feature only with dynamic MAC-based VLAN assignment.
Examples
# Disable GigabitEthernet 1/0/1 from forwarding packets that fail the exact MAC address match in its
PVID.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port pvid forbidden
Related commands
mac-vlan trigger enable

vlan precedence

Use vlan precedence to set the VLAN matching order when both the MAC-based VLAN and IP
subnet-based VLAN are configured on a port.
Use undo vlan precedence to restore the default.
187

Advertisement

Table of Contents
loading

Table of Contents