Tuesday , April 16 2024
Home / Tag Archives: Huawei VRP (page 2)

Tag Archives: Huawei VRP

screen length of terminal

24 – the default number of lines on one screen

<NE40E> display current-configuration
#
 sysname NE40E
#
 super password level 1 simple huawei1
 super password level 3 simple huawei
 super password level 15 simple labnario
#
 FTP server enable
 FTP acl 2000
#
 info-center source BFD channel 1 log level informational
 info-center loghost source GigabitEthernet0/0/0
 info-center loghost 172.16.20.90 facility local4
#
 vlan batch 31 to 32 98 100
#
 hotkey CTRL_U "display ip interface brief"
#
 undo cluster enable
#
snmp-agent trap type base-trap
#
 load-balance ip-enhance all
  ---- More ----

Read More »

from Huawei CLI – display this

display this

Very useful and very often used command on Huawei’s devices. You can use it in any view. Any time you configure something, you can use it to check what you have configured. If you set parameters, that are the same with the default ones, these parameters will not be displayed. Anyway “display current-configuration” does not also show the default parameters.

Example 1 (interface view):

[NE-GigabitEthernet1/0/1]display this
#
interface GigabitEthernet1/0/1
 description test
 undo shutdown
 ip address 10.1.1.1 255.255.255.252
 isis enable 1
 isis circuit-type p2p
 isis circuit-level level-2
 isis cost 100
 isis bfd enable
 mpls
 mpls te
 mpls rsvp-te
 mpls rsvp-te hello
#
return

Read More »

file system of Huawei NE40E

How to manage storage devices, directories and files on Huawei’s equipment?

I will try to introduce the file system based on NE40E routers.

NE40E, as most of carrier class Huawei’s devices, has two MPU boards. Each board is equipped with two CFcards. The first CFcard, inside the board, is used for storing software and configuration’s files. The second one, at the front panel of the board, stores log files. Some of Huawei’s devices use flash memory to store all necessary files.

The file system manages files and directories in the storage device by creating, deleting, modifying, renaming files or directories and displaying contents of the files.

Let’s do an example:

  1. Create labnario and huawei directories in CFcard.
  2. Copy log.log file from CFcard2 to labnario directory.
  3. Display this file.
  4. Rename this file with old_log.log.
  5. Compress it.
  6. Move old_log.log.zip file to huawei directory of the same CFcard.
  7. Delete this file from huawei directory.
  8. Restore the deleted file.
  9. Delete this file permanently.
  10. Delete huawei directory.

Read More »

from Huawei CLI – reset saved-configuration

reset saved-configuration

If you need to reconfigure a Huawei device and do not want to delete its configuration line by line, it is the fastest way to restore the device to the default configuration. Reset saved-configuration command does not delete the existing configuration file in storage device. It is required to restart the device to activate changes. Before reboot, the device compares the configuration file to be loaded at the next startup and existing file to be deleted. Finally the device:

  • loads the default configuration if both files are the same
  • deletes the configuration file in use if they are different
  • displays a message indicating that the configuration file does not exist if the configuration file to be deleted does not exist
<labnario> reset saved-configuration
The action will delete the saved configuration in the device.
The configuration will be erased to reconfigure. Continue? [Y/N]: y

Which configuration file is set as the “next startup saved-configuration file” you can check by the following command:

Read More »

Huawei interface backup configuration

There are two interface backup modes:

  1. Active/standby
  2. Load balancing

In common active/standby mode only one interface transmit services at any time. When active interface works properly, it transmit all the traffic. In case of fault of the primary interface, a backup interface with the highest priority starts transmitting packets. If primary interface recovers, traffic is switched back to active interface.

In load balancing mode, in case traffic volume exceeds an upper threshold set for active interface, a backup interface with the highest priority starts transmitting packets and load balancing is performed.

Which mode we have is determined by upper and lower thresholds. If thresholds are not set, active/standby mode is used. Otherwise, load balancing mode is used.

Let’s assume that we have the following topology:

Read More »