User guide

6-22 E
XTREME
W
ARE
S
OFTWARE
U
SER
G
UIDE
V
IRTUAL
LAN
S
(VLAN
S
)
A MAC address cannot be configured to associate with more than 1 VLAN. If this is
attempted, the MAC address is associated with the most recent VLAN entry in the
MAC-to-VLAN database.
The feature is intended to support one client per physical port. Once a client MAC
address has successfully registered, the VLAN association remains until the port
connection is dropped or the FDB entry ages out.
MAC-B
ASED
VLAN C
OMMANDS
Tab le 6-3 describes MAC-based VLAN commands.
MAC-B
ASED
VLAN E
XAMPLE
In this following example, three VLANs are created: engineering, marketing, and sales. A
single MAC address is associated with each VLAN. The MAC address 00:00:00:00:00:02
has a group number of any or 0 associated with it, allowing it to be plugged into
any port that is in MacVlanDiscover mode (ports 10-15 in this case). The MAC address
00:00:00:00:00:01 has a group number of 10 associated with it, and can only be assigned
to a VLAN if inserted into ports 16 or 17. The MAC address 00:00:00:00:00:03 has a
group number of 200 associated with it and can only be inserted into ports 18 through
20.
Table 6- 3: MAC-Based VLAN Commands
Command Description
config mac-vlan add mac-address [any |
<mac_address>] mac-group [any |
<group_number>] vlan <name>
Adds a MAC address to a MAC-based VLAN.
config mac-vlan delete [mac-address
<mac_address> | all]
Removes a MAC address from a MAC-based
VLAN.
disable mac-vlan port <portlist> Disables a port from using the MAC-based
VLAN algorithm.
enable mac-vlan mac-group [any |
<group_number>] port <portlist>
enables a port to use the MAC-based VLAN
algorithm.
show mac-vlan {configuration | database} Displays the MAC-based VLAN configuration
and MAC address database content.