0
点赞
收藏
分享

微信扫一扫

静态BFD

配置R1

[R1]bfd                          ##### 全局启用BFD
[R1]bfd 1 b	
[R1]bfd 1 bind ?
  ldp-lsp     Information about LDP LSP
  mpls-te     Information about MPLS TE
  peer-ip     Set peer IP address
  static-lsp  Information about static LSP
[R1]bfd 1 bind peer-ip ?
  IP_ADDR<X.X.X.X>  IP address
  default-ip        Default multicast peer IP address
[R1]bfd 1 bind peer-ip 13.1.1.2 ?
  interface     Bind the outgoing-interface(only for single hop)
  source-ip     Set source IP address
  vpn-instance  Vpn instance name
  <cr>          Please press ENTER to execute command 
[R1]bfd 1 bind peer-ip 13.1.1.2 sou	
[R1]bfd 1 bind peer-ip 13.1.1.2 source-ip 13.1.1.1 ?
  auto  Auto-negotiate discriminator
  <cr>  Please press ENTER to execute command 
[R1]bfd 1 bind peer-ip 13.1.1.2 source-ip 13.1.1.1 
[R1-bfd-session-1]discriminator local 1            ##### 配置本地标识
[R1-bfd-session-1]discriminator remote 2           ##### 配置远端标识
[R1-bfd-session-1]commit                           ##### 提交操作
[R1-bfd-session-1]quit
[R1]ip route-static 3.3.3.0 24 13.1.1.2 preference 50 track bfd-session 1  ##### 绑定静态路由
Info: Succeeded in modifying route.

配置R2

[R2]bfd
[R2]bfd 1 bind ?
  ldp-lsp     Information about LDP LSP
  mpls-te     Information about MPLS TE
  peer-ip     Set peer IP address
  static-lsp  Information about static LSP
[R2]bfd 1 bind p	
[R2]bfd 1 bind peer-ip 13.1.1.1 source-ip 13.1.1.2 ?
  auto  Auto-negotiate discriminator
  <cr>  Please press ENTER to execute command 
[R2]bfd 1 bind peer-ip 13.1.1.1 source-ip 13.1.1.2 
[R2-bfd-session-1]discriminator local 2
[R2-bfd-session-1]discriminator remote 1
[R2-bfd-session-1]quit
[R2]ip route-static 2.2.2.0 24 13.1.1.1 preference 50 track bfd-session 1
Info: Succeeded in modifying route.

实验拓扑

静态BFD_BFD

举报

相关推荐

0 条评论