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


Configuring a Dynamic Interface from a Profile

You define profiles by using CLI commands similar to the ones you would use to configure static interfaces. When configuring profiles, you have the option of choosing to specify every layer explicitly or to specify a subset of layers.

When a dynamic interface is configured, the configuration data received from the RADIUS authentication server typically overrides configuration data obtained from a profile.

In contrast to static PPP interfaces (above which only dynamic IP interfaces may be created), static ATM 1483 subinterfaces support recognition and creation of the following upper dynamic interface types or encapsulations: bridged Ethernet, IP, IPv6, Multilink PPP, PPP, and PPPoE interfaces. The encapsulation type is identified by means of the auto-configure command. For flexibility, the router offers the ability to configure an ATM 1483 subinterface with distinct profile assignments for each encapsulation type supported by the auto-configure command.

Each profile typically contains configuration attributes for the expected encapsulation, in addition to attributes for other higher-interface layers through IP. If your configuration of upper layers is intended to be different depending on which incoming encapsulation is received by the ATM 1483 subinterface, then you should configure and assign separate profiles for each encapsulation type. If your configuration of upper layers is the same for more than one encapsulation type, you can configure one profile and assign it for those encapsulation types.

Profile Characteristics

Currently, profiles support bridged Ethernet, IP, IPv6, Multilink PPP, PPP, and PPPoE interfaces. You create a profile with a specific set of characteristics. You then assign the profile to multiple interfaces instead of creating separate interfaces with identical attributes. Once you create a profile, you can assign it to static ATM 1483 or static PPP interfaces on different devices.

Profiles contain attributes for IP, IPv6, Multilink PPP, PPP, or PPPoE. Profiles do not contain attributes for bridged Ethernet.

IP Characteristics

A profile can contain one or more of the following IP characteristics:

IPv6 Characteristics

A profile can contain one or more of the following IPv6 characteristics:

MLPPP and PPP Characteristics

A profile can contain one or more of the following MLPPP or PPP characteristics:

PPPoE Characteristics

A profile can contain one or more of the following PPPoE characteristics:

Working with Profiles

Figure 34 shows how to create a profile and assign characteristics to it.


Figure 34: Creating and Configuring a Profile

Figure 35 shows how to assign a profile to static interfaces. These static interfaces will create dynamic interfaces above them.


Figure 35: Assigning a Profile to a Static Interface

Configuring a Profile

You can create a profile by using CLI commands similar to those used to create the equivalent static interfaces. You can configure a profile for bridged Ethernet, IP, IPv6, MLPPP, PPP, or PPPoE interfaces.

To configure a profile:

  1. Create a profile by assigning it a name.
  2. host1(config)#profile foo
    
    
    
  3. Specify a VR to which dynamic IP interfaces created with this profile will be assigned.
  4. host1(config-profile)#ip virtual-router egypt
    
    
    
  5. Specify an IP loopback interface with which dynamic IP interfaces created with this profile will be associated.
  6. host1(config-profile)#ip unnumbered loopback 0
    
    
    
  7. Configure IPCP option 0x90.
  8. host1(config-profile)#ppp ipcp netmask
    
    
    
  9. Optionally set IP, IPv6, MLPPP, PPP, or PPPoE characteristics.

    NOTE: When configuring either IP or IPv6 to operate over PPP, you may want to initiate IP or IPv6 by using the appropriate ppp initiate command, either ppp initiate ip or ppp initiate ipv6. This command initiates either IPv4 or IPv6 in the event you are connecting to a passive client.


ip access-routes

ip address

ip directed-broadcast

ip inspection

ip mtu

ip redirects

ip sa-validate

ip unnumbered

ip virtual-router

ppp aaa-profile

ppp authentication

ppp chap-challenge-length

ppp initiate

ppp ipcp netmask

ppp keepalive

ppp log

ppp magic-number disable

ppp mru

ppp multilink enable

ppp passive-mode

ppp peer

pppoe acName

pppoe always-offer

pppoe duplicate-protection

pppoe log pppoeControlPacket

pppoe motm

pppoe remote-circuit-id

pppoe service-name-table

pppoe sessions

pppoe url

%U username and domain name

%u username

%d domain name

%D profile name

%% % character

profile

Assigning a Profile to an Interface

Use the profile command from Interface Configuration mode when you assign a profile to an interface.

For static PPP interfaces, you can assign only a profile for IP encapsulations. For static ATM 1483 subinterfaces, you can assign one profile for each bridged Ethernet, IP, PPP, and PPPoE encapsulation. You can also use the default keyword any, which applies to any autoconfigured encapsulation that does not have specific profile assignment.

For example, the following commands cause the router to use ProfileB if an IPoA packet is received, and to use ProfileA for any other received encapsulation that is autoconfigured. When you omit the keyword, it defaults to any.

host1(config-subif)#profile any ProfileA
host1(config-subif)#profile ip ProfileB

To assign a profile to an interface:

  1. Configure a physical interface.

For ATM interfaces on ERX-7xx models, ERX-14xx models, and the ERX-310 router, use the slot/port[.subinterface ] format; for example:

host1(config-if)#interface atm 2/1.10

  1. Configure a PVC by specifying the VCD, the VPI, the VCI, and the encapsulation type.
  2. host1(config-subif)#atm pvc 10 100 22 aal5snap
    
    host1(config-subif)#atm pvc 10 100 22 aal5autoconfig
    
    
    
  3. Apply an existing profile.
  4. host1(config-subif)#profile ip holland
    
    
    
  5. Assign subscriber identification.
  6. host1(config-subif)#subscriber ip user ispname domain abc.com 
    
    password 3fds9jpt
    
    
    
  7. Enable the dynamic encapsulation type.
  8. host1(config-subif)#auto-configure ip
    

atm pvc

auto-configure

profile

subscriber

Profile Configuration Examples

Examples in this section show different ways that profiles can be configured.


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