Huawei AR2200-S Series Configuration Manual page 110

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

Advertisement

Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
2.
3.
4.
Data Preparation
To complete the configuration, you need the following data:
l
l
l
Procedure
Step 1 Configure IP addresses for interfaces to ensure connectivity.
For details, see the configuration files.
Step 2 Create a VRRP group and configure basic VRRP functions.
# Create VRRP group 10 on Router A and set the priority of RouterA in VRRP group 10 to 160
so that RouterA functions as the master in VRRP group 10.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] interface gigabitethernet 2/0/0
[RouterA-GigabitEthernet2/0/0] vrrp vrid 10 virtual-ip 10.1.1.3
[RouterA-GigabitEthernet2/0/0] vrrp vrid 10 priority 160
[RouterA-GigabitEthernet2/0/0] quit
# Create VRRP group 10 on RouterB and set the priority of RouterB in VRRP group 10 to 140
so that RouterB functions as the backup in VRRP group 10.
<Huawei> system-view
[Huawei] sysname RouterB
[RouterB] interface gigabitethernet 2/0/0
[RouterB-GigabitEthernet2/0/0] vrrp vrid 10 virtual-ip 10.1.1.3
[RouterB-GigabitEthernet2/0/0] vrrp vrid 10 priority 140
[RouterB-GigabitEthernet2/0/0] quit
Step 3 Configure BFD.
# Configure a BFD session on Router A.
[RouterA] bfd
[RouterA-bfd] quit
[RouterA] interface gigabitethernet 2/0/0
[RouterA-GigabitEthernet2/0/0] ip address 10.1.1.1 24
[RouterA-GigabitEthernet2/0/0] quit
[RouterA] bfd atob bind peer-ip 10.1.1.2 interface gigabitethernet 2/0/0
[RouterA-bfd-session-atob] discriminator local 1
Issue 01 (2012-01-06)
Create a VRRP group on GE2/0/0 of RouterA and RouterB. RouterA is the master and
RouterB is the backup. When the link of RouterA is faulty, services are switched to the link
of RouterB.
Configure BFD sessions on GE2/0/0 on Router A and Router B to monitor the link Router
A - Switch A - Router B as well as Router A itself.
Enable VRRP to track BFD sessions on Router B.
NOTE
l This example covers only configurations on Router A and Router B.
l If the switchover needs to be implemented only on Router A, configure BFD sessions on GE1/0/0 that
is directly connected to Router A and Router B. The configuration is not mentioned here.
IP addresses of RouterA and RouterB
VRRP group 10 and its virtual IP address 10.1.1.3, RouterA's priority 160, and RouterB's
priority 140
Local and remote discriminators
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 VRRP Configuration
102

Advertisement

Table of Contents
loading

Table of Contents