![background image](/i/d-link/144853/d-link-dgs-3710-12c/h/d-link-dgs-3710-12c-537.png)
DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
533
Format
config port dot1v ports [<portlist> | all] [add protocol_group [group_id <id> | group_name
<name 32>] [vlan <vlan_name 32> | vlanid <id>] {priority <value 0-7>} | delete
protocol_group [group_id <id> | group_name <name 32> | all]]
Parameters
<portlist>
- Specifies a range of ports to apply this command.
all
- Specifies all ports.
add protocol_group
- Specifies to add a protocol group.
group_id
- Specifies the group ID of the protocol group.
<id>
- Specifies the group ID of the protocol group.
group_name
- Specifies the name of the protocol group.
<name 32>
- Specifies the name of the protocol group. The maximum length is 32
characters.
vlan
- Specifies the VLAN that is to be associated with this protocol group on this port.
<vlan_name 32>
- Specifies the VLAN that is to be associated with this protocol group on this
port. The maximum length is 32 characters.
vlanid
- Specifies the VLAN ID.
<id>
- Specifies the VLAN ID.
priority
- Specifies the priority to be associated with the packet which has been classified to the
specified VLAN by the protocol.
<value 0-7>
- Specifies a value between 0 and 7.
delete protocol_group
- Specifies to delete a protocol group.
group_id
– Specifies the group ID to be deleted.
<id>
- Specifies the group ID.
group_name
- Specifies the group name to be deleted.
<name 32>
- Enter the group name to be deleted here. This name can be up to 32
characters long.
all
– Specifies all groups.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To configure the group ID 4 on port 3 to be associated with VLAN 2:
DGS-3710-12C:admin# config port dot1v ports 3 add protocol_group group_id 4
vlan VLAN2
Command: config port dot1v ports 3 add protocol_group group_id 4 vlan VLAN2
Success.
DGS-3710-12C:admin#
52-6
show port dot1v
Description
This command is used to display the VLAN to be associated with untagged packets ingressed
from a port based on the protocol group.