USG5120BSR 双机热备两台设备都为master状态解决方法

发布时间:  2012-07-19 浏览次数:  145 下载次数:  0
问题描述

主机主要vrrp配置:
hrp enable
hrp preempt delay 20

interface GigabitEthernet0/0/0
ip address 172.21.169.240 255.255.255.0
vrrp vrid 1 virtual-ip 172.21.169.253 master
#
interface GigabitEthernet0/0/1
ip address 192.168.1.1 255.255.255.0
vrrp vrid 2 virtual-ip 192.168.1.3 master
#
interface GigabitEthernet0/0/2
ip address 192.168.7.252 255.255.255.248
vrrp vrid 3 virtual-ip 192.168.7.251 master

备机主要vrrp配置:
hrp enable
hrp preempt delay 20

interface GigabitEthernet0/0/0
ip address 172.21.169.241 255.255.255.0
vrrp vrid 1 virtual-ip 172.21.169.253 slave
#
interface GigabitEthernet0/0/1
ip address 192.168.1.2 255.255.255.0
vrrp vrid 2 virtual-ip 192.168.1.3 slave
#
interface GigabitEthernet0/0/2
ip address 192.168.7.253 255.255.255.248
vrrp vrid 3 virtual-ip 192.168.7.251 slave

双机配置和状态截图如下,状态都为master:

告警信息
处理过程

查看相应型号双机配置手册。

发现两心跳口并没有加入vrrp组,而是通过hrp interface GigabitEthernet 0/0/1命令打为心跳口即可。修改配置问题解决。

后修改vrrp配置如下(其他配置略):

主机:

hrp enable
hrp preempt delay 20

hrp interface GigabitEthernet 0/0/1

interface GigabitEthernet0/0/0
ip address 172.21.169.240 255.255.255.0
vrrp vrid 1 virtual-ip 172.21.169.253 master
#
interface GigabitEthernet0/0/1
ip address 192.168.1.1 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 192.168.7.252 255.255.255.248
vrrp vrid 3 virtual-ip 192.168.7.251 master

 

备机:

hrp enable
hrp preempt delay 20


interface GigabitEthernet0/0/0
ip address 172.21.169.241 255.255.255.0
vrrp vrid 1 virtual-ip 172.21.169.253 slave
#
interface GigabitEthernet0/0/1
ip address 192.168.1.2 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 192.168.7.253 255.255.255.248
vrrp vrid 3 virtual-ip 192.168.7.251 slave

根因
双机配置问题。
建议与总结
配置双机尽量按照对应型号配置手册配置,因为不同型号配置可能有所不同。

END