Cisco – Checking advertised routes – BGP

bgpciscojuniper-junos

For IOS-XE and Junos, I wanted to know the command that displays the routes advertised by BGP to neighbors. On IOS-XR, this command is 'show bgp advertised'.

I know on XE, per neighbor based advertised routes can be checked. But I want advertised routes to all the neighbors combined.

Thanks in advance.

UPDATE: Confirmed with Cisco TAC – for Cisco IOS-XE, there is no such command to view routes to ALL the neighbors. It can only be per neighbor based.

Best Answer

For Junos, the command is "show route advertising-protocol bgp 'neighbor'".

According to the XE command reference:

show ip bgp neighbors 'neighbor' advertised-routes