04-01-2020 06:11 AM
ACI Path
Tenants > Networking > External Routed Networks >
In the area with the routing protocol check boxes, there are a few options such as BGP, OSPF, and EIGRP.
In this image, BGP and OSPF have been enabled.
What is the equivalent CLI command for this?
I need to find out what kind of protocols been enabled there via SSH.
Source image: https://docs.fortinet.com/document/fortigate/5.6.3/fortigate-connector-cisco-aci-deployment-package/481593/bgp
04-01-2020 06:58 AM
Hi
have a look here -
hope this helps :)
04-01-2020 06:59 AM - edited 04-01-2020 07:04 AM
I think it will be out of these commands
External Connectivity <show ip ospf neighbors vrf (vrf)> - shows ospf neighbors for given vrf <show bgp sessions vrf (vrf)> - shows bgp sessions/peers for given vrf <show ip ospf route vrf (vrf)> - shows ospf routes for given vrf <show bgp ipv4 unicast vrf (vrf)> - shows bgp unicast routes for given vrf
this may be helpful if you are looking for more commands -
04-01-2020 01:06 PM
Hi @fc00::/7 ,
I see you've been asking several questions like "How can I find ... via CLI"
If you just want to see if some configuration exists, the answer is the same for all
apic1# show running-config
To be more specific, in the case of L3Out configuration, you will need to know which border leaf/leaves have been configured in the L3Out, then you can do (e.g.)
apic1# show running-config leaf 101,102
or if you want to get down to a specific, say, l3out for a specific VRF for a specific tenant
apic1# show running-config leaf LeafID vrf context tenant TenantName vrf VRF_Name l3out L3OutName
but your actual question mentions status - NONE of the above commands will show the status.
To see the status, you will need to know the leaf, tenant and VRF name as well, then you can use regular NXOS like commands to check. For example:
apic1# fabric LeafID show ip ospf vrf TenantName:VRF_Name ---------------------------------------------------------------- Node 102 (Leaf102) ---------------------------------------------------------------- Routing Process default with ID 1.0.0.6 VRF Tenant6:Production_VRF Stateful High Availability enabled Supports only single TOS(TOS0) routes Supports opaque LSA Table-map using route-map exp-ctx-2162689-deny-external-tag Redistributing External Routes from static route-map exp-ctx-st-2162689 direct route-map exp-ctx-st-2162689 bgp route-map exp-ctx-proto-2162689 eigrp route-map exp-ctx-proto-2162689 coop route-map exp-ctx-st-2162689 Maximum number of non self-generated LSA allowed 20000 (feature configured but inactive) Current number of non self-generated LSA 3 Threshold for warning message 75% Administrative distance 110 Reference Bandwidth is 40000 Mbps SPF throttling delay time of 200.000 msecs, SPF throttling hold time of 1000.000 msecs, SPF throttling maximum wait time of 5000.000 msecs LSA throttling start time of 0.000 msecs, LSA throttling hold interval of 5000.000 msecs, LSA throttling maximum wait time of 5000.000 msecs Minimum LSA arrival 1000.000 msec LSA group pacing timer 10 secs Maximum paths to destination 8 Number of external LSAs 4, checksum sum 0x0 Number of opaque AS LSAs 0, checksum sum 0x0 Number of areas is 1, 1 normal, 0 stub, 0 nssa Number of active areas is 1, 1 normal, 0 stub, 0 nssa Area (0.0.0.6) Area has existed for 4d15h Interfaces in this area: 2 Active interfaces: 2 Passive interfaces: 1 Loopback interfaces: 1 SPF calculation has run 5 times Last SPF ran for 0.001008s Area ranges are Area-filter in 'exp-ctx-proto-2162689' Area-filter out 'permit-all' Number of LSAs: 3, checksum sum 0x0
..or one of the other helpful commands suggested by @omz - just remember to prefix each command with fabric show LeafID before the word show in the suggested commands if you wish to execute them from the APIC.
I hope this helps
Don't forget to mark answers as correct if it solves your problem. This helps others find the correct answer if they search for the same problem
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: