10-20-2016 12:11 AM - edited 03-01-2019 05:04 AM
hi fellow, could we know the apic default password for root? thanks.
Solved! Go to Solution.
10-20-2016 06:05 AM
There is no root access for customers. Only TAC has the ability to access root using a challenge/key process for a one-time password.
What do you require root access for?
Robert
10-20-2016 06:05 AM
There is no root access for customers. Only TAC has the ability to access root using a challenge/key process for a one-time password.
What do you require root access for?
Robert
06-26-2017 01:10 PM
I am facing this strange issue,
I was connected to the
any way I can recover or restore the leaf as well as spine switch?
06-26-2017 01:51 PM
Hi funnybhalla,
Have you tried logging in with username rescue-user
With no password (on APIC and switches)?
This might be all you need to do.
For more information see: see https://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/1-x/troubleshooting/b_APIC_Troubleshooting/b_APIC_Troubleshooting_chapter_0100.pdf
RedNectar
aka Chris Welsh
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
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/1-x/troubleshooting/b_APIC_Troubleshooting/b_APIC_Troubleshooting_chapter_0100.pdf
06-26-2017 01:58 PM
rescue-user works only if you are never synchronized with the controller, else it will ask for the last know password which I don't know or you can say in my case that password is not working at all.
06-26-2017 02:03 PM
Finally able to solve it,
for a leaf switch with no information of password we
have to reach loader prompt by pressing ctrl + c
and then type
hope it will be helpful in future.
06-26-2017 02:10 PM
Glad to hear you solved it. Make sure you mark your own answer as correct
06-26-2017 02:09 PM
rescue-user works only if you are never synchronized with the controller,
In that case, you will need to (from https://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/1-x/troubleshooting/b_APIC_Troubleshooting/b_APIC_Troubleshooting_chapter_0100.pdf)
Follow these steps to recover the APIC password.
Step 1 Create and save an empty file named "aci-admin-passwd-reset.txt".
Step 2 Add the file to a USB drive. You can format the USB drive to FAT or FAT32.
Step 3 Connect the USB drive to one of the rear USB ports on the Cisco APIC.
Step 4 Reboot the APIC using Cisco Integrated Management Controller (CIMC) or by hard power cycling the device.
Step 5 When the APIC displays the "Press any key to enter the menu" prompt, press a key to interrupt the boot process.
Step 6 The APIC displays supported Linux versions. Highlight the version installed on your system and press e to edit the boot command.
Step 7 Highlight the kernel and press e to edit the command in boot sequence.
Step 8 Add the name of the empty file to the end of the command, shown as follows:
Example:
[ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ESC at any time cancels. ENTER at any time accepts your changes.]
< rhgb quiet selinux=0 audit=1 aci-admin-passwd-reset
Step 9 Press Enter to save the file.
Step 10 Press b to boot the APIC. Note To cancel the password reset operation and return to the default boot parameters, press Esc and Enter.
Step 11 The APIC boots and prompts for a new administrator password.
06-26-2017 02:23 PM
This procedure is for the
04-10-2023 07:44 AM
Hi Robert,
I want to root access for /mgmt/bin/sshd -version.
How about the command to root access on APIC ?
10-20-2016 07:32 PM
We try to update the system time , kill some process and try to install some software on the system to daemon the process status. All above how can we do? thanks!
admin@apic2:~> date 102010212016
date: cannot set date: Operation not permitted
Fri Oct 20 10:21:00 UTC 2016
10-21-2016 05:43 AM
For the APICs & Switches, you should be setting the time via NTP policy with the fabric. Time is critical and we don't want devices getting out of sync by manual changing. There's only a rare circumstance where the time needs to be change using root, and thats only during fabric discovery issues.
As for the processes, which ones are you trying to kill? We don't expect users would normally need to do this, but if you have a legitimate requirement we can discuss. We made certain "root" type functions available to the admin user as needed, but we wouldn't blankly open up root access otherwise.
Robert
05-25-2017 12:49 PM
solution to my situation: upgrade the APIC manually prior to connecting it to the cluster.
background: APIC on firmware v1 cannot join cluster running firmware v2. see https://supportforums.cisco.com/discussion/13111296/standby-apic-controller
-------------------------------------------------------
Hello I have a fabric discovery issue and would like to set the time manually but I'm getting:
date: cannot set date: Operation not permitted
I'm trying to add a 3rd APIC controller to my cluster. The cluster size is configured for 3 APICs but the 3rd APIC sits at "Data Layer Partially Diverged". The time is off by about 8 hours. My cluster is at firmware version 2.2(2f) and the APIC I'm trying to add is at version 1.03 or 1.3 from memory.
I've seen leafs also have similar symptoms and the solution is to manually upgrade the leaf prior to connecting it the fabric but that seems like a pita for an APIC.
Yan
05-25-2017 12:50 PM
If 2 of your APICs are running 2.2(2f) and the fabric cluster version is also set at 2.2(2f), then the 3rd APIC that you are trying to add needs to be at 2.2(2f). You can download the 2.2(2f) .iso file from www.cisco.com and can manually upgrade the APIC3 using the CIMC KVM and attach the 2.2(2f) .iso. This will upgrade your APIC3 to 2.2(2f).
Also, when booting the APIC3, access the CIMC KVM and you can select the function key to boot into & configure BIOS. You should be able to set the Date\Time in the BIOS configuration.
If you continue to have issues, You may want to open a Cisco ACI TAC case so an ACI engineer can assist you with your issues.
I hope this helps!
T.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide