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


Configuring AAA Profiles

An AAA profile is a set of characteristics that act as a pattern that you can assign to domain names. Once you create an AAA profile, you can map it between a PPP client's domain name and certain AAA services on given interfaces. Using AAA profiles, you can:

An AAA profile contains a set of commands to control access for the incoming PPP subscriber. If no AAA profile is used, AAA continues as normal. The user's name and domain name are not changed as a result of an AAA profile mapping.

NOTE: There are two domain names with special meaning. The domain name none indicates that there is no domain name present in the subscriber's name. For more information about none, see the section Mapping User Requests Without a Valid Domain Name. The domain name default indicates that no other match occurs. For more information about default, see the section Mapping User Requests Without a Configured Domain Name.


Allowing or Denying Domain Names

You can control a PPP subscriber's access to certain domains on given interfaces. As the administrator, you can use the deny command to prevent PPP subscribers from using unauthorized domain names. Using the allow command, you can allow PPP subscribers to use authorized domain names.

Configuration Example

In this example, the administrator wants to restrict access of a PPP interface to the specific domain abc.com.

  1. Create an AAA profile.
  2. host1(config)#aaa profile restrictToABC
    
    
    
  3. Specify the domain name you want to allow.
  4. host1(config-aaa-profile)#allow abc.com
    
    
    
  5. Specify the domain name you want to restrict.
  6. host1(config-aaa-profile)#deny default
    
    
    
  7. Associate the AAA profile to the designated PPP interface.
  8. host1(config-if)#ppp aaa-profile restrictToABC 
    
    
    

When configured as such, the following is a likely scenario:

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.
  2. host1(config)#aaa profile forwardToXyz
    
    
    
  3. Map the original domain name to the mapped domain name for domain map lookup.
  4. host1(config-aaa-profile)#translate default xyz.com
    
    
    
  5. Associate the AAA profile with the designated PPP interface.
  6. 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.
  2. host1(config)#aaa profile toAbc
    
    
    
  3. Map the original domain name to the mapped domain name for domain map lookup.
  4. 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
    
    
    
  5. Specify the domain name you want to restrict.
  6. host1(config-aaa-profile)#deny default
    
    
    
  7. Associate the AAA profile with the designated PPP interface.
  8. host1(config-if)#ppp aaa-profile toAbc 
    
    
    

When configured as such, the following scenario is typical:

aaa profile

allow

deny

ppp aaa-profile

translate

Manually Setting NAS-Port-Type Attribute

You can manually configure the NAS-Port-Type RADIUS attribute (attribute 61) in AAA profiles for ATM and Ethernet interfaces. Doing so allows AAA profiles to determine the NAS port type for a given connection.

To set the NAS-Port-Type attribute for ATM or Ethernet interfaces:

  1. Create an AAA profile.
  2. host1(config)#aaa profile nasPortType
    
    
    
  3. (Optional) Set the NAS-Port-Type attribute for ATM interfaces.
  4. host1(config-aaa-profile)#nas-port-type atm wireless-80211
    
    
    
  5. (Optional) Set the NAS-Port-Type attribute for Ethernet interfaces.
  6. host1(config-aaa-profile)#nas-port-type ethernet wireless-cable
    

aaa profile

nas-port-type atm

nas-port-type ethernet

Service-Description Attribute

You can specify a service description that will be associated with an AAA profile. The description can then be exported through RADIUS by the Service-Description attribute (RADIUS attribute 26-53) in AAA profiles.

To set the Service-Description attribute:

  1. Create the AAA profile.
  2. host1(config)#aaa profile xyzCorpPro2
    
    
    
  3. Set the Service-Description attribute.
  4. host1(config-aaa-profile)#service-description bos-xyzcorp
    

aaa profile

service-description


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