Cisco DNA Center APIs And Commands

Transcription

Cisco DNA Center APIs and CommandsInventoryNameAPIChassis isConfig gDNAC Serial (nodes.json)/api/system/v1/maglev/nodes/configDNAC Version (version.json)/api/system/v1/maglev/packagesFan Details }/equipment?type FanImage Details/api/v1/image/importationInterface uid}Module details d {instanceUuid}Network details r Sypply /{instanceUuid}/equipment?type PowerSupplySFP }/equipment?type SFPStack details stackTag (tags.json)/dna/intent/api/v1/tagTag Members emberType networkdeviceCommandCommentsshow versionAll devices except WLC Controllers with AireOS, Access Pointsand sensorsshow run-configWLC Controllers with AireOSshow run config commandsshow sysinfoWLC Controllers with AireOSWLC Controllers with AireOSshow ap config generalCat 9800show ap dot11 24ghz cleanairconfigCat 9800show ap dot11 24ghz networkCat 9800

show ap dot11 5ghz channelCat 9800show ap dot11 5ghz optimizedroamingCat 9800show ap fraCat 9800show ap hyperlocation detailCat 9800show ap profile all-profilesCat 9800show ap rf-profile summaryCat 9800show license summaryCat 9800show mdns-sd summaryCat 9800show nmsp cloud-servicessummaryCat 9800show remote-lan summaryCat 9800show wireless detailCat 9800show wireless multicastCat 9800show wireless profile flex allCat 9800show wireless profile policy allCat 9800show wireless wgb summaryCat 9800show wireless wps rogue rulesummaryCat 9800show wlan allCat 9800Diagnostic BridgeCommands collected as a part of Command Runner APIThere is no specific list of commands executed during scan. "Terminal length 0" and many of the showcommands dynamically executed. For scan, all the show commands should be whitelisted. Below aresome of the sample commands.

OSCommandASAshow inventoryshow versionshow techAP-COSshow inventoryshow versionterminal length 0show tech-supportWLCshow inventoryshow versionshow sysinfoshow udishow run-configshow tech-supportIOSshow inventoryshow versionshow terminalshow techshow fexshow interfaces statusshow platform software multicast snooping ltl-share statisticsshow fex detailshow ip nbar protocol-discoveryshow ip nbar resources flowshow crypto eli allshow buffers summaryshow platform software process list R1show platform software process list R0show platform hardware qfp active statistics drop

show platform hardware qfp active feature ipsec datapathdropsshow cts role-based countersshow running-config allshow interfaces counters errorshow environment allshow ip routeshow startup-configshow ip interface briefshow crypto isakmp sa detailshow ip vrfshow nat64 statusshow platformshow switch detailshow ip sshshow pnp profileshow ip nhrp summaryshow platform software lif l3 debug buf displayshow platform software fabric tableshow switch virtual redundancyshow platform software process list F0show platform resourceshow platform software process list 0show stackwise-virtualshow process cpu sorted detailedshow running-config / show crypto engine configurationshow dmvpn detailshow crypto engine configurationshow interfaces summaryshow platform hardware qfp active infrastructure bqs queueoutput default all

show ip nhrpshow performance monitor cache detailshow redundancy application groupshow ip nat translations verboseshow eigrp service-family ipv4 neighborsshow module switch allshow switch virtual linkshow ipv6 mld snooping membershipshow ipv6 mld snooping queriershow power inlineIOS-XEshow inventoryshow versionshow terminalshow techshow fexshow platform software multicast snooping ltl-share statisticsshow ip nbar resources flowshow ip nbar protocol-discoveryshow crypto eli allshow license featureshow buffers summaryshow debugshow platform hardware qfp active feature ipsec datapathdropsshow platform hardware qfp active statistics dropshow cts role-based countersshow running-config allshow interfaces counters errorshow ip nat translationsshow ip route

show startup-configshow ip interface briefshow crypto isakmp sa detailshow ip mrouteshow ip vrfshow nat64 statusshow license detailshow switch detailshow pnp profileshow ip sshshow ip nhrp summaryshow platform software process list 0show platform resourceshow platform software process list F0show stackwise-virtualshow process cpu sorted detailedshow running-config / show crypto engine configurationshow dmvpn detailshow flowcontrolshow crypto engine configurationshow platform hardware fed switch active fwd-asic resourcetcam utilizationshow process cpuIOS-XRshow inventoryshow versionadmin show diag chassisshow terminalshow platformterminal length 0term len 0show install active summary

