Port Pvid Disable; Vlan Precedence - H3C S7500E Series Command Reference Manual

Lan switching
Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] mac-vlan trigger enable

port pvid disable

Syntax
port pvid disable
undo port pvid disable
View
Layer 2 Ethernet port view
Default Level
2: System level
Parameters
None
Description
Use the port pvid disable command to disable the default VLAN of the current port from forwarding
packets whose source MAC addresses do not match any MAC address-to-VLAN mapping.
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 mapping, it forwards the packet in its default VLAN.
Examples
# Disable the default VLAN of GigabitEthernet 2/0/1 from forwarding packets whose source MAC
addresses do not match any MAC address-to-VLAN mapping.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] port pvid disable

vlan precedence

Syntax
vlan precedence { mac-vlan | ip-subnet-vlan }
undo vlan precedence
View
Layer 2 Ethernet port view
Default Level
2: System level
Parameters
mac-vlan: Specifies to match VLANs based on MAC addresses preferentially.
ip-subnet-vlan: Specifies to match VLANs based on IP subnet settings preferentially.
Description
Use the vlan precedence command to set the order of VLAN matching.
13-25

Advertisement

Table of Contents
loading

Table of Contents