返回列表 发帖

[BGP]show ip bgp 中的metric项 为0 和为空 是什么区别?

diamond#sh ip bgp BGP table version is 27, local router ID is 192.168.1.246 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 * i192.168.192.0 192.168.1.238 2297856 100 0 100 ? * i192.168.192.0/21 192.168.1.238 0 100 0 100 ? *> 192.168.1.245 0 0 100 i Network Next Hop Metric LocPrf Weight Path *> 192.168.192.0/21 192.168.1.241 0 200 100 i * 192.168.1.249 0 200 100 ?

找到答案了: Prefer the path with the highest LOCAL_PREF. Note: A path without LOCAL_PREF is considered to have had the value set with the bgp default local?preference command, or to have a value of 100 by default.

TOP

返回列表 回复 发帖