When defining or editing an account that automatically expires, you can specify a duration after which a warning is generated about the inactivity of the account.
By default, users are not warned about the inactivity of their account. Use the acct-inactivity-warning-period parameter to configure the number of days after which a warning is generated about the account being inactive. For example, when set to 20 days, a warning will be generated when a specific user account is inactive for 20 days.
Note
Without configuring expiry period, warning period cannot be configured.SLX # configure terminal
SLX (config)# username aming role user password Tijd1spw acct-inactivity-warning-period 20