Professional Documents
Culture Documents
Guide
ISSUE 1.0
ODL010024 QinQ laboratory Exercise Guide ISSUE1.0 Contents
Contents
Test Instructions
This test introduces the specific implementation and application of QinQ from the
operation aspect. This course covers VLAN-VPN Tunnel application configurations
and processes for QinQ
Version Introduction
This Guide is applicable to VRP versions 3.10, RELEASE 1270
Test Objectives
To get familiar with the basic configurations and basic principles for QinQ.
To get familiar with information monitor of QinQ
To grasp troubleshooting for QinQ
Test Tasks
Configure QinQ VLAN-VPN Tunnel
Relevant Materials
Quidway S8500 Routing Switch Operation and Maintains Manual
Quidway S8500 Routing Switch Command Manual
In this test, this is a typical network topology for VLAN-VPN application. Switch A and
Switch B belong to the same VPN custom. Configuring VLAN-VPN Tunnel to realize
transferring user data and user BPDU packets transparently between custom network
and ISP network.
The two S8500 switches are used as ISP access equipments, realize VPN-VPN
Tunnel, in the topology, the two S8500 are Switch C, Switch D; S3000 are used as
custom network access equipments, are Switch A, Switch B.
Table 1.1
Operation Version Command
Enable VLAN VPN on a port VRP 3.10 vlan-vpn enable
Enable VLAN-VPN TUNNEL in the VRP 3.10 vlan-vpn tunnel
system view
Set outer VLAN tags for the packets VRP 3.10 traffic-redirect inbound ip-group {
matching the ACL rules acl-number | acl-name } [ rule
rule ] link-group { acl-number |
acl-name } [ rule rule ] { nested-
vlan nested-vlanid | modified-
vlan modified-vlanid }
Modify outer VLAN tags for the packets VRP 3.10 traffic-redirect inbound ip-group {
matching the ACL flow rules acl-number | acl-name } [ rule rule ]
link-group { acl-number | acl-name }
[ rule rule ] modified-vlan modified-
vlanid
Configure regular
VLAN and STP in
Custom Switch
Configure regular
VLAN and STP in
S8500
Enable vlan-vpn
tunnel and vlan-vpn in
S8500
2) Monitor the VLAN tag in the S8500, the result is S8500 only dispose the
outer VLAN Tag.
[S8505A]display mac-address
3) Monitor the STP information in the custom switch, Switch A and Switch B.
[SW1]display stp
[SW2]display stp
-------[CIST Global Info][Mode RSTP]-------
CIST Bridge :32768.000f-e212-fb4b
Bridge Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
CIST Root/ERPC :32768.000f-e212-fb4b / 0
CIST RegRoot/IRPC :32768.000f-e212-fb4b / 0
CIST RootPortId :0.0
BPDU-Protection :disabled
TC or TCN received :0
Time since last TC :0 days 0h:48m:28s
From the result, we can see, spanning public ISP network, Switch A and
Switch B can transfer private BPDU packets transparently, then calculate
STP. In this case, Switch B of MAC000f-e212-fb4b is elected as Root
Bridge.