admin show platformadmin show inventoryadmin show redundancyshow context location allshow running-configadmin show running-configadmin show hw-module fpd location allshow logging start January 19 0:0:0 utility tail count 25000show processes memory location allshow watchdog memory-state location allshow processes blocked location allshow processes cpushow memory summary location allshow bgp all all summaryshow controllers np counters allshow l2vpn bridge-domain detailshow pfm location alladmin show environment allshow processes cpu location 0/0/CPU0show asic-errors all summary location 0/0/CPU0show processes cpu location 0/1/CPU0show asic-errors all summary location 0/1/CPU0show processes cpu location 0/3/CPU0show asic-errors all summary location 0/3/CPU0show processes cpu location 0/RSP0/CPU0show asic-errors all summary location 0/RSP0/CPU0show processes cpu location 1/0/CPU0show asic-errors all summary location 1/0/CPU0show processes cpu location 1/1/CPU0show asic-errors all summary location 1/1/CPU0

show processes cpu location 1/RSP0/CPU0show asic-errors all summary location 1/RSP0/CPU0NX-OSshow inventoryshow versionshow license host-idshow terminalshow hardware internal bcm-usd event-history apishow logging onboard obfl-logs, show logging onboardinternal reset-reasonshow sockets connectionshow system internal access-list sup-redirect-statsshow ip igmp snooping mrouter detailshow ip mroute vrf allshow hardware internal mtc-usd eventshow system internal mts event-history errorsshow hardware internal tah event-history errordir logflash:show system internal pss kernel listshow environment fan detailshow switch-profile statusshow logging onboard internal cardclshow ip igmp groups vrf allshow system internal mts buffers detailsshow hardware internal versionshow hardware internal cpu-mac inband statsshow ip static-route vrf allshow ip route detail vrf all

show system internal access-list input entries detailshow ip internal infoshow nve peersshow interface transceiver detailshow system internal access-list resource utilizationshow running allshow ip arp internal event-history errorsshow ip arp vrf allshow ip route vrf allshow routing detail vrf allshow ip mroute detail vrf allshow l2route mac-ip all detailshow ip sla configurationshow forwarding nve l3 peersshow ip arp internal event-history eventshow system internal mtm info allshow ip interface brief vrf allshow trackshow hardware access-list tcam regionshow system internal qos queuing configshow logging onboard device-versionshow ipv6 route detail vrf allshow hardware internal tah l2 learn statsshow port-channel internal event-history all

show system internal lim msgsshow nve internal event-history errorsshow sockets client detailshow hardware internal tah event-history front-port 1show transceiver detailshow ip igmp snooping groups summaryshow ip igmp snooping internal event-history vlanshow ip igmp snooping queriershow hardware internal buffer info pkt-statsshow system internal eltm info interface allshow ip mrouteshow hardware internal bcm-usd errorsshow system internal fcoe mgr info globalshow hardware internal tah l3 v6hostshow hardware internal tah l3 adjacencyshow hardware internal tah l3 trie detail table table-allshow cdp neighbors detailshow mac address-tableshow ip arp detailshow system internal aclqos info redirectshow startupshow forwarding distribution l2 multicast summaryshow system internal snmp mem-stats detailshow system internal vntag info global-infoshow mac address-table count

show spanning-tree summary totalsshow spanning-tree internal info globalshow vlan summaryshow ip igmp groups vrf all summaryshow monitor session allshow access-listsshow ip arp summary vrf allshow ipv6 adjacency vrf allshow vrf detailshow vdc resourceshow route-mapshow ip policy vrf allshow ipv6 policy vrf allshow fabric forwarding internal svi-infoshow vxlan interfaceshow routing ipv6 detail vrf allshow vdc detailshow system internal psshelper gsdbsshow interface trunkshow ip igmp internal event-history clishow ip routeshow system internal pktmgr clientshow ipv6 interface detail vrf allshow startup-config switch-profile

