beautypg.com

1 config – Atlantis Land I-Storm A02-RA(Atmos)_ME01 User Manual

Page 41

background image


6.1 config

6.1.1 Syntax

dhcpserver config [add |confirm|delete|flush]

6.1.2 Description

This command displays or edits the current configuration of the DHCP server. To
display current configuration, provide no arguments to the command.
• Use o f the add option adds the line to the configuration file.
• Use o f t he confirm option re-parses the configuration file, confirming the changes

made if the parse is successful.

• Use o f t he delete option deletes the last line from the configuration file.
• Use o f t he flush argument deletes the whole configuration.
Following any change to the configuration file, it is necessary to confirm the
changes, issue a flashfs update command to commit the change to FLASH, and then
restart the system before the changes can take effect.

6.1.3 Example

bd3000>

dhcpserver config

---

Current DHCP server configuration

---

allow unknown-clients;

allow bootp;

subnet 192.168.219.0 netmask 255.255.255.0 {

range 192.168.219.10 192.168.219.30;

max-lease-time 5000;

}

bd3000>

dhcpserver config flush

Configuration file flushed.

bd3000>

dhcpserver config

---

Current DHCP server configuration

(Issue "dhcpserver config confirm" followed by "flashfs update" to confirm

new configuration)

---

bd3000>