您好,登錄后才能下訂單哦!
fw1: interfaceGigabitEthernet0/0/0 ip address 192.168.1.2 255.255.255.0 hrp track master interfaceGigabitEthernet0/0/1 ip address 202.100.1.1 255.255.255.0 hrp track master hrp mirror sessionenable hrp enable hrp ospf-costadjust-enable hrp interfaceGigabitEthernet0/0/2 ip-link check enable ip-link 1destination 100.100.100.100 interface g0/0/1 mode icmp hrp track ip-link 1master fw2: interfaceGigabitEthernet0/0/0 ip address 192.168.2.2 255.255.255.0 hrp track slave interfaceGigabitEthernet0/0/1 ip address 202.100.2.1 255.255.255.0 hrp track slave hrp mirror sessionenable hrp enable hrp ospf-costadjust-enable hrp interfaceGigabitEthernet0/0/2 ip-link check enable ip-link 1destination 100.100.100.100 interface g0/0/1 mode icmp hrp track ip-link 1salve ----------------------------------------------------------------------------------------- 查看HRP狀態(tài): HRP_M[FW1]dis hrpstate 09:49:06 2014/07/24 The firewall's config state is: MASTER Current state of interfaces tracked by master: GigabitEthernet0/0/0 : up GigabitEthernet0/0/1 : up HRP_S[FW2]dis hrpstate 09:49:27 2014/07/24 The firewall's config state is: SLAVE Current state of interfaces tracked by slave: GigabitEthernet0/0/0 : up GigabitEthernet0/0/1 : up -------------------------------------------------------------------------------------------------- 查看ip-link狀態(tài): HRP_M[FW1]disip-link 09:38:14 2014/07/24 num state timer***-instance ip-address interface-name mode vgmp next-hop 1 up 3 100.100.100.100GE0/0/1 icmp master HRP_S[FW2]disip-link 09:38:21 2014/07/24 num state timer***-instance ip-address interface-name mode vgmp next-hop 1 up 3 100.100.100.100 GE0/0/1 icmp slave ---------------------------------------------------------------------------------------------------------------- 當(dāng)服fw1的G0/0/1或G0/0/0失效后,hrp主備切換。 HRP_M[FW1]intg0/0/1 HRP_M[FW1-GigabitEthernet0/0/1]shutdown HRP_S[FW1-GigabitEthernet0/0/1]dis hrp state 10:30:25 2014/07/24 The firewall's config state is: SLAVE Current state of interfaces tracked by master: GigabitEthernet0/0/0 : up GigabitEthernet0/0/1 : down HRP_M[FW2]display hrp state 10:30:56 2014/07/24 The firewall's config state is: MASTER Current state of interfaces tracked by slave: GigabitEthernet0/0/0 : up GigabitEthernet0/0/1 : up ---------------------------------------------------------------------------------- 當(dāng)?shù)竭_(dá)outside路由器100.100.100.100地址失效后,ip-link檢查失效,hrp主備切換。 [Outside-LoopBack0]intg0/0/0 [Outside-GigabitEthernet0/0/0]shutdown (到達(dá)100.100.100.100不通,ip-link檢查失效) HRP_S[FW1]display hrp state 10:34:28 2014/07/24 The firewall's config state is: SLAVE Current state of interfaces tracked by master: GigabitEthernet0/0/0 : up GigabitEthernet0/0/1 : up HRP_M[FW2]display hrp state 10:34:46 2014/07/24 The firewall's config state is: MASTER Current state of interfaces tracked by slave: GigabitEthernet0/0/0 : up GigabitEthernet0/0/1 : up HRP_S[FW1]dis ip-link 11:06:44 2014/07/24 num state timer***-instance ip-address interface-name mode vgmp next-hop 1 down 3 100.100.100.100 GE0/0/1 icmp master HRP_M[FW2]dis ip-link 11:07:03 2014/07/24 num state timer***-instance ip-address interface-name mode vgmp next-hop 1 up 3 100.100.100.100 GE0/0/1 icmp slave |
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。