H3C S5500-SI Series Operation Manual page 11

Qinq-bpdu tunnel
Hide thumbs Also See for S5500-SI Series:
Table of Contents

Advertisement

Operation Manual – QinQ-BPDU TUNNEL
H3C S5500-SI Series Ethernet Switches
# Enter Ethernet port view of GigabitEthernet1/0/4 to perform related configuration.
[Sysname] interface GigabitEthernet1/0/4
[Sysname-GigabitEthernet1/0/4] port link-type trunk
[Sysname-GigabitEthernet1/0/4] port trunk permit vlan 10 20 1000 2000
# Tag packets from VLAN 10 with the outer VLAN tag of VLAN 1000.
[Sysname-GigabitEthernet1/0/4] qinq vid 1000
[Sysname-GigabitEthernet1/0/4-vid-1000] raw-vlan-id inbound 10
[Sysname-GigabitEthernet1/0/4-vid-1000] quit
# Tag packets from VLAN 20 with the outer VLAN tag of VLAN 2000.
[Sysname-GigabitEthernet1/0/4] qinq vid 2000
[Sysname-GigabitEthernet1/0/4-vid-2000] raw-vlan-id inbound 20
[Sysname-GigabitEthernet1/0/4-vid-2000] quit
[Sysname-GigabitEthernet1/0/4] quit
# Configure GigabitEthernet1/0/2 as a hybrid port, and configure to remove outer VLAN
tags of VLAN 1000 and VLAN 2000.
[Sysname] interface GigabitEthernet1/0/2
[Sysname-GigabitEthernet1/0/2] port link-type hybrid
[Sysname-GigabitEthernet1/0/2] port hybrid vlan 1000 2000 untagged
Caution:
When using the qing vid command to configure selective QinQ, you need to
remove tags of the packets on the outgoing port of the local switch or configure to
permit the packets with tags on the corresponding ports of the other switches.
In this example, the tags of packets are removed on the outgoing port.
1-10
Chapter 1 QinQ Configuration

Advertisement

Table of Contents
loading

Table of Contents