default-password-template

Function

The default-password-template command binds a user password template to a BAS interface.

The undo default-password-template command unbinds the user password template from a BAS interface.

By default, no user password template is bound to a BAS interface and the user password or user password generation mode configured in the system view is used.

This command is supported only on the NetEngine 8000 F1A.

Format

default-password-template template-name

undo default-password-template

Parameters

Parameter Description Value
template-name

Specifies a user password template name.

The value is a string of 1 to 31 case-sensitive characters without spaces.

Views

BAS interface view (GE), BAS interface view (VE), BAS interface view (trunk)

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-control write

Usage Guidelines

Usage Scenario

The default-password template <template-name> command can be used to configure a user password template for users who use the same user password generation mode. After the user password template is bound to a BAS interface, users that get online from the BAS interface can directly use configurations of the user password template.

Prerequisites

Before binding the user password template to the BAS interface, run the default-password template <template-name>command to configure a user password template. In addition, enable BAS on the interface and configure the access mode.

Configuration Impact

If this command is configured for multiple times, only the last configuration takes effect. Users that have been online are not affected. Users that get online after the command is configured will be affected.

After the user password template is bound to a BAS interface, both the binding users that get online from the BAS interface and Web/fast authentication users use the user password or user password generation configured by the user password template.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Bind the user password template named pwd1 to GigabitEthernet 0/1/1 in the BAS interface view.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] default-password template pwd1 cipher huawei123
[*HUAWEI-aaa] commit
[~HUAWEI-aaa] quit
[~HUAWEI] interface GigabitEthernet 0/1/1
[~HUAWEI-GigabitEthernet0/1/1] bas
[~HUAWEI-GigabitEthernet0/1/1-bas] access-type layer2-subscriber
[*HUAWEI-GigabitEthernet0/1/1-bas] commit
[~HUAWEI-GigabitEthernet0/1/1-bas] default-password-template pwd1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >