ip dhcp-relay fwd-path enable

Enable the forwarding path from the client to the server.

Syntax

Command Parameters

disable
Disables Dynamic Host Configuration Protocol (DHCP) relaying on the path from the IP address to the server.
fwd-path <A.B.C.D> <A.B.C.D> enable
Enables Dynamic Host Configuration Protocol (DHCP) relaying on the path from the IP address to the server.

The first <A.B.C.D> variable is the agent IP address configured on an interface (a locally configured IP address).

The second <A.B.C.D> variable is the IP address of the DHCP server in the network. If this IP address corresponds to the locally configured IP network, the DHCP packet is broadcast out from the interface.

Default

The ip dhcp-relay fwd-path default state is disabled.

Command Mode

Global Configuration

Usage Guidelines

If the agent IP address (the first <A.B.C.D> variable) is a VLAN or port IP address, you must enable DHCP Relay on that VLAN or port by running ip dhcp-relay within the VLAN context. However, if the first <A.B.C.D> variable is a VRRP address, you do not need to enable DHCP Relay on the VLAN or port in which the VRRP address resides.