Sets the requirement that the privilege level attribute (priv-lvl) must be specified for TACACS priv-levl authentication to occur.
priv-levl | Specifies setting the requirement that the privilege level attribute for authentication to occur. |
required | Fails login attempt if priv-lvl attribute is not provided. |
optional | Allows login to occur with read-only privilege if priv-lvl is not provided. (default). |
By default, the priv-lvl is not required.
Using this command to set the privilege level attribute as required does not change any behavior associated with values received in the priv-lvl attribute, only the presence/absence of the attribute.
The following example makes the priv-lvl attribute required for TACACS authentication:
# configure tacacs priv-lvl required
This command was first available in ExtremeXOS 22.5.
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.