cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1521
Views
0
Helpful
5
Replies

Authentication failed while using Write command

ankitspatel
Community Member

Hello

I have authentication failed error when I try to use write command. it saves the config but still gives this error.

 

Building configuration...
Compressed configuration from 19375 bytes to 9814 bytes[OK]
Writing CACPC3OXPLRS001-Jul-18-2022-15-11-48.540-1
% Authentication failed.

5 Replies 5

Mark Elsen
Hall of Fame
Hall of Fame

 

 - Could you verify the startup configuration after this and verify if a (real) saving of the running-config was done or not. Also check the logs after that failure , see if you can find more info's from the logs.

 M.



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

yes, running config is being saved in real. no information in logs.

RS001#show clock
15:56:01.871 UTC Mon Jul 18 2022
RS001#write
Building configuration...
Compressed configuration from 19327 bytes to 9777 bytes[OK]
Writing RS001-Jul-18-2022-15-56-06.282-1
% Authentication failed.

RS001#show startup-config
Using 9777 out of 2097152 bytes, uncompressed size = 19327 bytes
!
! Last configuration change at 15:55:57 UTC Mon Jul 18 2022 by C556
! NVRAM config last updated at 15:56:05 UTC Mon Jul 18 2022 by C556

RS001#dir | i nvram
417794 -rw- 2097152 Jul 18 2022 15:56:11 +00:00 nvram_config
417795 -rw- 2097152 Jul 18 2022 15:56:11 +00:00 nvram_config_bkup

 

 - How is the current-administrative user authenticated , if this is not a local admin , does it have sufficient privileges  (like for instance getting admins authenticated through radius) , though it seems the command can be executed indeed , the lack of could then be  minor side effect.

 M.



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

Looks like you don't have full permission to do that...

If you are using AAA? if yes check the permissions on your user ID.

 

 

Thanks,
Jitendra

salamshina
Frequent Visitor
Frequent Visitor

This issue is most likely due to bad archive path. When you do show archive and see what the output is, this could be due to bad credentials.

In this case, just do no archive, then wr mem. This should fix the problem. Don't forget to reconfigure the archive path again.

Thanks,

Abdul.