3Com Switch 7750 Configuration Guide
Selective QinQ Configuration Example 167
Selective QinQ
Configuration
Example
Network Requirements ■ Switch A is a Switch 7750.
■ Enable QinQ on GigabitEthernet2/0/1 port. Set the PVID of the port to 8.
■ Insert the tag of VLAN 10 to packets of VLAN 8 through VLAN 15 as the outer
VLAN tag. Insert the tag of VLAN 100 to packets of VLAN 20 through VLAN 25
as the outer VLAN tag.
■ GigabitEthernet2/0/1 is the upstream port of the outer VLAN tag. It is required
that the outer tags of packets of VLAN 10 and VLAN 100 are kept while the
outer tags of packets of other VLANs are removed.
Network Diagram
Figure 47 Network diagram for selective QinQ configuration
Configuration Procedure # Enter system view.
<SwitchA> system-view
# Enter GigabitEthernet2/0/1 port view.
[SwitchA] interface GigabitEthernet 2/0/1
# Configure this port to be a hybrid port. And configure to keep the outer tags of
packets of VLAN 10 and VLAN 100 and remove the outer tags of packets of other
VLANs.
[SwitchA-GigabitEthernet2/0/1] port link-type hybrid
[SwitchA-GigabitEthernet2/0/1] port hybrid vlan 1 to 9 untagged
[SwitchA-GigabitEthernet2/0/1] port hybrid vlan 11 to 99 untagged
[SwitchA-GigabitEthernet2/0/1] port hybrid 101 to 4094 untagged
[SwitchA-GigabitEthernet2/0/1] port hybrid 10 tagged
[SwitchA-GigabitEthernet2/0/1] port hybrid 100 tagged
# Enter GigabitEthernet2/0/1 port view.
[SwitchA] interface GigabitEthernet 2/0/1
# Configure the port to be a hybrid port.
[SwitchA-GigabitEthernet2/0/1] port link-type hybrid
Customer
Provider
GE2/0/1
GE2/0/2
VLAN 8~15
VLAN 20~25
VLAN 10
VLAN 100
Switch A