![D-Link DES-3528 - xStack Switch - Stackable Скачать руководство пользователя страница 405](http://html.mh-extra.com/html/d-link/des-3528-xstack-switch-stackable/des-3528-xstack-switch-stackable_cli-reference-manual_76439405.webp)
xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
405
Q-in-Q Commands
The Q-in-Q commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command
Parameters
enable qinq
disable qinq
show qinq
show qinq inner_tpid
config qinq ports
[<portlist> | all] {role [uni | nni] | missdrop [enable | disable] | outer_tpid <hex 0x1-0xffff>|
use_inner_priority [enable | disable] | add_inner_tag [<hex 0x1-0xffff> | disable]}(1)
show qinq ports
{<portlist>}
config qinq inner_tpid <hex 0x1 - 0xffff>
create
vlan_translation
ports
[<portlist> | all] [add cvid <vidlist> | replace cvid <vlanid 1-4094>] svid <vlanid 1-4094>
{priority <value 0-7>}
delete
vlan_translation
ports
[<portlist> | all] {cvid <vidlist>}
show
vlan_translation
{[ports <portlist> | cvid <vidlist>]}
Each command is listed, in detail, in the following sections.
enable qinq
Purpose
Used to enable Q-in-Q mode.
Syntax
enable qinq
Description
This command enables Q-in-Q mode.
When enable Q-in-Q, all network port roles will be NNI port and their outer TPID will be set to
88a8. All existed static VLAN will run as SP-VLAN. All dynamically learned L2 address will be
cleared. All dynamically registered VLAN entries will be cleared, GVRP will be disabled.
If you need to run GVRP on the Switch, you shall enable GVRP manually. In Q-in-Q mode,
SP-VLAN GVRP Address (01-80-C2-00-00-0D) will be used by GVRP protocol.
The default settings of Q-in-Q is disabled.
Parameters
None.
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage
To enable Q-in-Q:
DES-3528:admin# enable qinq
Command: enable qinq
Success.
DES-3528:admin#