0% found this document useful (0 votes)
13 views

Experiment 1

The purpose of this experiment is to master the basic operation of network router on Huawei eNSP simulator platform. The main experimental contents include: a) Master the basic operation commands of network devices operating system; b) Master the use of basic file operation commands on network devices;

Uploaded by

Aketch Oduor
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Experiment 1

The purpose of this experiment is to master the basic operation of network router on Huawei eNSP simulator platform. The main experimental contents include: a) Master the basic operation commands of network devices operating system; b) Master the use of basic file operation commands on network devices;

Uploaded by

Aketch Oduor
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

2.

1 Experiment I Basic Operation of Network Equipment

1.Experimental purpose

The purpose of this experiment is to master the basic operation of network router on Huawei eNSP
simulator platform. The main experimental contents include:

a) Master the basic operation commands of network devices operating system;


b) Master the use of basic file operation commands on network devices;

2.Experimental devices

a) eNSP Simulator Platform


b) Personal Computers

3.Experimental procedure

(1) Enter to System View

In the router's operating system, there are two different operating modes: user view and system view.
They are the same as user mode and privilege mode in CISCO router. It is in user view after the CLI starts,
then the system-view command is executed to enter the system view.

<HUAWEI>system-view

Enter System View, return User View with Ctrl+Z.

[HUAWEI]

Simulation:
At this point, the prompt becomes "[ ]" to indicate that the user is already in the system view. Executing
quit or return commands can switch from system view to user view.

Note:The quit command is used to enable users to retreat from the current view to the previous
view. Executing the quit command in user view terminates your connection to the device. The
return command is used to return directly from the current view (non-user view) back to the user
view. The combination key < Ctrl + Z > has the same effect as the return command.

[HUAWEI]quit
<HUAWEI>

Simulation:

To display all commands available in a view, enter a question mark (?) at the view prompt.

Explanation:

View is an important concept of HUAWEI network device operating system. The following commands have
their corresponding view mode. Don't ignore it.

Note: The different view modes represented by < > and [ ].

(2) Basic use of router commands

Enter a space and a question mark after a command keyword to display all available keywords and
arguments at the position.

Explanation:

When using router commands, by using “?” , you can quickly master commands and parameters;
Command abbreviation allows you to quickly complete the use of commands; Using the Tab key allows
you to quickly get complete commands and parameters.

Simulation:
(3) Change System Name
Use the sysname command to change the system name.

[HUAWEI]sysname Yourname

[Yourname]

Simulation:

For example:
You can see that the system name displayed at this time has changed from the original HUAWEI to
Yourname. Here yourname is a parameter that you can modify at will.

(4) Display current configuration


Use the display current-configuration command to display the current configuration of the system, or
use the shortcut key Ctrl+G to display the current configuration. Due to the use of different device
and modules, the specific content of the operation will also be different.

Simulation:

With the spacebar, you can continue to turn pages, and the Enter key can turn pages, and the
combination key Ctrl+C can be used to end the display.

(5) Display saved configuration

Use the display saved-configuration command to display the saved configuration in FLASH of the current
system.

<Yourname>display saved-configuration

The config file does not exist!

The result shows that the configuration file does not exist, but why is the configuration content displayed
when display current-configuration is used? Because the running configuration is actually stored in RAM
memory, not in the fixed storage device FLASH, the saved configuration file cannot be displayed.
Therefore, configuration files need to be saved correctly before they can be displayed. By saving the file
operation, the configuration file is stored on FLASH, so that the save settings of the current system can be
displayed through this command.

(6) Save current configuration

Use the save command to save the current configurations

<Yourname>save

Choose "Y" during the storage process to determine that the current operating configuration is written
into the device storage medium.

The current configuration will be written to the device. Are you sure? [Y/N]:y

The system prompts you to enter the file name to save the configuration file. Once the file has been saved
successfully, you can use display saved-configuration again to view the saved configuration file.

(7) Delete configuration

When you need to delete the configuration of a command, you can use the undo command to delete one
by one. For example, after the undo sysname command is executed, the device name is restored to
HUAWEI, but it is still possible to modify the user name after reusing sysname.

[shu]sysname Yourname

[Yourname]undo sysname

[HUAWEI]

The undo command is not used to delete the command from the system, but to temporarily delete the
configuration based on the command, and then you can continue to use the command for the
corresponding settings

You might also like