User Manual

96
DHCP Server Commands Set
Netstar
Commands
Command
Level
Description
Example
dhcpserver [ip
start] [ip number]
Global
configuration
mode
Enable dhcp server and add
lease entry.
switch(config)#dhcpserver
192.168.1.5 5
Netmask [255.255.255.0]:
255.255.255.0
Gateway [192.168.10.254]:
192.168.10.254
DNS [192.168.10.254]:
192.168.10.254
Lease Duration [24](hours)
24
no dhcpserver
Global
configuration
mode
Disable dhcp server.
switch(config)#no dhcpserver
show dhcpserver
Privileged
EXEC
Show configuration of dhcp
server and client status.
switch#show dhcpserver
Security IP Commands Set
Netstar
Commands
Command
Level
Description
Default
Example
security [entry id]
ip [ip address]
http [on/off]
telnet [on/off]
Global
configuration
mode
Enable and add security ip.
Entry id: 1 - 10
switch(config)# security 1 ip
192.168.10.5 http on telnet on
no security
Global
configuration
mode
Disable IP security function
switch(config)#no security
show security
Privileged
EXEC
Show the information of IP
security
switch#show security