
1.
Configure OSPF to enable RouterA, RouterB, and RouterC to communicate with each
other.
2.
Configure the QinQ termination subinterface on RouterA and RouterB.
3.
Create backup group 1 on GE2/0/0.1 of RouterA. Configure the highest priority for
RouterA in the backup group to ensure that RouterA functions as the master. Configure the
preemption mode for RouterA.
4.
Create backup group 2 on GE2/0/0.2 of RouterA. Configure the highest priority for
RouterA in the backup group to ensure that RouterA functions as the master. Configure the
preemption mode for RouterA.
5.
Create backup group 2 on GE2/0/0.1 of RouterB and use the default priority.
6.
Create backup group 2 on GE2/0/0.2 of RouterB and use the default priority.
7.
Configure the QinQ function on SwitchA to ensure that packets sent from SwitchA to
RouterA and RouterB carry two tags.
8.
Configure the basic Layer 2 forwarding function on SwitchB and SwitchC.
Data Preparation
To complete the configuration, you must prepare the following data:
l
ID and virtual IP address of the VRRP backup group
l
Priority of each router in the backup group
l
Tag value of each QinQ termination subinterface
Procedure
Step 1
Configure interworking between the Routers.
Configure OSPF on RouterA, RouterB, and RouterC.
# Configure RouterA.
<Huawei>
system-view
[Huawei]
sysname RouterA
[RouterA]
interface gigabitethernet 1/0/0
[RouterA-GigabitEthernet1/0/0]
ip address 192.168.2.1 24
[RouterA-GigabitEthernet1/0/0]
quit
[RouterA]
interface GigabitEthernet 2/0/0.1
[RouterA-GigabitEthernet2/0/0.1]
ip address 100.1.1.1 24
[RouterA-GigabitEthernet2/0/0.1]
control-vid 1 qinq-termination
[RouterA-GigabitEthernet2/0/0.1]
qinq termination pe-vid 100 ce-vid 10
[RouterA-GigabitEthernet2/0/0.1]
arp broadcast enable
[RouterA-GigabitEthernet2/0/0.1]
quit
[RouterA]
interface GigabitEthernet 2/0/0.2
[RouterA-GigabitEthernet2/0/0.2]
ip address 200.1.1.1 24
[RouterA-GigabitEthernet2/0/0.2]
control-vid 2 qinq-termination
[RouterA-GigabitEthernet2/0/0.2]
qinq termination pe-vid 100 ce-vid 20
[RouterA-GigabitEthernet2/0/0.2]
arp broadcast enable
[RouterA-GigabitEthernet2/0/0.2]
quit
[RouterA]
ospf
[RouterA-ospf-1]
area 0
[RouterA-ospf-1-area-0.0.0.0]
network 192.168.2.0 0.0.0.255
[RouterA-ospf-1-area-0.0.0.0]
network 100.1.1.0 0.0.0.255
[RouterA-ospf-1-area-0.0.0.0]
network 200.1.1.0 0.0.0.255
[RouterA-ospf-1-area-0.0.0.0]
quit
[RouterA-ospf-1]
quit
# Configure RouterB.
<Huawei>
system-view
Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
2 VRRP Configuration
Issue 01 (2012-01-06)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
127