您好,登錄后才能下訂單哦!
在IOS XR上配置BFD
BFD提供一種在兩個接口之間的低負載、快速的鏈路檢測方法。基本原理周期性并極短時間發送小包來檢測鏈路是否連接正常。
BFD必須鄰居之間都支持,默認echo包50ms,control包是250ms。
注意,BFD不能和uRPF一起使用,否則echo包被拒絕。因此關閉nRPF,No ipv4 verify unicast source reachable-via
BFD在ios中接口配置,在IOS XR上是協議配置。
BFD分為Echo mode和asynchronous mode,二者都發送udp的包來進行檢測。
Echo mode 出去后回到原點,源和目的相同源目端口相同3785
Asynchronous mode 源不一致 源地址自己直連口或者route-id口,目的是remote地址,源目端口不同3785和49152
BFD支持的應用
BFD can be used with the following applications:
–BGP
–IS-IS
–OSPF
–MPLS traffic-engineering (MPLS-TE)
–Static
–Protocol Independent Multicast (PIM)
BFD is supported for connections over the following interface types:
–Packet-over-SONET/SDH (POS)
–Gigabit Ethernet (GigE)
–Ten Gigabit Ethernet (TenGigE)
–Virtual LAN (VLAN).
注意:TE/FRR 支持BFD要在pos口和以太鏈路上。
配置:
在bgp中配置BFD
1.configure
2.router bgp 100
3.bfd minimum-interval 50(milliseconds)【配置周期發送bfd時間】
4.bfd multiplier 3【配置死亡時間】
5.neighbor x.x.x.x
6.remote-as 200
7.bfd fast-detect【本端開啟BFD】
8.end or commit
Eg:
configure
router bgp 65000
bfd multiplier 2
bfd minimum-interval 20
neighbor 192.168.70.24
remote-as 2
bfd fast-detect
在OSPF中配置BFD
1.configure
2.router ospf 100
3.bfd minimum-interval 50(milliseconds)【配置周期發送bfd時間】
4.bfd multiplier
6.interface type interface-path-id
7.bfd fast-detect 【本端開啟BFD】
9.show run router ospf
Eg:
configure
router ospf 0
area 0
interface gigabitEthernet 0/3/0/1
bfd fast-detect
commit
在靜態路由中配置BFD
1.configure
2.router static
3.address-family ipv4 unicast
address nexthop bfd
4.vrf vrf-name
5.address-family ipv4 unicast
address nexthop bfd
6.end or commit
Eg:
configure
router static
address-family ipv4 unicast 10.2.2.0/24 10.3.3.3 bfd fast-detect
end
在路由器上關閉echo mode
1.configure
2.bfd
3.echo disable【全局關閉】
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2.bfd
3.interface type interface-path-id【eg. Interface g0/1】
4.echo disable【關閉具體一個接口echo mode】
Eg:
configure
bfd
echo disable
eg:disable echo mode on an interface:
configure
bfd
interface gigabitethernet 0/1/0/0
echo disable
BFD驗證命令:
1.show bfd counters packet [interface type interface-path-id] location node-id
2.clear bfd counters packet [interface type interface-path-id] location node-id
Router 1 (Cisco IOS software)
interface G0/1
ip address 192.0.2.2 255.255.255.0
bfd interval 100 min_rx 100 multiplier 3
bfd neighbor 192.0.2.1
Router 2 (Cisco IOS XR Software)
interface G0/1
ipv4 address 192.0.2.1 255.255.255.0
router static
address-family ipv4 unicast
10.10.10.10/32 192.0.2.2 bfd fast-detect
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。