Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    aaa strip-domain

    Syntax

    aaa strip-domain { delimiter domainName delimiter | disable | enable | parse-direction domainName { left-to-right | right-to-left } }

    no aaa strip-domain { delimiter domainName | parse-direction domainName }

    Release Information

    Command introduced in JunosE Release 12.0.0.

    Description

    Enables the strip domain feature per virtual router. By default, the strip domain feature per virtual router is disabled. If the strip domain feature is enabled, then you can specify the parsing direction and the delimiter value for the domain name.

    Based on the parsing direction configured, the router searches from right to left, or from left to right. While searching for the domain, it uses the domain delimiter values in its search and parses the domain name accordingly.

    The no version disables the strip domain functionality.

    When the strip domain feature is enabled, the router does not permanently remove the domain name from the username of the subscriber. Instead, the router blocks the domain name from being sent in the Access-Request message, thereby retaining the domain name. So the output of the show subscribers command always displays the complete username, including the domain name (if available), of the subscriber regardless of the status of the strip domain feature.

    Note:

    • The aaa strip-domain command can be configured on a nondefault virtual router only.

    Options

    • delimiter—Configures the delimiter for the subscriber’s domain name per virtual router
    • domainName—Configures the domain name characteristics for the broadband remote access subscriber per virtual router
    • delimiter—Delimiter value configured for the domain using the aaa delimiter command; default value is @
    • disable—Disables the strip domain functionality for a virtual router
    • enable—Enables the strip domain functionality for a virtual router
    • parse-direction—Configures the parsing direction for the subscriber’s domain name per virtual router. The default parsing direction for a domain name is from right to left
    • left-to-right—Causes the router to search from the leftmost character. 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 rightmost character. When the router reaches a domain delimiter, it uses anything to the right of the delimiter as the domain

    Mode

    Global Configuration

    Published: 2014-08-14