set dhcp relay
Syntax
To create the DHCP relay independent of any DHCP servers and to explicitly delete
the DHCP server
[ no ] set dhcp relay
To create and disable the DHCP relay for a specific DHCP server
set dhcp relay {
dhcpServerAddress
[ proxy ] | agent [ circuit-ID-only |
remote-ID-only ] |inhibit-access-route-creation | discard-access-routes
{ all |
interfaceType interfaceSpecifier |
| unknown } }
no set dhcp relay {
dhcpServerAddress |
agent | inhibit-access-route-creation }
Release Information
Command introduced before JUNOSe Release 7.1.0.
Command used without any keywords introduced in JUNOSe Release 8.2.0.
unknown
keyword added in JUNOSe Release 9.2.0.
Description
When used without any optional keywords, creates and enables DHCP relay in the
current virtual router independent of any DHCP servers.
When used with optional keywords, adds a new DHCP/BOOTP server and specifies
that the E Series router is either a DHCP relay or DHCP relay proxy between the
DHCP client and DHCP server. Optionally, configures the DHCP relay agent, including
specifying the DHCP relay agent information (option 82) that is included in all packets
forwarded to the DHCP server.
If you issue the
set dhcp relay
command when a local server has been configured,
the local server is deactivated.
The
no
version used without other keywords deletes the DHCP relay agent and its
configuration from the virtual route. The
no
version used with optional keywords
removes the specified server or disables the specified relay agent configuration.
NOTE:
The
set dhcp relay agent
command, when used to configure option 82
suboptions, is a legacy command, which JUNOSe software continues to support to
provide backward-compatibility for existing scripts. We recommend that you use
the
dhcp relay agent sub-option
command for new option 82 suboption
configurations.
Options
■
dhcpServerAddress
—IP address of the DHCP server
■
proxy—Specifies that the router is a DHCP relay proxy between the DHCP client
and DHCP server; if omitted, the router functions as a DHCP server
■
agent—Adds the agent information suboptions (circuit-ID and remote-ID) to
every packet the router relays from a DHCP client to a DHCP server
474
■
set dhcp relay
JUNOSe 11.1.x Command Reference Guide N to Z
Summary of Contents for JUNOSE 11.1.X - COMMAND REFERENCE N TO Z 4-6-2010
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 1 x Command Reference Guide N to Z...
Page 36: ...xxxvi Table of Contents JUNOSe 11 1 x Command Reference Guide N to Z...
Page 38: ...xxxviii List of Tables JUNOSe 11 1 x Command Reference Guide N to Z...
Page 44: ...2 Commands N to Z JUNOSe 11 1 x Command Reference Guide N to Z...
Page 62: ...20 Interface Types and Specifiers JUNOSe 11 1 x Command Reference Guide N to Z...
Page 63: ...Chapter 2 N Commands 21...
Page 149: ...Chapter 3 O Commands 107...
Page 167: ...Chapter 4 P Commands 125...
Page 215: ...Mode Controller Configuration path ds3 t1 loopback 173 Chapter 4 P Commands...
Page 247: ...Mode Privileged Exec User Exec ping mpls vpls 205 Chapter 4 P Commands...
Page 329: ...Chapter 5 Q Commands 287...
Page 346: ...304 queue profile JUNOSe 11 1 x Command Reference Guide N to Z...
Page 347: ...Chapter 6 R Commands 305...
Page 369: ...Mode Global Configuration radius include dsl forum attributes 327 Chapter 6 R Commands...
Page 465: ...Chapter 7 S Commands 423...
Page 679: ...Mode Privileged Exec User Exec show controllers sonet remote 637 Chapter 7 S Commands...
Page 1093: ...Related Topics Monitoring QoS Parameter Instances show qos parameter 1051 Chapter 7 S Commands...
Page 1292: ...1250 synchronize JUNOSe 11 1 x Command Reference Guide N to Z...
Page 1293: ...Chapter 8 T Commands 1251...
Page 1304: ...Mode Controller Configuration 1262 t1 loopback JUNOSe 11 1 x Command Reference Guide N to Z...
Page 1375: ...Mode Router Configuration traps 1333 Chapter 8 T Commands...
Page 1419: ...Chapter 9 U V W and Y Commands 1377...
Page 1468: ...1426 yellow mark JUNOSe 11 1 x Command Reference Guide N to Z...
Page 1469: ...Part 2 Index Index on page 1429 Index 1427...
Page 1470: ...1428 Index JUNOSe 11 1 x Command Reference Guide N to Z...