D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
672
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> | all]]
Parameters
<portlist> - Specify a range of ports to apply this command.
all - Specify all ports.
add protocol_group - Specify to add a protocol group.
group_id - Specify the group ID of the protocol group.
<id>- Specify the group ID of the protocol group.
group_name - Specify the name of the protocol group.
<name 32> - Specify the name of the protocol group. The maximum length is 32
characters.
vlan - Specify the VLAN that is to be associated with this protocol group on this port.
<vlan_name 32> - Specify the VLAN that is to be associated with this protocol group on this
port. The maximum length is 32 characters.
vlanid - Specify the VLAN ID.
<id> - Specify the VLAN ID.
priority - Specify the priority to be associated with the packet which has been classified to the
specified VLAN by the protocol.
<value 0-7>
- Specify a value between 0 and 7.
delete protocol_group - Specify to delete a protocol group.
group_idSpecify the group ID to be deleted.
<id> - Specify the group ID.
allSpecify all groups.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure the group ID 4 on port 3 to be associated with VLAN 2:
DGS-3420-28SC: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-3420-28SC:admin#
68-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.
Format
show port dot1v {ports <portlist>}