mac-address (DHCP Relay Agent)
Syntax
mac-address;
Hierarchy Level
[edit forwarding-options dhcp-relay authentication username-include], [edit forwarding-options dhcp-relay dhcpv6 authentication username-include], [edit forwarding-options dhcp-relay dhcpv6 group group-name authentication username-include], [edit forwarding-options dhcp-relay group group-name authentication username-include], [edit logical-systems logical-system-name forwarding-options dhcp-relay ...], [edit logical-systems logical-system-name routing-instances routing-instance-name forwarding-options dhcp-relay ...], [edit routing-instances routing-instance-name forwarding-options dhcp-relay ...]
Description
Specify that the MAC address from the client PDU be concatenated with the username during the subscriber authentication or 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
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 9.1.
Support for DHCPv6 added in Junos OS Release 17.2 for MX Series Routers.