set dhcp relay options
Configures the relay agent option 82 information that the router adds to DHCP packets before it relays the packets to the DHCP server. You can add either the E-series hostname or the virtual router name to the front of the Circuit-Id field. You cannot add both hostname and virtual router name. The last option specified is the one in use. You can also strip the subinterface ID from the Interface-Id field. The no version returns to the default, in which no information is added to the Circuit-Id field and/or the subinterface ID is not stripped from the interface string.
set dhcp relay options { hostname | vrname | exclude-subinterface-id }
no set dhcp relay options [ hostname | vrname | exclude-subinterface-id ]
- hostnameAdds the router's hostname to the front of the Circuit-Id field; the hostname is separated from the circuit information by a colon
- vrnameAdds the router's virtual router name to the front of the Circuit-Id field; the virtual router name is separated from the circuit information by a colon
- exclude-subinterface-idStrips the subinterface ID from the Interface-Id field
Global Configuration
Command introduced before JUNOSe Release 7.1.0.