EKI-7659C User Manual 28dhcpserver subnetmask[Subnet mask] G Configure subnet mask for DHCPclientsswitch(config)#dhcpserver subnetmask255.255.255.0dhcpserver gateway[Gateway] G Configure gateway for DHCP clients switch(config)#dhcpserver gateway 192.168.1.254dhcpserver dnsip[DNS IP] G Configure DNS IP for DHCP clients switch(config)#dhcpserver dnsip 192.168.1.1dhcpserver leasetime[Hours] G Configure lease time (in hour) switch(config)#dhcpserver leasetime 1dhcpserver ipbinding[IP address] I Set static IP for DHCP clients by port switch(config)#interface fastEthernet 2switch(config)#dhcpserver ipbinding 192.168.1.1show dhcpserver configuration P Show configuration of DHCP server switch#show dhcpserver configurationshow dhcpserver clients P Show client entries of DHCP server switch#show dhcpserver clientsshow dhcpserver ip-binding P Show IP-Binding information ofDHCP serverswitch#show dhcpserver ip-bindingno dhcpserver G Disable DHCP server function switch(config)#no dhcpserversecurity enable G Enable IP security function switch(config)#security enablesecurity http G Enable IP security of HTTP server switch(config)#security httpsecurity telnet G Enable IP security of telnet server switch(config)#security telnetsecurity ip[Index(1..10)] [IP Address] G Set the IP security list switch(config)#security ip 1 192.168.1.55show security P Show the information of IP security switch#show securityno security G Disable IP security function switch(config)#no securityno security http G Disable IP security of HTTP server switch(config)#no security httpno security telnet G Disable IP security of telnet server switch(config)#no security telnet3.1.4 Port Commands SetTable 3.4: Port Commands SetNetstar Commands Level Description Exampleinterface fastEthernet[Portid] GChoose the port for modification. switch(config)#interface fastEthernet 2duplex[full | half] IUse the duplex configurationcommand to specify the duplexmode of operation for FastEthernet.switch(config)#interface fastEthernet 2switch(config-if)#duplex fullspeed[10|100|1000|auto]IUse the speed configurationcommand to specify the speedmode of operation for FastEthernet., the speed can’t be set to1000 if the port isn’t a giga port..switch(config)#interface fastEthernet 2switch(config-if)#speed 100no flowcontrolIDisable flow control of interface switch(config-if)#no flowcontrolsecurity enableIEnable security of interface switch(config)#interface fastEthernet 2switch(config-if)#security enableno securityIDisable security of interface switch(config)#interface fastEthernet 2switch(config-if)#no security