The default-user-name-template command binds a user name template to a Broadband Access Server (BAS) interface.
The undo default-user-name-template command cancels the binding of user name templates.
By default, no user name template is bound to a BAS interface. That is, a BAS interface uses the global user name template.
This command is supported only on the NetEngine 8000 F1A.
Usage Scenario
To use a user name template to generate a user name for a user on a BAS interface, bind the user name template to the BAS interface.
Prerequisites
Before configuring this command, you must create corresponding user name templates in the AAA view through the default-user-name template command.
Configuration Impact
If the default-user-name-template command is run more than once, the latest configuration overrides the previous one. The configuration takes effect only for users who are activated after the command is run.
Precautions
This command is supported only on the admin VS.
If a user name template is bound to a BAS interface using the default-user-name-template command and the user name generation mode is configured using the default-user-name include command in the AAA view, the user name template bound to the BAS interface takes effect. If using a user name template to generate a user name fails, the user name generation mode configured in the AAA view is still not used. Instead, allow the system to automatically generate a user name.<HUAWEI> system-view [~HUAWEI] aaa [~HUAWEI-aaa] default-user-name template kouki include sysname [~HUAWEI-aaa] commit [~HUAWEI-aaa] quit [~HUAWEI] interface GigabitEthernet 0/1/1 [~HUAWEI-GigabitEthernet0/1/1] commit [~HUAWEI-GigabitEthernet0/1/1] bas [~HUAWEI-GigabitEthernet0/1/1-bas] default-user-name-template kouki