# profile

#### Syntax

To assign a profile name for a remote host:

[ no ] profile profileName

To create a profile or assign a profile to an interface:

profile [ bridgedEthernet | ip | l2tp | ppp | pppoe | vlan | any ] profileName

no profile [ bridgedEthernet | ip | l2tp | ppp | pppoe | vlan | any ]

#### Release Information

Command introduced before JunosE Release 7.1.0.
vlan keyword added in JunosE Release 7.1.0.
IP Tunnel Destination Profile Configuration mode added in JunosE Release 8.2.0.

#### Description

When used from Global Configuration mode, creates a profile. Use profiles to configure interfaces dynamically, which enables you to manage a large number of interfaces effectively. The no version removes the profile.

When used from Interface Configuration mode and Subinterface Configuration mode, assigns a profile to an interface. Use profiles to configure interfaces dynamically, which enables you to manage a large number of interfaces effectively. The no version removes the profile assigned to the interface.

When used in IP Tunnel Destination Profile Configuration mode, defines an IP profile with parameters that are used to stack an upper IP interface over a dynamic GRE or DVMRP tunnel. The no version removes the IP profile from the destination profile.

When used from L2TP Destination Profile Host Configuration mode, sets an attribute of the current remote host. The no version removes the attribute from the remote host.

#### Options

- bridgedEthernet—Specifies a bridged Ethernet encapsulation type to which the profile applies
- ip—Specifies an IP encapsulation type to which the profile applies
- l2tp—Specifies an L2TP encapsulation type to which the profile applies
- ppp—Specifies a PPP encapsulation type to which the profile applies
- pppoe—Specifies a PPPoE encapsulation type to which the profile applies
- vlan—Specifies a VLAN encapsulation type to which the profile applies
- any—Specifies any autoconfigured encapsulation that does not have a specific profile assignment
- profileName—Profile name of up to 80 characters

#### Mode

Global Configuration, Interface Configuration, IP Tunnel Destination Profile Configuration, L2TP Destination Profile Host Configuration, Subinterface Configuration