Huawei AR2200-S Series Configuration Manual page 130

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

Advertisement

Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
Step 3 Configure the Layer 2 forwarding function.
# Configure Switch.
<Huawei> system-view
[Huawei] sysname Switch
[Switch] vlan 10
[Switch-vlan10] port gigabitethernet 1/0/0
[Switch-vlan10] quit
[Switch] interface gigabitethernet 1/0/1
[Switch-GigabitEthernet1/0/1] port trunk allow-pass vlan 10
[Switch-GigabitEthernet1/0/1] quit
[Switch] interface gigabitethernet 1/0/2
[Switch-GigabitEthernet1/0/2] port trunk allow-pass vlan 10
[Switch-GigabitEthernet1/0/2] quit
Step 4 Verify the configuration.
# The VRRP backup group can function as the gateway.
Run the display vrrp command on RouterA and RouterB to verify that RouterA functions as
the master and RouterB functions as the backup.
[RouterA] display vrrp
GigabitEthernet2/0/0.1 | Virtual Router 1
[RouterB] display vrrp
GigabitEthernet2/0/0.1 | Virtual Router 1
Run the display ip routing-table command on RouterA and RouterB. The command output
shows that the routing table of RouterA contains a direct route to the IP address of the virtual
gateway, and this route is contained in the routing table of RouterB as an OSPF route. The
command output for RouterA and RouterB is as follows:
[RouterA] display ip routing-table
Issue 01 (2012-01-06)
127.0.0.1/32
Direct 0
192.168.1.0/24
Direct 0
192.168.1.1/32
Direct 0
192.168.1.2/32
Direct 0
192.168.2.0/24
OSPF
192.168.2.0/30
Direct 0
192.168.2.1/32
Direct 0
192.168.2.2/32
Direct 0
State : Master
Virtual IP : 100.1.1.111
Master IP : 100.1.1.1
PriorityRun : 120
PriorityConfig : 120
MasterPriority : 120
Preempt : YES
Delay time : 20
TimerRun : 1
TimerConfig : 1
Auth type : NONE
Virtual MAC :
0000-5e00-0101
Check TTL : YES
Config type : normal-vrrp
State : Backup
Virtual IP : 100.1.1.111
Master IP : 100.1.1.2
PriorityRun : 100
PriorityConfig : 100
MasterPriority : 120
Preempt : YES
Delay time : 20
TimerRun : 1
TimerConfig : 1
Auth type : NONE
Virtual MAC :
0000-5e00-0101
Check TTL : YES
Config type : normal-vrrp
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
0
D
127.0.0.1
0
D
192.168.1.2
0
D
192.168.1.1
0
D
127.0.0.1
10
2
D
192.168.2.1
0
D
192.168.2.2
0
D
192.168.2.1
0
D
127.0.0.1
2 VRRP Configuration
InLoopBack0
GigabitEthernet1/0/1
GigabitEthernet1/0/1
GigabitEthernet1/0/1
GigabitEthernet1/0/0
GigabitEthernet1/0/0
GigabitEthernet1/0/0
GigabitEthernet1/0/0
122

Advertisement

Table of Contents
loading

Table of Contents