拓扑图:
目前结构中想做高可用,配置OSPF结合BFD,BGP结合BFD(时间无法更改)
<SPINE-1>display bfd session
Total Session Num: 5 Up Session Num: 5 Init Mode: Active
IPv4 session working in control packet mode:
LD/RD SourceAddr DestAddr State Holdtime Interface
34881/34887 192.168.2.1 192.168.2.2 Up 225ms GE1/0/1
34882/34884 192.168.3.1 192.168.3.2 Up 217ms GE1/0/2
34883/34888 2.2.2.2 4.4.4.4 Up 1658ms N/A
34884/34885 2.2.2.2 3.3.3.3 Up 1915ms N/A
34885/34885 2.2.2.2 5.5.5.5 Up 1796ms N/A
<SPINE-2>display bfd session
Total Session Num: 5 Up Session Num: 5 Init Mode: Active
IPv4 session working in control packet mode:
LD/RD SourceAddr DestAddr State Holdtime Interface
34881/34881 192.168.5.1 192.168.5.2 Up 233ms GE1/0/1
34882/34882 192.168.6.1 192.168.6.2 Up 293ms GE1/0/2
34883/34886 3.3.3.3 4.4.4.4 Up 1740ms N/A
34884/34883 3.3.3.3 5.5.5.5 Up 1762ms N/A
34885/34884 3.3.3.3 2.2.2.2 Up 1980ms N/A
SPINE1/2作为RR反射路由,两台设备均引入了0.0.0.0/0路由,但是在LEAF-1、DMZ-1看到的0.0.0.0路由各有1条(SPINE-1,SPINE-2)发来的,目的想在LEAF-1,DMZ-1实现0.0.0.0/0负载均衡。
LEAF-1-BGP-L2VPN路由表
[LEAF-1]display bgp l2vpn evpn 0.0.0.0
BGP local router ID is 4.4.4.4
Status codes: * - valid, > - best, d - dampened, h - history
s - suppressed, S - stale, i - internal, e - external
a - additional-path
Origin: i - IGP, e - EGP, ? - incomplete
Total number of routes from all PEs: 2
Route distinguisher: 1:3
Total number of routes: 2
* >i Network : [5][0][0][0.0.0.0]/80
NextHop : 2.2.2.2 LocPrf : 100
PrefVal : 0 OutLabel : NULL
MED : 0
Path/Ogn: ?
* i Network : [5][0][0][0.0.0.0]/80
NextHop : 3.3.3.3 LocPrf : 100
PrefVal : 0 OutLabel : NULL
MED : 0
Path/Ogn: ?
LEAF-1-BGP-IPV4路由表
[LEAF-1]display bgp routing-table ipv4 vpn-instance vxlan10
Total number of routes: 2
BGP local router ID is 4.4.4.4
Status codes: * - valid, > - best, d - dampened, h - history
s - suppressed, S - stale, i - internal, e - external
a - additional-path
Origin: i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
* >i 0.0.0.0 2.2.2.2 0 100 0 ?
* >i 20.1.1.0/24 5.5.5.5 0 100 0 i
Dmz-1-BGP-L2VPN路由表
[DMZ-1]display bgp l2vpn evpn 0.0.0.0
BGP local router ID is 5.5.5.5
Status codes: * - valid, > - best, d - dampened, h - history
s - suppressed, S - stale, i - internal, e - external
a - additional-path
Origin: i - IGP, e - EGP, ? - incomplete
Total number of routes from all PEs: 2
Route distinguisher: 1:3
Total number of routes: 2
* >i Network : [5][0][0][0.0.0.0]/80
NextHop : 2.2.2.2 LocPrf : 100
PrefVal : 0 OutLabel : NULL
MED : 0
Path/Ogn: ?
* i Network : [5][0][0][0.0.0.0]/80
NextHop : 3.3.3.3 LocPrf : 100
PrefVal : 0 OutLabel : NULL
MED : 0
Path/Ogn: ?
DMZ-1-BGP-IPV4路由表
[DMZ-1]display bgp routing-table ipv4 vpn-instance dmz
Total number of routes: 3
BGP local router ID is 5.5.5.5
Status codes: * - valid, > - best, d - dampened, h - history
s - suppressed, S - stale, i - internal, e - external
a - additional-path
Origin: i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
* >i 0.0.0.0 2.2.2.2 0 100 0 ?
* >i 10.1.1.0/24 4.4.4.4 0 100 0 i
* >i 10.1.2.0/24 4.4.4.4 0 100 0 i
OSPF,BGP都配置的相应的BFD,BGP的BFD时间无法修改。同时在测试灾备状态时,
1. 将SPINE-1断电,LEAF-1,DMZ-1下挂的服务器需要等待20秒才能与外部通信(外部网络lo:1.1.1.1),怎么才能将恢复时间缩短?
2.
具体请看配置文件。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论