Back to Contents Page

Web Server

Dell™ PowerConnect™ 3324/3348 Switch CLI Guide

  ip http port

  ip http server

  ip https port

  ip https server

  crypto certificate generate

  show ip http

  show ip https



ip http port

Use the ip http port global configuration command to specify the TCP port for use by a web browser to configure the device. To use the default TCP port, use the no form of this command.

Syntax

ip http port port-number

no ip http port

Default Configuration

This default port number is 80.

Command Mode

Global Configuration Mode

User Guidelines

There are no user guidelines for this command.

Examples

The following example configures the http port number to 100.

Console (config)# ip http port 100


ip http server

Use the ip http server global configuration command to enable the device to be configured from a browser. To disable this function, use the no form of this command.

Syntax

ip http server

no ip http server

Default Configuration

This command has no default configuration.

Command Mode

Global Configuration Mode

User Guidelines

There are no user guidelines for this command.

Examples

The following example enables the device to be configured from a browser.

Console (config)# ip http server


ip https port

Use the ip https port global configuration command to configure a TCP port for use by a secure web browser to configure the device. To use the default port, use the no form of this command.

Syntax

ip http ports port-number

no ip http ports

Default Configuration

This default port number is 443.

Command Mode

Global Configuration Mode

User Guidelines

There are no user guidelines for this command.

Examples

The following example configures the https port number to 100.

Console (config)# ip https port 100


ip https server

Use the ip https server global configuration command to enable the device to be configured from a secured browser. To disable this function, use the no form of this command.

Syntax

ip https server

no ip https server

Default Configuration

The default is the device that is enabled to be configured from a browser.

Command Mode

Global Configuration Mode

User Guidelines

console(config)# crypto certificate generate key_generate

Examples

The following example enables the device to be configured from a browser.

Console (config)# ip https server


crypto certificate generate

Use the crypto certificate generate global configuration command to generate a HTTPS certificate.

Syntax

crypto certificate generate [key-generate [length]]

Default Configuration

The Certificate and the SSL RSA key pairs do not exist.

Command Mode

Global Configuration Mode

User Guidelines

The command is not saved in the device configuration; however, the certificate and keys generated by this command are saved in the private configuration (which is never displayed to the user or backed up to another device).

Examples

The following example regenerates an HTTPS certificate.

Console (config)# crypto certificate generate key-generate

Generating RSA private key, 1024 bit long modules

Console (config)#


show ip http

Use the show ip http privileged EXEC command to display the HTTP server configuration.

Syntax

show ip http

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC command

User Guidelines

There are no user guidelines for this command.

Examples

The following example displays the HTTP server configuration.

Console# show ip http

HTTP server enabled. Port: 80


show ip https

Use the show ip http privileged EXEC command to display the HTTPS server configuration.

Syntax

show ip https

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC command

User Guidelines

There are no user guidelines for this command.

Examples

The following example displays the HTTP server configuration.

Console# show ip https

HTTPS server enabled. Port: 443

Certificate was generated.


Back to Contents Page