To start working with Huawei devices, it is necessary to look at CLI (Command Line Interface). All Huawei datacom devices use the same OS called VRP (Versatile Routing Platform). As an example we can take NE40E router with V600R001C00SPC900 software installed. When you establish connection with the router, it does not matter it is telnet, ssh or console, you enter the user view with the prompt of <Quidway>. The prompt < > indicates user view and the prompt [ ] indicates other views. To start configuring the router you should move from user view to system view. You can do this by using “system-view” command.
<Quidway> system-view [Quidway]
From system view you are able to configure all functions available in VRP software. Let’s assume that you want to configure MPLS, both globally and on Ethernet interface.
[Quidway] [Quidway]mpls [Quidway-mpls]quit [Quidway]interface GigabitEthernet 1/0/5 [Quidway-GigabitEthernet1/0/5]mpls
Besides command line views the system adopts a hierarchical protection mode that has 16 command levels. The default command levels are as follows:
- Level 0 – visit
- Level 1 – monitoring
- Level 2 – configuration
- Level 3 – management