ros v6 command:
replace command ip route print detail where bgp received-from=[peer]
ros v7 command:
ros v6 command:
replace command ip route print detail where bgp received-from=[peer]
ros v7 command:
I do not understand what do we need to replace?
If by the statement, you are asking what parameter to use to see routes from a specific peer, just do the detail print and you will see that two parameters can be used bgp.session and belongs-to:
[admin@dr_05] /routing/route> print detail where bgp.session="bfd_test_2-1"
b afi=ip contribution=candidate dst-address=1.0.0.0/24 routing-table=main gateway=172.16.2.1 immediate-gw=172.16.2.1%vlan2 distance=20 scope=40 target-scope=10
belongs-to="bgp-IP-172.16.2.1" rpki=valid
bgp.session=bfd_test_2-1 .aggregator="13335:172.69.12.1" .as-path="555,100,37721,13335" .communities=37721:9000,37721:9010,37721:9100,37721:9140,37721:9141
.origin=igp
debug.fwp-ptr=0x203441E0
yeah i mean like that ![]()
but, in v7.15.3 bgp.session doesn't exist?
You would need to upgrade, it exists in the current version (7.19.4)...
It is now again possible to upgrade, most problems introduced in version 7.16 have now been fixed.
When you don't upgrade you can use the command:
/routing/route/print detail where belongs-to="bgp-IP-1.2.3.4"
(1.2.3.4 is the IP address of the peer)