xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
148
config vlan_precedence ports
Purpose
Use to configure 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 MAC-based VLAN classification or subnet-based VLAN classification.
If a port’s VLAN classification is set to MAC-based VLAN precedence and a packet matches
both MAC-based VLAN and subnet-based VLAN entries, the packet will be processed based
on MAC-based VLAN entry.
If a port’s VLAN classification is set to subnet-based VLAN precedence and a packet
matches both MAC-based and subnet-based VLAN entries, the packet will be processed
based on subnet-based VLAN entry.
Parameters
<portlist> − Specifies a range of ports to be configured.
mac_based_vlan – Specifies to precede subnet-based VLAN classification.
subnet_vlan − Specifies to precede MAC-based VLAN classification.
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage:
To configure subnet-based VLAN classification precedence on port 1:
show vlan_precedence ports
Purpose
Use to display VLAN classification precedence.
Syntax show vlan_precedence ports {<portlist>}
Description
This command is used to display VLAN classification precedence.
Parameters
<portlist> − Specifies a port or a range of ports to be displayed.
Restrictions
None.
Example usage:
To display the subnet-based VLAN classification precedence: