![FoxGate S6424-S2C2 series Скачать руководство пользователя страница 273](http://html1.mh-extra.com/html/foxgate/s6424-s2c2-series/s6424-s2c2-series_configuration-manual_2325481273.webp)
QinQ Configuration
271
37.2.2 Configure BASIC QinQ
Perform following commands in privilege mode.
Table 37-3 Enable basic QinQ
Operation
Command
Description
Enter global configuration mode
configure terminal
Enable basic QinQ
qinq
required
Modify outer TPID
qinq outer-tpid
outer-tpid
Optional,default value is
0x8100
Enter interface configuration mode
interface ethernet
interface-num
Configurations made in
interface configuration
mode will take effect on the
current port only;
configurations made in
interface range
configuration mode will take
effect on all ports in the port
group.
Enter interface range configuration
mode
interface range
interface-list
Specify port QinQ mode
qinq mode
{
customer
|
uplink
}
37.2.3 Configure Selective QinQ
Perform following commands in privilege mode.
Table 37-4 Enable selective QinQ
Operation
Command
Description
Enter global configuration mode
configure terminal
Enable basic QinQ
qinq
Modify outer TPID
qinq { inner-tpid |
outer-tpid }
tpid-value
Optional,default value is
0x8100
Add different outer VLAN Tag for
different inner VID
qinq insert
start-vlan-id
end-vlan-id service-vlan-id
These command can only
be used in global
configuration mode.
Configure vlan-swap
qinq vlan-swap
start-vlan-id
end-vlan-id target-vlan-id
Configure packet belonged to
specified vlan range need not to
add double VLAN Tag
qinq pass-through
start-vlan-id end-vlan-id
Enter interface configuration
mode
interface ethernet
interface-num
Configurations made in
interface configuration
mode will take effect on
the current port only;
configurations made in
interface range
configuration mode will
take effect on all ports in
the port group.
Enter interface range
configuration mode
Interface range
interface-list
Specify port QinQ mode
qinq mode
Uplink needs setting to be