45-高级路由:BGP 不同厂商设备都将Metric调为最大值

一、实验拓扑:
45-高级路由:BGP 不同厂商设备都将Metric调为最大值
二、实验要求:
1、R1、R2、R3、R4在BGP进程下部署命令,将Metric都调为最大值;
2、验证:在R4下查看Metric是否是最大值?
三、命令部署:
R4(config)#router bgp 4
R4(config-router)#bgp bestpath med missing-as-worst

R1(config)#router bgp 123
R1(config-router)#bgp bestpath med missing-as-worst

R2(config)#router bgp 123
R2(config-router)#bgp bestpath med missing-as-worst

R3(config)#router bgp 123
R3(config-router)#bgp bestpath med missing-as-worst

四、验证:
R4#show ip bgp
Network Next Hop Metric LocPrf Weight Path
*> 3.3.3.0/24 14.1.1.1 4294967295 0 123 i

猜你喜欢

转载自blog.51cto.com/13856092/2137758