In APIC, the status (enabled/disabled) of HTTP, HTTPS, SSH, and Telnet state can be viewed in the following path:

APIC > Fabric > Fabric Policies > Pod Policies > Policies > Management Access

What is the equivalent command for this? I need to get this info via SSH.

APIC# show f?
 fabric-recovery  Show fabric recovery information
 faults           Show fault information
 fips             Show FIPS information
 firmware         Show firmware information
 flow             Show Netflow information

1 Answer 1


You can query MO to get all that options.

  • Enter APIC CLI and run bash
  • Execute icurl -g -X GET 'http://localhost:7777/api/node/mo/uni/fabric/comm-default.json?query-target=children&query-target=subtree'

Output can be then prettified with this resource or you can write simple Python script for it:

import json

def main():
    data = input("Enter raw json:\n")
        data = json.loads(data)
        print("Error in JSON format!")

    print(json.dumps(data, indent=2))
    input("\nPress any key...")

if __name__ == "__main__":

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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