Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Supported Platforms

Specifying the Parsing Direction for Domain Names

You can specify the direction in which the router performs the parsing operation it uses to identify subscriber domain names for domain maps. During the parsing operation, the router searches the username until it recognizes a delimiter. It then considers anything to the right of the delimiter as the domain. By default, the router parses from right to left, starting at the right-most character in the username.

The parsing direction you use is important when there are nested domain names. For example, for the username user1@abc.com@xyz.com, right-to-left parsing produces a domain name of xyz.com. For the same username, left-to-right parsing produces a domain name of abc.com@xyz.com.

To configure the domain name parsing direction for domain maps:

  1. Specify that you want to configure domain attributes.
    [edit]user@host# edit access domain
  2. Specify the parsing direction you want the router to use.
    [edit access domain]user@host# set parse-direction (left-to-right | right-to-left)

Published: 2013-02-11

Supported Platforms

Published: 2013-02-11