1. 程式人生 > >43-高級路由:BGP 起源屬性:修改為e

43-高級路由:BGP 起源屬性:修改為e

size 路由 fff con -o map rmi 4.4 oss

一、實驗拓撲:
技術分享圖片
二、實驗要求:
1、R3上做ACL、route-map、set origin ;
2、查看R3上關於4.4.4.4的路由條目是否是打e的?
三、命令部署:
R3(config)#access-list 10 permit 4.4.4.0 0.0.0.255
R3(config)#route-map pl permit 10
R3(config-route-map)#match ip address 10
R3(config-route-map)#set origin egp 4
R3(config-route-map)#route-map pl permit 1000

R3(config)#router bgp 123

R3(config-router)#neighbor 2.2.2.2 route-map pl in

四、驗證:
R3#show ip bgp
Network Next Hop Metric LocPrf Weight Path

  • i4.4.4.0/24 2.2.2.2 0 100 0 4 5 6 7 8 e

技術分享圖片

43-高級路由:BGP 起源屬性:修改為e