Huawei AR2200-S Series Configuration Manual page 102

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

Advertisement

Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] interface gigabitethernet 2/0/0
[RouterA-GigabitEthernet2/0/0] ip address 10.1.1.1 24
[RouterA-GigabitEthernet2/0/0] vrrp vrid 1 virtual-ip 10.1.1.111
[RouterA-GigabitEthernet2/0/0] vrrp vrid 1 priority 120
[RouterA-GigabitEthernet2/0/0] vrrp vrid 1 preempt-mode timer delay 20
[RouterA-GigabitEthernet2/0/0] quit
[RouterA] quit
# On Router B, configure the IP address of the interface, create backup group 1 and configure
the priority of Router B in this group with the default value 100 (as the backup router).
<Huawei> system-view
[Huawei] sysname RouterB
[RouterB] interface gigabitethernet 2/0/0
[RouterB-GigabitEthernet2/0/0] ip address 10.1.1.2 24
[RouterB-GigabitEthernet2/0/0] vrrp vrid 1 virtual-ip 10.1.1.111
[RouterB-GigabitEthernet2/0/0] quit
[RouterB] quit
Step 2 Configure network interconnection between devices.
# Configure the default gateway of Host A with 10.1.1.111 and the default gateway of Host B
with 20.1.1.1. The details are not mentioned here.
# Configure Router A, Router B and Router C to use OSPF for interconnection. For the details
about the configuration, see the configuration file.
Step 3 Verify the configuration.
l Check that the VRRP backup group can serve as a gateway.
Issue 01 (2012-01-06)
After the previous configuration, Host A can ping through Host B.
Running the display vrrp command on Router A, you can view that the status of Router A
is Master.
<RouterA> display vrrp
GigabitEthernet2/0/0 | Virtual Router 1
State
v
: Master
Virtual IP
: 10.1.1.111
Master IP
: 10.1.1.1
PriorityRun
: 120
PriorityConfig : 120
MasterPriority : 120
Preempt
: YES
TimerRun
: 1 s
TimerConfig
: 1 s
Auth Type
: NONE
Virtual Mac
:
Check TTL
: YES
Config type
: normal-vrrp
Create time
Last change time
Running the display vrrp command on Router B, you can view that the status of Router B
is Backup.
<RouterB> display vrrp
GigabitEthernet2/0/0 | Virtual Router 1
State
: Backup
Virtual IP
: 10.1.1.111
Master IP
: 10.1.1.2
PriorityRun
: 100
PriorityConfig : 100
MasterPriority : 120
Preempt
: YES
TimerRun
: 1 s
TimerConfig
: 1 s
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Delay Time : 20
0000-5e00-0101
: 2010-06-22 17:33:00
: 2010-06-22 17:33:06
Delay Time : 0
2 VRRP Configuration
94

Advertisement

Table of Contents
loading

Table of Contents