on-demand-ip-address
Syntax
on-demand-ip-address;
Hierarchy Level
[edit dynamic-profiles profile-name interfaces "$junos-interface-ifd-name" unit “$junos-interface-unit”]. [edit dynamic-profiles profile-name interfaces pp0 unit “$junos-interface-unit” ppp-options], [edit interfaces pp0 unit unit-number ppp-options], [edit protocols ppp-service]
Description
For IPv4 and IPv6 dual-stack PPP subscribers, enables on-demand allocation and de-allocation of an IPv4 address after initial PPP authentication for a subscriber who does not have an existing IPv4 address.
Configuration changes take effect as follows:
When you change this setting for a dynamic PPP interface (at the
[edit dynamic-profiles]
hierarchy level), the change takes effect only for new subscriber logins.When you change this setting for a static PPP interface (at the
[edit interfaces pp0]
hierarchy level, the subscribers on the interface are logged out.When you change this setting globally (at the
[edit protocols ppp-service]
hierarchy level), the change takes effect only for new subscriber logins.
If you enable on-demand allocation at both the interface and global levels, the global configuration takes precedence and changes take effect for new subscriber logins.
Default
This functionality is disabled by default.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 13.1.