# Configuring a DHCP Relay forwarding path using EDM

Use the following procedure to configure a DHCP Relay forwarding path.

## Prerequisites

- Enable IP routing and DHCP Relay globally.

- Enable IP routing and configure an IP address on the VLAN to be set as the DHCP relay agent.

- Ensure that a route to the destination DHCP server is available on the switch.

## Procedure steps

1. From the navigation DHCP Relay, double-click IP.

2. In the IP tree, click DHCP Relay.

3. In the DHCP Relay work area, click the DHCP Relay tab.

4. In the toolbar, click Insert.

5. Type the IP address of the local VLAN to serve as the DHCP relay agent in the AgentAddr field.

6. Type the remote DHCP Server IP address in the ServerAddr field.

7. Select the Enable check box if not selected.

8. Choose the desired DHCP relay mode in the Mode box.

9. Click Insert.

10. On the toolbar, you can click Refresh to verify the DHCP relay forwarding path configuration.

## Variable definitions

The following table describes the fields of the DHCP Relay tab.

Field | Description
--- | ---
AgentAddr | Indicates the IP address of the local VLAN serving as the DHCP relay agent.
ServerAddr | Indicates the IP address of the remote DHCP server.
Enable | Enables (selected) or disables (cleared) DHCP relay.
Mode | Indicates whether the relay instance applies for BOOTP packets, DHCP packets, or both.