拓扑:
MED是指在本地配置影响EBGP对等体进站
(默认值是 0 ,越小越优,)
现在要求在R1 R2上做流量分行,即R3 R4到达网络100.100.100.0/24 都是从R1
而到达200.200.200.0/24都是从R2
基本配置之前配置过了,与BGP的LP试验是一样的
在没做MED配置前先查看R3 R4的bgp路由表
R3#sh ip bgp
BGP table version is 3, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
* i100.100.100.0/24 1.1.1.1 0 100 0 100 i
*> 2.2.2.2 &