Log in
|
How to Buy
|
Contact Us
|
United States (Change)

## Choose Country

### North America

- United States

### Europe

- Deutschland - Germany
- España - Spain
- France
- Italia - Italy
- Россия - Russia
- United Kingdom

### Asia Pacific

- Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
- Australia
- 中国 - China
- India
- 日本 - Japan
- 대한민국 - Korea
- 台灣 - Taiwan

Remember my choice

# Technical Documentation

Download Software
Research a Problem
Case Management
Contract & Product Management
Technical Documentation
Documentation Archive
Enterprise MIBs
File Format Help
Glossary
Portable Libraries
End-of-Life Products
Contact Support
Guidelines and Policies
Security Resources
Rate and give feedback: Feedback Received. Thank You!
Rate and give feedback:
This document helped resolve my issue. Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:
E-mail:

# 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: 2011-10-04

Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2011 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out