xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
551
config vlan_precedence ports
If a port’s VLAN classification is subnet VLAN precedence, the subnet VLAN classification
will process at first. If subnet VLAN classification fails, the MAC-based VLAN classification
will be executed.
Parameters
portlist
- A range of ports to configure.
mac_based_vlan
- If the parameter is specified, the MAC-based VLAN classification is
precedence than subnet VLAN classification.
subnet_vlan
- If the parameter is specified, the subnet VLAN classification is precedence
than MAC-based VLAN classification.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
This example shows how to configure subnet VLAN classification precedence on port 1:
DGS-3450:admin# config vlan_precedence 1 subnet_vlan
Command: config vlan_precedence 1 subnet_vlan
Success.
DGS-3450:admin#
show vlan_precedence ports
Purpose
Use this command to show vlan classification precedence.
Syntax
show vlan_precedence ports {<portlist>}
Description
This command is used to show vlan classification precedence.
Parameters
portlist
- A range of ports will display. If no parameters is specified, all ports vlan classification
precedence will display.
Restrictions
None.
Example usage:
This example shows how to display VLAN classification precedence on ports 1-3:
DGS-3450:admin# show vlan_precedence
Command: show vlan_precedence
Port VLAN Precedence
---- -----------------
1 MAC-Based VLAN
2 Subnet VLAN
3 MAC-Based VLAN
Total entry: 3
DGS-3450:admin#