accept
Syntax
accept (dhcp-v4 | inet);
Hierarchy Level
[edit interfaces interface-name auto-configure
stacked-vlan-ranges dynamic-profile profile-name],[edit interfaces interface-name auto-configure
vlan-ranges dynamic-profile profile-name]
Release Information
Statement introduced in Junos OS Release 9.5.
dhcp-v4 option added in Junos OS Release 10.0.
Description
Specify the type of VLAN Ethernet packet accepted by an interface that is associated with a VLAN dynamic profile or stacked VLAN dynamic profile.
Options
dhcp-v4—IPv4 DHCP packet type. Specifies that incoming IPv4 DHCP discover packets trigger the authentication of a VLAN as it is dynamically created.
![]() | Note: The DHCP-specific mac-address and option-82 options are rejected if the accept statement is not set to dhcp-v4. |
inet—IPv4 Ethernet and ARP packet type.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.

