username-include (DHCP Relay Agent)
Syntax
username-include { circuit-type; client-id <exclude-headers> <use-automatic-ascii-hex-encoding>; delimiter delimiter-character; domain-name domain-name-string; interface-description (device-interface | logical-interface); interface-name; logical-system-name; mac-address; option-60; option-82 <circuit-id> <remote-id>; relay-agent-interface-id; relay-agent-remote-id; relay-agent-subscriber-id; routing-instance-name; user-prefix user-prefix-string; vlan-tags; }
Hierarchy Level
[edit forwarding-options dhcp-relay authentication], [edit forwarding-options dhcp-relay group group-name authentication], [edit forwarding-options dhcp-relay dhcpv6 authentication], [edit forwarding-options dhcp-relay dhcpv6 group group-name authentication], [edit forwarding-options dhcp-relay dual-stack-group dual-stack-group-name authentication], [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
Configure the username that the router (or switch)
passes to the external AAA server. You must include at least one of
the optional statements for the username to be valid. If you do not
configure a username, the router (or switch) accesses the local authentication
service only and does not use external authentication services, such
as RADIUS. Use the statement at the [edit...dhcpv6]
hierarchy
levels to configure DHCPv6 support.
The following statements are not supported in the DHCPv6 hierarchy levels:
option-60
option-82
The following statements are supported in the DHCPv6 hierarchy levels only:
relay-agent-interface-id
relay-agent-remote-id
relay-agent-subscriber-id
Options
vlan-tags | Include the
subscriber session VLAN tags in the username for interactions with
an external authority. Both
single-tagged and double-tagged VLANs are supported: The tags are
added in the format Use this option instead of the |
The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.
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 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.
vlan-tags
option added in Junos OS Release 18.3R1
on MX Series routers.