[Contents] [Prev] [Next] [Index] [Report an Error]

Using Domain Name Aliases

You can translate an original domain name to a new domain name via the translate command. The command allows you to create domain name aliases; that is, the grouping of multiple domain names into a single domain name. You can partition PPP subscribers with the same domain into separate domains, based on the PPP interface.

Note: Partitioning subscribers does not cause modification of a user’s name or domain.

When you use aliases, you greatly simplify the configuration process. When there are a large number of domains and you use aliases, it reduces the configuration volume, thus requiring less NVS and memory usage.

Example 1

In this example, an administrator wants to associate all subscribers of a PPP interface with a specific domain name.

  1. Create an AAA profile.
    host1(config)#aaa profile forwardToXyz
  2. Map the original domain name to the mapped domain name for domain map lookup.
    host1(config-aaa-profile)#translate default xyz.com
  3. Associate the AAA profile with the designated PPP interface.
    host1(config-if)#ppp aaa-profile forwardToXyz

When configured as such, the following scenario is typical:

Example 2

In this example, an administrator wants to use aliases; that is, to associate multiple domain names with a specific domain name and not allow other domain names.

  1. Create an AAA profile.
    host1(config)#aaa profile toAbc
  2. Map the original domain name to the mapped domain name for domain map lookup.
    host1(config-aaa-profile)#translate abc1.com abc.com
    host1(config-aaa-profile)#translate abc2.com abc.com
    host1(config-aaa-profile)#translate abc3.com abc.com
  3. Specify the domain name you want to restrict.
    host1(config-aaa-profile)#deny default
  4. Associate the AAA profile with the designated PPP interface.
    host1(config-if)#ppp aaa-profile toAbc

When configured as such, the following scenario is typical:

aaa profile

allow

deny

ppp aaa-profile

translate


[Contents] [Prev] [Next] [Index] [Report an Error]