R0106-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V7)
104
[PE2-GigabitEthernet2/1/2] port trunk permit vlan 100 200
# Set the TPID value in the SVLAN tags to 0x8200 on the port.
[PE2-GigabitEthernet2/1/2] qinq ethernet-type service-tag 8200
[PE2-GigabitEthernet2/1/2] quit
3. Configure GigabitEthernet 2/1/3:
# Configure the port as a trunk port, and assign it to VLAN 100 and VLANs 10 through 70.
[PE2] interface gigabitethernet 2/1/3
[PE2-GigabitEthernet2/1/3] port link-type trunk
[PE2-GigabitEthernet2/1/3] port trunk permit vlan 100 10 to 70
# Configure VLAN 100 as the PVID for the port.
[PE2-GigabitEthernet2/1/3] port trunk pvid vlan 100
# Enable QinQ on the port.
[PE2-GigabitEthernet2/1/3] qinq enable
[PE2-GigabitEthernet2/1/3] quit
Configuring devices between PE 1 and PE 2
# Set the MTU to a minimum of 1504 bytes for each port on the path of QinQ frames. (Details not
shown.)
# Configure all ports on the forwarding path to allow frames from VLANs 100 and 200 to pass through
without removing the VLAN tag. (Details not shown.)