EasyManuals Logo

HPE FlexNetwork 5130 EI Series User Manual

HPE FlexNetwork 5130 EI Series
314 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
Page #197 background imageLoading...
Page #197 background image
189
undo mac-vlan { all | mac-address mac-address [ mask mac-mask ] | vlan
vlan-id }
Default
No MAC-to-VLAN entries exist.
Views
System view
Predefined user roles
network-admin
Parameters
mac-address mac-address: Specifies a MAC address in the format of H-H-H. The MAC
address cannot be a multicast MAC address or all 0s. When you configure a MAC address, leading
zeros in each H section can be omitted. For example, to configure a MAC address 000f-00e2-0001,
you can enter only f-e2-1.
mask mac-mask: Specifies the MAC address mask. For the mac-mask argument, the high-order
bits must be consecutive 1s in binary notation or consecutive Fs in hexadecimal notation. The default
value is ffff-ffff-ffff.
vlan vlan-id: Specifies a VLAN ID in the range of 1 to 4094.
dot1q priority: Specifies the 802.1p priority of the VLAN specific to the MAC-to-VLAN entry.
The value range for the
priority argument is 0 to 7, and the default value is 0. The higher the
value, the higher the 802.1p priority.
all: Specifies all static MAC-to-VLAN entries.
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 0000-0001-0001 with VLAN 100, and set the 802.1p priority to 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 set the
802.1p priority to 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

Table of Contents

Other manuals for HPE FlexNetwork 5130 EI Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HPE FlexNetwork 5130 EI Series and is the answer not in the manual?

HPE FlexNetwork 5130 EI Series Specifications

General IconGeneral
BrandHPE
ModelFlexNetwork 5130 EI Series
CategorySwitch
LanguageEnglish

Related product manuals