DEV-ECMP2# show ip bgp summary
IPv4 Unicast Summary (VRF default):
BGP router identifier 172.16.0.2, local AS number 65000 vrf-id 0
BGP table version 1
RIB entries 1, using 192 bytes of memory
Peers 2, using 1448 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.0.0.6 4 65001 120 131 0 0 0 01:54:32 (Policy) (Policy) N/A
20.0.0.6 4 65001 117 130 0 0 0 01:53:02 (Policy) (Policy) N/A
Total number of neighbors 2
どうするか
#Vtysh
route-map PERMIT-ALL permit 10
router bgp AN
neighbor ${IP} route-map PERMIT-ALL in
neighbor ${IP} route-map PERMIT-ALL out
を対向も追加する
DEV-ECMP4# show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
O>* 10.0.0.0/30 [110/20] via 20.0.0.1, eth1, weight 1, 15:30:57
O 10.0.0.4/30 [110/10] is directly connected, eth0, weight 1, 15:31:03
C>* 10.0.0.4/30 is directly connected, eth0, 15:31:06
O 20.0.0.0/30 [110/10] is directly connected, eth1, weight 1, 15:31:05
C>* 20.0.0.0/30 is directly connected, eth1, 15:31:06
O>* 20.0.0.4/30 [110/20] via 10.0.0.5, eth0, weight 1, 15:30:57
B>* 172.16.0.1/32 [20/0] via 20.0.0.1, eth1, weight 1, 00:00:26
O 172.16.0.1/32 [110/10] via 20.0.0.1, eth1, weight 1, 15:30:57
B>* 172.16.0.2/32 [20/0] via 10.0.0.5, eth0, weight 1, 00:04:07
O 172.16.0.2/32 [110/10] via 10.0.0.5, eth0, weight 1, 15:30:57
O>* 172.16.0.3/32 [110/20] via 10.0.0.5, eth0, weight 1, 15:30:57
* via 20.0.0.1, eth1, weight 1, 15:30:57
O 172.16.0.4/32 [110/0] is directly connected, lo, weight 1, 15:30:54
C>* 172.16.0.4/32 is directly connected, lo, 15:30:54