R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide
166
2. Configure related PPPoE settings on GigabitEthernet 4/0/1.10.
For more information about the PPPoE configuration, see Layer 2—WAN Configuration Guide.
Unambiguous QinQ termination configuration
example
Network requirements
As shown in Figure 61, Host A connects to Layer 2 Switch A and belongs to VLAN 11. Host B connects to
Layer 2 Switch C, which supports only single VLAN-tagged packets. With QinQ enabled, Layer 2 Switch
B adds an outer VLAN tag 100 to packets whose inner VLAN ID is 11 before forwarding the packets.
Configure QinQ termination so that Host A can communicate with Host B.
Figure 61 Network diagram
Configuration procedure
1. Configure Host A and Host B.
{ Configure Host A's IP address as 1.1.1.1/24, and gateway IP address as 1.1.1.11/24.
{ Configure Host B's IP address as 1.1.2.1/24, and gateway IP address as 1.1.2.11/24.
2. Configure Layer 2 Switch A:
# Assign Ethernet 1/2 to VLAN 11.
<L2_SwitchA> system-view
[L2_SwitchA] vlan 11
[L2_SwitchA-vlan11] port ethernet 1/2
[L2_SwitchA-vlan11] quit
# Configure Ethernet 1/1 as a hybrid port, and assign the port to VLAN 11 as a tagged member.
[L2_SwitchA] interface ethernet 1/1
[L2_SwitchA-Ethernet1/1] port link-type hybrid
[L2_SwitchA-Ethernet1/1] port hybrid vlan 11 tagged