A.
Appendix A: SMC8511 CLI Command Guide (ver
4.0.0.26)
A.1 Most Commonly Used Commands
SetDNS
Syntax: SetDNS <1st DNS> <2nd DNS> <0-Get DNS automatically/1-Assign DNS manually>
Description: Set DNS primary server and secondary server.
SetHttp
Syntax: SetHTTP <0-disable/1-enable>
Description: Enable or disable Http server. Note: when disabled, Http server is disabled on all
interfaces both locally and remotely.
SetDhcpServer
Syntax: SetDhcpServer <0-disable/1-enable> <lease time>
Description: Enable or disable DHCP sever.
SetIpPool
Syntax: SetIpPool <IP-Start> <IP-End>
Description: Set DHCP IP pool range.
SetWAN
Syntax: SetWAN <IP> <Subnet Mask> <Gateway IP> <0-Dynamic/1-public lan IP as WAN/2-
static assigned>
Description: Set WAN IP, net mask, gateway IP, and mode.
SetPubLanIP
Syntax: SetPubLanIP <IP> <Subnet Mask> <0-not as WAN IP/1-as WAN IP>
Description: Set Public LAN IP, net mask, and whether or not it will act as the gateway’s WAN IP.
SetPublicDomain
Syntax: SetPublicDomain <domain name>
Description: Set public domain name.
SetRgConfig
Syntax: SetRgConfig <ip> <get/put> <filename> <transfers by: 0-RF interface/1-WAN interface>
<0-active script/1-inactive script>
Description: Backup or restore gateway configuration file from TFTP server.
SetUsername
Syntax: SetUsername <”mso”|”comadimn”|”cusadmin”> <new username>
Description: Set new username for mso or customer.
SetPassword
Syntax: SetPassword <”mso”|”comadmin”|”cusadmin”> <new password>
Description: Set new password for mso or customer.
EmacFilterMode
Syntax: EmacFilterMode <0-Accept all|1-Accept list mode|2-Deny list mode>
Description: Set LAN access control mode.
EmacFilterList
Syntax: EmacFilterList <add|del> <accept|deny> <name of LAN device> <MAC address>
Description: Set LAN access control list.
- 28 -