RES-P3242GCL SERIES User’s Manual
74
no ip dhcp
G
Disable DHCP client
function of switch
switch(config)#no ip dhcp
reload
G
Halt and perform a
cold restart
switch(config)#reload
default
G
Restore to default
Switch(config)#default
admin username
[Username]
G
Changes a login
username.
(maximum 10 words)
switch(config)#admin username
xxxxxx
admin password
[Password]
G
Specifies a password
(maximum 10 words)
switch(config)#admin password
xxxxxx
show admin
P
Show administrator
information
switch#show admin
dhcpserver enable
G
Enable DHCP Server switch(config)#dhcpserver enable
dhcpserver lowip
[Low IP]
G
Configure low IP
address for IP pool
switch(config)# dhcpserver lowip
192.168.1.1
dhcpserver highip
[High IP]
G
Configure high IP
address for IP pool
switch(config)# dhcpserver highip
192.168.1.50
dhcpserver subnetmask
[Subnet mask]
G
Configure subnet
mask for DHCP clients
switch(config)#dhcpserver
subnetmask 255.255.255.0
dhcpserver gateway
[Gateway]
G
Configure gateway for
DHCP clients
switch(config)#dhcpserver gateway
192.168.1.254
dhcpserver dnsip
[DNS IP]
G
Configure DNS IP for
DHCP clients
switch(config)# dhcpserver dnsip
192.168.1.1
dhcpserver leasetime
[Hours]
G
Configure lease time
(in hour)
switch(config)#dhcpserver leasetime
1
dhcpserver ipbinding
[IP address]
I
Set static IP for DHCP
clients by port
switch(config)#interface fastEthernet
2
switch(config-if)#dhcpserver
ipbinding 192.168.1.1
show dhcpserver
configuration
P
Show configuration of
DHCP server
switch#show dhcpserver
configuration
show dhcpserver clients
P
Show client entries of
DHCP server
switch#show dhcpserver clinets
show dhcpserver
ip-binding
P
Show IP-Binding
information of DHCP
server
switch#show dhcpserver ip-binding
no dhcpserver
G
Disable DHCP server switch(config)#no dhcpserver