You can configure dynamic subscriber interfaces using IP demux interfaces.
To enable the dynamic demux interface to be created by DHCP, you configure the demux options in a dynamic profile. Dynamic profiles enable you to dynamically apply configured values (including CoS, IGMP, or filter configuration) to the dynamic interfaces, making them easier to manage.
Before you begin:
To configure dynamic subscriber interfaces:
- user@host# edit dynamic-profiles business-profile interfaces demux0
The variable is dynamically replaced with the unit number that DHCP supplies when the subscriber logs in.
- [edit dynamic-profiles business-profile demux0]
- user@host# edit unit “$junos-interface-unit”
The variable is dynamically replaced with the underlying interface that DHCP supplies when the subscriber logs in.
- [edit dynamic-profiles business-profile unit “$junos-interface-unit”]
- user@host# set demux-options underlying-interface “$junos-underlying-interface”
- [edit dynamic-profiles business-profile interfaces demux0
unit “$junos-interface-unit”]
- user@host# edit family inet
- [edit dynamic-profiles business-profile interfaces demux0
unit “$junos-interface-unit” family inet]
- user@host# setunnumbered-address 1o0.0
The variable is dynamically replaced with the IP address that DHCP supplies when the subscriber logs in.
- [edit dynamic-profiles business-profile unit “$junos-interface-unit”]
- user@host# set demux-source “$junos-subscriber-ip-address”