现场配置BFD与静态路由联动,由于BFD session down导致静态路由无法加表,配置如下:
#
bfd echo-source-ip 10.0.112.249
#
interface Ten-GigabitEthernet1/1/0/22.10
description connect-to-ZJ-9006
ip binding vpn-instance 530
ip address 10.0.112.249 255.255.255.252
ospf network-type p2p
bfd echo enable
#
track 1 bfd echo interface Ten-GigabitEthernet1/1/0/22.10 remote ip 10.0.112.250 local ip 10.0.112.249
#
ip route-static vpn-instance 530 0.0.0.0 0 10.0.112.250 track 1
#
[530shibocunlu_DC_S9804-1]dis bfd session
Total Session Num: 1 Up Session Num: 0 Init Mode: Active
IPv4 Session Working Under Echo Mode:
LD SourceAddr DestAddr State Holdtime Interface
3001 10.0.112.249 10.0.112.250 Down / XGE1/1/0/22.10
(0)
最佳答案
是不是检测地址不可达
(0)
ping -a 10.0.0.1 10.0.0.2 Ping 10.0.0.2 (10.0.0.2) from 10.0.0.1: 56 data bytes, press CTRL_C to break 56 bytes from 10.0.0.2: icmp_seq=0 ttl=255 time=2.000 ms 56 bytes from 10.0.0.2: icmp_seq=1 ttl=255 time=1.000 ms 56 bytes from 10.0.0.2: icmp_seq=2 ttl=255 time=1.000 ms 56 bytes from 10.0.0.2: icmp_seq=3 ttl=255 time=1.000 ms 56 bytes from 10.0.0.2: icmp_seq=4 ttl=255 time=1.000 ms --- Ping statistics for 10.0.0.2 --- 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss round-trip min/avg/max/std-dev = 1.000/1.200/2.000/0.400 ms
可达
249和250的地址测试
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
249和250的地址测试