0% found this document useful (0 votes)
70 views

04-Web Configuration Commands

This document describes various commands for configuring the web interface on a network switch. It details commands for setting the HTTP and HTTPS ports, enabling HTTP and HTTPS access, and configuring language and maximum entries displayed on web pages for VLANs and multicast groups. Examples are provided for each command.

Uploaded by

agung nurilham
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views

04-Web Configuration Commands

This document describes various commands for configuring the web interface on a network switch. It details commands for setting the HTTP and HTTPS ports, enabling HTTP and HTTPS access, and configuring language and maximum entries displayed on web pages for VLANs and multicast groups. Examples are provided for each command.

Uploaded by

agung nurilham
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

WEB Configuration Commands

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

Chapter 1 HTTP Configuration Commands


1.1 ip http language
Syntax

To set the prompt language when a command is configured, run this command.
ip http language {chinese | english}

Parameters

Parameters Description

chinese Sets the language to Chinese

english Sets the language to English.

Default Value

None

Command Mode

Global Configuration Mode

Usage Guidelines

This command is configured in global configuration mode.

Example

Sets the language to English.


Switch_config#ip http language english

1.2 ip http port


Syntax

To set the HTTP port, run this command.


ip http port { portNumber }
To resume the HTTP port to be the default port 80, run this command.
no ip http port

Parameters

Parameters Description

portNumber Means the HTTP port’s valid range is


from 1 to 65535.

1
Web Configuration Commands

Default Value

80

Command Mode

Global configuration mode

Usage Guidelines

This command is configured in global configuration mode.

Example

The following example shows how to set the HTTP port to 1234.
Switch_config#ip http port 1234

1.3 ip http secure-port


Syntax

To set the HTTPS port, run this command.


ip http secure-port {portNumber}
To resume the HTTPS port to be the default port 443, run this command.
no ip http secure-port

Parameters

Parameters Usage Guidelines

portNumber Means the HTTPS port’s valid range is


from 1 to 65535.

Default Value

443

Command Mode

Global configuration mode

Usage Guidelines

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

2
Web Configuration Commands

1.4 ip http server


Syntax

To set the HTTP service, run this command.


[no] ip http server

Parameters

None

Default Value

None

Command Mode

Global Configuration Mode

Usage Guidelines

This command is configured in global configuration mode.

Example

The following example shows how to set the HTTP service.


Switch_config# ip http server

1.5 ip http http-access enable


Syntax

To set the HTTP access mode, run this command.


[no] ip http http-access enable

Parameters

None

Default

None

Command Mode

Global Configuration 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

Switch_config# ip http http-access enable

1.6 ip http ssl-access enable


Syntax

To set the HTTPS access mode, run this command.


[no] ip http ssl-access enable

Parameters

None

Default Value

None

Command Mode

Global Configuration 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

1.7 ip http web max-vlan


Syntax

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

Parameters Usage Guidelines

max-vlan Means the maximum number of vlan


entries in the web page, which ranges
from 1 to 4094.

4
Web Configuration Commands

Default Value

100

Command Mode

Global Configuration Mode

Usage Guidelines

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

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

Parameters Usage Guidelines

igmp-groups Means the maximum number of multicast


entries in the web page, which ranges
from 1 to 100.

Default Value

15

Command Mode

Global Configuration 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

1.9 show ip http


Syntax

show ip http

Parameters

None

Default Value

None

Command Mode

Other modes except the user mode

Usage Guidelines

The command is used to browse whether the HTTP server is enabled.

Example

Switch_config#show ip http
Http server is running

You might also like