cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

779
Views
0
Helpful
3
Replies
AmeurBilel5716
Beginner

Configure time and date manually on cisco ACI (APIC)

Hello guys,
How can I configure the date and time manually on ACI (APIC)? (no NTP available). I'm not talking about the time zone.
Thanks

3 REPLIES 3
ecsnnsls
Beginner

@AmeurBilel5716,Hi

I don't think this is possible. Can you explain why there's no NTP available?

NTP source is a basic requirement in any environment, isn't it?

Is it a production or lab environment?

//

Sergiu.Daniluk
VIP Advocate

Hi @AmeurBilel5716 

It is quite "challenging" to change the time manually (see below). Having a NTP server for your ACI Fabric is mandatory, because it syncs the time on all devices.

 

Before doing any manual change, just want to highlight: my advise is to stick with NTP and do not change the time manually. 

Anyway, if I remember correctly you can change the clock manually using the root user. But for that you need the root password from TAC. Or contact your local cisco representatives and ask them to generate a root password for you. You just need to provide them with the token:

 

apic1# acidiag  dbgtoken
0GEKUXXXXXX

Note: After generating the token, you have around 1h to get the password and use it.

 

Once you have the password, login as root:

apic1# ssh root@localhost
Application Policy Infrastructure Controller
root@localhost's password: 

After that, use the date cmd to change password

date -s "31 MAY 2021 11:14:00"

 

 

Stay safe,

Sergiu

Can you please clarify this?

After setting the date, how does this get propagated to the switches?

Thanks.

Content for Community-Ad