set dhcp relay options

Syntax

set dhcp relay options { hostname | vrname | exclude-subinterface-id }

no set dhcp relay options [ hostname | vrname | exclude-subinterface-id ]

Release Information

Command introduced before JunosE Release 7.1.0.

Description

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.

Options

Mode

Global Configuration

Related Documentation