资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

在IOSXR上配置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

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


当前标题:在IOSXR上配置BFD-创新互联
当前链接:http://cdkjz.cn/article/jdgie.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

业务热线:400-028-6601 / 大客户专线   成都:13518219792   座机:028-86922220