Mac-Vlan Trigger Enable - HP FlexNetwork 5130 HI series Command Reference Manual

Layer 2 - lan switching
Table of Contents

Advertisement

Usage guidelines
For successful dynamic MAC-based VLAN assignment, use static VLANs when you create
MAC-to-VLAN entries.
Different types of MAC-to-VLAN entries are created depending on whether you specify the mask
keyword.
When you specify this keyword, the created MAC-to-VLAN entry describes the relationship
among a group of MAC addresses, a VLAN, and the 802.1p priority for the VLAN.
When you do not specify this keyword, the created MAC-to-VLAN entry describes the
relationship among a MAC address, a VLAN, and the 802.1p priority for the VLAN.
These different types of MAC-to-VLAN entries are stored separately in two tables. The system
updates the two tables according to the configuration.
Examples
# Associate the MAC address 0-1-1 with VLAN 100, and specify the 802.1p priority as 7 for VLAN
100 in this entry.
<Sysname> system-view
[Sysname] mac-vlan mac-address 0-1-1 vlan 100 dot1q 7
# Associate VLAN 100 with MAC addresses whose six high-order bits are 121122, and specify the
802.1p priority as 4 for VLAN 100 in this entry.
<Sysname> system-view
[Sysname] mac-vlan mac-address 1211-2222-3333 mask ffff-ff00-0000 vlan 100 dot1q 4
Related commands
display mac-vlan

mac-vlan trigger enable

Use mac-vlan trigger enable to enable dynamic MAC-based VLAN assignment.
Use undo mac-vlan trigger enable to restore the default.
Syntax
mac-vlan trigger enable
undo mac-vlan trigger enable
Default
Dynamic MAC-based VLAN assignment is not enabled.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Usage guidelines
After receiving a packet, the port reports the source MAC address of the packet to the CPU.
If the source MAC address matches a MAC-to-VLAN entry whose mask is all Fs, the device
dynamically learns the source MAC address and assigns the receiving port to the VLAN specific
to the entry.
Subsequent packets with this source MAC address can be directly forwarded through the port.
186

Advertisement

Table of Contents
loading

Table of Contents