the weight attribute is a Cisco proprietary technology and considered as first attribute in BGP. The default value of weight is 0 and the range is from 0 to 65535. If we change the weight value of one router that change will not propagate to other router and the route with maximum weight value will be considered as the best route.
weight:本机有效,BGP内最优先匹配参数,默认值0(本机始发路由为32768)
Lp:本ASN有效 默认值100