
network 192.168.2.0 0.0.0.255
network 100.1.1.0 0.0.0.255
#
return
l
Configuration file of RouterB
#
sysname RouterB
#
interface GigabitEthernet2/0/0.1
control-vid 1 dot1q-termination
dot1q termination vid 10
dot1q vrrp vid 10
ip address 100.1.1.2 255.255.255.0
vrrp vrid 1 virtual-ip 100.1.1.111
arp broadcast enable
#
interface GigabitEthernet1/0/0
ip address 192.168.1.1 255.255.255.0
#
ospf 1
area 0.0.0.0
network 192.168.1.0 0.0.0.255
network 192.168.1.0 0.0.0.255
network 100.1.1.0 0.0.0.255
#
return
l
Configuration file of RouterC
#
sysname RouterC
#
interface GigabitEthernet1/0/0
ip address 192.168.2.2 255.255.255.0
#
interface GigabitEthernet1/0/1
ip address 192.168.1.2 255.255.255.0
#
ospf 1
area 0.0.0.0
network 192.168.1.0 0.0.0.255
network 192.168.2.0 0.0.0.255
#
return
l
Configuration file of Switch
#
sysname Switch
#
vlan batch 10
#
interface GigabitEthernet1/0/0
port default vlan 10
#
interface GigabitEthernet1/0/1
port trunk allow-pass vlan 10
#
interface GigabitEthernet1/0/2
port trunk allow-pass vlan 10
#
return
2.11.7 Example for Configuring VRRP on QinQ Termination
Subinterfaces
In this example, configure VRRP on QinQ termination subinterfaces to ensure that terminal
users can send packets with two tags to an external network successfully.
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.
125