Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

parse-direction (Access Profile)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 16.2.

Description

Specify the direction in which a subscriber login string is parsed to identify the first delimiter that matches one configured with the delimiter statement. When subscriber username stripping is configured in a subscriber access profile, the characters to the right of the identified delimiter are stripped and discarded along with the delimiter. characters become the new, modified username.

Default

left-to-right

Options

left-to-rightParse the subscriber login string from left to right up to the delimiter.

For example, when the direction is left-to-right, the characters /@$%# are configured as the delimiters, and the login string is drgt21@example.com$84, the @ is reached before the $, so the username is modified to drgt21.

right-to-leftParse the subscriber login string from right to left up to the delimiter.

For example, when the direction is right-to-left, the characters /@$%# are configured as the delimiters, and the login string is drgt21@example.com$84, the $ is reached before the @, so the username is modified to drgt21@example.com.

Required Privilege Level

access—To view this statement in the configuration.

access-control—To add this statement to the configuration.