Advantech EKI-7758F User Manual

Page of 149
 
EKI-7758F User Manual                                                 28 
dhcpserver subnetmask 
[Subnet mask] 
Configure subnet mask for DHCP 
clients 
switch(config)#dhcpserver subnetmask 
255.255.255.0
 
dhcpserver gateway 
[Gateway] 
Configure gateway for DHCP clients
switch(config)#dhcpserver gateway 192.168.1.254
dhcpserver dnsip 
[DNS IP] 
Configure DNS IP for DHCP clients
switch(config)#dhcpserver dnsip 192.168.1.1 
dhcpserver leasetime 
[Hours] 
Configure lease time (in hour) 
switch(config)#dhcpserver leasetime 1 
dhcpserver ipbinding 
[IP address] 
Set static IP for DHCP clients by port
switch(config)#interface fastEthernet 2 
switch(config)#dhcpserver ipbinding 192.168.1.1 
show dhcpserver configuration 
Show configuration of DHCP server
switch#show dhcpserver configuration 
show dhcpserver clients 
Show client entries of DHCP server
switch#show dhcpserver clients 
show dhcpserver ip-binding 
Show IP-Binding information of 
DHCP server 
switch#show dhcpserver ip-binding 
no dhcpserver 
Disable DHCP server function 
switch(config)#no dhcpserver 
security enable 
Enable IP security function 
switch(config)#security enable 
security http 
Enable IP security of HTTP server 
switch(config)#security http 
security telnet 
Enable IP security of telnet server 
switch(config)#security telnet 
security ip 
[Index(1..10)] [IP Address] 
Set the IP security list 
switch(config)#security ip 1 192.168.1.55 
show security 
Show the information of IP security
switch#show security 
no security  
Disable IP security function 
switch(config)#no security 
no security http 
Disable IP security of HTTP server 
switch(config)#no security http 
no security telnet 
Disable IP security of telnet server 
switch(config)#no security telnet 
 
 
3.1.4 
Port Commands Set 
 
Table 3.4: Port  Commands Set 
Netstar Commands 
Level 
Description 
Example 
interface fastEthernet 
[Portid]  
Choose the port for modification. 
switch(config)#interface fastEthernet 2 
duplex  
[full | half] 
 
Use the duplex  configuration 
command to specify the duplex 
mode of operation for Fast 
Ethernet. 
switch(config)#interface fastEthernet 2 
switch(config-if)#duplex full 
speed  
[10|100|1000|auto] 
Use the speed  configuration 
command to specify the speed 
mode of operation for Fast 
Ethernet., the speed can’t be set to 
1000 if the port isn’t a giga port.. 
 
switch(config)#interface fastEthernet 2 
switch(config-if)#speed 100 
no flowcontrol 
Disable flow control of interface 
switch(config-if)#no flowcontrol 
security enable 
Enable security of interface 
switch(config)#interface fastEthernet 2 
switch(config-if)#security enable 
no security 
Disable security of interface 
switch(config)#interface fastEthernet 2 
switch(config-if)#no security