一、实验拓扑:
44-高级路由:BGP MED多出口鉴别器
二、实验要求:
1、R2上部署ACL、route-map、set metric;
2、R2在BGP进程下调用route-map pl out;
3、验证:R4上关于3.3.3.3的路由是否走R1了?
三、命令部署:
R2(config)#access-list 10 permit 3.3.3.0 0.0.0.255
R2(config)#route-map pl permit 10
R2(config-route-map)#match ip address 10
R2(config-route-map)#set metric 100

R2(config)#router bgp 123
R2(config-router)#neighbor 24.1.1.4 route-map pl out

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

  • 24.1.1.2 100 0 123 i
    44-高级路由:BGP MED多出口鉴别器

转载于:https://blog.51cto.com/13856092/2137688

相关文章:

  • 2021-08-04
  • 2021-05-20
  • 2021-11-19
  • 2021-12-25
  • 2021-10-05
  • 2021-03-31
  • 2022-01-10
  • 2021-06-10
猜你喜欢
  • 2022-01-21
  • 2021-09-23
  • 2021-06-11
  • 2021-05-03
  • 2021-09-10
  • 2021-08-13
  • 2021-05-03
相关资源
相似解决方案