356
SMG Digital Gateway
Command mode
CONFIG-SWITCH
Example
SMG2016-[CONFIG]-[SWITCH]> mirror rx vlan 56
3.4.8
SELECTIVE Q-IN-Q configuration commands
To perform Selective Q-in-Q general configuration, you may use
SELECTIVE Q-IN-Q COMMON
command
mode. To define Selective Q-in-Q rule list, you may use
SELECTIVE Q-IN-Q LIST
command mode.
SELECTIVE Q-IN-Q function allows to assign external SPVLAN (Service Provider's VLAN), substitute
Customer VLAN, and block the transmission of traffic based on configured filtering rules by internal VLAN
numbers (Customer VLAN).
add-tag
Use this command to add an external tag based on the internal tag.
The command in negative form (no) removes the defined rule.
Syntax
[no] add-tag svlan <s-vlan> cvlan <c-vlan>
Parameters
<s-vlan> — external tag number; possible values [1..4095].
<c-vlan> — internal tag number(s); possible values 1-4094. C-VLAN list values should be separated by ','.
Command mode
SELECTIVE Q-IN-Q
overwrite-tag
This command enables VLAN substitution in the required direction.
The command in negative form (no) removes the defined rule.
Syntax
[no] overwrite-tag new-vlan <new-vlan> old-vlan <old-vlan><rule_direction>
Parameters
<new-vlan> — new VLAN number; possible values [1..4095].
<old-vlan> — VLAN number that should be substituted; possible values [1 .. 4094].
<rule_direction> — traffic direction:
–
Ingress — incoming
–
Egress — outgoing
Command mode
SELECTIVE Q-IN-Q