The static-user username format-include command sets the user name for a static user in authentication.
The undo static-user username format-include command restores the default user name for the static user.
By default, the name of a static user consists of system-name and ip-address. For example, if the access device name is huawei and user IP address is 1.1.1.1, the static user name is huawei1.1.1.1.
static-user username format-include { ip-address | mac-address | system-name }
undo static-user username format-include
Parameter |
Description |
Value |
---|---|---|
ip-address |
Indicates that the user IP address is used as the user name. |
- |
mac-address |
Indicates that the user MAC address is used as the user name. |
- |
system-name |
Indicates that the access device name is used as the user name. To set the device name, run the sysname command. |
- |