dhcp enable (for DHCP relay agent)

Syntax

dhcp enable

undo dhcp enable

View

System view

Default level

2: System level

Parameters

None

Description

Use dhcp enable to enable DHCP.

Use undo dhcp enable to disable DHCP.

By default, DHCP is disabled.

Enable DHCP before you perform DHCP server and relay agent configurations.

Examples

# Enable DHCP.

<Sysname> system-view
[Sysname] dhcp enable