xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
144
config port dot1v
Purpose
Used to bind a VLAN with a protocol template on one or more ports.
Syntax
config port dot1v ports [<portlist> | all] [add protocol_group group_id
<id> vlan vlan_name <vlan_name 32> | delete protocol_group
[group_id <id> | all]]
Description
This command will bind a VLAN with a protocol template on one or more
ports. When an ingress untagged packet is identified by the
protocol_value
stated using the
config dot1v_protocol_group
command, the switch will
assign a pre-configured VLAN and a priority for these ingress untagged
packets in order to properly reach their destination.
Parameters
ports –
Use this parameter to specify ports.
•
<portlist>
−
Use this parameter to assign a port or group of ports.
•
all
– Use this parameter to specify all ports on the system.
add protocol_group group_id <id>
−
Enter an integer from
1
to
16
to
identify the protocol VLAN group being assigned to the ports or range of
ports configured in the previous field.
vlan
– Use this parameter bind a VLAN with a specific protocol template
using either of the following parameters:
•
vlan_name 32
−
Identify the VLAN name for which to add a tag
to ingress untagged packets.
delete protocol_group
– Use this parameter to remove this protocol VLAN
group’s association with the ports stated in this command, by using the
following parameters:
•
group_id <id>
−
Enter this parameter with its corresponding
group number, to remove this pre-defined protocol group from
the ports specified here.
•
all
– Use this parameter to remove all protocol VLAN groups
from the ports specified in this command.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To bind a VLAN with a protocol template:
DGS-3627:5#config port dot1v ports 1:6-1:8 add protocol_group group_id
1 vlan vlan_name building1
Command: config port dot1v ports 1:6-1:8 add protocol_group group_id 1
vlan vlan_name building1
Success.
DGS-3627:5#
show port dot1v
Purpose
Used to display the bound protocol template on a specific port or ports.
Syntax
show port dot1v {ports <portlist>}
Description
This command will display the protocol VLAN group and VLAN for
individual ports.
Parameters
ports <portlist>
−
Enter the port or group of ports for which to display the
protocol VLAN group settings. Entering this command without this
parameter will display all ports and their corresponding protocol VLAN
group settings.
Restrictions None.