ZyXEL Communications VMG1312 Cli Reference Manual page 33

Hide thumbs Also See for VMG1312:
Table of Contents

Advertisement

www.zyxel.com
° Enable or disable the DHCP server on the primary LAN interface. DHCP server is not supported on the
secondary LAN interface.
° Enable or disable the DHCP client on the primary LAN interface. When DHCP client is enabled, the user
must first disable DHCP server. The software does not automatically do this, so users must be sure to
disable the DHCP server before enabling the DHCP client. When this option is used, the Broadband router
must not have a WAN connection configured.
° Display configuration data for the primary and secondary LAN interfaces.
° Display usage.
All information is displayed to stdout. A program or shell script that calls this utility can redirect stdout to
a file and then parse the file in order to interpret the displayed output.
COMMANDS
config
configure IP layer for the primary or secondary LAN interface.
delete
delete the primary or secondary LAN interface configuration.
show
show configuration data for the primary and secondary LAN interfaces.
--help
display usage.
OPTIONS
Options for the config command
lan config
[--ipaddr <primary|secondary> <IP address> <subnet mask>]
[--dhcpserver <enable|disable>]
--ipaddr <primary|secondary> <IP address> <subnet mask>
primary|secondary – specify which LAN interface will be configured.
Valid values: primary or secondary.
IP address - The IP address of the LAN interface.
Valid values: any valid IP address.
Default value: 192.168.1.1.
Subnet mask – The subnet mask of the LAN interface.
Valid values: 0.0.0.1 - 255.255.255.255.
Default value: 255.255.255.0
--dhcpserver <enable|disable>
enable|disable – specify DHCP server should be enabled or disabled. This option is only valid for the
primary LAN interface.
Valid values: enable or disable.
ZyXEL Confidential
33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents