EasyManua.ls Logo

Ruijie RG-S2600G-I Series - Page 255

Ruijie RG-S2600G-I Series
1192 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...
CLI ReferenceInterface Configuration Commands MAC VLAN Configuration Commands
vlan vlan-id
Specify the VLAN corresponding to the
MAC address, in the range of 1 to 4094.
priority pri_val
Specify the 802.1p priority of the VLAN
corresponding to the MAC address, in
the range of 0 to 7. The default value is
0.
Default
configuration
No static MAC-VLAN entry is configured by default.
Command
mode
Global configuration mode.
Usage
guidelines
The mac-vlan mac-address command is used to configure the VLAN
corresponding to the MAC address and its priority. The no mac-vlan
command is used to delete the relationship between the MAC address
and VLAN.
Examples
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
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
Ruijie# show mac-vlan all
The following MAC VLAN address exist:
S: Static D: Dynamic
MAC ADDR MASK VLAN ID PRIO STATE
-------------------------------------------------------
0002.0002.0000 ffff.ffff.0000 200 5 S
0001.0001.0001 ffff.ffff.ffff 100 3 S
Total MAC VLAN address count: 2
Related
commands
Command
Description
show mac-vlan all
Show the MAC-VLAN entries.
show mac-vlan
Use this command to show the MAC-VLAN entries configured.
Parameter
description
Parameter
Description
all
Show all MAC-VLAN entries.

Table of Contents

Related product manuals