Huawei AR2200-S Series Configuration Manual page 129

Enterprise router
Hide thumbs Also See for AR2200-S Series:
Table of Contents

Advertisement

Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
After the preceding configurations are complete, RouterA and RouterB can obtain the routes to
the peer IP address using OSPF, and can ping each other.
The following shows the output for RouterA:
[RouterA] display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
RouterA and RouterB can ping each other.
[RouterA] ping 192.168.1.1
PING 192.168.1.1: 56
--- 192.168.1.1 ping statistics ---
Step 2 Configure VRRP on Dot1q termination subinterfaces.
# Configure the IP address for the default gateway as 100.1.1.111.
# Create backup group 1 on RouterA and set the priority of RouterA in this group to 120.
(RouterA functions as the master.)
[RouterA] interface gigabitethernet 2/0/0.1
[RouterA-GigabitEthernet2/0/0.1] dot1q vrrp 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
# Create backup group 1 on RouterB, and use the default value for the priority of RouterB in
this group. (RouterB functions as the backup.)
[RouterB] interface gigabitethernet 2/0/0.1
[RouterB-GigabitEthernet2/0/0.1] dot1q vrrp vid 10
[RouterB-GigabitEthernet2/0/0.1] vrrp vrid 1 virtual-ip 100.1.1.111
[RouterB-GigabitEthernet2/0/0.1] quit
After this step is performed, the Dot1q termination subinterface GE2/0/0.1 on RouterA and
RouterB changes to UP, and the route to the network segment 100.1.1.0/24 is 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
Destination/Mask
Issue 01 (2012-01-06)
Destinations : 6
Proto
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
192.168.1.0/24
OSPF
192.168.2.0/24
Direct 0
192.168.2.1/32
Direct 0
192.168.2.2/32
Direct 0
data bytes, press CTRL_C to break
Reply from 192.168.1.1: bytes=56 Sequence=1 ttl=254 time=110 ms
Reply from 192.168.1.1: bytes=56 Sequence=2 ttl=254 time=60 ms
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
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 60/88/110 ms
Destinations : 11
Proto
100.1.1.0/24
OSPF
100.1.1.111/32
OSPF
127.0.0.0/8
Direct 0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 7
Pre
Cost
Flags NextHop
0
D
127.0.0.1
0
D
127.0.0.1
10
2
D
192.168.2.2
0
D
192.168.2.1
0
D
127.0.0.1
0
D
192.168.2.2
Routes : 12
Pre
Cost
Flags NextHop
10
2
D
192.168.2.1
10
2
D
192.168.2.1
0
D
127.0.0.1
2 VRRP Configuration
Interface
InLoopBack0
InLoopBack0
GigabitEthernet1/0/0
GigabitEthernet1/0/0
GigabitEthernet1/0/0
GigabitEthernet1/0/0
Interface
GigabitEthernet1/0/0
GigabitEthernet1/0/0
InLoopBack0
121

Advertisement

Table of Contents
loading

Table of Contents