91
L2SWITCH(config-if)# exit
L2SWITCH(config)# exit
L2SWITCH# show vlan-stacking
L2SWITCH# show vlan-stacking tpid-table
L2SWITCH# show vlan-stacking selective-qinq
Default Setting:
VLAN Stacking is disabled.
6.3.6.2.
CLI Configuration
Node
Command
Description
enable
show vlan-stacking
This command displays the current vlan-stacking
type.
enable
show vlan-stacking
selective-qinq
This command displays the selective Q-in-Q
configurations.
enable
show vlan-stacking
portbased-qinq
This command displays the port-based q-in-Q
configurations.
enable
show vlan-stacking tpid-
inform
This command displays the TPID configurations.
configure vlan-stacking (disable|port-
based|selective)
This command disable the vlan stacking or enable
the vlan-stacking with port-based or selective on
the switch.
configure vlan-stacking selective-qinq
STRINGS
This command creates a selective Q-in-Q profile
with the name.
configure no vlan-stacking selective-
qinq STRINGS
This command removes the selective Q-in-Q
profile with the name.
configure vlan-stacking tpid-table
index <2-6> value
STRINGS
This command configures TPID table.
interface
vlan-stacking port-based
priority <0~7>
This command sets the priority in port based Q-in-
Q.
interface
vlan-stacking port-based
role (tunnel|access|normal)
This command sets VLAN stacking port role.
interface
vlan-stacking port-based
spvid <1~4096>
This command sets the service provider’s VID of
the specified port.
interface
vlan-stacking tunnel-tpid
index <1-6>
This command sets TPID for a Q-in-Q tunnel
port.
configure interface range
gigabitethernet1/0/
ORTLISTS
This command enters the interface configure
node.
if-range
vlan-stacking port-based
priority <0~7>
This command sets the priority in port based Q-in-
Q.
if-range
vlan-stacking port-based
role (tunnel|access|normal)
This command sets VLAN stacking port role.
if-range
vlan-stacking port-based
spvid <1~4096>
This command sets the service provider’s VID of
the specified port.
if-range
vlan-stacking tunnel-tpid
This command sets TPID for a Q-in-Q tunnel