Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Supported Platforms

 

Related Documentation

 

Associating Dynamic Profiles with Statically Created Interfaces

When configuring the interfaces stanza within a dynamic profile, you use variables to specify the interface name and the logical unit value. When a DHCP subscriber sends a DHCP request to the interface, the dynamic profile replaces the interface name variable and logical unit name variable with the actual interface name and logical unit number of the interface that received the DHCP request.

Note: Configuration of the interface name variable and logical interface name variable at the [edit dynamic-profiles profile-name interfaces] hierarchy level is required for a dynamic profile to function.

To configure the interface for a dynamic profile, specify the interface name variable and include the unit statement and associated logical interface name variable:

  1. Access the profile.
    [edit]user@host# edit dynamic-profiles basic-profile
  2. Specify the interface name variable.
    [edit dynamic-profiles basic-profile]user@host# set interfaces $junos-interface-ifd-name
  3. Specify the logical interface name variable with the unit statement.

    When referencing an existing interface, specify the $junos-underlying-interface-unit variable used by the router to match the unit value of the receiving interface:

    [edit dynamic-profiles basic-profile]user@host# set unit $junos-underlying-interface-unit

    When creating dynamic interfaces, specify the $junos-interface-unit variable used by the router to generate a unit value for the interface:

    [edit dynamic-profiles basic-profile]user@host# set unit $junos-interface-unit
 

Related Documentation

 

Published: 2013-02-11

Supported Platforms

 

Related Documentation

 

Published: 2013-02-11