configure_dhcp_server
Enable DHCP on a Cisco Packet Tracer device and create or update address pools with gateway, DNS, start IP, mask, and lease limits.
Instructions
Configure the DHCP service of a server: switch it on and create or update pools (gateway, DNS, start address, mask, maximum users). Existing pools with the same name are updated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Port the DHCP service runs on. Defaults to `FastEthernet0`. | |
| pools | No | ||
| device | Yes | ||
| enabled | No | Switch the service on or off. Defaults to on. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| pools | Yes | ||
| device | Yes | ||
| enabled | Yes |