静态BFD
2023-06-20 08:16:31 阅读次数:73
配置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.
实验拓扑
版权声明:本文内容来自第三方投稿或授权转载,原文地址:https://blog.51cto.com/u_11726705/6236887,作者:You0tech,版权归原作者所有。本网站转在其作品的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如因作品内容、版权等问题需要同本网站联系,请发邮件至ctyunbbs@chinatelecom.cn沟通。
上一篇:提供mvn打包效率,根据git变更文件编译子模块
下一篇:Git 在 Windows 克隆的时候提示错误 Filename too long