AR2200雙鏈路出口配置VRRP與NQA聯(lián)動切換不生效
2014/11/24 15:12:40點擊:
問題描述
組網(wǎng)拓?fù)洌?br />
故障描述:
兩臺出口路由器分別配置OSPF動態(tài)路由協(xié)議與運(yùn)營商互連,內(nèi)網(wǎng)用戶網(wǎng)關(guān)配置VRRP并與上行鏈路配置NQA聯(lián)動,當(dāng)路由器到運(yùn)營商鏈路不通時,實現(xiàn)VRRP切換。上行用網(wǎng)線鏈接運(yùn)營商的光纖收發(fā)器,光纖收發(fā)器出來的是尾纖。當(dāng)路由器的上行網(wǎng)線斷開時,線路切換正常。但是當(dāng)光纖收發(fā)器的上行端開,線路就不能切換。
相關(guān)配置:
RT01:
interface GigabitEthernet0/0/0
description TO_yidong
ip address 172.148.68.6 255.255.255.252
ospf network-type p2p
#
interface GigabitEthernet0/0/1.10
dot1q termination vid 10
ip address 168.148.68.34 255.255.255.224
vrrp vrid 10 virtual-ip 168.148.68.33
vrrp vrid 10 priority 120
vrrp vrid 10 track nqa admin test reduced 30
#
interface GigabitEthernet0/0/1.20
dot1q termination vid 20
ip address 168.148.196.34 255.255.255.224
vrrp vrid 20 virtual-ip 168.148.196.33
#
nqa test-instance admin test
test-type icmp
destination-address ipv4 172.148.68.5
source-address ipv4 172.148.68.6
frequency 8
start now#
RT02:
#
interface GigabitEthernet0/0/0
description TO_dianxin
ip address 172.148.196.6 255.255.255.252
ospf network-type p2p
#
interface GigabitEthernet0/0/1.10
dot1q termination vid 10
ip address 168.148.68.35 255.255.255.224
vrrp vrid 10 virtual-ip 168.148.68.33
#
interface GigabitEthernet0/0/1.20
dot1q termination vid 20
ip address 168.148.196.35 255.255.255.224
vrrp vrid 20 virtual-ip 168.148.196.33
vrrp vrid 20 priority 120
vrrp vrid 20 track nqa admin test reduced 30
#
nqa test-instance admin test
test-type icmp
destination-address ipv4 172.148.196.5
source-address ipv4 172.148.196.6
frequency 8
start now
#
故障描述:
兩臺出口路由器分別配置OSPF動態(tài)路由協(xié)議與運(yùn)營商互連,內(nèi)網(wǎng)用戶網(wǎng)關(guān)配置VRRP并與上行鏈路配置NQA聯(lián)動,當(dāng)路由器到運(yùn)營商鏈路不通時,實現(xiàn)VRRP切換。上行用網(wǎng)線鏈接運(yùn)營商的光纖收發(fā)器,光纖收發(fā)器出來的是尾纖。當(dāng)路由器的上行網(wǎng)線斷開時,線路切換正常。但是當(dāng)光纖收發(fā)器的上行端開,線路就不能切換。
相關(guān)配置:
RT01:
interface GigabitEthernet0/0/0
description TO_yidong
ip address 172.148.68.6 255.255.255.252
ospf network-type p2p
#
interface GigabitEthernet0/0/1.10
dot1q termination vid 10
ip address 168.148.68.34 255.255.255.224
vrrp vrid 10 virtual-ip 168.148.68.33
vrrp vrid 10 priority 120
vrrp vrid 10 track nqa admin test reduced 30
#
interface GigabitEthernet0/0/1.20
dot1q termination vid 20
ip address 168.148.196.34 255.255.255.224
vrrp vrid 20 virtual-ip 168.148.196.33
#
nqa test-instance admin test
test-type icmp
destination-address ipv4 172.148.68.5
source-address ipv4 172.148.68.6
frequency 8
start now#
RT02:
#
interface GigabitEthernet0/0/0
description TO_dianxin
ip address 172.148.196.6 255.255.255.252
ospf network-type p2p
#
interface GigabitEthernet0/0/1.10
dot1q termination vid 10
ip address 168.148.68.35 255.255.255.224
vrrp vrid 10 virtual-ip 168.148.68.33
#
interface GigabitEthernet0/0/1.20
dot1q termination vid 20
ip address 168.148.196.35 255.255.255.224
vrrp vrid 20 virtual-ip 168.148.196.33
vrrp vrid 20 priority 120
vrrp vrid 20 track nqa admin test reduced 30
#
nqa test-instance admin test
test-type icmp
destination-address ipv4 172.148.196.5
source-address ipv4 172.148.196.6
frequency 8
start now
#
處理過程
1、斷開中間傳輸鏈路后,使用命令display vrrp查詢兩邊VRRP主備無變化,主備優(yōu)先級與NQA聯(lián)動未生效。
2、使用命令display nqa results test-instance admin test查詢設(shè)備NQA測試統(tǒng)計信息,發(fā)現(xiàn)鏈路斷開后NQA測試?yán)恢睘閞unning狀態(tài),測試結(jié)果為no result。
3、檢查設(shè)備配置,發(fā)現(xiàn)測試?yán)齠requency參數(shù)配置不合理,NQA無正確結(jié)果返回,導(dǎo)致VRRP切換不生效。修改NQA測試?yán)齠requency參數(shù)值為15,啟動NQA測試。重新斷開中間鏈路測試,VRRP主備切換成功。
2、使用命令display nqa results test-instance admin test查詢設(shè)備NQA測試統(tǒng)計信息,發(fā)現(xiàn)鏈路斷開后NQA測試?yán)恢睘閞unning狀態(tài),測試結(jié)果為no result。
3、檢查設(shè)備配置,發(fā)現(xiàn)測試?yán)齠requency參數(shù)配置不合理,NQA無正確結(jié)果返回,導(dǎo)致VRRP切換不生效。修改NQA測試?yán)齠requency參數(shù)值為15,啟動NQA測試。重新斷開中間鏈路測試,VRRP主備切換成功。
根因
NQA配置ICMP測試?yán)齠requency參數(shù)配置不合理導(dǎo)致VRRP與NQA聯(lián)動不生效。
建議與總結(jié)
在ICMP、SNMP、TCP或UDP類型的測試?yán),frequency取值必須大于interval和probe-count取值的乘積。AR G3系列路由器默認(rèn)配置NQA測試?yán)陌l(fā)送ICMP報文的時間間隔interval值為4,發(fā)送探針數(shù)目probe-count值為3。如frequency值配置不合理將會導(dǎo)致NQA測試?yán)裏o正確結(jié)果返回。
- 上一篇:S5700因收到大量STP TC報文導(dǎo)致CPU沖高 2014/11/24
- 下一篇:AP console密碼恢復(fù)方法 2014/11/24