[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
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:
- 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.
- host1(config-subif)#atm pvc 10 100 22 aal5snap
- host1(config-subif)#atm pvc 10 100 22 aal5autoconfig
- Apply an existing profile.
- host1(config-subif)#profile ip holland
- Assign subscriber identification.
- host1(config-subif)#subscriber ip user ispname
domain abc.com
password
3fds9jpt
- Enable the dynamic encapsulation type.
- host1(config-subif)#auto-configure ip
atm pvc
- Use to configure a PVC on an ATM interface. Select one
of the following encapsulation options:
-
aal5autoconfig—Enables
the autodetection of the 1483 encapsulation (LLC/SNAP or VC multiplexed).
-
aal5snap—Specifies a
LLC encapsulated circuit; the LLC/SNAP header precedes the protocol
datagram.
-
aal5mux ip—Specifies
a VC multiplexed circuit. This option is used for IP only.
- Example
- host1(config-subif)#atm pvc 6 0 11 aal5autoconfig
- Use the no version to remove
the specified PVC.
- See atm pvc.
auto-configure
- Use to configure
an ATM subinterface to support a dynamic interface. Specifies one
or more types of dynamic encapsulation that the ATM 1483 subinterface
detects and accepts.
- For detailed information about how to use this command,
see auto-configure.
- Example 1—Enables autodetection for the bridged
Ethernet encapsulation type using the default lockout time range,
1–300 seconds
- host1(config-subif)#auto-configure bridgedEthernet
- Example 2—Enables autodetection for the bridged
Ethernet encapsulation type using a nondefault lockout time range
of 3600–21600 seconds (1–6 hours)
- host1(config-subif)#auto-configure bridgedEthernet
lockout-time 3600 21600
- Example 3—Disables encapsulation type lockout for
the IP encapsulation type
- host1(config-subif)#auto-configure ip lockout-time
none
- Example 4—Either command reenables encapsulation
type lockout for the IP encapsulation type using the default lockout
time range
- host1(config-subif)#auto-configure ip
- host1(config-subif)#no auto-configure ip lockout-time
- Example 5—Permanently locks out the PPP encapsulation
type until the auto-configure ppp command
is issued
- host1(config-subif)#no auto-configure ppp
- Use the no version to terminate
detection of the specified encapsulation type or, if the lockout-time keyword is specified, to restore the lockout
time range to its default value, 1–300 seconds.
- See auto-configure.
profile
- Use to assign a profile to a static ATM 1483 or static
PPP interface. The profile configuration is used to dynamically configure
an upper bridged Ethernet, IP, PPP, or PPPoE interface.
- The default encapsulation type, any, applies to any autoconfigured encapsulation that does not have
a specific profile assignment.
- Example
- host1(config-subif)#profile ip holland
- Use the no version to remove
the profile assignment from the interface.
- See profile,
subscriber
- Use to configure a local subscriber on the router to support
authentication and configuration from RADIUS for a dynamic IPoA or bridged
Ethernet interface.
- For detailed information about how to use this command,
see subscriber.
- Example
- host1(config-subif)#subscriber ip user-prefix
charlie domain myisp password-prefix lucy
- Use the no version to remove
the subscriber.
- See subscriber.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]