ip dhcp-relay fwd-path (for a port)

Create the forwarding path from the client to the server.

Syntax

Command Parameters

{A.B.C.D}
Creates a forwarding path to the Dynamic Host Configuration Protocol (DHCP) server. A.B.C.D is the IP address of the server. The default IP address of the relay is the address of the interface.
Tip

Tip

If the relay is a virtual router configured on this interface, you must set the vrid.

disable
Disables the forwarding path.
enable
Enables the forwarding path.
vrid <1-255>
Specifies the virtual router ID. The virtual router acts as the default router for one or more associated addresses.

Default

None

Command Mode

GigabitEthernet Interface Configuration