首页 > 代码库 > vrrp state Initialize

vrrp state Initialize

[AR2-GigabitEthernet0/0/0]dis vrrp b

Total:2     Master:0     Backup:0     Non-active:2      

VRID  State        Interface                Type     Virtual IP     

----------------------------------------------------------------

1     Initialize   GE0/0/0                  Normal   172.16.1.254   

2     Initialize   GE0/0/0                  Normal   172.16.1.253   

<AR2>dis vrrp brief

Total:1     Master:0     Backup:0     Non-active:1      

VRID  State        Interface                Type     Virtual IP     

----------------------------------------------------------------

1     Initialize   GE0/0/0                  Normal   172.16.1.254




[AR2-GigabitEthernet0/0/0]dis th

[V200R003C00]

#

interface GigabitEthernet0/0/0

 vrrp vrid 1 virtual-ip 172.16.1.254

 vrrp vrid 1 priority 120

 vrrp vrid 2 virtual-ip 172.16.1.253

#

return

[AR2-GigabitEthernet0/0/0]



[AR2-GigabitEthernet0/0/0]ip address 172.16.1.100 24




[AR2-GigabitEthernet0/0/0]dis th

[V200R003C00]

#

interface GigabitEthernet0/0/0

 ip address 172.16.1.100 255.255.255.0 

 vrrp vrid 1 virtual-ip 172.16.1.254

 vrrp vrid 1 priority 120

 vrrp vrid 2 virtual-ip 172.16.1.253

#

return

[AR2-GigabitEthernet0/0/0]

端口没有配置IP地址,加上就可以了。

vrrp state Initialize