Purpose and Evolution of the Huawei VRP Network OS

Versatile Routing Platform (VRP) is Huawei's unified network operating system powering S5720/S6720 fixed campus switches, S7700/S9700/S12700 modular campus chassis, CloudEngine 12800/CE6850 data center fabric switches, and NetEngine NE40E/NE8000 and CX600 carrier core routers.

From its early monolithic releases (VRP v1–VRP v3), the operating system evolved into the distributed VRP v5 architecture (which strictly separates control, switching, and forwarding planes across MPU/SRU, SFU, and LPU boards) and the next-generation modular micro-kernel architecture VRP v8.

![Huawei VRP v5 vs VRP v8 Architecture](/img/lessons/hwdatacom/vrp-architecture-v5-vs-v8-arch.svg)

Architectural Planes of a VRP Modular Chassis

Regardless of the generation (VRP v5 or VRP v8), on modular chassis (S7700/S12700, CE12800, NE40E) the operating system isolates signaling and packet forwarding into three distinct hardware planes:

  • Control Plane (MPU / SRU / MCU boards): executes routing protocol daemons (OSPF, IS-IS, BGP, MPLS LDP, EVPN), builds the RIB (Routing Information Base), terminates SSH/NETCONF/SNMP management sessions, and arbitrates chassis high availability.
  • Data / Forwarding Plane (LPU line cards): houses high-speed network processors (NP on NE40E, ENP/ASIC chipsets on S12700 and CE12800) programmed with the hardware FIB (Forwarding Information Base) and MAC/ACL/QoS tables downloaded from the MPU. Transit packets are switched at line rate without punting to the MPU CPU.
  • Switch Fabric Plane (SFU fabric cards or fabric integrated on SRU): interconnects all LPU slots across high-speed SerDes links, load-balancing fixed-size cells across all active SFU boards.
FeatureVRP v5 GenerationVRP v8 Generation
Target PlatformsCampus chassis S7700/S9700/S12700 (V200R013), fixed S5720/S6720DC CloudEngine 12800 (V200R005+), carrier NetEngine NE40E (V800R011+)
Configuration Commit ModelImmediate: every command modifies current-configuration in RAM right awayTwo-Stage Commit: edits stage in candidate buffer → applied via commit
system-view Prompt[HUAWEI] or [SW-CORE-1][~HUAWEI] (clean buffer) vs [*HUAWEI] (uncommitted candidate edits pending)
Configuration Rollback (Rollback)Requires rebooting or loading a saved .cfg/.zip fileNative commit-id checkpoints: rollback configuration last <N> or to commit-id
Trial Commit (Trial)Not supportedcommit trial <seconds> with automatic rollback if confirmation is not received
Route Policy LanguageClassic route-policy (node clauses with if-match / apply)Classic route-policy plus object-oriented XPL (route-filter) on NE40E

Verifying VRP Version and Hardware Platform in the CLI

The very first diagnostic command an engineer runs when logging into a Huawei router or switch is display version in user view <HUAWEI>. The output immediately identifies the OS generation (VRP (R) software, Version 5.170 vs Version 8.180), the platform release (V200R013C00, V200R005C10, V800R011C10), system uptime, and installed control/line boards:

Huawei VRP CLI
<SW-S7706> display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (S7700 V200R013C00SPC500)
Copyright (C) 2000-2019 HUAWEI TECH CO., LTD
Quidway S7706 Terabit Routing Switch uptime is 18 weeks, 4 days, 11 hours, 22 minutes

ES0D0G24SA00 1(Master) : uptime is 18 weeks, 4 days, 11 hours, 20 minutes
  SDRAM Memory Size    : 2048 M bytes
  Flash Memory Size    : 512 M bytes
  MPU version information :
  1. PCB      Version  : ES0D0SRUA000 VER.B
  2.BootROM  Version  : 0219

Compare that output against a NetEngine NE40E-M2 carrier router and a CloudEngine 12800 data center switch running VRP v8:

Huawei VRP CLI
<PE1-NE40E> display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 8.180 (NE40E V800R011C10SPC100)
Copyright (C) 2012-2020 Huawei Technologies Co., Ltd.
HUAWEI NE40E-M2K-B uptime is 42 days, 6 hours, 15 minutes
Patch Version: V800R011SPH015

[~CE12800-SPINE1] display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 8.150 (CE12800 V200R005C10SPC800)
Copyright (C) 2012-2019 Huawei Technologies Co., Ltd.
HUAWEI CE12808 uptime is 105 days, 19 hours, 04 minutes

CLI Behavior Comparison: VRP v5 vs VRP v8

On VRP v5 switches (S7700, S9700, S12700), entering system view with system-view changes the prompt from <HUAWEI> to [HUAWEI]. Every configuration command entered (for instance, changing sysname or issuing shutdown on a port) takes effect immediately in RAM (current-configuration). To persist changes across a reboot into Flash (vrpcfg.zip), you execute save in user view.

On VRP v8 platforms (CE12800 and NE40E), the CLI operates in two-stage transactional mode (Two-Stage Mode) by default:

  1. Upon entering system-view, the prompt displays [~HUAWEI] — the tilde ~ indicates that the Candidate Configuration buffer matches the active Running Configuration.
  2. As soon as you enter any configuration command, the prompt changes to [*HUAWEI] — the asterisk * warns that uncommitted changes exist in the candidate buffer while the live production network remains untouched.
  3. You inspect staged edits with display configuration candidate and activate them atomically with commit (returning the prompt to [~Hostname]). If a mistake was made before committing, clear configuration candidate discards the staged buffer cleanly.
Huawei VRP CLI
<HUAWEI> system-view
Enter system view, return user view with return command.
[~HUAWEI] sysname PE1-CORE
[*HUAWEI] interface LoopBack0
[*HUAWEI-LoopBack0] ip address 10.255.0.1 255.255.255.255
[*HUAWEI-LoopBack0] display configuration candidate
#
sysname PE1-CORE
#
interface LoopBack0
 ip address 10.255.0.1 255.255.255.255
#
[*HUAWEI-LoopBack0] commit
[~PE1-CORE-LoopBack0] return
<PE1-CORE> save
Warning: The current configuration will be written to the device. Continue? [Y/N]: y

💡 Architectural Verdict: The two-stage commit model in VRP v8 on CE12800 and NE40E prevents partial policy application outages (such as binding an empty ACL to an interface before its permit rules are entered). On S7700/S12700 campus switches (VRP v5), where commands take effect immediately, always define all ACL rules and profile parameters first and bind them to interfaces as the final step.