Study guide

VRP CLI Views and Core Commands

Huawei Certified ICT Associate - Datacom HCIA-Datacom H12-811 V1.0

Track your progress as you read

Finished sections get a check mark.

1 Introduction

About HCIA-Datacom H12-811 V1.0 Study Strategies and Exam Logistics

2 Chapter 1: Network Models and Ethernet Fundamentals

OSI and TCP/IP Models Ethernet Technology and MAC Addressing Data Forwarding and Campus Network Lifecycle

3 Chapter 2: IPv4 Addressing and Transport Protocols

IPv4 Addressing and Subnetting ARP and ICMP TCP and UDP Principles Common Ports and Application Protocols

4 Chapter 3: Huawei VRP Basics and Device Management

VRP CLI Views and Core Commands Configuration Save, Reset, and File System SSH, Telnet, and Console Access Display Commands and Basic Troubleshooting

5 Chapter 4: Ethernet Switching and VLANs

Switch Forwarding and MAC Address Tables VLAN Concepts and Segmentation Access, Trunk, and Hybrid Link Types VLANIF and Inter-VLAN Routing

6 Chapter 5: STP, RSTP/MSTP, and Link Aggregation

STP Concepts and Election RSTP and MSTP Eth-Trunk Static and LACP Stacking Basics for Campus Switches

7 Chapter 6: IP Routing Fundamentals

RIB, FIB, and Forwarding Decisions Static and Default Routes on VRP Route Preference and Longest Match Floating Static Routes and Blackhole Routes

8 Chapter 7: OSPF Fundamentals

OSPF Areas and Router Types Neighbor States and Adjacency LSA Types and LSDB DR/BDR Election and VRP OSPF Configuration

9 Chapter 8: ACLs and AAA

Basic and Advanced ACLs traffic-filter Application and Matching Order AAA with Local, RADIUS, and HWTACACS

10 Chapter 9: DHCP, NAT, and Network Services

DHCP Server, Relay, and Snooping NAT, Easy IP, and NAT Server FTP, TFTP, DNS, NTP, HTTP Basics

11 Chapter 10: WLAN Basics

WLAN Architecture: AC, AP, and Fit Mode CAPWAP Tunnels and Forwarding Modes WPA2, WPA3, and WLAN Security Basics Basic WLAN Configuration Concepts

12 Chapter 11: WAN Basics

WAN Concepts and Encapsulation PPP Authentication: PAP and CHAP PPPoE Basics and Client Configuration

13 Chapter 12: IPv6 Fundamentals

IPv6 Address Types and Format Neighbor Discovery and ICMPv6 Stateful and Stateless DHCPv6 IPv6 Static Routes on VRP

14 Chapter 13: SDN and NFV Fundamentals

SDN and NFV Fundamentals

15 Chapter 14: Network Management and O&M

Network Management, O&M, and Automation Basics

VRP CLI Views and Core Commands

Key Takeaways Explain This Topic AI

Huawei VRP uses hierarchical CLI views: user-view (<Huawei>), system-view ([Huawei]), interface-view, and protocol or feature views such as VLAN-view.

Enter configuration with system-view; leave one level with quit; jump all the way to user-view with return or Ctrl+Z.

Use ? for context-sensitive help and Tab for command completion; incomplete keywords that are unique still work.

Negate a configuration with the undo keyword placed before the original command—not Cisco-style no.

Most interface, VLAN, routing, and AAA commands only work in the correct view; wrong-view errors are a common H12-811 trap.

Last updated: July 2026

Why VRP Views Matter on H12-811

Huawei devices run VRP (Versatile Routing Platform). Whether you face an S-series campus switch or an AR-series router, the CLI language is VRP. HCIA-Datacom expects you to recognize which view a command belongs to, how to move between views, and how to reverse configuration with undo . Candidates who learned Cisco IOS often fail items that look familiar but differ in prompt style and negation syntax.

Think of VRP as a tree of contexts . You always start at the root (user-view). Configuration branches open only after you enter system-view . From system-view you open more specific leaves—an Ethernet interface, a VLAN, OSPF process, AAA scheme, and so on. Commands typed in the wrong leaf are rejected or, worse, never apply where you intended.

  • User-View: Monitoring and Non-Disruptive Tasks
  • After login the default context is user-view . The prompt uses angle brackets : <Huawei>

Huawei is the default device name; after sysname it becomes your custom hostname, for example <SW1> .

In user-view you mainly:

  • Run display commands to inspect state
  • Run connectivity tools such as ping and tracert
  • Save or reset configuration files (covered in the next section)
  • Reboot the device when authorized

You cannot assign an IP address, create a VLAN, or enable OSPF from user-view. If a practice item shows a prompt with angle brackets and then an interface or vlan command, the engineer is already in the wrong place.

  • System-View: The Configuration Root
  • Enter system-view with: <Huawei> system-view
  • [Huawei]

The prompt switches to square brackets . Almost every lasting configuration change starts here. Global commands that live in system-view include:

  • Task Example command (system-view)
  • Rename the device sysname SW1
  • Create VLAN vlan 10
  • Enter an interface interface GigabitEthernet0/0/1
  • Start OSPF process ospf 1
  • Configure AAA aaa
  • Enable SSH server features stelnet server enable (plus related steps)

Partial command names work when unique: sys often expands to system-view on many VRP releases. Exam wording usually shows the full keyword so you recognize the official form.

  • Interface-View and Other Feature Views
  • From system-view, open an interface: [Huawei] interface GigabitEthernet0/0/1
  • [Huawei-GigabitEthernet0/0/1]

The prompt appends the interface name so you always know the active context. Interface-view commands include ip address , port link-type , port default vlan , shutdown / undo shutdown , and description text.

  • VLAN configuration uses a similar pattern: [Huawei] vlan 20
  • [Huawei-vlan20]

Inside VLAN-view you can set a description or other VLAN attributes depending on the platform. Creating the VLAN itself is often done with vlan 20 from system-view; batch creation may use vlan batch 10 20 30 on switches that support it.

Other common leaves you will see later in the guide:

  • View (prompt suffix example) Entered with Typical purpose
  • Interface interface GE0/0/1 Layer 2/3 interface settings
  • VLAN vlan 10 VLAN attributes
  • VLANIF interface Vlanif10 SVI / inter-VLAN gateway IP
  • OSPF ospf 1 Process-level OSPF
  • OSPF area area 0 (under OSPF) Area networks and stubs
  • AAA aaa Local users, schemes
  • ACL acl 2000 / acl name ... Access control entries

You do not need every feature view memorized for this chapter, but you must internalize the pattern : system-view → feature → optional sub-view, with the prompt always reflecting depth.

Navigation: quit, return, and Ctrl+Z

VRP gives three navigation tools with different depth:

  • Action Command / key Result
  • Leave one level quit Parent view only
  • Jump to user-view return From any depth back to <Huawei>
  • Jump to user-view Ctrl+Z Same effect as return
  • Example path: <Huawei> system-view
  • [Huawei] interface GigabitEthernet0/0/1
  • [Huawei-GigabitEthernet0/0/1] quit
  • [Huawei] quit
  • <Huawei>

Or, from deep interface-view, a single return or Ctrl+Z lands in user-view without stepping through every parent. Exam traps often ask what quit does versus return . quit is one step; return / Ctrl+Z is all the way home.

Typing system-view again from user-view re-enters configuration. There is no separate “enable” password mode like classic Cisco privilege escalation on every platform—privilege and authentication are modeled with user levels and AAA (covered in remote management).

Command Help and Completion

Two daily skills cut lab time and prevent syntax mistakes:

Question mark ( ? ) — context-sensitive help:

  • Alone at a prompt lists available keywords for that view
  • After a partial keyword lists completions ( dis? → display )
  • After a full command lists next parameters ( display ip ? )

Tab completion — press Tab after a unique prefix to expand the keyword. Ambiguous prefixes print matching options instead of expanding.

Abbreviated commands work when unambiguous: dis ip int b is commonly accepted as display ip interface brief on VRP. On the exam, prefer recognizing the full form in questions; in labs, abbreviations speed practice.

The undo Keyword (Not no )

Cisco IOS uses no to reverse many settings. VRP uses undo as a prefix.

  • Intent VRP pattern
  • Remove an IP address undo ip address
  • Bring an interface up after shutdown undo shutdown
  • Delete a description undo description
  • Remove a static route undo ip route-static ... (match original)
  • Disable a feature undo + the enable/feature command
  • Examples: [Huawei-GigabitEthernet0/0/1] shutdown
  • [Huawei-GigabitEthernet0/0/1] undo shutdown
  • [Huawei-GigabitEthernet0/0/1] ip address 192.0.2.1 24
  • [Huawei-GigabitEthernet0/0/1] undo ip address

Important exam nuances:

undo is not a synonym for deleting a file or wiping NVRAM. File deletion and reset saved-configuration are separate operations.

undo must be typed in the same view where the original command applies.

Some removals require repeating arguments so VRP knows which object to remove (especially routes, ACL rules, and static mappings).

If a question offers both no shutdown and undo shutdown , only undo shutdown is correct Huawei syntax.

Privilege Levels (Overview)

VRP local users can be assigned levels 0–15 . Higher levels unlock more commands. Typical study association:

  • Level band Capability (conceptual)
  • 0–1 Visit / monitoring-style access
  • 2–9 Partial configuration depending on policy
  • 10–15 Management; 15 is full control

Exact command maps can be customized, but HCIA items usually treat level 15 as super-user style access for local AAA users used by console, Telnet, or SSH. You will configure levels when building local users in the remote-management section.

  • Hostname and First-Login Hygiene
  • After entering system-view, set a meaningful name early: [Huawei] sysname Core-SW1
  • [Core-SW1]

The prompt updates immediately. Good lab hygiene also includes setting a timezone/clock when required by the platform and confirming software version with display version before major changes—both reinforce that you are on the expected image.

Exam Traps for CLI Views

Wrong prompt for the task — interface IP only in interface-view; VLAN creation from system-view; display often from user-view (though many display commands also work in system-view).

quit vs return — one level versus all the way to user-view.

undo vs no vs delete — only undo negates configuration lines; delete targets files; reset targets saved configuration or statistics in specific commands.

Assuming Cisco privilege enable — VRP flow is login → user-view → system-view .

Forgetting the prompt symbols — < > user-view, [ ] configuration views.

Practical Drill Sequence

Memorize this muscle-memory sequence for any new device lab:

Login → confirm <hostname> user-view.

system-view → confirm [hostname] .

sysname if needed.

interface ... → configure → quit back to system-view.

return or Ctrl+Z → user-view.

display to verify; save when the design is correct (next section).

What “Done” Looks Like for This Section

You should be able to look at any VRP prompt and answer: Am I allowed to change configuration here? How do I go up one level? How do I return to monitoring? How do I reverse the last setting without reloading? Those four questions underpin VLAN, routing, ACL, and WLAN labs throughout HCIA-Datacom.