# 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 domain name stripping configuration per virtual router. By default, domain name stripping per virtual router is disabled. If domain name stripping is enabled, then you can specify the parse-direction and the delimiter value for the domain name.

Based on the parse-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 domain name stripping functionality.

| Note: The aaa strip-domain command can be configured on a non-default 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 domain name stripping functionality for a virtual router
- enable—Enables domain name stripping 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 right-to-left
- left-to-right—Causes the router to search from the left-most 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 right-most character. When the router reaches a domain delimiter, it uses anything to the right of the delimiter as the domain

#### Mode

Global Configuration

#### Related Documentation

- aaa domain-map
- show aaa strip-domain
- ppp authentication