show hardware internal dev-versionshow system internal aclmgr state-cacheshow ip mroute detailshow routing multicast internal event-history ribOSVNameAPIImage ands oollected as a part of on-demand after default Inventory upload as per the userconfiguration.CommandCommentsshow run-config commandsWLCCommands collected when user selects On-demand compliance check.CommandCommentsshow running-configIOS-XEshow run-config commandsWLCAFMComprehensive list of Commandsshow loggingshow environment allshow versionshow powershow inventoryshow moduleshow switch detail

show clockshow environment power allshow power inlineshow power detailshow memory statisticsshow logging last 500show logshow platformshow memory statshow process memory sortshow virtual-service listshow virtual-service detailshow license allshow facility-alarm statusshow monitor event-log spa allshow processes memory sortedshow buffersshow processes memory platform sortedshow platform resourcesshow memory platformshow memory alloc totalsshow memory statistics historyComprehensive list of Commandsshow memory dead totalsshow memory lite-chunks totalsshow log last 500show platform software status control-processor briefshow process memory sortedshow process mem platform sortedshow platform

show platform hardware qfp active feature ipsec datapath dropsshow crypto ipsec sa incrementingshow plat hard fed act fwd-asic resource utilizationshow plat hard fed act fwd-asic resource tcam utilizationshow proc cpu historyshow diagnostic result moduleshow firmware version allshow env allshow redundancyshow boot systemshow issu state detailshow process memory platform sortedshow tcp brief allshow usersshow ip http server allshow ip http server connectionshow ip http server historyshow proc cpushow ip http server statisticsshow running-configshow voice dsp detailshow voice dsp group allshow voip rtp connectionshow environmentshow running in bootshow bootflash:show logg last 500show platform hardware qfp active infrastructure exmem resourceshow platform hardware qfp active infrastructure exmem statisticsComprehensive list of Commands

show platform hardware qfp active infra exmem statistics usershow versionshow power moduleshow bootflash: allshow platform hardware qfp active infrastructure bqs statusshow environment tempshow logshow ip interfaceshow ip routeshow ntp statusshow runshow crypto isa sa detailshow crypt elishow crypto ca certificatesshow crypto pki certificate verbose#show ip int briefshow vershow license statusshow call-home profile allshow platform software trace message license-manager R0show license summaryshow ip interface briefshow platform#show run s call-homeshow run i licenseshow run i httpshow run s cryptoshow crypto pki trustpoolshow inventory#sh platformshow ip dhcp snooping

show ip dhcp snooping bindingshow process cpu sortshow process cpu historyshow mac address-table countshow stack-power detailshow spanning-tree summary totalsComprehensive list of Commandsshow vlanshow spanning-treeshow crashinfo: allshow etherchannel summshow ip routershow run section radiusshow aaa serversshow sysinfoshow msglogshow logging last 500#sh voip rtp connections#sh ip cache flowshow ip sla statisticsshow ip bgp summaryshow mem statshow proc mem sortedshow mem all totalshow buffer usageshow processes memoryshow logging last 200show logging nvramshow environment temperatureshow module internal exceptionlogshow client summaryshow traplog

show traplog. Also sniffer trace from wireless NIC and an over-the-air sniffer trace.show run-config no-apshow ap tcp-mss-adjust allshow port detailed-infoshow mdns profile summaryshow mdns ap sumshow mdns service summaryshow memory summaryshow memory mbuf summaryshow coredump summaryshow ap summaryshow timeshow countryComprehensive list of Commandsshow redundancy summaryshow redundancy statisticsshow redundancy interfacesshow redundancy peer-route summaryshow redundancy gw-reachability statisticsshow redundancy detailshow redundancy transport statisticshow ap join summaryshow run-configshow dx summaryshow dx sync-msg detailshow rogue ap summaryshow rogue containmentshow rogue rule summaryshow avc engine versionshow avc protocol-pack version

show port summaryshowlag summaryshow interface summaryshow interface detailed ap-managershow interface detailed managementshow mobility summaryshow ap image allshow ap uptimeshow ap join stats summary allshow lag summaryshow logging last-reset

show system internal access-list input entries detail show ip internal info show nve peers show interface transceiver detail show system internal access-list resource utilization