
40
2.3 network
2.3.1 lan
2.3.1.1 dhcp
This command can configure DHCP Server settings for LAN.
dhcp -s <Index>
dhcp -mode <Index> <Mode>
dhcp -range <Index> <Start IP> <End IP>
dhcp -dns <Index> <Primary DNS> <Secondary DNS>
dhcp -dns <Index> <Primary DNS>
dhcp -gateway <Index> <Gateway IP>
dhcp -lease <Index> <Lease Time>
dhcp -relay <WAN IF> <DHCP Server IP>
Syntax Description
Syntax Description
-s It is used for displaying current DHCP setting.
-mode It is used for disable/enable DHCP Server status or specify relay
agent for DHCP Server.
-range It is used for configuring DHCP Server settings for LAN.
-dns It is used for invoke DNS setting.
-gateway It is used for enabling gateway address.
-lease It is used for setting lease time.
-relay It is used for setting relay agent.
Index Enter the number of the LAN port you want to execute specific
action. 1: LAN1, 2: LAN2, 3: LAN3, 4: LAN4
Mode Enter the number to specify status for DHCP Server:
0: Disable, 1: Enable, 2: Relay Agent
Start IP Enter the starting IP address of the IP address pool for DHCP
server.
End IP Enter the ending IP address of the IP address pool for DHCP
server.
Primary DNS Enter the private IP address of the primary DNS.
Secondary DNS Enter the private IP address of the secondary DNS.
Gateway IP Enter a gateway IP address for the DHCP server.
Lease Time Enter a lease time for the DHCP server. The time unit is minute.
Comentarios a estos manuales