WS 2000 Wireless Switch System Reference Guide10-66
WS2000>admin(network.lan.dhcp)> set
Description:
Sets DHCP parameters for the subnets.
Syntax:
Example:
admin(network.lan.dhcp)>set dns 1 1 209.160.0.18
admin(network.lan.dhcp)>set dns 1 2 209.160.0.218
admin(network.lan.dhcp)>show dhcp 1
dhcp mode : server
default gateway : 192.168.0.1
primary dns server : 209.160.0.18
secondary dns server : 209.160.0.218
wins server : 192.168.0.254
starting ip address : 192.168.0.11
ending ip address : 192.168.0.254
lease time : 10000
domain name :
admin(network.lan.dhcp)>set domain 1 BigFishCo
admin(network.lan.dhcp)>show dhcp 1
dhcp mode : server
default gateway : 192.168.0.1
primary dns server : 209.160.0.18
secondary dns server : 209.160.0.218
wins server : 192.168.0.254
starting ip address : 192.168.0.11
ending ip address : 192.168.0.254
lease time : 10000
domain name : BigFishCo
admin(network.lan.dhcp)>
set dgw
<idx> <ip>
Sets the default gateway for subnet <idx> (1–4) to the IP address <ip>.
dns
<idx>
1
2
<ip>
Sets the 1 = primary or 2 = secondary DNS server for subnet <idx> (1–4) to the IP
address <ip>.
wins
<idx> <ip>
Sets the WINS server for subnet <idx> (1–4) to the IP address <ip>.
lease
<idx> <lease>
Sets the DHCP lease time for subnet <idx> (1–4) to <lease> seconds
(1–999999).
domain
<idx> <dname>
Sets the domain name for subnet <idx> (1–4) to the domain name <dname> (1 to 63
characters).
mode
<idx>
none
client
server
Sets the DHCP mode for subnet <idx> (1–4) to:
none -- disables DHCP node
client -- enables the subnet to be a DHCP client
server -- enables the subnet to be a DHCP server
range
<idx> <ip1> <ip2>
Sets the DHCP assignment range for subnet <idx> (1–4) from IP address <ip1> to
another IP address <ip2>.