VMG1312-B10A: CLI: Difference between revisions

From AAISP Support Site
m (Explain how to access the CLI)
m ('ifconfig' is undocumented (and quite useful))
Line 3: Line 3:
The ZyXEL VMG1312 has a web interface and a Command Line Interface (CLI). The CLI can be reached by telnet or ssh. Usually the CLI is not needed to be used as all the config changes can be done from the Web interface. However, here are some useful commands for the CLI.
The ZyXEL VMG1312 has a web interface and a Command Line Interface (CLI). The CLI can be reached by telnet or ssh. Usually the CLI is not needed to be used as all the config changes can be done from the Web interface. However, here are some useful commands for the CLI.


==== Show the list of commands: (note, there are extra (hidden?) commands that are not listed, eg top and ps!) ====
==== Show the list of commands: (note, there are extra (hidden?) commands that are not listed, e.g. ifconfig, top, and ps) ====
?
?



Revision as of 16:20, 25 September 2016

CLI Tips

The ZyXEL VMG1312 has a web interface and a Command Line Interface (CLI). The CLI can be reached by telnet or ssh. Usually the CLI is not needed to be used as all the config changes can be done from the Web interface. However, here are some useful commands for the CLI.

Show the list of commands: (note, there are extra (hidden?) commands that are not listed, e.g. ifconfig, top, and ps)

?

Show running processes and CPU/memory information:

top

or

ps


Change LAN address to be 192.168.100.1:

lan config --ipaddr primary 192.168.100.1 255.255.255.0

Note: Check your DHCP settings when changing the LAN address, the DHCP range may well change itself when you change the LAN address this way anyway.