cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
682
Views
5
Helpful
4
Replies

Cisco 800 router password expiry

OmkarPol52290
Level 1
Level 1

Hey,

 

Is there a way to add expiry to a user account on Cisco 800 Router Series?

4 Replies 4

Richard Burts
Hall of Fame
Hall of Fame

To be clear - you are asking about a user account configured on the 800 router and using local authentication rather than some authentication software (Radius or Tacacs or anything)?

I am not aware of any way to configure expiration of passwords for locally configured accounts on the 800 series router. If anyone in the community knows how to achieve this I would be very interested.

HTH

Rick

Yes, exaclty.

 

balaji.bandi
Hall of Fame
Hall of Fame

Local accounts no expiry as per i know, if it is external you can do.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello,

 

a possible workaround would be to use EEM scripts to add/delete users. In the scripts below, user 'admin' is delete every Monday thru Friday at 8PM, and added every Monday thru Friday at 7AM. I am not sure what exactly you want to accomplish, but you can tweak this and use it for whatever purpose:

 

event manager applet DELETE_USER
event timer cron cron-entry "0 20 * * * 1-5"
action 1.0 cli command "enable"
action 2.0 cli command "conf t"
action 3.0 cli command "no user admin privilege 15 password 0 cisco"
action 4.0 cli command "end"
!
event manager applet ADD_USER
event timer cron cron-entry "0 7 * * * 1-5"
action 1.0 cli command "enable"
action 2.0 cli command "conf t"
action 3.0 cli command "user admin privilege 15 password 0 cisco"
action 4.0 cli command "end"

Review Cisco Networking for a $25 gift card