# mpls create-dynamic-interfaces

#### Syntax

mpls create-dynamic-interfaces
{ ip | ipv6 } on-major-interfaces [ for-vpn-traffic ] [ profile profileName ]

no mpls create-dynamic-interfaces
{ ip | ipv6 } on-major-interfaces [ for-vpn-traffic ]

#### Release Information

Command introduced in JunosE Release 7.1.0.

#### Description

Specifies whether dynamic IP interfaces are automatically created on top of all MPLS major interfaces, and if so, which profile is used to create them. By default, one IPv4 dynamic interface without a profile is created and used for both VPN and non-VPN traffic. If IPv6 is enabled on the virtual router, then by default, one IPv6 dynamic interface without a profile is created and used for both VPN and non-VPN traffic. The no version restores the default behavior.

#### Options

- ip—Specifies that the created dynamic interfaces are IPv4
- ipv6—Specifies that the created dynamic interfaces are IPv6
- for-vpn-traffic—Specifies that the created dynamic interface is used for BGP/MPLS VPN traffic; VPN traffic uses the same IP interface as non-VPN traffic if separate IP interfaces are not created for the VPN traffic
- profileName—Name of a profile that sets the values that configure the IP interface; if you do not specify a profile, the interface attributes are set to their default values

#### Mode

Global Configuration