domain-location

Function

The domain-location command configures the domain name to be located before or after the delimiter to facilitate system parsing.

The undo domain-location command restores the default domain location.

By default, the domain name is located after the delimiter.

Format

domain-location domainPosition

undo domain-location

Parameters

Parameter Description Value
domainPosition

Specifies the type of parsing the domain name.

The value is an enumerated type and can be:

  • after-delimiter:Indicates that the domain name is located after the delimiter.
  • before-delimiter:Indicates that the domain name is located before the delimiter.

Views

AAA view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
aaa write

Usage Guidelines

Usage Scenario

By default, a user uses user name@domain name to log in to a device. To configure a user to use domain name@user name to log in, run the domain-location command to configure the domain name to be located before the delimiter. You can configure a delimiter as required. For details, see domain-name-delimiter.

Precautions

The newly configured domain-location command does not apply to the currently online users in the domain but applies only to the subsequent online users.

Example

# Configure the domain name to be located before the delimiter.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] domain-location before-delimiter
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >