ip dhcp relay (configure mode)

Use this command to enable the DHCP relay agent. The DHCP relay starts forwarding packets to the DHCP server address once configured.

Use the no form of this command to disable the DHCP relay agent.

Command Syntax

Copy
ip dhcp relay
no ip dhcp relay

Parameters

None

Default

By default, this feature is enabled.

Command Mode

Configure mode

Applicability

This command was introduced before OcNOS version 1.3.

Examples

Copy
#configure terminal
(config)#ip dhcp relay
 
#configure terminal
(config)#no ip dhcp relay