Juniper EX3400 Features Manual
Download Features manual of Juniper EX2300 Network Router, Switch for Free or View it Online on All-Guides.com.
Brand: Juniper
Category: Network Router , Switch
Type: Features manual
Model: Juniper EX2300 , Juniper EX4300 , Juniper EX3400
Pages: 476
Configuring an Extended DHCP Relay Server on EX Series Switches (CLI Procedure)
You can configure an EX Series switch to act as an extended DHCP relay agent. This
means that a locally attached host can issue a DHCP request as a broadcast message
and the switch configured for DHCP relay relays the message to a specified DHCP server.
Configure a switch to be a DHCP relay agent if you have locally attached hosts and a
remote DHCP server.
Before you begin:
•
Ensure that the switch can connect to the DHCP server.
To configure a switch to act as an extended DHCP relay agent server:
1. Create at least one DHCP server group, which is a group of 1 through 5 DHCP server
IP addresses:
[edit forwarding-options dhcp-relay]
user@switch# set server-group server-group-name ip-address
2. Set the global active DHCP server group. The DHCP relay server relays DHCP client
requests to the DHCP servers defined in the active server group:
[edit forwarding-options dhcp-relay]
user@switch# set active-server-group server-group-name
3. Create a DHCP relay group that includes at least one interface. DHCP relay runs on
the interfaces defined in DHCP groups:
[edit forwarding-options dhcp-relay]
user@switch# set group group-name interface interface-name
4. (Optional) Configure overrides of default DHCP relay behaviors, at the global level.
See the override options in the overrides statement.
[edit forwarding-options dhcp-relay]
user@switch# set overrides
5. (Optional) Configure DHCP relay to use the DHCP vendor class identifier option
(option 60) in DHCP client packets, at the global level:
[edit forwarding-options dhcp-relay]
user@switch# set relay-option option-number 60
6. (Optional) Configure settings for a DHCP relay group that override the settings at the
global level, using these statements:
[edit forwarding-options dhcp-relay group group-name]
user@switch# set active-server-group server-group-name
user@switch# set overrides
user@switch# set relay-option option-number 60
49Copyright © 2017, Juniper Networks, Inc.
Chapter 4: DHCP Relay Agent