
Reply from 192.168.1.1: bytes=56 Sequence=3 ttl=254 time=90 ms
Reply from 192.168.1.1: bytes=56 Sequence=4 ttl=254 time=90 ms
Reply from 192.168.1.1: bytes=56 Sequence=5 ttl=254 time=90 ms
--- 192.168.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 60/88/110 ms
Step 2
Configure VRRP on QinQ termination subinterfaces.
# Configure the IP address for the default gateway as
100.1.1.111
.
# Create backup groups 1 and 2 on RouterA and set the priority of RouterA in each group to
120. (RouterA functions as the master.)
[RouterA]
interface gigabitethernet 2/0/0.1
[RouterA-GigabitEthernet2/0/0.1]
qinq vrrp pe-vid 100 ce-vid 10
[RouterA-GigabitEthernet2/0/0.1]
vrrp vrid 1 virtual-ip 100.1.1.111
[RouterA-GigabitEthernet2/0/0.1]
vrrp vrid 1 priority 120
[RouterA-GigabitEthernet2/0/0.1]
vrrp vrid 1 preempt-mode timer delay 20
[RouterA-GigabitEthernet2/0/0.1]
quit
[RouterA]
interface gigabitethernet 2/0/0.2
[RouterA-GigabitEthernet2/0/0.2]
qinq vrrp pe-vid 100 ce-vid 20
[RouterA-GigabitEthernet2/0/0.2]
vrrp vrid 2 virtual-ip 200.1.1.111
[RouterA-GigabitEthernet2/0/0.2]
vrrp vrid 2 priority 120
[RouterA-GigabitEthernet2/0/0.2]
vrrp vrid 2 preempt-mode timer delay 20
[RouterA-GigabitEthernet2/0/0.2]
quit
# Create backup groups 1 and 2 on RouterB, and use the default value for the priority of
RouterB in each group. (RouterB functions as the backup node.)
[RouterB]
interface gigabitethernet 2/0/0.1
[RouterB-GigabitEthernet2/0/0.1]
qinq vrrp pe-vid 100 ce-vid 10
[RouterB-GigabitEthernet2/0/0.1]
vrrp vrid 1 virtual-ip 100.1.1.111
[RouterB-GigabitEthernet2/0/0.1]
quit
[RouterB]
interface gigabitethernet 2/0/0.2
[RouterB-GigabitEthernet2/0/0.2]
qinq vrrp pe-vid 100 ce-vid 20
[RouterB-GigabitEthernet2/0/0.2]
vrrp vrid 2 virtual-ip 200.1.1.111
[RouterB-GigabitEthernet2/0/0.2]
quit
NOTE
When you run the
qinq termination
command on the same main interface, the
ce-vid
values of the two
subinterfaces must be different if their
pe-vid
values are the same.
After this step is performed, the QinQ termination subinterfaces GE2/0/0.1 and GE2/0/0.2 on
RouterA and RouterB change to UP, and the routes to the network segments 100.1.1.0/24 and
200.1.1.0/24 are generated on RouterC. The following shows the output for RouterC:
[RouterC]
display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 12 Routes : 14
Destination/Mask Proto Pre Cost Flags NextHop Interface
100.1.1.0/24 OSPF 10 2 D 192.168.1.1 GigabitEthernet1/0/0
OSPF 10 2 D 192.168.2.1 GigabitEthernet1/0/0
100.1.1.111/32 OSPF 10 2 D 192.168.2.1 GigabitEthernet1/0/0
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
192.168.1.0/24 Direct 0 0 D 192.168.1.2 GigabitEthernet2/0/0
192.168.1.1/32 Direct 0 0 D 192.168.1.1 GigabitEthernet2/0/0
192.168.1.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet2/0/0
192.168.2.0/24 Direct 0 0 D 192.168.2.2 GigabitEthernet1/0/0
192.168.2.1/32 Direct 0 0 D 192.168.2.1 GigabitEthernet1/0/0
192.168.2.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet1/0/0
200.1.1.0/24 OSPF 10 2 D 192.168.2.1 GigabitEthernet1/0/0
OSPF 10 2 D 192.168.1.1 GigabitEthernet1/0/0
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.
129