Simple Selective Qinq Configuration Example - HP 6125G Configuration Manual

Layer 2 - lan switching
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

# Configure GigabitEthernet 1/0/1 as a trunk port and assign it to VLANs 10 through 50.
<PE1> system-view
[PE1] interface gigabitethernet 1/0/1
[PE1-GigabitEthernet1/0/1] port link-type trunk
[PE1-GigabitEthernet1/0/1] port trunk permit vlan 10 to 50
# Enable basic QinQ on the port.
[PE1-GigabitEthernet1/0/1] qinq enable
# Configure the port to transparently transmit frames from VLANs 10 through 50.
[PE1-GigabitEthernet1/0/1] qinq transparent-vlan 10 to 50
[PE1-GigabitEthernet1/0/1] quit
Configure GigabitEthernet 1/0/2:
# Configure GigabitEthernet 1/0/2 as a trunk port and assign it to VLANs 10 through 50.
[PE1] interface gigabitethernet 1/0/2
[PE1-GigabitEthernet1/0/2] port link-type trunk
[PE1-GigabitEthernet1/0/2] port trunk permit vlan 10 to 50
# Set the TPID value in the outer VLAN tag to 0x8200 on the port.
[PE1-GigabitEthernet1/0/2] qinq ethernet-type service-tag 8200
[PE1-GigabitEthernet1/0/2] quit
Configure PE 2:
2.
Configure GigabitEthernet 1/0/1:
# Configure GigabitEthernet 1/0/1 as a trunk port and assign it to VLANs 10 through 50.
<PE2> system-view
[PE2] interface gigabitethernet 1/0/1
[PE2-GigabitEthernet1/0/1] port link-type trunk
[PE2-GigabitEthernet1/0/1] port trunk permit vlan 10 to 50
# Enable basic QinQ on the port.
[PE2-GigabitEthernet1/0/1] qinq enable
# Configure the port to transparently transmit frames from VLANs 10 through 50.
[PE2-GigabitEthernet1/0/1] qinq transparent-vlan 10 to 50
[PE2-GigabitEthernet1/0/1] quit
Configure GigabitEthernet 1/0/2:
# Configure GigabitEthernet 1/0/2 as a trunk port and assign it to VLANs 10 through 50.
[PE2] interface gigabitethernet 1/0/2
[PE2-GigabitEthernet1/0/2] port link-type trunk
[PE2-GigabitEthernet1/0/2] port trunk permit vlan 10 to 50
# Set the TPID value in the outer VLAN tag to 0x8200 on the port.
[PE2-GigabitEthernet1/0/2] qinq ethernet-type service-tag 8200
[PE2-GigabitEthernet1/0/2] quit
On the third-party devices between PE 1 and PE 2, configure the port that connects to PE 1 and that
3.
connecting to PE 2 to allow tagged frames of VLAN 10 through VLAN 50 to pass through.

Simple selective QinQ configuration example

Network requirements
As shown in
Figure
54:
166

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents