cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1011
Views
0
Helpful
3
Replies

Cisco ACI Maintenance Mode Tech Support

MacC10
Level 1
Level 1

Hi,

Is there a way to grab tech support from a spine in maintenance mode?

1 Accepted Solution

Accepted Solutions

MacC10
Level 1
Level 1

Hi there actually is, you have to disable the MGMT(Out of band) and log in via the fallback user apic#fallback\\admin 

for anyone interested

View solution in original post

3 Replies 3

MacC10
Level 1
Level 1

Hi there actually is, you have to disable the MGMT(Out of band) and log in via the fallback user apic#fallback\\admin 

for anyone interested

abhjha2
Cisco Employee
Cisco Employee

Yes, that’s doable. Follow the steps:

  1. Add the spine into maintenance mode

 

apic1# acidiag fnvread    

      ID   Pod ID                 Name    Serial Number         IP Address    Role        State   LastUpdMsgId

--------------------------------------------------------------------------------------------------------------

     103        1         pod2-leaf103      FDO22182UKC    10.10.136.64/32    leaf         active   0

     104        1         pod2-leaf104      FDO22181BU5    10.10.136.66/32    leaf         active   0

     204        1        pod2-spine204      FOX2330PAWN    10.10.136.65/32   spine    maintenance   0

 

 

  1. Login via console on the switch

pod2-spine204# cd /data/techsupport

pod2-spine204# ls -l

total 4

drwxrwxrwx 2 root root 4096 Sep 28 12:42 heapstats

pod2-spine204#

Broadcast message from root@pod2-spine204 (Mon Oct 16 11:56:17 2023):

 

Switch will be placed in Maintenance Mode

 

Broadcast message from root@pod2-spine204 (Mon Oct 16 11:56:58 2023):

 

Switch in Maintenance Mode (Debug). Collecting tech-support...

 

 

pod2-spine204# cd /data/techsupport

pod2-spine204# ls -l

total 4

-rw-rw-rw- 1 root root    0 Oct 16 11:56 cli.out.2023-10-16T11-56

drwxrwxrwx 2 root root 4096 Sep 28 12:42 heapstats

pod2-spine204#

 

pod2-spine204# techsupport local

Running bash commands

Completed 1 of 37 commands

Completed 2 of 37 commands

Completed 3 of 37 commands

Completed 4 of 37 commands

Completed 5 of 37 commands

[1553033.603187] vsh (42023) Ran 4171 msecs in last 5000 msecs

[1553071.110445] gzip (57769) Ran 5141 msecs in last 5156 msecs

.

.

.

.

.

Completed 36 of 37 commands

Completed 37 of 37 commands

Collecting local database files

role                     : spine

Starting database snapshot

Database dump complete, available at /data/techsupport/debug/db

Done collecting local database files

Starting data compression

Techsupport collected at /data/techsupport/local_pod2-spine204_2023-10-16T12-11.tgz . Please remove the file once done.

 

  1. Transfer the techsupport file from the ACI switch to the APIC using the following command or download using winscp

 

apic1# scp pod2-spine204:/data/techsupport/local_pod2-spine204_2023-10-16T12-11.tgz /data/techsupport

CISCO BCS ACI LAB POD2

Password:

********************************************************************************

     Warning : The switch is operating in the maintenance mode.

     Run 'show system mode' for more details.

********************************************************************************

local_pod2-spine204_2023-10-16T12-11.tgz                                                                                         38%  279MB  25.4MB/s   00:17 ETA

 

apic1# ls -l | grep "Oct 16"

-r--r--r-- 1 admin admin  753120101 Oct 16 12:17 local_pod2-spine204_2023-10-16T12-11.tgz

apic1#

Agree but I could not login without the fallback user above which was the problem, copying the logs is as described by you.

Thanks.,

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License