Page 71 / 998 Scroll up to view Page 66 - 70
Webserver command reference
Webserver
1-39
iMG/RG Software Reference Manual (System Configuration)
TABLE 1-2
Webserver Commands Provided by the CLI
1.2.3.1.1 WEBSERVER ENABLE/DISABLE
Syntax
WEBSERVER {ENABLE|DISABLE}
Description
This command enables or disables the Web Server process. By default, the Web Server
process is enabled. The webserver does not control only the web interface, disabling it
causes serious problem to the gateway.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option
Fiber
A
Fiber
B
Fiber
C
Fiber
D
Fiber
E
Modular
ADSL
A
ADSL
B
ADSL
C
WEBSERVER ENABLE/DISABLE
X
X
X
X
X
X
X
X
X
WEBSERVER ADD MANAGEMENTSUBNET
X
X
X
X
X
X
X
X
X
WEBSERVER LIST MANAGEMENTSUBNETS
X
X
X
X
X
X
X
X
X
WEBSERVER CLEAR MANAGEMENTSUBNET
X
X
X
X
X
X
X
X
X
WEBSERVER DELETE MANAGEMENTSUBNET
X
X
X
X
X
X
X
X
X
WEBSERVER CLEAR STATS
X
X
X
X
X
X
X
X
X
WEBSERVER SET MANAGEMENTIP
X
X
X
X
X
X
X
X
X
WEBSERVER SET INTERFACE
X
X
X
X
X
X
X
X
X
WEBSERVER SET TELNET
X
X
X
X
X
X
X
X
X
WEBSERVER SET PORT
X
X
X
X
X
X
X
X
X
WEBSERVER SET TELNETPORT
X
X
X
X
X
X
X
X
X
WEBSERVER SET SECCLASSES
X
X
X
X
X
X
X
X
X
WEBSERVER SET TELNETSECCLASSES
X
X
X
X
X
X
X
X
X
WEBSERVER SHOW INFO
X
X
X
X
X
X
X
X
X
WEBSERVER SHOW STATS
X
X
X
X
X
X
X
X
X
WEBSERVER SHOW MANAGEMENTSUBNETS
X
X
X
X
X
X
X
X
X
WEBSERVER SHOW MEMORY
X
X
X
X
X
X
X
X
X
Page 72 / 998
Webserver
Webserver command reference
iMG/RG Software Reference Manual (System Configuration)
1-40
Example
--> webserver disable
WebServer is disabled
See also
WEBSERVER SHOW INFO
1.2.3.1.2 WEBSERVER ADD MANAGEMENTSUBNET
Syntax
WEBSERVER ADD MANAGEMENTSUBNET <NAME> <IPADDRESS> <NETMASK>
<STARTADDR> <ENDADDR>
Description
This command restricts the telnet access to the gateway only on the specified IP
addresses. It is possible to define a subnet or a list of subnets that are allowed to telnet
to the gateway, denying attempts from all other subnets.
Example
--> webserver add managementsubnet fortelnet 192.168.1.0
255.255.255.0 192.168.1.10 192.168.1.100
See also
WEBSERVER LIST MANAGEMENTSUBNET
1.2.3.1.3 WEBSERVER LIST MANAGEMENTSUBNETS
Syntax
WEBSERVER LIST MANAGEMENTSUBNETS
Description
This command lists all the managementsubnets configured.
Example
--> webserver list managementsubnets
Webserver trusted subnets:
ID
|
IP Address
|
Netmask
|
StartAddr
|
EndAddr
|
-----|-----------------|-----------------|-----------------|------------|
1
| 192.168.1.0
| 255.255.255.0
| 192.168.1.10
|192.168.1.110|
-------------------------------------------------------------------------
See also
WEBSERVER ADD MANAGEMENTSUBNETS
1.2.3.1.4 WEBSERVER CLEAR MANAGEMENTSUBNET
Syntax
WEBSERVER CLEAR MANAGEMENTSUBNET
Option
Description
Default Value
E
NABLE
Enables the Web Server process.
enable
D
ISABLE
Disables the Web Server process.
Page 73 / 998
Webserver command reference
Webserver
1-41
iMG/RG Software Reference Manual (System Configuration)
Description
This command delete all the active management subnets
Example
--> webserver clear managementsubnet
See also
WEBSERVER LIST MANAGEMENTSUBNET
1.2.3.1.5 WEBSERVER DELETE MANAGEMENTSUBNET
Syntax
WEBSERVER DELETE MANAGEMENTSUBNET <NAME>
Description
This command delete a specific management subnet
Example
--> webserver delete managementsubnet fortelent
See also
WEBSERVER LIST MANAGEMENTSUBNET
1.2.3.1.6 WEBSERVER CLEAR STATS
Syntax
WEBSERVER CLEAR STATS
Description
This command delete all the statistics related to any management subnet
Example
--> webserver clear stats
See also
WEBSERVER LIST MANAGEMENTSUBNET
1.2.3.1.7 WEBSERVER SET MANAGEMENTIP
Syntax
WEBSERVER SET MANAGEMENTIP <IPADDRESS>
Description
This command allows connection requests to be restricted to only one IP address, (e.g.
from an IP address that is used by a management entity) or from any IP address (by set-
ting the IP address to 0.0.0.0).
This command has been superseded by webserver add managementsubnets command
that extends configuration flexibility.
Example
--> webserver set managementip 192.168.1.10
See also
WEBSERVER ADD MANAGEMENTSUBNETS
1.2.3.1.8 WEBSERVER SET INTERFACE
Syntax
WEBSERVER SET INTERFACE <INTERFACE>
Description
This command specifies the name of an IP interface that an ISOS IGD (Internet Gateway
Device) will use for UPnP (Universal Plug and Play) communication with other devices on
the local area network. By default, your system creates an IP interface with an Ethernet
transport attached to it. This interface is called
iplan,
and it is the default interface that
UPnP uses for its communication. Once you have set the UPnP interface, the IGD moni-
Page 74 / 998
Webserver
Webserver command reference
iMG/RG Software Reference Manual (System Configuration)
1-42
tors the interface. The IGD can handle changes to the interface definition (for example, if
the IP address changes through a DHCP update, the IGD will use the newly assigned
address)
This command has been superseded by webserver add managementsubnets
command that extends configuration flexibility.
Example
--> webserver set interface ip0
See also
WEBSERVER ADD MANAGEMENTSUBNETS
1.2.3.1.9 WEBSERVER SET TELNET
Syntax
WEBSERVER SET TELNET { ENABLED | DISABLED }
Description
This command enable or disable the telnet service on the gateway. Once disabled, only
remote access via SSH is available.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
-->
webserver set telnet disabled
See also
WEBSERVER SHOW INFO
WEBSERVER SET TELNETSECCLASSES
1.2.3.1.10 WEBSERVER SET PORT
Syntax
WEBSERVER SET PORT <PORT>
Description
This command sets the HTTP port number that the Web Server process will use to
transfer data.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option
Description
Default Value
ENABLED
Enable telnet access to the CPE.
ENABLED
DISABLED
Disable totally the telnet access to the CPE.
N/A
Option
Description
Default Value
PORT
A valid port number that must be between 0 and 65535.
80
Page 75 / 998
Webserver command reference
Webserver
1-43
iMG/RG Software Reference Manual (System Configuration)
Example
--> webserver set port 1080
1.2.3.1.11 WEBSERVER SET TELNETPORT
Syntax
WEBSERVER SET TELNETPORT <PORT>
Description
This command sets the telnet port number that the Web Server process will use to
answer telent connection requests.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> webserver set port 24
1.2.3.1.12 WEBSERVER SET SECCLASSES
Syntax
WEBSERVER SET SECCLASSES <SECCLASSES>
Description
This command allows you to set the security class(es) associated with the HTTP AppSer-
vice. Entering this command will overwrite any existing security class(es) configured for
the HTTP AppService. This has the same effect as entering the command ip set appser-
vice http secclasses <secclasses>.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option
Description
Default Value
PORT
A valid port number that must be between 0 and 65535.
23

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top