Huawei AR2200-S Series Configuration Manual page 121

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

Advertisement

Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
3.
4.
Data Preparation
To complete the configuration, you need the following data:
l
l
l
l
Procedure
Step 1 Assign IP addresses to interfaces on Router A. The configuration of Router A is similar to the
configurations of the switch, Router B, and Router C. For details about configurations, see the
configuration files.
# Assign IP addresses to GE 1/0/0 and GE 2/0/0.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] interface gigabitethernet 1/0/0
[RouterA-GigabitEthernet1/0/0] ip address 10.1.1.1 24
[RouterA-GigabitEthernet1/0/0] quit
[RouterA] interface gigabitethernet 2/0/0
[RouterA-GigabitEthernet2/0/0] ip address 192.168.1.1 24
[RouterA-GigabitEthernet2/0/0] quit
Step 2 Configure basic functions of a VRRP backup group.
# Configure a VRRP backup group with VRID of 1 on Router A and set the VRRP priority value
of Router A to 120 to allow Router A to function as the master.
[RouterA] interface gigabitethernet 1/0/0
[RouterA-GigabitEthernet1/0/0] vrrp vrid 1 virtual-ip 10.1.1.10
[RouterA-GigabitEthernet1/0/0] vrrp vrid 1 priority 120
[RouterA-GigabitEthernet1/0/0] vrrp vrid 1 preempt-mode timer delay 20
[RouterA-GigabitEthernet1/0/0] quit
# Configure a VRRP backup group with VRID of 1 on Router B.
[RouterB] interface gigabitethernet 1/0/0
[RouterB-GigabitEthernet1/0/0] vrrp vrid 1 virtual-ip 10.1.1.10
[RouterB-GigabitEthernet1/0/0] quit
After completing the preceding configurations, run the display vrrp command on Router A and
Router B. The VRRP status of Router A is Master, and that of Router B is Backup. Use the
display on Router A as an example.
[RouterA] display vrrp
GigabitEthernet1/0/0 | Virtual Router 1
Issue 01 (2012-01-06)
Configure IS-IS on Router A and Router C to ensure that the routes between them are
reachable.
Associate Router A with the route to Router C's interface connected to the network. If the
tracked route is withdrawn or becomes inactive, Router A reduces its VRRP priority value
by 40 and triggers a master/backup VRRP switchover.
IP addresses of interfaces on the switch, Router A, Router B, and Router C, shown in
2-7
(For details, see the configuration files.)
Virtual IP address (10.1.1.10/24) and preemption delay time (20 seconds)
Routing protocol parameters for Router A and Router C: Router A's IS-IS entity name
(10.0000.0000.0001.00) and IS-IS level (Level-1), and Router C's IS-IS entity name
(10.0000.0000.0002.00)
Route (destination address of 20.1.1.1) tracked by VRRP and value (40) by which router
A's VRRP priority decreases if the route becomes unreachable.
State : Master
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 VRRP Configuration
Figure
113

Advertisement

Table of Contents
loading

Table of Contents