5

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.

2
  • It would help if we knew a little more about why you need the routes and what you want to do with this information Mar 26, 2014 at 22:19
  • @MikePennington We wanted to provide support in our product to import BGP RIB for all routes advertised to all neighbors using show command (SNMP to device, run show command, grab the data), so the customers can view it better.
    – Hardy
    Mar 27, 2014 at 16:03

1 Answer 1

5

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

According to the XE command reference:

show ip bgp neighbors 'neighbor' advertised-routes

1
  • Thanks. Checking into the Junos device, I found the command you mentioned and not any particular command for ALL neighbors together. So I guess like IOS-XE, Junos also displays only per neighbor basis.
    – Hardy
    Mar 27, 2014 at 16:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.