DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 297
config vlan_precedence ports
Purpose
Used to configure the VLAN classification precedence.
Syntax
config vlan_precedence ports <portlist> [mac_based_vlan | subnet_vlan]
Description
This command is used to configure VLAN classification precedence on each port. You
can specify the order of MAC-based VLAN classifications and subnet VLAN
classifications.
If a port’s VLAN classificataion is a MAC-based precedence, MAC-based VLAN
classification will process first. If MAC-based VLAN classification fails, the subnet
VLAN classification will be executed.
If a port’s VLAN classification is subnet VLAN precedence, the subnet VLAN
classification will process first. If subnet VLAN classification fails, the MAC-based
VLAN classification will be executed.
Parameters
portlist
– To specify a range of ports
mac_based_vlan
– If the parameter is specified, the MAC-based VLAN classification
is given precedence over the subnet VLAN classification
subnet_vlan
– If the parameter is specified, the subnet VLAN classification is given
precedence over the MAC-based VLAN classification.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure VLAN precedence:
DGS-3700-12:5#config vlan_precedence ports 1 subnet_vlan
Command: config vlan_precedence ports 1 subnet_vlan
Success.
DGS-3700-12:5#
show vlan_precedence ports
Purpose
Used to show the VLAN classification precedence.
Syntax
show vlan_precedence ports {<portlist>}
Description
This command is used to show VLAN classification precedence on each port.
Parameters
portlist
– To specify a range of ports. If not specified, all ports will be displayed.
Restrictions
None
Example usage:
To display VLAN precedence:
DGS-3700-12:5#show vlan_precedence ports 1-5
Command: show vlan_precedence ports 1-5
Port VLAN Precedence
---- -----------------
1 Subnet VLAN
2 MAC-Based VLAN
3 MAC-Based VLAN
4 MAC-Based VLAN
5 MAC-Based VLAN
DGS-3700-12:5#