mac-address (DHCP Local Server)
Syntax
mac-address;
Hierarchy Level
[edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server authentication username-include], [edit logical-systems logical-system-name routing-instances routing-instance-name system services dhcp-local-server group group-name authentication username-include], [edit logical-systems logical-system-name system services dhcp-local-server authentication username-include], [edit logical-systems logical-system-name system services dhcp-local-server group group-name authentication username-include], [edit routing-instances routing-instance-name system services dhcp-local-server authentication username-include], [edit routing-instances routing-instance-name system services dhcp-local-server group group-name authentication username-include], [edit system services dhcp-local-server authentication username-include], [edit system services dhcp-local-server dhcpv6 authentication username-include], [edit system services dhcp-local-server dhcpv6 group group-name authentication username-include], [edit system services dhcp-local-server group group-name authentication username-include]
Description
Specify that the MAC address from the client PDU be concatenated with the username during the subscriber authentication or DHCP client authentication process.
For DHCPv6 clients, because the DHCPv6 packet format has no specific field for the client MAC address, the MAC address is derived from among several sources with the following priority:
Client DUID Type 1 or Type 3.
Option 79 (client link-layer address), if present.
The packet source address if the client is directly connected.
The link local address.
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.1.
Support for DHCPv6 added in Junos OS Release 17.2 for MX Series Routers.