Domain Mapping Overview
Domain mapping enables you to configure a map that specifies access options and session-specific parameters. The map is based on the domain name of subscriber sessions — the router applies the mapped options and parameters to sessions for subscribers that have the specified domains. For example, you might configure a domain map that is based on the domain name xyz.com. The options and parameters in that domain map are then applied when subscribers with the specified domain name (for example, bob@xyz.com, raj@xyz.com, and juan@xyz.com) request an AAA service.
Domain maps provide efficiency, and enable you to make changes for a large number of subscribers in one operation. For example, if an address assignment pool becomes exhausted due to the number of subscribers obtaining addresses from the pool, you can create a domain map that specifies that subscribers in a particular domain obtain addresses from a different pool. In another use of domain maps, you might create a new dynamic profile and then configure a domain map to specify which subscribers (by their domain) use that dynamic profile.
Table 1 describes the access options and parameters you can configure in domain maps.
Table 1: Domain Map Options and Parameters
Option | Description |
|---|---|
AAA logical system/routing instance | Logical system/routing instance in which AAA sends authentication and accounting requests for the subscriber sessions.. |
Access profile | Access profile applied to subscriber sessions. |
Address pool | Address pool used to allocate addresses to subscribers. |
Domain name rules | Rules for domain name usage, including domain name stripping, supported delimiters, and parse direction (delimiters and the parse direction are configured globally). |
Dynamic profile | Dynamic profile applied to subscriber sessions. |
PADN parameters | PPPoE route information for subscriber sessions. |
Target logical system/routing instance | Logical system/routing instance to which the subscriber interface is attached. |
Tunnel profile | Tunnel profile applied to subscriber sessions. |
Default Domain Map
You can configure a default domain map that the router uses for subscribers whose domain name does not explicitly match any existing domain maps. The router also uses the default domain map when a subscriber username does not include a domain name.
You might configure the default domain map to provide limited feature support for guest subscribers, such as a specific address pool used for guests or the logical system that provides AAA services. When the router is unable to match a subscriber request to a domain map, the router then uses the rules specified in the default domain map configuration to handle the subscriber request.