
DM984 product family
CHAPTER 11. IPSAN CONFIGURATION
Below is a common example of a VLAN rule for processing a single-tagged packet
and adding a VLAN tag with the given VLAN ID and a priority.
add <name> one-vlan-rule add-one-vlan user-vlan <uvid> user-prio
,
→
<uprio> vlan <svid> sprio <sprio>
Description of the used parameters:
Name
Format
Description
<name>
Alphanumeric
Name of the VLAN rule
<uvid>
Number (1-4094)
VLAN of the incoming tag
<uprio>
Number (0-7)
Priority of the incoming tag
<svid>
Number (1-4094)
VLAN of the outgoing tag
<sprio>
Number (0-7)
Priority of the outgoing tag
Furthermore, it is possible to give the following keywords instead of numbers.
Keyword
Valid for
Description
any
<uvid> and <uprio>
Any possible value will be con-
sidered valid for this rule
cpy-user-vlan
<svid>
The VLAN ID will be copied
from the incoming tag
cpy-user-prio
<sprio>
The VLAN priority will be
copied from the incoming tag
For <uvid> and <uprio> there exists the keyword ’any’. When this keyword
is given the respective parameter isn’t taken into account when matching single-
tagged packets for this VLAN rule. This means that this part of the tag will be
just considered as valid for this rule and will therefore be processed when all other
parameters are matching. For <svid> there exists the keyword ’cpy-user-vlan’
which will copy the VLAN ID of the incoming single-tagged packet for the second
tag to be added. For <sprio> there exists the keyword ’cpy-user-prio’ which will
copy the priority of the incoming single-tagged packet for the second tag to be
added.
The following example adds a tag with vid 500 and a priority of 1 to any packet
that has a single tag with vid 100 and a priority of 0.
DM4650(vlan-translate-gpon)#add test one-vlan-rule add-one-vlan
,
→
user-vlan 100 user-prio 0 vlan 500 sprio 1
DM4650(vlan-translate-gpon)#
DATACOM
204.4288.00