Web Configuration Commands
Table of Contents
Table of Contents
Chapter 1 STP Configuration Commands ...........................................................................................1
1.1 ip http language .....................................................................................................................1
1.2 ip http port ..............................................................................................................................1
1.3 ip http secure-port ..................................................................................................................2
1.4 ip http server ..........................................................................................................................2
1.5 ip http http-access enable ......................................................................................................2
1.6 ip http ssl-access enable .......................................................................................................3
1.7 ip http web max-vlan ..............................................................................................................3
1.8 ip http web igmp-groups ........................................................................................................3
1.9 show ip http ............................................................................................................................4
-I-
Configuration commands are shown as follow:
Chapter 1 STP Configuration Commands
1.1 ip http language
Syntax
ip http language {chinese | english}
It is used to set the prompt language when a command is configured.
Parameter
Parameter Remarks
chinese Sets the language to Chinese.
english Sets the language to English.
Default value
N/A
Remarks
This command is configured in global configuration mode.
Example
The following example shows how to set the language to English.
Switch_config#ip http language english
1.2 ip http port
Syntax
ip http port { portNumber }
It is used to set the HTTP port.
no ip http port
It is used to resume the HTTP port to be the default port 80.
Parameter
Parameter Remarks
portNumber Means the HTTP port’s valid range is
from 1 to 65535.
Default value
80
Remarks
This command is configured in global configuration mode.
Example
The following example shows how to set the HTTP port to 1234.
-1-
Configuration commands are shown as follow:
Switch_config#ip http port 1234
1.3 ip http secure-port
Syntax
ip http secure-port {portNumber}
It is used to set the HTTPS port.
no ip http secure-port
It is used to resume the HTTPS port to be the default port 443.
Parameter
Parameter Remarks
portNumber Means the HTTPS port’s valid range is
from 1 to 65535.
Default value
443
Remarks
This command is configured in global configuration mode.
Example
The following example shows how to set the HTTPS port to 1234.
Switch_config# ip http secure-port 1234
1.4 ip http server
Syntax
[no] ip http server
It is used to set the HTTP service.
Remarks
This command is configured in global configuration mode.
Example
It is used to set the HTTP service.
Switch_config# ip http server
1.5 ip http http-access enable
Syntax
[no] ip http http-access enable
It is used to set the HTTP access mode.
Remarks
This command is set in global configuration mode and used to access the website,
which starts with http://.
Example
-2-
Configuration commands are shown as follow:
The following example shows how to set the HTTP access mode.
Switch_config# ip http http-access enable
1.6 ip http ssl-access enable
Syntax
[no] ip http ssl-access enable
It is used to set the HTTPS access mode.
Remarks
This command is set in global configuration mode and used to access the website,
which starts with http://.
Example
The following example shows how to set the HTTPS access mode.
Switch_config# ip http ssl-access enable
1.7 ip http web max-vlan
Syntax
ip http web max-vlan { max-vlan }
It is used to set the maximum number of VLAN entries displayed in a web page.
no ip http web max-vlan
It is used to resume the default maximum number of VLAN entries to 100.
Parameter
Parameter Remarks
max-vlan Means the maximum number of vlan
entries in the web page, which ranges
from 1 to 4094.
Default value
100
Remarks
This command is configured in global configuration mode.
Example
The following example shows how to set the maximum number of VLAN entries
displayed in a web page to 123.
Switch_config# ip http web max-vlan 123
1.8 ip http web igmp-groups
Syntax
ip http web igmp-groups { igmp-groups }
It is used to set the maximum number of multicast entries displayed in a web page.
-3-
Configuration commands are shown as follow:
no ip http web igmp-groups
It is used to resume the default maximum number of multicast entries to 15.
Parameter
Parameter Remarks
igmp-groups Means the maximum number of multicast
entries in the web page, which ranges
from 1 to 100.
Default value
15
Remarks
This command is configured in global configuration mode.
Example
The following example shows how to set the maximum number of multicast entries
displayed in a web page to 12.
Switch_config#ip http web igmp-groups 12
1.9 show ip http
Syntax
show ip http
Remarks
It is used to browse whether the HTTP server is enabled.
Example
Switch_config#show ip http
Http server is running
-4-