# aaa parse-direction

#### Syntax

aaa parse-direction { domainName | realmName } { left-to-right | right-to-left }

no aaa parse-direction { domainName | realmName }

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Specifies the direction the router uses for domain and realm parsing. The router either searches from right-to-left, or from left-to-right. If searching for the realm, the router uses the realm delimiter valued in its search. If searching for the domain, it uses the domain delimiter values in its search. The no version returns the parse direction to the default setting.

#### Options

- domainName—Specifies that the domain name is parsed. The router performs domain searches from right-to-left by default.
- realmName—Specifies that the realm name is parsed. The router performs realm searches from left-to-right by default.
- left-to-right—Causes the router to search from the left-most character. When the router reaches a realm delimiter, it uses anything to the left of the delimiter as the domain. When the router reaches a domain delimiter, it uses anything to the right of the delimiter as the domain.
- right-to-left—Causes the router to search from the right-most character. When the router reaches a realm delimiter, it uses anything to the left of the delimiter as the domain. When the router reaches a domain delimiter, it uses anything to the right of the delimiter as the domain.

#### Mode

Global Configuration