prefix
Syntax
prefix hostname;
Hierarchy Level
[edit ethernet-switching-options secure-access-port vlan (all | vlan-name) dhcp-option82
circuit-id][edit forwarding-options helpers bootp dhcp-option82 circuit-id] [edit forwarding-options helpers bootp interface interface-name dhcp-option82 circuit-id]
Release Information
Statement introduced in Junos OS Release 9.3 for EX Series switches.
Description
Configure an optional prefix for the circuit ID suboption in the DHCP option 82 information that is inserted by the switch into the packet header of a DHCP request before it forwards or relays the request to a DHCP server.
Default
If prefix is not explicitly specified, no prefix is appended to the circuit ID. When prefix is specified, it is specified as prefix hostname (and the value is the hostname of the switch).
Options
hostname—Name of the host system (the switch) that is forwarding or relaying the DHCP request from the DHCP client to the DHCP server.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Related Topics
- Example: Setting Up DHCP Option 82 on an EX Series Switch with No Relay Agent Between Clients and DHCP Server
- Example: Setting Up DHCP Option 82 with an EX Series Switch as Relay Agent Between Clients and a DHCP Server
- Setting Up DHCP Option 82 on the Switch with No Relay Agent Between Clients and DHCP Server (CLI Procedure)
- Setting Up DHCP Option 82 with the Switch as a Relay Agent Between Clients and DHCP Server (CLI Procedure)
- [edit forwarding-options] Configuration Statement Hierarchy
- RFC 3046, DHCP Relay Agent Information Option, at http://tools.ietf.org/html/rfc3046.
