04-Web Configuration Commands
04-Web Configuration Commands
Table of Contents
1.1 ip http language........................................................................................................................................ 1
1.2 ip http port................................................................................................................................................ 1
1.3 ip http secure-port..................................................................................................................................... 2
1.4 ip http server.............................................................................................................................................3
1.5 ip http http-access enable.......................................................................................................................... 3
1.6 ip http ssl-access enable............................................................................................................................4
1.7 ip http web max-vlan..................................................................................................................................4
1.8 ip http web igmp-groups.............................................................................................................................5
1.9 show ip http.............................................................................................................................................. 6
Web Configuration Commands
To set the prompt language when a command is configured, run this command.
ip http language {chinese | english}
Parameters
Parameters Description
Default Value
None
Command Mode
Usage Guidelines
Example
Parameters
Parameters Description
1
Web Configuration Commands
Default Value
80
Command Mode
Usage Guidelines
Example
The following example shows how to set the HTTP port to 1234.
Switch_config#ip http port 1234
Parameters
Default Value
443
Command Mode
Usage Guidelines
Example
The following example shows how to set the HTTPS port to 1234.
Switch_config# ip http secure-port 1234
2
Web Configuration Commands
Parameters
None
Default Value
None
Command Mode
Usage Guidelines
Example
Parameters
None
Default
None
Command Mode
Usage Guidelines
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 HTTP access mode.
3
Web Configuration Commands
Parameters
None
Default Value
None
Command Mode
Usage Guidelines
This command is set in global configuration mode and used to access the website,
which starts with https://.
Example
The following example shows how to set the HTTPS access mode.
Switch_config# ip http ssl-access enable
To set the maximum number of VLAN entries displayed in a web page, run this
command.
ip http web max-vlan { max-vlan }
To resume the default maximum number of VLAN entries to 100, run this
command.
no ip http web max-vlan
Parameters
4
Web Configuration Commands
Default Value
100
Command Mode
Usage Guidelines
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
To set the maximum number of multicast entries displayed in a web page, run this
command.
ip http web igmp-groups { igmp-groups }
To resume the default maximum number of multicast entries to 15, run this command.
no ip http web igmp-groups
Parameters
Default Value
15
Command Mode
Usage Guidelines
This command is configured in global configuration mode. At present OLT does not
support the command.
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
5
Web Configuration Commands
show ip http
Parameters
None
Default Value
None
Command Mode
Usage Guidelines
Example
Switch_config#show ip http
Http server is running