xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
450
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 32
> |
vlanid <vlanid>]
| delete protocol_group [group_id <id>|all]]
Description
This command is used to 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.
•
<vlanid>
- Identify the VLAN-ID 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:
D G S - 3 4 2 6 : 5 # c o n f i g p o r t d o t 1 v p o r t s 1 : 6 - 1 : 8 a d d p r o t o c o l _ g r o u p g r o u p _ i d 1 v l a n
v l a n _ n a m e b u i l d i n g 1
C o m m a n d : c o n f i g p o r t d o t 1 v p o r t s 1 : 6 - 1 : 8 a d d p r o t o c o l _ g r o u p g r o u p _ i d 1 v l a n
v l a n _ n a m e b u i l d i n g 1
S u c c e s s .
D G S - 3 4 2 6 : 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 is used to display the protocol VLAN group and VLANs 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.