H3C Campus Fixed-Port Switches Web-Based Quick Start Configuration Guide-6W100

HomeSupportQuick StartH3C Campus Fixed-Port Switches Web-Based Quick Start Configuration Guide-6W100
03-Web Login to a Device Without a Default IP
Title Size Download
03-Web Login to a Device Without a Default IP 836.51 KB

Quick Start Configuration Guide for Accessing the Web Interface of a Device Without a Default IP

Network configuration

As shown in Figure 1, a PC connects to a device that does not have a default IP address. Configure Web login settings to access the Web interface of the device from the PC.

Figure 1 Network diagram

 

Prerequisites

Access the CLI of the device by connecting the PC to the console port of the device.

Procedures

Configuring basic settings for Web login

1.     Enter system view

<Device> system-view

2.     Create a local user named admin. Set the password to hello12345, specify the HTTP and HTTPS service types, and assign the network-admin user role to the device.

[Device] local-user admin

[Device-luser-manage-admin] password simple hello12345

[Device-luser-manage-admin] service-type http https

[Device-luser-manage-admin] authorization-attribute user-role network-admin

[Device-luser-manage-admin] quit

# Assign IP address 192.168.0.1 to the device.

[Device] interface vlan-interface 1

[Device-VLAN-interface1] ip address 192.168.0.1 255.255.255.0

[Device-VLAN-interface1] quit

# Enable HTTP and HTTPS.

[Device] ip http enable

[Device] ip https enable

# Save the settings.

[Device] save

Configuring an IP address for the PC

1.     Open Network and Sharing Center, and click Local Area Connection.

2.     In the window that opens, click Properties. Then, double click Internet Protocol Version 4 (TCP/IPv4).

3.     In the window that opens, configure the following settings:

a.     Select Use the following IP address.

b.     Configure an IP address. Make sure the IP address is in the same subnet as the management IP address of the device, for example, 192.168.0.2.

c.     Configure the subnet mask, for example, 255.255.255.0.

4.     Click OK.

Figure 2 Configuring an IP address for the PC

 

Logging in to the device

1.     Open a browser, and enter the IP address of the device 192.168.0.1 in the address bar.

2.     On the Web login page, enter the username admin and password hello12345.

3.     Click Login.

Figure 3 Login page

 

The Web interface opens if the login succeeds.

Figure 4 Web interface

 

  • 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
新华三官网