Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

parse-direction (Access Profile)

date_range 09-Dec-23

Syntax

content_copy zoom_out_map
parse-direction (left-to-right | right-to-left);

Hierarchy Level

content_copy zoom_out_map
[edit access profile profile-name session-options strip-user-name]

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-right

Parse 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-left

Parse 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.

Release Information

Statement introduced in Junos OS Release 16.2.

footer-navigation