cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
829
Views
5
Helpful
1
Replies

How to view BGP properties info for specific host in Cisco APIC via CLI/SSH?

fc00::/7
Level 1
Level 1

Here is how to get BGP info in a host in Cisco APIC via GUI/HTTPS.

APIC > Fabric > Inventory > POD 1 > (any) Host > Protocol > BGP

APIC-Fabric

Please take note that this image is taken from http://cdn.techgenix.com/media/promos/APIC-Fabric.JPG

Therefore, I can't expand the POD 1 and browse to (any) Host > Protocol > BGP

Would it possible to get the same info (Host's BGP properties) via CLI/SSH?

If yes, what is the command?

1 Reply 1

Sergiu.Daniluk
VIP Alumni
VIP Alumni

Hi,

In GUI, you can find the BGP under each Leaf (not host) where you have BGP configured:

Annotation 2020-03-25 145526.png

 

If you want to see the BGP info from CLI, you can use NX-OS BGP command, directly from leaf CLI.

From ibash:

Leaf101# show bgp ...
Leaf101# show ip bgp ...

Or from NXOS shell:

Leaf101# exit
Leaf101# vsh
Cisco iNX-OS Debug Shell
This shell should only be used for internal commands and exists
for legacy reasons. User should use ibash infrastructure as this
will be deprecated.
Leaf101# show ip bgp ?
  A.B.C.D            Display one particular network from the BRIB in detail
  A.B.C.D/LEN        Display one particular prefix from the BRIB in detail
  all                Display BGP information for all address families
  community          Display routes matching the BGP communities
  community-list     Display routes matching the community-list
...

Cheers,

Sergiu

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License