User`s guide

6211-I1 ADSL2+ Router Command Line Interface User’s Guide
33
Commands
config
Configures the IP layer for the primary or secondary LAN interface.
delete
Deletes the primary or secondary LAN interface configuration.
show
Shows configuration data for the primary and secondary LAN interfaces.
--help
Displays 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--IP address of the LAN interface.
Valid values: any valid IP address.
Default value: 192.168.1.1.
Subnet mask--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 which DHCP server should be enabled or disabled. This option is only valid
for the primary LAN interface.
Valid values: enable or disable.
Default value is enable for the primary LAN interface.
Options for the delete command:
lan delete --ipaddr <primary|secondary>
--ipaddr <primary|secondary>
primary|secondary--specify which LAN interface will be deleted.
Valid values: primary or secondary.
Options for the show command:
lan show [<primary|secondary>]
primary|secondary--specify which LAN interface will be shown.
Valid values: primary or secondary.
If primary|secondary is omitted, all LAN interfaces are displayed.
Options for the --help command:
lan --help