一、实验拓扑:二、实验要求: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