21
Related commands
display mac-vlan interface
mac-vlan mac-address
Use
mac-vlan mac-address
to configure a MAC-to-VLAN entry.
Use
undo mac-vlan
to delete the specified MAC-to-VLAN entries.
Syntax
mac-vlan mac-address mac-address
[
mask
mac-mask
]
vlan
vlan-id
[
dot1p
priority
]
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.
dot1p 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.
Summary of Contents for SOHO IE4300
Page 285: ...i Contents Tcl commands 1 cli 1 tclquit 1 tclsh 2...
Page 288: ...i Contents Python commands 1 exit 1 python 1 python filename 2...
Page 291: ...i Contents Automatic configuration commands 1 autodeploy udisk enable 1...
Page 323: ...25 Sysname Ten GigabitEthernet1 0 51 undo shutdown Related commands irf port...
Page 465: ...ii stp vlan enable 55 vlan mapping modulo 55...
Page 602: ...12 Related commands display mvrp statistics...
Page 609: ...i Contents VLAN mapping commands 1 display vlan mapping 1 vlan mapping 2...
Page 678: ...9 Related commands reset pppoe relay statistics...
Page 846: ...i Contents Basic IP forwarding commands 1 display fib 1 ip forwarding table save 2...
Page 1770: ...i Contents Time range commands 1 display time range 1 time range 1...
Page 2026: ...34 Related commands display mac authentication...
Page 2028: ...ii...
Page 2143: ...i Contents User profile commands 1 display user profile 1 user profile 2...
Page 2308: ...61 ipsec transform set...
Page 2531: ...i Contents SAVI commands 1 ipv6 savi down delay 1 ipv6 savi log enable 1 ipv6 savi strict 2...
Page 2534: ...3 Sysname ipv6 savi strict Related commands ipv6 verify source...
Page 2791: ...14 Sysname track 1 Related commands delay display track...
Page 2939: ...9 sntp authentication keyid sntp reliable authentication keyid...
Page 2967: ...27 Related commands apply poe profile poe enable poe max power interface view poe priority...