Configuring a Dynamic Interface from a Profile

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

Profile Considerations

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 can 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 auto-configure command identifies the encapsulation type. For flexibility, the router provides the ability to configure an ATM 1483 subinterface with distinct profile assignments for each encapsulation type supported by the auto-configure command.

In contrast to dynamic ATM 1483 subinterfaces, dynamic VLAN subinterfaces support recognition and creation of simultaneous IP and PPPoE upper dynamic interface types. The vlan auto-configure command identifies the encapsulation type. For flexibility, the router provides the ability to configure a VLAN subinterface with distinct profile assignments for each encapsulation type supported by the vlan 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 subinterface, configure and assign separate profiles for each encapsulation type. If your configuration of upper layers is the same for more than one encapsulation type, configure one profile and assign it for those encapsulation types.

Profile Characteristics

Currently, profiles support bridged Ethernet, IP, IPv6, L2TP, Multilink PPP, PPP, PPPoE, and VLANs. 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. After you create a profile, you can assign it to static ATM 1483, static PPP, or static VLAN major interfaces on different devices.

Bridged Ethernet Characteristics

A profile can contain the following bridged Ethernet characteristic:

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:

L2TP Characteristics

A profile can contain the following L2TP characteristic:

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:

VLAN Characteristics

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

Working with Profiles

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

Figure 56: Creating and Configuring a Profile

Image g013106.gif

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

Figure 57: Assigning a Profile to a Static Interface

Image g013107.gif

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, PPPoE, or VLAN interfaces.

To configure a profile:

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

    Note: When configuring either IP or IPv6 to operate over PPP, you might 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.

bridge1483 mtu

ip access-routes

ip address

ip auto-configure ip-subscriber

ip auto-detect ip-subscriber

ip directed-broadcast

ip filter-options all

ip igmp

ip ignore-df-bit

ip inactivity-timer

ip inspection

ip mtu

ip nat

ip policy

ip redirects

ip route-cache flow sampled

ip route-map ip-subscriber

ip sa-validate

ip tcp adjust-mss

ip unnumbered

ip virtual-router

ipv6 address

ipv6 http

ipv6 http redirectUrl

ipv6 mld

ipv6 mtu

ipv6 nd

ipv6 nd managed-config-flag

ipv6 nd other-config-flag

ipv6 nd prefix-advertisement

ipv6 nd ra-interval

ipv6 nd ra-lifetime

ipv6 nd reachable-time

ipv6 nd suppress-ra

ipv6 policy

ipv6 sa-validate

ipv6 unnumbered

ipv6 virtual-router

l2tp policy

ppp aaa-profile

ppp authentication

ppp chap-challenge-length

ppp fragmentation

ppp hash-link-selection

ppp initiate-ip

ppp initiate-ipv6

ppp ipcp lockout

ppp ipcp netmask

ppp ipcp prompt-option dns

ppp keepalive

ppp log

ppp magic-number disable

ppp magic-number ignore-mismatch

ppp max-negotiations

ppp mru

ppp multilink enable

ppp multilink multiclass

ppp multilink multiclass fragmentation

ppp multilink multiclass reassembly

ppp multilink multiclass traffic-class

ppp passive-mode

ppp peer

ppp reassembly

pppoe acName

pppoe always-offer

pppoe duplicate-protection

pppoe log pppoeControlPacket

pppoe mtu

pppoe mtu

pppoe remote-circuit-id

pppoe service-name-table

pppoe sessions

pppoe url

profile

svlan ethertype

vlan advisory-rx-speed

vlan advisory-tx-speed

vlan auto-configure

vlan auto-configure agent-circuit-identifier

vlan description

vlan policy

vlan profile

vlan service-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. For static VLAN subinterfaces, you can assign one profile for each IP or 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 when 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.
    host1(config-if)#interface atm 2/1.10
  2. Configure a PVC by specifying the VCD, the VPI, the VCI, and the encapsulation type.
    host1(config-subif)#atm pvc 10 100 22 aal5snap host1(config-subif)#atm pvc 10 100 22 aal5autoconfig
  3. Apply an existing profile.
    host1(config-subif)#profile ip holland
  4. Assign subscriber identification.
    host1(config-subif)#subscriber ip user ispname domain abc.com
    password 3fds9jpt
  5. Enable the dynamic encapsulation type.
    host1(config-subif)#auto-configure ip

atm pvc

auto-configure

profile

subscriber

Profile Configuration Examples

The following examples show different ways to configure profiles.