xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
447
60
P
ROTOCOL
VLAN
G
ROUP
C
OMMANDS
For bridges that implement Port-and-Protocol-based VLAN classification, the VID associated with an Untagged or Priority-tagged
Frame is determined based on the Port of arrival of the frame into the bridge and on the protocol identifier of the frame. If there is
no protocol VLAN configured on the ingress port, all the untagged packets incoming on the port will be classified into PVID
VLAN. This classification mechanism requires defining the protocol groups which specified frame type and protocol value to
match for. A protocol group can be bound to a port and given a VLAN ID. If the incoming untagged packet matches the protocol
group the VLAN ID will be assigned. A port can bind with multiple protocol groups. This allows untagged packets be classified
into different VLANs based on packet content. The same protocol group can be assigned to multiple ports with different VLAN
ID assigned, i.e. the same protocol can be given different VLAN ID through binding to different ports.
The Protocol VLAN Group commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command Parameters
create dot1v_protocol_group group_id < id>
config dot1v_protocol_group
group_id <id> [add | delete] protocol [ethernet_2 | ieee802.3_snap | ieee802.3_llc]
<protocol_value>
delete dot1v_protocol_group group_id <id>
show dot1v_protocol_group
{group_id <id>}
config port dot1v
ports [<portlist> | all] [add protocol_group group_id <id> [vlan< vlan_name 32> |
vlanid <vlanid>] | delete protocol_group [group_id <id>|all]]
show port dot1v
{ports <portlis> }
Each command is listed, in detail, in the following sections.
create dot1v_protocol_group
Purpose
Used to create a protocol group.
Syntax
create dot1v_protocol_group group_id <id>
Description
This command is used to create a protocol group. This group is to be configured using
the
config dot1v_protocol_group
command where users may set the parameters for
this group. After being configured, this group may be attached to a port or range of ports
using the
config port dot1v
command.
Parameters
group_id <id>
−
Enter an integer from
1
to
16
to identify the protocol VLAN group being
created here.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create a protocol group:
D G S - 3 4 2 6 : 5 # c r e a t e d o t 1 v _ p r o t o c o l _ g r o u p g r o u p _ i d 1
C o m m a n d : c r e a t e d o t 1 v _ p r o t o c o l _ g r o u p g r o u p _ i d 1
S u c c e s s .
D G S - 3 4 2 6 : 5 #