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.
- host1(config)#aaa profile forwardToXyz
- host1(config-aaa-profile)#translate default
xyz.com
- host1(config-if)#ppp aaa-profile forwardToXyz
When configured as such, the following scenario is typical:
![]() |
Note: If there is no matching entry in the AAA profile for the user’s domain name or for the domain name default, then AAA continues processing as if there were no AAA profile. If the user’s name does not contain a domain name, then AAA attempts to match to the domain name none in the AAA profile. If there is no entry for none, then AAA attempts to match for the domain name default in the AAA profile. If there is no entry for either none or default, then AAA continues processing as if there were no AAA profile. |
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.
- host1(config)#aaa profile toAbc
- 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
- host1(config-aaa-profile)#deny default
- host1(config-if)#ppp aaa-profile toAbc
When configured as such, the following scenario is typical:
![]() |
Note: If there is no matching entry in the AAA profile for the user’s domain name or for the domain name default, then AAA continues processing as if there were no AAA profile. If the user’s name does not contain a domain name, then AAA attempts to match to the domain name none in the AAA profile. If there is no entry for none, then AAA attempts to match for the domain name default in the AAA profile. If there is no entry for either none or default, then AAA continues processing as if there were no AAA profile. |
aaa profile
- host1(config)#aaa profile boston123
allow
- host1(config-aaa-profile)#allow xyz.com
deny
- host1(config-aaa-profile)#deny xyz.com
ppp aaa-profile
![]() |
Note: Although an AAA profile and an interface profile have similar functionality, they are not related and should be treated differently. |
- host1(config-if)#ppp aaa-profile westford24
translate
- host1(config-aaa-profile)#translate abc.com
xyz.com