Huawei NetEngine80E Configuration Manual - Reliability page 196

Hide thumbs Also See for NetEngine80E:
Table of Contents

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
# Configure OSPF on Router A, Router B, and Router C to ensure their interconnections. For
detailed information, see the configuration files.
Step 2 Configure the switch.
# Create a VLAN named VLAN10 on the switch; add physical interfaces connecting the switch
to Router A and Router B to VLAN10 in untagged mode.
<HUAWEI> system-view
[HUAWEI] sysname Switch
[Switch] vlan 10
[Switch-vlan10] quit
[Switch] interface gigabitethernet 1/1/1
[Switch-GigabitEthernet1/1/1] undo shutdown
[Switch-GigabitEthernet1/1/1] portswitch
[Switch-GigabitEthernet1/1/1] port default vlan 10
[Switch-GigabitEthernet1/1/1] quit
[Switch] interface gigabitethernet 1/1/2
[Switch-GigabitEthernet1/1/2] undo shutdown
[Switch-GigabitEthernet1/1/2] portswitch
[Switch-GigabitEthernet1/1/2] port default vlan 10
[Switch-GigabitEthernet1/1/2] quit
Step 3 Configure a VRRP backup group.
# Create VRRP backup group 1 on Router A and set the VRRP priority value to 120 so that
Router A functions as the Master.
<HUAWEI> system-view
[HUAWEI] sysname RouterA
[RouterA] interface gigabitethernet 2/0/0
[RouterA-GigabitEthernet2/0/0] undo shutdown
[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
# Create VRRP backup group 1 on Router B.
<HUAWEI> system-view
[HUAWEI] sysname RouterB
[RouterB] interface gigabitethernet 2/0/0
[RouterB-GigabitEthernet2/0/0] undo shutdown
[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 4 Verify the configuration.
l Verify that the VRRP backup group properly provides gateway functions.
# 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 the VRRP status of Router B is
Backup. The command output on Router A and Router B is as follows:
<RouterA> display vrrp
GigabitEthernet2/0/0 | Virtual Router 1
Issue 02 (2014-09-30)
State : Master
Virtual IP : 10.1.1.111
Master IP : 10.1.1.1
PriorityRun : 120
PriorityConfig : 120
MasterPriority : 120
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 VRRP Configuration
179

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netengine40e

Table of Contents