Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Objectives
⚫ Understand what eNSP is.
⚫ Understand various eNSP functions.
⚫ Use eNSP to open the exam paper. (Appendix)
⚫ Use eNSP to check the exam paper. (Appendix)
⚫ Use eNSP to create network topologies and perform test operations.
Scenario
The experiment provides a comprehensive look at all the functions of eNSP, including the
eNSP software main page, the uses of each toolbar, network devices supported by eNSP, and
how to flexibly use these devices to create a network topology that simulates a real
networking.
Procedure
1. Understand the eNSP user interface.
After the eNSP simulator has been started, you can view the main user interface (UI), as
shown in Figure 1-8.
2018-10-11
eNSP Usage Guide
The main eNSP UI is divided into five areas. Area 1 is used for displaying the main
menu, which provides the File, Edit, View, Tools, and Help menus. Their functions are
as follows:
− File menu: Used for opening, creating, saving, and printing topology files.
− Edit menu: Used for undoing, redoing, copying, and pasting operations.
− View menu: Used to zoom the view of the topology in or out and control how the
toolbars to either side are displayed.
− Tools menu: Used to start or stop the device, capture data, open the drawing palette to
add graphics, and configure options.
− Help menu: enables you to view help documentation, check whether an update is
available, and check the software version and copyright information.
− Choose Tools > Options from the main menu. In the displayed Option dialog box,
set the software parameters, as shown in Figure 1-9.
2018-10-11
eNSP Usage Guide
− On the UI tab, you can customize the UI display, for example, whether device labels
and models are displayed, and whether to show the background image. You can also
set Workspace Size, specifically the width and height of the workspace.
− On the CLI tab, you can set the information saving method in the command line.
When selecting Logging, you can set Display Lines and Save Path. If the number of
lines in the content of the command line interface (CLI) exceeds the value set in
Display Lines, the system automatically saves the excess lines to the location set in
Save Path.
− On the Font tab, you can set the font, font color, and background color for the CLI
and topology description text.
− On the Server tab, you can set server parameters. For details, see the help
documentation.
− On the Tools tab, you can set locations for reference tools.
Area 2 is the toolbar, which provides common tools (see Table 1-1) such as creating a
new topology and printing.
2018-10-11
eNSP Usage Guide
Save ZoomIn
Save As ZoomOut
Print ZoomReset
Setting Help
At the far right end of the toolbar there are 4 buttons. The first opens Huawei's official
forum, where various questions can be asked and where you can participate in
discussions regarding Huawei products. The second opens Huawei's official website. The
third is the Setting button, which enables you to adjust the UI and font settings, and is
consistent with the Option dialog box opened from the Tools menu. The fourth is the
Help button, which provides descriptions for all eNSP device features and functions
supported by the current version, as well as explanations of how to configure the server
and client.
Area 3 is the network device area, which displays devices and cables, as shown in Figure
1-10. Each device has different models. For example, when you click a router icon, the
device model area will provide different routers such as AR1220 and AR2220, which can
then be selected for the workspace.
Area 4 is the workspace, where you can flexibly create a network topology, as shown in
Figure 1-11.
2018-10-11
eNSP Usage Guide
Area 5 is the device port area, which displays devices and the ports of these devices that
are connected on the topology. You can learn the running statuses of the ports by
2018-10-11
eNSP Usage Guide
checking the corresponding indicators, as shown in Figure 1-12. Light gray indicates that
the device has not been started or that the physical status of the port is Down. Dark gray
indicates that the device has been started or that the physical status of the port is Up.
Black indicates that the port is collecting packets. To start or stop packet collection on a
port with the physical status of Up, right-click the port name.
2. Configure network devices.
In eNSP, you can use the graphical user interface (GUI) to flexibly create the required
topology. The procedure is as follows:
Step 2 Select a device. On the left side of the main UI, you can select the network device area, and
then add the required devices by directly dragging them to the workspace. Each device has a
default name, which can be modified by clicking on it. You can also use the Text and
Drawing Palette buttons on the toolbar to add a description or image ID at any position in the
topology, as shown in Figure 1-13.
2018-10-11
eNSP Usage Guide
Step 3 Configure the device. Right-click the device icon in the topology and choose Settings from
the displayed shortcut menu to open the port configuration window.
On the View tab, you can view the device panel and valid cards, as shown in Figure 1-14. If
you need to add cards to the device, you can select the appropriate card in the Cards
supported by eNSP area and directly drag it to a slot on the upper part of the device panel. If
you want to delete a card, directly drag the card on the device panel back to the Cards
supported by eNSP area. Note that adding and deleting cards can be performed only when
the device is powered off.
2018-10-11
eNSP Usage Guide
On the Config tab, you can set the serial port number of the device. Serial port numbers range
from 2000 to 65535. By default, 2000 is used to start. You can change the serial port number
and make this change take effect by clicking the Apply button, as shown in Figure 1-15.
2018-10-11
eNSP Usage Guide
Right-click on the simulated PC, and choose Settings from the displayed shortcut menu. On
the Basic Config tab of the displayed dialog box, you can set basic device parameters such as
the IP address, subnet mask, and MAC address, as shown in Figure 1-16.
On the Command tab, you can run the ping command to test connectivity, as shown in
Figure 1-17.
2018-10-11
eNSP Usage Guide
Step 4 Connect the device. You can flexibly select the appropriate cable type for the ports on the
device. When only one end of a cable is connected to a device and you want to close the
connection, right-click in the workspace or press the Esc key. Select Auto to automatically
identify the card and select the appropriate cable. Common cables include copper twisted-pair
and serial cables, as shown in Figure 1-18.
Step 5 Import configurations. Before the device has been started up, right-click the device and
choose Import Config from the displayed shortcut menu, and then select a device
configuration file (in the .cfg or .zip format) to import to the device.
Step 6 Start the device. After selecting the device you want to start, you can click the Start Device
button on the toolbar or choose Start from the shortcut menu that is displayed when you
right-click the device, as shown in Figure 1-19. After the device has been started, double-click
the device icon and enter configurations using the CLI that is opened.
Step 7 Save the device and topology. After the configurations are complete, click the Save button on
the toolbar to save the topology. Right-click the device and choose Export Config from the
shortcut menu, as shown in Figure 1-20. Then enter the device name of the configuration file
and export the device configuration information as a .cfg file.
2018-10-11
eNSP Usage Guide
----End
2018-10-11
eNSP Usage Guide
----End
2018-10-11
eNSP Usage Guide
Or you can drag the .paper file to the eNSP workspace to open the paper.
NOTE:
You can click Display Instruction in the lower right corner of the main window
to reopen Exam Instruction.
4. After you finish all the configruation, save the configuration within the
device and save the test paper.
5. Click Submit in the lower right corner of the window.In the Submit Answer window
that is displayed,save the paper to desktop using the user ID 123.
You can also choose Menu > Exam > Submit from the main window to submit the
paper.
2018-10-11
eNSP Usage Guide
NOTE:
If you save students' papers to the same folder,the system will check the papers
in a batch.
4. Click Check. The "Paper check finished.Do you want to view result now?" message
is displayed. Click Yes to view the result.
2018-10-11
eNSP Usage Guide
5. Click View in Contest Result to view the score details of the corresponding
ID.
6. Click show detail to view the complete configuration of an examinee.
7. You can also modify Your Score based on the actual configuration.After the
modification, click Save.The following info message is displayed.
NOTE:
---END
2018-10-11
eNSP Usage Guide
Objectives
⚫ Understand basic VRP operations
⚫ Master command line view switching
⚫ Master command line help and the relevant hotkeys
⚫ Change the device name and configure the clock
⚫ Set header information
⚫ View the basic information of a router
Scenario
This experiment simulates the process of a user running the VRP for the first time. After
logging in to the router, the user configures the device using the CLI. Command line view
switching, command line help, and hotkeys can all be used at this point, and basic device
configurations can be completed, such as changing the router name, setting the router clock,
setting the header information, and using the command line to view the basic information of
the router.
Topology
Procedure
3. Switch the command view.
Start the device, and then after successfully logging in to the device, enter the user view,
as shown in Figure 1-24.
2018-10-11
eNSP Usage Guide
In the user view, you can use only visit- and monitoring-level commands, for example,
running the display version command displays the system software version and
hardware information.
<Huawei>display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.130 (AR2200 V200R003C00)
Copyright (C) 2011-2012 HUAWEI TECH CO., LTD
Huawei AR2220 Router uptime is 0 week, 0 day, 0 hour, 1 minute
BKP 0 version information:
From the preceding information, you can check the VRP version, device model, startup
time, and other information.
In the user view, run the system-view command to access the system view. In the system
view, you can configure ports and protocols. You can run the quit command to switch
back to the user view.
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]quit
<Huawei>
In the system view, you can run commands to enter other views. For example, you can
run the interface command to enter the interface view. In the interface view, run the ip
address command to configure interface IP addresses and subnet masks.
When configuring the IP address of the GE 0/0/0 port of the router, you can use the
subnet mask length or use a complete subnet mask. For example, if the mask is
255.255.255.0, you can use 24 instead.
<Huawei>system-view
Enter system view, return user view with Ctrl+Z
[Huawei]interface GigabitEthernet 0/0/0
[Huawei-GigabitEthernet0/0/0]ip address 10.1.1.1 24
After the configuration is complete, you can run the return command to return directly
to the user view.
[Huawei-GigabitEthernet0/0/0]return
<Huawei>
2018-10-11
eNSP Usage Guide
You can run the return command to return to the user view from any other view. You can also use the
hotkey Ctrl+Z for the same purpose.
4. Use the command line help.
If you forget a command parameter or keyword, you can use the command line help. The
command line help system is divided into full help and partial help.
(1) Full help: In any command view, enter ? to list all commands of this command view and a
simple description of each.
In the system view, enter ? to list all system view commands and a simple description
of each.
[Huawei]?
System view commands:
Aaa <Group> aaa command group
aaa-authen-bypass Set remote authentication bypass
aaa-author-bypass Set remote authorization bypass
aaa-author-cmd-bypass Set remote command authorization bypass
access-user User access
acl Specify ACL configuration information
alarm Alarm
…
You can also enter a command, followed by a space, and then ? to list all keywords
and parameters and a simple description of each.
In the system view, you can enter the interface command, followed by a space, and
then ? to list parameters and their simple descriptions.
[Huawei]interface ?
Bridge-if Bridge-if interface
Cellular Cellular interface
Dialer Dialer interface
Eth-Trunk Ethernet-Trunk interface
GigabitEthernet GigabitEthernet interface
…
(2) Partial help: Enter a string followed directly by ? to list all commands that begin with this
string.
In the following example, rou is entered in the system view followed directly by ?,
and all commands starting with rou are displayed alongside a simple description of
each.
[Huawei]rou?
Route Routing Module
route-policy Route-policy
route-policy-change Specify route policy change parameter
router Configure router information
5. Use hotkeys.
The CLI provides the basic command editing function, which allows multi-line editing.
The maximum length of each command is 256 characters. The following list details the
relevant hotkeys:
− BackSpace deletes the character immediately to the left of the cursor position.
− The left arrow key or Ctrl+B move the cursor to the left by one character position.
− The right arrow key → or Ctrl+F move the cursor to the right by one character
position.
− Delete deletes the character immediately to the right of the cursor position.
2018-10-11
eNSP Usage Guide
− The up and down arrow keys and scroll through historical commands.
− Pressing Tab after entering a string runs the partial help function and completes the
predicted command. For example, if you enter dis and then press Tab, the system
will complete the display command.
<R1>dis
<R1>display
Using the display hotkey command, you can view the status of the defined, undefined,
and reserved hotkeys.
6. Change the router name.
When multiple devices need to be managed on a network, you can set a specific name
for each device to more conveniently manage and identify these devices.
In the system view, run the sysname command to change the current router name. In the
following example, the system name of the current router is changed to R1.
[Huawei]sysname R1
[R1]
Example: In the user view, the clock timezone command is run to set the time zone to
Beijing.
<R1>clock timezone BJ add 08:00:00
NOTE
By default, the system adopts London time. The Beijing time zone is UTC+8 time zone, a time offset
increase of 8. Therefore, during configuration you need to increase the offset by 8 to implement the
expected Beijing time zone. To ensure the accuracy of the clock, you should configure the system time
zone before configuring the system date and time.
8. Set the header information.
If you need to provide alerts or instructions to users who log in to a router, you can set
the header information, which is displayed during login or after a successful login.
Example: The header login command is run to set the header text that displays during
login to hello. The header shell command is run to set the header text that displays after
a successful login to Welcome to Huawei certification lab.
[R1]header login information "hello"
[R1]header shell information "Welcome to Huawei certification lab"
The header login command sets the header text that is displayed when the user connects
to the terminal during the router login authentication process, when the user connects to
the router, logs in, and starts configuration. The text is displayed before the user has
logged in, and so can provide pertinent information that may be helpful to a user during
or before login and configuration. The header shell command sets the header text that is
displayed on the user terminal after a session between the user and the device is
successfully established.
After the configurations are complete, the header text will display as intended by using
the CLI to log out of the router and then start another login attempt.
2018-10-11
eNSP Usage Guide
[R1]quit
<R1>quit
Generally, login header text is used to give information or warn users about unauthorized logins.
9. Check basic information about a router.
Run a display series command to view the basic information or running status of the
router.
Run the display version command to check the software version.
<R1>display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.130 (AR2200 V200R003C00)
Copyright (C) 2011-2012 HUAWEI TECH CO., LTD
Huawei AR2220 Router uptime is 0 week, 0 day, 0 hour, 17 minutes
BKP 0 version information:
…
The VRP version, device model, startup time, and other information are then displayed.
Run the display current-configuration command to check the current configuration of
the router.
<R1>display current-configuration
[V200R003C00]
#
sysname R1
header shell information "Welcome to Huawei certification lab"
header login information "hello"
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone BJ add 08:00:00
clock daylight-saving-time Day Light Saving Time repeating 12:32 9-1 12:32 11-23
00:00 2005 2005
#
…
#
Return
2018-10-11
eNSP Usage Guide
The physical status of the interface, interface IP address, and other information are then
displayed.
----End
More lab practice please refer to the HCNA and HCNP lab guide.
2018-10-11