HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 175
Simple selective QinQ configuration example, Network requirements
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 175 highlights
# Configure GigabitEthernet 1/0/1 as a trunk port and assign it to VLANs 10 through 50. 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 2. Configure PE 2: { Configure GigabitEthernet 1/0/1: # Configure GigabitEthernet 1/0/1 as a trunk port and assign it to VLANs 10 through 50. 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 3. On the third-party devices between PE 1 and PE 2, configure the port that connects to PE 1 and that 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