Table 2 A DHCP server exists in the subnet where the device resides

If a DHCP server exists in the subnet where the device resides, the device will dynamically obtain its default IP address through the DHCP server. You can log in to the device through the console port, and execute the summary command to view the information of its default IP address.

<Sysname> summary

 

Select menu option:

Summary

IP Method:

DHCP

IP address:

10.153.96.86

Subnet mask:

255.255.255.0

Default gateway:

0.0.0.0

<Omitted>

 

Example

Assuming that the default IP address of the device is 169.254.52.86, follow these steps to log in to the device through the web interface.

Connect the device to a PC

Connect the GigabitEthernet interface of the device to a PC by using a crossover Ethernet cable (by default, all interfaces belong to VLAN 1).

Configure an IP address for the PC and ensure that the PC and device can communicate with each other properly.

Select an IP address for the PC from network segment 169.254.0.0/16 (except for the default IP address of the device), for example, 169.254.52.86.

Open the browser, and input the login information.

On the PC, open the browser (IE 5.0 or later), type the IP address http://169.254.52.86 in the address bar, and press Enter to enter the login page of the web interface, as shown in a. Input the username admin and verification code, leave the password blank, and click Login.

a.Login page of the web interface

3