[Contents] [Prev] [Next] [Index] [Report an Error]

# 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

- hostname—Adds the router’s hostname to the front of the Circuit-Id field; the hostname is separated from the circuit information by a colon
- vrname—Adds 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-id—Strips the subinterface ID from the Interface-Id field

#### Mode

Global Configuration

[Contents] [Prev] [Next] [Index] [Report an Error]