日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

在IOS XR上配置BFD

發布時間:2024/4/11 编程问答 44 豆豆
生活随笔 收集整理的這篇文章主要介紹了 在IOS XR上配置BFD 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

在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 3【配置死亡時間】5.area area-id

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 fast-detect [minimum interval 50] [multiplier 3]

4.vrf vrf-name

5.address-family ipv4 unicast

address nexthop bfd ?fast-detect [minimum interval interval] [multiplier multiplier]

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


轉載于:https://blog.51cto.com/netlt/1197268

總結

以上是生活随笔為你收集整理的在IOS XR上配置BFD的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。