08-Configuration Examples

HomeSupportConfigure & DeployH3C Firewall Products Comware 7 Web Configuration Guide-6W40208-Configuration Examples
Table of Contents
Related Documents
01-Web Login Configuration Examples
Title Size Download
01-Web Login Configuration Examples 59.74 KB

Web login configuration examples

Introduction

 

The following information provides Web login configuration examples.

The device supports both HTTP and HTTPS. You can use either of them to log in to the Web interface of the device.

When the device was shipped, HTTPS was enabled and the following settings were configured:

·     Username admin.

·     Password admin.

·     User role network-admin.

·     Management interface IP address 192.168.0.1/24.

You can use the settings to log in to the Web interface of the device.

Prerequisites

 

This document is not restricted to specific software or hardware versions. Procedures and information in the examples might be slightly different depending on the software or hardware version of the device.

The configuration examples were created and verified in a lab environment, and all the devices were started with the factory default configuration. When you are working on a live network, make sure you understand the potential impact of every command on your network.

The following information is provided based on the assumption that you have basic knowledge of the Web login feature.

Restrictions and guidelines

 

When you configure Web login, follow these restrictions and guidelines:

·     As a best practice, use one of the following Web browsers: Chrome 40 or later, Firefox 19 or later, or Internet Explorer 9 or later.

·     Configure the Web browser to accept cookies from Web sites and use active scripts or JavaScript. For information about how to configure the Web browser, see the Web browser user guide.

·     To use Internet Explorer, you must also enable the following features:

¡     Execute scripts for ActiveX controls that are marked as secure scripts

¡     Run ActiveX controls and plug-ins.

·     After a device software version change, clear the browser cache to make sure the Web interface displays the correct information.

Example: Configuring Web login

Network configuration 

As shown in Figure 1, connect the host to the device. Configure the device to allow the host to log in to the Web interface of the device through a non-management interface.

Figure 1 Network diagram

 

Software versions used

This configuration example was created and verified on F9345 of the F1060 device.

Procedure

Using the factory-default settings to log in

1.     Use an Ethernet cable to connect the host to management interface GE 1/0/0 on the device.

2.     Assign IP address 192.168.0.2/24 to the host.

This IP address belongs to the same subnet as management interface GE 1/0/0. The host and the device can reach each other.

3.     Launch the Web browser and enter https://192.168.0.1 in the address bar.

The Web interface login page opens.

4.     Enter the username admin and password admin, select a language, and click Login.

In the dialog box that opens, change the default password for the factory-default account immediately.

Configuring Web login through a non-management interface

1.     Assign IP addresses to interfaces and add the interfaces to security zones:

# On the top navigation bar, click Network.

# From the navigation pane, select Interface Configuration > Interfaces.

# Click the Edit icon for GE 1/0/2.

# In the dialog box that opens, configure the interface:

a.     Select the Trust security zone.

b.     Click the IPv4 Address tab, and then enter the IP address and mask of the interface. In this example, enter 192.168.200.1/24.

c.     Use the default settings for other parameters.

d.     Click OK.

2.     Create a security policy:

# On the top navigation bar, click Policies.

# From the navigation pane, select Security Policies > Security Policies.

# Click Create.

# In the dialog box that opens, configure a security policy named trust-to-local to permit the specified traffic from the Trust to Local security zones:

¡     Enter policy name trust-to-local.

¡     Select source zone Trust.

¡     Select destination zone Local.

¡     Select type IPv4.

¡     Select action Permit.

¡     Select source IPv4 address 192.168.200.0/24.

¡     Use the default settings for other parameters.

# Click OK.

3.     Configure a Web login user:

# On the top navigation bar, click System.

# From the navigation pane, select Administrators > Administrators.

# Click Create.

# In the dialog box that opens, configure a Web login user:

¡     Enter username user1.

¡     Enter a password and confirm the password.

¡     Select user role network-admin.

¡     Select service HTTPS.

¡     Use the default settings for other parameters.

# Click OK.

Figure 2 Configuring  a Web login user

 

Verifying the configuration

1.     Launch the Web browser and enter https://192.168.200.1 in the address bar.

The Web interface login page opens.

2.     Enter username user1 and the password, select a language, and click Login.

The Web interface of the device opens.

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网