侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

44-高级路由:BGP MED多出口鉴别器

2023-02-02 星期四 / 0 评论 / 0 点赞 / 47 阅读 / 1075 字

一、实验拓扑:二、实验要求:1、R2上部署ACL、route-map、set metric;2、R2在BGP进程下调用route-map pl out;3、验证:R4上关于3.3.3.3的路由是否走R

.

一、实验拓扑:

二、实验要求:
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
.

广告 广告

评论区