HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 162
port pvid disable, Enable dynamic MAC-based VLAN assignment on GigabitEthernet 1/0/1.
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 162 highlights
View undo mac-vlan trigger enable 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 corresponding VLAN. Then, subsequent packets with this source MAC address can be directly forwarded through the port. If the MAC address does not match any MAC address-to-VLAN entry or matches only a MAC address-to-VLAN entry whose mask is not all Fs, the device will not dynamically learn the MAC address and assign the receiving port to the corresponding VLAN. Examples # Enable dynamic MAC-based VLAN assignment on GigabitEthernet 1/0/1. system-view [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/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 port pvid disable to disable the PVID of the port from forwarding packets whose source MAC addresses do not match any MAC address-to-VLAN entry. 154