Command Reference MAC VLAN Commands
Parameter
Description
Parameter
Description
mac-address
Specifies the MAC address.
mac-mask
Specifies the MAC address mask, with the high bits being all 1 in
binary. This field is full of F by default.
vlan-id
Specifies the VLAN corresponding to the MAC address. The range is
from 1 to 4,094.
pri_val
Specifies the 802.1p priority of the VLAN corresponding to the MAC
address. The range is from 0 to 7. The default value is 0.
Defaults
No static MAC VLAN entry is configured by default.
Command
mode
Global configuration mode
Usage Guide
Use this command to configure a static MAC VLAN entry including the MAC address, VLAN ID and
VLAN priority. Use the
no
form of this command to remove the static MAC VLAN entry.
Configuration
Examples
The following example configures a static MAC VLAN entry.
Ruijie(config)# mac-vlan mac-address 0001.0001.0001 vlan 100 priority 3
Ruijie(config)# mac-vlan mac-address 0002.0002.0000 mask ffff.ffff.0000 vlan
200 priority 5
Related
Commands
Command
Description
N/A
N/A
Platform
Description
N/A
5.3 show mac-vlan
Use this command to display the MAC VLAN entries.
show mac-vlan
{
all
|
dynamic
|
static
|
vlan
vlan-id
|
mac-address
mac-address
[
mask
mac-mask
]
}
Parameter
Description
Parameter
Description
all
Displays all MAC VLAN entries.
dynamic
Displays the dynamic MAC VLAN entries.
static
Displays the static MAC VLAN entries.
mac-address mac-address
Displays the MAC VLAN entry of the specified MAC address.
mask
mac-mask
Displays the MAC VLAN entry of the specified MAC address range.
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...