Country/Region

- United States
- ASEAN Region
- Australia
- 中国 - China
- France
- Deutschland - Germany
- India
- Italia - Italy
- 日本 - Japan
- 대한민국 - Korea
- Россия - Russia
- España - Spain
- 台灣 - Taiwan
- United Kingdom

Contact Us
|
Country/Region
United States

# Technical Documentation

Download Software
Research a Problem
Case Management
Contract & Product Management
Technical Documentation
Documentation Archive
Report Documentation Bug
Enterprise MIBs
File Format Help
Glossary
Portable Libraries
End-of-Life Products
Contact Support
Guidelines and Policies
Security Resources
Feedback

## Documentation Search

Advanced Search | Search Tips

# 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

#### Published: 2010-10-19

Help
|
My Account
|
Log Out