Assigning a Profile to a Dynamic 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:
- Configure a physical interface.
host1(config-if)#interface atm 2/1.10
- Configure a PVC by specifying the VCD, the VPI, the VCI,
and the encapsulation type. For more information, see Creating a PVC on an ATM 1483 Subinterface.
host1(config-subif)#atm pvc 10 10 22 aal5snap host1(config-subif)#atm pvc 10 10 22 aal5autoconfig
- Apply an existing profile.
host1(config-subif)#profile ip holland
- Assign subscriber identification. For more information,
see Configuring a Local Subscriber for a Dynamic IPoA or Bridged Ethernet Interface.
host1(config-subif)#subscriber ip user ispname
domain abc.com password 3fds9jpt
- Enable the dynamic encapsulation type. For more information,
see Configuring a Dynamic Interface over an ATM 1483 Subinterface.
host1(config-subif)#auto-configure ip
Published: 2012-06-26