Mac-Vlan Trigger Enable - HP 3600 v2 Series Command Reference Manual

Hide thumbs Also See for 3600 v2 Series:
Table of Contents

Advertisement

all: Removes all the static MAC address-to-VLAN entries.
Description
Use mac-vlan mac-address to associate the specified VLAN and priority value with the specified MAC
addresses.
Use undo mac-vlan to remove the association.
Two MAC address-to-VLAN entry tables exist in a device. One table contains the MAC address-to-VLAN
entries configured with the mask keyword specified. A MAC address-to-VLAN entry of this type describes
the relationship between a group of MAC addresses and a VLAN, and a priority value. Another table
contains the MAC address-to-VLAN entries configured without the mask keyword specified. A MAC
address-to-VLAN entry of this type describes the relationship between a single MAC address and a
VLAN, and a priority value. The system adds/removes MAC address-to-VLAN entries to/from the two
tables according to the configuration.
Examples
# Associate a single MAC address 0- 1 - 1 with VLAN 100 and 802.1p priority 7.
<Sysname> system-view
[Sysname] mac-vlan mac-address 0-1-1 vlan 100 priority 7
# Associate the MAC addresses with the high-order six hexadecimal digits being 121 122 with VLAN 100
and 802.1p priority 4.
<Sysname> system-view
[Sysname] mac-vlan mac-address 1211-2222-3333 mask ffff-ff00-0000 vlan 100 priority 4

mac-vlan trigger enable

Syntax
mac-vlan trigger enable
undo mac-vlan trigger enable
View
Layer 2 Ethernet port view
Default level
2: System level
Parameters
None
Description
Use mac-vlan trigger enable to enable dynamic MAC-based VLAN assignment. The port configured with
this command will be dynamically assigned to VLANs based on the source MAC addresses of the
received packets.
Use undo mac-vlan trigger enable to restore the default.
By default, dynamic MAC-based VLAN assignment is not enabled.
After receiving a packet with an unknown source MAC address, a port submits the packet to the CPU.
If the source MAC address matches a MAC address-to-VLAN entry whose mask is all Fs maintained by
the device, the device dynamically learns the source MAC address and assigns the receiving port to the
179

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5500 hi series

Table of Contents