To get Date and Time Policy via GUI:

FABRIC > FABRIC POLICIES > Pod Policies > Expand Policies > Date and Time

enter image description here



I've tried the following command, but none of them shows the policy name.

fabric1-leaf1# show ntp peers
  Peer IP Address               Serv/Peer
--------------------------------------------------                Server (configured)

fabric1-leaf1# show ntp peer-status
Total peers : 1
* - selected for sync, + - peer mode(active),
- - peer mode(passive), = - polled in client mode
    remote                local                st   poll   reach delay   vrf
*               3    16     37    0.00134 management

fabric1-leaf1# show ntp statistics peer ipaddr
remote host:
local interface:      Unresolved
time last received:   2s
time until next send: 14s
reachability change:  408s
packets sent:         30
packets received:     30
bad authentication:   0
bogus origin:         0
duplicate:            0
bad dispersion:       0
bad reference time:   0
candidate order:      6

Please let me know the right command to get Date and Time Policy via CLI/SSH. Thanks

1 Answer 1


Try these from APIC CLI:

APIC# moquery -c datetimePol
APIC# moquery -c datetimePol -x 'query-target=children'
  • Thanks, is there any good documentation about this? Apr 8, 2020 at 10:46
  • 1
    In ACI all configuration is stored in MIT (Management Information Tree) as MO (Model Objects). Please read this document to get more familiar with it. When you will get all idea about MIT and tools like Visore and Object Browser it will become easier for you to obtain data programmaticaly or via CLI. Apr 8, 2020 at 11:24
  • Thanks @Andrey, appreciate that. ACI is a new things for me. Apr 8, 2020 at 11:31

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.