H3C S5500-SI Series Operation Manual page 8

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
[Sysname-GigabitEthernet1/0/1-vid-2000] quit
[Sysname-GigabitEthernet1/0/1] quit
# Configure GigabitEthernet 1/0/2 as a trunk port, and permit frames of VLAN 1000 and
VLAN 2000 to pass.
[Sysname] interface GigabitEthernet 1/0/2
[Sysname-GigabitEthernet1/0/2] port link-type trunk
[Sysname-GigabitEthernet1/0/2] port trunk permit vlan 1000 2000
[Sysname-GigabitEthernet1/0/2] quit
# Set the global QinQ TPID to 0x8200.
[Sysname] qinq ethernet-type 8200
# Configure GigabitEthernet1/0/4 as a hybrid port, and configure the port to send
packets of VLAN 1000 without outer VLAN tags.
[Sysname] interface GigabitEthernet 1/0/4
[Sysname-GigabitEthernet1/0/4] port link hybrid
[Sysname-GigabitEthernet1/0/4] port hybrid vlan 1000 untagged
# Tag frames of VLAN 10 with the VLAN tag of VLAN 1000 as the outer tags.
[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
2)
Configuration on Provider 2
# Configure GigabitEthernet 1/0/3 as a trunk port, and permit frames of VLAN 1000 and
VLAN 2000 to pass.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/3
[Sysname-GigabitEthernet1/0/3] port link-type trunk
[Sysname-GigabitEthernet1/0/3] port trunk permit vlan 1000 2000
[Sysname-GigabitEthernet1/0/3] quit
# Set the global QinQ TPID to 0x8200.
[Sysname] qinq ethernet-type 8200
# Configure GigabitEthernet1/0/5 as a hybrid port, and configure the port to send
packets of VLAN 2000 without outer VLAN tags.
[Sysname] interface GigabitEthernet 1/0/5
[Sysname-GigabitEthernet1/0/5] port link hybrid
[Sysname-GigabitEthernet1/0/5] port hybrid vlan 2000 untagged
# Tag frames of VLAN 20 with the VLAN tag of VLAN 2000 as the outer tags.
[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
1-7
Chapter 1 QinQ Configuration

Advertisement

Table of Contents
loading

Table of Contents