EasyManua.ls Logo

HP A5830 Series

HP A5830 Series
249 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
166
mac-vlan enable
Description
Use the mac-vlan enable command to enable the MAC-based VLAN feature on a port.
Use the undo mac-vlan enable command to disable the MAC-based VLAN feature on a port.
By default, the MAC-based VLAN feature is disabled on a port.
Syntax
mac-vlan enable
undo mac-vlan enable
View
Layer 2 Ethernet port view
Default level
2: System level
Parameters
None
Example
# Enable the MAC-based VLAN feature on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[SysnameGigabitEthernet1/0/1] mac-vlan enable
mac-vlan mac-address
Description
Use the mac-vlan mac-address command to associate the specified VLAN and priority value with the
specified MAC addresses.
Use the undo mac-vlan command 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 parameter 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 parameter
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.
Syntax
mac-vlan mac-address mac-address [ mask mac-mask ] vlan vlan-id [ priority pri ]
undo mac-vlan { all | mac-address mac-address [ mask mac-mask ] | vlan vlan-id }
View
System view

Table of Contents

Other manuals for HP A5830 Series

Related product manuals