H3C Cloud Lab User Guide V3.0.1.1
H3C Cloud Lab User Guide V3.0.1.1
1
相关链接
相关链接
Creating a project
When you start HCL, the system automatically creates a
temporary project. You can create a topology on the
workplace of the temporary project, or click the New project
icon on the shortcut icon bar to create a project as shown
in Figure 3.
Figure 3 Creating a project
Adding devices
Restrictions and guidelines
A project can have a maximum of 50 DIY devices, routers,
switches, firewalls, and end devices in total.
A project can have a maximum of hosts (local PCs).
A project can have a maximum of 50 remote PCs (remote
network proxies).
To add devices
1. Click a device type in the devices and links area. The
device types include DIY devices, routers, switches, and
firewalls.
The system displays a device model list, as shown in
Figure 4.
2. Use one of the following methods to add devices:
¡ Adding one device—Click and drag the device model to
the workplace.
¡ Adding multiple devices of the same model—Click the
Operating devices
To operate a device, right-click the device to display the right-
click menu and select the operations you want to perform.
The right-click menu varies by the status of the device. Figure
5 shows the right-click menu when the device is stopped.
Figure 6 shows the right-click menu when the device is
started.
Figure 5 Right-click menu when the device is stopped
Saving a project
After finishing the project, click the Save project icon on
the shortcut icon bar to save the project. If the current project
is a temporary project, the system displays a dialog box for
you to enter the project name and path.
Opening a project
To open a project, click the Open project icon on the
shortcut icon bar and then double-click the project you want to
open, as shown in Figure 9.
Figure 9 Opening a project
Closing HCL
To close HCL, click the Close icon in the upper-right
corner of the HCL window.
Installing, setting up, and uninstalling
HCL
This help describes the operations for installing, setting up, and
uninstalling HCL.
· Installing HCL
· Setting up HCL
· Uninstalling HCL
相关链接
Hosting PC requirements
Installing HCL
Setting up HCL
Uninstalling HCL
Item Description
Memory ≥ 4 GB
Hard disk ≥ 80 GB
Operating system Windows 7 or higher
After obtaining the HCL installation package, follow these steps
to install HCL: 1. Selecting the installation language
2. Preparing for installation
3. Choosing the installation
4. Choosing components to install
5. Starting to install HCL
6. Completing the HCL installation
General settings
As shown in Figure 17, you can perform the following settings
on the General page: · Language—Sets the language of the
HCL page. It supports Chinese and English.
· Display the Open project dialog box at startup—Opens the
dialog box as shown in Figure 9 when HCL starts up. This
box is checked by default.
· Project path—Sets the default path for saving projects. The
default path is under the system user directory. You can click
Browse to change the path setting.
Tools settings
You can configure the tools that will be used for HCL operation:
· Wireshark path—Sets the installation path for Wireshark.
Make sure the path is correct. Otherwise, you cannot view
captured packets through Wireshark.
· CLI window mode
¡ Multi-window mode—Always runs the CLI in a new
· Project
· Edit
· Settings
· View
· Help
· Quit
Click the Menu drop-down icon in the menu bar to access the
drop-down menus, as shown in Figure 24.
Project
Edit
Settings
View
Help
Collect log files
Quit
New
1. From the drop-down menu, click Project > New.
A dialog box opens, as shown in Figure 26.
Figure 26 Creating a new project
Open
1. From the drop-down menu, click Project > Open.
A dialog box opens, displaying all user created projects, as
shown in Figure 27.
2. You can perform the following operations for a project:
¡ Click the project to select it.
3. If your target project file is not shown on the dialog box, you
can click Browse to select the file. Supported files included
.net files and .hcl files. For information about .hcl files, see
"Export."
In addition, you can click the Open icon in the shortcut icon bar
to open a project. If no projects are available, a file selection
window opens, similar to the window that you open by clicking
Browse.
Figure 27 Opening a project
NOTE: You cannot open the same project in two HCL
windows.
Remove
1. From the drop-down menu, click Project > Remove.
A dialog box opens, displaying all user created projects, as
shown in Figure 28.
2. Double-click a project to remove the project.
Figure 28 Removing a project
project.
Figure 29 Saving a project
To save a project, you can also click the Save project icon in the
shortcut icon bar.
Export
Projects are saved in their separate folders. A project folder
contains project files and capture file folders, as shown in Figure
30. Saved projects cannot be published directly. You can export
projects to export all configurations to a file to publish
constructed projects.
Figure 30 Project directory
You can hover over an icon to view the function of the icon.
Figure 37 Shortcut icon bar
相关链接
The first three icons are for showing and hiding device names,
interface names, and grids. A framed icon indicates that the
elements are shown.
The last two icons are for zooming in and out the workspace.
Figure 40 shows the device control icons, which allow you to
start and stop all devices.
Figure 40 Device control icons
Figure 41 shows the drawing tool icons. You can add text,
draw rectangles and ellipses, and snapshot the workspace.
You can show or hide the text or figure on the workspace, and
drag them to a position on the workspace.
Figure 41 Drawing tool icons
Add text
1. Click the Add text icon in the shortcut icon bar.
2. Click the blank area in the workspace to create a text box
where you can enter the text.
3. Right-click the text area. The right-click menu is shown in
Figure 42.
Figure 42 Right-click menu
Drawing rectangles
1. Click the Draw rectangle icon in the shortcut icon bar.
2. Click the blank area in the workspace. A rectangle is
created. To escape the rectangle drawing, Press the Esc
key or click a position outside the rectangle on the
workspace.
3. Right-click the rectangle. The right-click menu is shown in
Figure 42. For information about this menu, see "Add text."
Select Style from the right-click menu. A dialog box opens,
as shown in Figure 44.
Figure 44 Setting style
Drawing ellipses
The operations are similar to rectangle drawing operations as
described in "Drawing rectangles."
· DIY devices
· Routers
· Switches
· Firewalls
· End devices
· Links
As shown in Figure 46, the devices and links area provides five
types of devices (DIY devices, routers, switches, firewalls, and end
devices) and links. For how to add devices, see “Adding devices.”
DIY devices
Routers
Switches
Firewalls
End devices
Links
DIY device types test, test1, and test2 on the list are DIY
device types that have been created. Initially, HCL does not
provide any DIY device type.
To create a DIY device type: 1. Click the DIY Device icon.
The window for creating a DIY device type opens. As
shown in Figure 48, the window for creating a DIY device
type includes the interface editing area, interface selection
area, device type operation area, and device type list area.
2. Enter the device type name in the device type operation
area.
The device type name can contain up to eight characters.
Valid characters include letters, digits, and underscores
(_). Invalid characters and extra characters will be ignored
automatically.
3. Add interfaces to the interface editing area.
¡ To continuously add interfaces of the same type, click the
Local PC
A local PC refers to the PC running HCL. After you add a local
PC to the workspace, the PC is virtualized into a host in the
virtual network. As shown in Figure 53, the NICs of the host on
the workspace are the same as those of the local PC. The local
PC can communicate with the virtual network after you connect
the NICs of the host to interfaces of virtual devices.
Figure 53 NICs of the host
Virtual PC
A virtual PC refers to a device run by HCL to simulate the
function of a PC. A PC is simulated after you add a virtual PC to
the workspace. You can connect a virtual PC to a device without
starting the virtual PC.
After a virtual PC is started, right-click it and select Configure
from the shortcut menu. The configuration window for the virtual
PC opens, as shown in Figure 54. On the window, you can
enable or disable an interface, and configure the IPv4 address,
IPv6 address, and gateway for the interface manually or through
DHCP.
E1 Connects E1 interfaces.
· Icons
· Operating devices
· Adding links
· Capturing packets
· Other operations
Figure 58 Workspace
相关链接
Icons
Operating devices
Adding links
Capturing packets
Other operations
· Start CLI—When you select Start CLI for a running device, the
CLI as shown in Figure 64 opens. You can input commands
at the CLI to configure the device and view device
information. Alternatively, you can double-click a running
device to open its CLI.
Figure 64 CLI
· Add links—Select Add links from the shortcut menu to enter
the mode of manually adding links. In this mode, click the
device, select a source interface, and then select a
destination interface to add a link. For more information about
adding links, see “Adding links.”
· Rename—Select Rename from the shortcut menu. The dialog
box as shown in Figure 65 opens. On the dialog box, enter
the device name and click OK.
Deleting links
To delete a link, right-click the link, and select Delete from the
shortcut menu.
After adding links between devices, you can capture packets on
interfaces.
To start capturing
1. Right-click a link, and select Start capturing from the shortcut
menu as shown in Figure 67.
The window for capturing packets opens, as shown in Figure
68.
Figure 67 Starting capturing
To stop capturing
Right-click a link whose packets are being captured, and select
Stop capturing from the shortcut menu as shown in Figure 69.
To export the capture file
Right-click a link and select Export capture file from the
shortcut menu as shown in Figure 69 to export the captured
packets to the specified folder.
On the workspace, you can also perform the following
operations:
· Moving the elements on the workspace Elements collectively
refer to the devices, images, and notes on the workspace.
To move an element, click and drag it to the target
position. This operation helps make a complicated network
diagram clearer.
· Aligning the elements on the workspace Select multiple
elements, right-click them, and select Align horizontally
or Align vertically from the shortcut menu to align the
selected elements.
· Adjusting the workspace size You can drag the spacing bar
between the workspace and the capture interface list area
in the right to adjust the display proportions for the
workspace and capture interface list.
This chapter guides you through using the personal center.
Some HCL functions (for example, changing the device software
version and upgrading HCL) are available only for logged in
users.
To log in: 1. Click the Personal center icon in the personal
center area.
2. On the user login window that opens, select a user type, and
click OK.
Figure 71 Choosing your user type
website.
¡ Feedback—Click this button to feed back your problems
with HCL.
¡ My info—Click this button to enter the My info page. On the
· Operating devices
· Operating links
Click the double-triangle icon in the upper right corner of the area
or double-click the top gray bar of the area to display or hide the
topology summary area.
相关链接
Procedure
1. Add the devices.
Add two MSR36 devices to the workspace. For more
information about adding devices, see "Adding devices."
2. Add a link between the devices: a. Right-click device
MSR36-20_1, and select Add links from the right-click
menu.
The cursor changes to a cross sign.
b. Click device MSR36-20_1 and select GE_0/0 from the
pop-up interface list.
c. Click device MSR36-20_2 and select GE_0/0 from the
pop-up interface list.
d. Right-click any empty space on the workplace.
The cursor changes back.
For more information about adding links, see "Adding
links."
3. Start the devices.
Select the two devices, right-click any of them, and select
Start from the right-click menu.
Verifying the configuration
1. Double click each device or right-click each device and
select Start CLI from the right-click menu to log in to the
CLI.
2. Assign IP addresses on the same subnet to their connected
interfaces. (Details not shown.) 3. Use the ping command
to verity the connectivity between the devices. (Details not
shown.)
Network configuration
As shown in Figure 80, add an MSR36 device and a host.
Connect GigabitEthernet 0/0 of the MSR36 device to the
VirtualBox Host-Only NIC of the host so you can Telnet from
your PC to the MSR36 device.
Figure 80 Network diagram
Procedure
1. Add the device and host: a. Add an MSR36 device to the
workspace.
b. Add a host to the workspace.
For more information about adding devices, see "Adding
devices."
2. Add a link between the device and the host: a. Right-click
device MSR36-20_1, and select Add links from the right-
click menu.
The cursor changes to a cross sign.
b. Click device MSR36-20_1 and select GE_0/0 from the
pop-up interface list.
c. Click device Host_1 and select NIC: VirtualBox Host-
Only Ethernet Adapter from the pop-up NIC list.
d. Right-click any empty space on the workplace.
The cursor changes back.
For more information about adding links, see "Adding
links."
3. Start the device.
Right-click device MSR36-20_1, and select Start from the
right-click menu.
Verifying the configuration
1. Double click device MSR36-20_1 or right-click the device
and select Start CLI from the right-click menu to log in to
the CLI.
2. Assign an IP address to GigabitEthernet 0/0. Make sure the
IP address belongs to the same subnet as the IP address
of the host's NIC. (Details not shown.) 3. Configure Telnet
login on device MSR36-20_1.
<Sysname> system view [Sysname] line vty 0 4
[Sysname-line-vty0-4] authentication-mode none
[Sysname-line-vty0-4] user-role network-admin
[Sysname-line-vty0-4] quit [Sysname] telnet server enable
4. On your PC, start Telnet, enter the IP address of
GigabitEthernet 0/0 on MSR36-20_1 and the port number 23.
You are logged in to the CLI of device MSR36-20_1.
Network configuration
As shown in Figure 81, add an MSR36 device and a host.
Connect both the MSR36 device and the physical router to the
Inter(R) 82579LM Gigabit Network Connection NIC of the
host to achieve connectivity between the two routers.
Figure 81 Network diagram
Procedure
1. Add devices a. Create Project1 on PC 1 and Project2 on
PC 2.
b. Add an MSR36 device (named MSR36-20_1) and a
remote network proxy (named Remote_1) in Project1.
Add an MSR36 device (named MSR36-20_2) and a
remote network proxy (named Remote_2) in Project2.
For more information about adding devices, see "Adding
devices."
2. Configure the remote network proxies a. On PC 1, double-
click remote network proxy Remote_1 and enter the IP
address of PC 2 (10.1.1.2) and the name of the remote
project (Project2).
b. On PC 2, double-click remote network proxy Remote_2
and enter the IP address of PC 1 (10.1.1.1) and the
name of the remote project (Project1).
3. Configure a tunnel.
a. On PC 1, add a link between GigabitEthernet 0/0 of
MSR36-20_1 and Remote_1.
b. In the pop-up dialog box, enter tunnel name tunnel1
and click OK.
c. On PC 2, add a link between GigabitEthernet 0/0 of
MSR36-20_2 and Remote_2.
d. In the pop-up dialog box, enter tunnel name tunnel1
and click OK.
4. Start the devices.
Start MSR36-20_1, Remote_1, MSR36-20_2, and
Remote_2.
Verifying the configuration
1. Double click each MSR36 device or right-click each MSR36
device and select Start CLI from the right-click menu to
log in to the CLI.
2. Assign IP addresses on the same subnet to their connected
interfaces. (Details not shown.) 3. Use the ping command
to verity the connectivity between the devices. (Details not
shown.)
Common problem
相关链接
Installation problem
Specification problem
Configuration problem
5. After the HCL installation is complete, start the HCL and report
an error when creating a device, prompting: "Failed to create
a device"
a. If you fail to create a device for the first time, you can try to
continue to create this type of device
b. There is residual VirtualBox, open VirtualBox, delete
Simware_Base and other topo-device devices; start HCL
and try to create the device again
c. Or uninstall VirtualBox after removing the device residue,
and then delete the VirtualBox VMs folder; restart the
computer, and then reinstall VirtualBox
6. After the HCL installation is complete, start the HCL, start the
device and report an error, prompting: "The device failed to
start"
a. Mainly caused by residues when VirtualBox is closed, the
same as problem 5: Clear the device residues and
terminate the vBoxSVC.exe process, and then reopen the
HCL problem to solve the problem.
b. The version of VirtualBox is too low.
3. Why the HCL QOS access control does not take effect?
It is not just QOS that has this problem; QOS, MQC, ACL
counting statistics, arp proxy under super vlan, isolate -
user-vlan, port isolation and other functions that require
hardware chips to implement, HCL simulators cannot yet
be implemented.
Note: Super VLAN related experiments need to switch the
device to the b59 version (default b75 version), and you
need to install the Device_59 installation package and log
in before you can switch the device version.