软收敛:
在邻居关系不中断的情况下针对AS100 发送和重新同步BGP数据库,重新计算路由
r3#clear ip bgp ipv4 unicast 100 soft in
r3#clear ip bgp ipv4 unicast 100 soft out
(r3#clear ip bgp 5.5.5.5 soft out 跟上具体邻居IP)
r3#show ip bgp ipv4 unicast neighbors 23.1.1.2 advertised-routes
r3#show ip bgp ipv4 unicast neighbors 23.1.1.2 routes
r3#clear ip bgp ipv4 unicast 100 soft in // unicast-单播,请求AS 100的所有邻居,在邻居关系不中断的情况下把数据库重新发送一遍
r3#clear ip bgp ipv4 unicast 100 soft out // 在邻居关系不中断的情况下,向AS 100所有的邻居把自己的数据库给他们发一遍
注:如果in和out没写,默认两个都生效
r3#show ip bgp ipv4 unicast neighbors 23.1.1.2 advertised-routes //查看当前我给23.1.1.2发送了哪些BGP路由
r3#show ip bgp ipv4 unicast neighbors 23.1.1.2 routes //从23.1.1.2收到了那些BGP路由