H3C S9500 Series Operating Manual page 13

Hide thumbs Also See for H3C S9500 Series:
Table of Contents

Advertisement

Operation Manual – QinQ
H3C S9500 Series Routing Switches
# Configure the GigabitEthernet 2/1/2 port to be a VLAN-VPN uplink port and add it to
VLAN 10 (a trunk port).
[SwitchA]interface GigabitEthernet2/1/2
[SwitchA-GigabitEthernet2/1/2]port link-type trunk
[SwitchA-GigabitEthernet2/1/2]port trunk permit vlan 10
[SwitchA-GigabitEthernet2/1/2]vlan-vpn uplink enable
# Configure the GigabitEthernet 2/1/1 port to be a VLAN VPN port and add it to VLAN
10 (an access port).
[SwitchA]interface GigabitEthernet2/1/1
[SwitchA-GigabitEthernet2/1/1]port access vlan 10
[SwitchA-GigabitEthernet2/1/1]vlan-vpn enable
[SwitchA-GigabitEthernet2/1/1]quit
2)
Configure Switch B
Because Switch B is produced by other vendor, related commands may differ from
those available to S9500 switches. So only the operation is listed, as shown below:
Configure GigabitEthernet 3/1/1 and GigabitEthernet 3/1/3 ports of Switch B to be
trunk ports.
Add the two ports to VLAN 10.
Note:
The following describes how a packet is forwarded from Switch A to Switch C.
As the GigabitEthernet 2/1/1 port of Switch A is a VLAN VPN port, when a packet
reaches GigabitEthernet 2/1/1 port of Switch A, it is tagged with the default VLAN
tag (VLAN 10, the outer tag) and is then forwarded to GigabitEthernet 2/1/2 port.
Because GigabitEthernet 2/1/2 port is a VLAN-VPN uplink port with a TPID of
0x9100, Switch A changes the TPID value in the outer VLAN Tag of the packet to
0x9100, and forwards the packet to the public network.
The packet reaches GigabitEthernet 3/1/2 port of Switch B. Switch B sends the
packet to its GigabitEthernet 3/1/1 port by forwarding the packet in VLAN 10.
The packet is forward from GigabitEthernet 3/1/1 port of Switch B to the network on
the other side and enters GigabitEthernet 2/1/2 port of Switch C, Switch C sends the
packet to its GigabitEthernet 2/1/1 port by forwarding the packet in VLAN 10. As
GigabitEthernet 2/1/1 port is an access port, Switch C strip off the outer VLAN tag of
the packet and restores the original packet.
A packet goes through similar procedure when traveling from Switch C to Switch A.
1-12
Chapter 1 QinQ Configuration

Advertisement

Table of Contents
loading

Table of Contents