service-type terminal force-domain

Function

The service-type terminal force-domain command configures a forced domain for the console interface.

The undo service-type terminal force-domain command deletes the forced domain for the console interface.

By default, no forced domain is configured for the console interface.

Format

service-type terminal force-domain domain-name

undo service-type terminal force-domain

Parameters

Parameter Description Value
domain-name

Specifies the name of a forced domain.

The value is a string of 1 to 64 case-insensitive characters. The specified domain must exist on the device.

Views

AAA view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
aaa write

Usage Guidelines

Usage Scenario

When users logging in through the console interface and users logging in using other login methods must be distinguished, run the service-type terminal force-domain command to specify a forced domain for the console interface. After the configuration becomes effective, users logging in through the console interface automatically enter the forced domain and are not allocated any other domain based on the user names. In this manner, users logging in through the console interface and users logging using other methods are distinguished and allocated different rights.

Precautions

You can specify only one forced domain for the console interface on a device.

Example

# Specify the forced domain named huawei11 for the console interface.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] domain huawei11
[*HUAWEI-aaa-domain-huawei11] quit
[*HUAWEI-aaa] service-type terminal force-domain huawei11
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >