The domainname-parse-direction command configures the direction in which the domain name is parsed so that the system can correctly parse the user name and domain name.
The undo domainname-parse-direction command restores the default setting.
By default, the domain name is parsed from left to right.
Usage Scenario
When a user name contains multiple domain name delimiters, such as user1@abcd@domain1, run the domainname-parse-direction command to configure the direction in which the domain name is parsed. Use user1@abcd@domain1 as an example. When the domain name is parsed from left to right, the first delimiter @ from the left is considered the domain name delimiter. When the domain name is parsed from right to left, the first delimiter @ from the right is considered the domain name delimiter. The other delimiters are considered part of the user name or domain name.
Precautions
The domainname-parse-direction command configuration applies to the currently online users. After the domainname-parse-direction command is run, the accounting and recording functions for online users will comply with the new parsing direction, causing a parsing failure. Therefore, running the domainname-parse-direction command when no user is online is recommended.