use-primary (DHCP Relay Agent)
Syntax
use-primary primary-profile-name;
Hierarchy Level
[edit forwarding-options dhcp-relay dhcpv6 dynamic-profile profile-name], [edit forwarding-options dhcp-relay dynamic-profile profile-name], [edit forwarding-options dhcp-relay dhcpv6 group group-name dynamic-profile profile-name], [edit forwarding-options dhcp-relay dual-stack-group dual-stack-group-name dynamic-profile profile-name], [edit forwarding-options dhcp-relay group group-name dynamic-profile profile-name], [edit logical-systems logical-system-name forwarding-options dhcp-relay dhcpv6 dynamic-profile profile-name], [edit logical-systems logical-system-name forwarding-options dhcp-relay dynamic-profile profile-name], [edit logical-systems logical-system-name forwarding-options dhcp-relay dhcpv6 group group-name dynamic-profile profile-name], [edit logical-systems logical-system-name forwarding-options dhcp-relay group group-name dynamic-profile profile-name], [edit logical-systems logical-system-name routing-instances routing-instance-name forwarding-options dhcp-relay dhcpv6 dynamic-profile profile-name], [edit logical-systems logical-system-name routing-instances routing-instance-name forwarding-options dhcp-relay dynamic-profile profile-name], [edit logical-systems logical-system-name routing-instances routing-instance-name forwarding-options dhcp-relay dhcpv6 group group-name dynamic-profile profile-name], [edit logical-systems logical-system-name routing-instances routing-instance-name forwarding-options dhcp-relay group group-name dynamic-profile profile-name], [edit routing-instances routing-instance-name forwarding-options dhcp-relay dhcpv6 dynamic-profile profile-name], [edit routing-instances routing-instance-name forwarding-options dhcp-relay dynamic-profile profile-name], [edit routing-instances routing-instance-name forwarding-options dhcp-relay dhcpv6 group group-name dynamic-profile profile-name], [edit routing-instances routing-instance-name forwarding-options dhcp-relay group group-name dynamic-profile profile-name]
Description
Specify the dynamic profile to configure as the primary dynamic profile. The primary dynamic profile is instantiated when the first subscriber logs in. Subsequent subscribers are not assigned the primary dynamic profile; instead, they are assigned the dynamic profile specified for the interface. When the first subscriber logs out, the next subscriber that logs in is assigned the primary dynamic profile.
Use the statement at the [edit ... dhcpv6]
hierarchy
levels to configure DHCPv6 support.
EX Series switches do not support DHCPv6.
Options
primary-profile-name
—Name of the dynamic profile to configure as the primary
dynamic profile
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 9.3.
Support at the [edit ... dhcpv6]
hierarchy levels
introduced in Junos OS Release 11.4.
Support at the [edit ... dual-stack-group dual-stack-group-name]
hierarchy level introduced in Junos OS Release 15.1.