H12-831 Sample Questions & Answers
IPv6 addressing, routing, and transition technologies carry the biggest weight, alongside deeper OSPF and IS-IS, controlling BGP through route reflectors and confederations, advanced VLAN and spanning-tree features, MPLS L3VPN, operations, troubleshooting, and cutover.
Launch the full H12-831 simulator →Showing 10 of 20 free samples.
- Question 1Intermediate
Advanced IGP Features · IS-IS Overload Bit
In an IS-IS network, what is the primary purpose of the Overload bit (OL bit) in the LSP?
Show answer & explanation
Correct answer: C
The Overload bit is a mechanism used by an IS-IS router to signal to its neighbors that it is under stress (e.g., low memory, high CPU, or during a graceful restart) and should not be used for forwarding transit traffic. When other routers see the OL bit set in an LSP, they will still include the router's directly connected prefixes in their SPF calculations, but they will not calculate paths through the overloaded router to reach other destinations. This gracefully removes the router from the transit path without causing a full network reconvergence.
- Question 2Advanced
Advanced Ethernet Technologies · Selective QinQ
A service provider uses Selective QinQ to differentiate traffic from two customers, A and B, who are connected to the same switch port, GE0/0/1. Both customers send traffic tagged with VLAN 10 and VLAN 20. The service provider wants to map Customer A's traffic (VLAN 10 and 20) to S-VLAN 100 and Customer B's traffic (VLAN 10 and 20) to S-VLAN 200. Which configuration concept on the Huawei switch achieves this?
Show answer & explanation
Correct answer: D
Standard QinQ maps all C-VLANs on a port to a single S-VLAN. To achieve Selective QinQ where different customers on the same port are mapped to different S-VLANs, a more granular method is needed. Since both customers use the same C-VLANs, matching on VLAN ID is insufficient. The typical method is to use a traffic policy that classifies traffic based on the source MAC address of the customer's equipment. An ACL can match the source MAC, and the associated traffic behavior can then remark the packet with the appropriate S-VLAN tag (100 for Customer A, 200 for Customer B).
- Question 3Beginner
Network Troubleshooting · BGP State Machine
When troubleshooting a BGP peering session, a network engineer issues the
display bgp peercommand and observes the peer state is 'Connect'. What does this state indicate about the peering process?Show answer & explanation
Correct answer: B
The BGP state machine progresses through several states. The 'Connect' state specifically means that the local BGP process has initiated a TCP connection (sent a SYN packet) to its peer on port 179 and is now waiting for the peer to complete the TCP three-way handshake (by responding with a SYN-ACK). If the session remains in this state for an extended period, it typically indicates a lower-level connectivity issue, such as a firewall blocking TCP port 179, an incorrect peer IP address, or a routing problem preventing the SYN packet from reaching the peer.
stateDiagram-v2 Idle --> Connect: Start Connect --> OpenSent: TCP Connected Connect --> Active: TCP Failed Active --> Connect: Retry OpenSent --> OpenConfirm: OPEN Rcvd OpenConfirm --> Established: KEEPALIVE Rcvd - Question 4IntermediateSelect 3
Network Cutover · Rollback Planning
A network engineer is planning a network cutover to replace an old core router with a new, more powerful Huawei router. The plan must include a detailed rollback procedure. Which of the following are essential components of a robust rollback plan for this hardware migration? (Select THREE)
Show answer & explanation
Correct answers: A, B, D
A robust rollback plan is critical for any network change. It must include: 1) A saved, known-good configuration of the old device to restore its state. 2) A clear, step-by-step physical and logical plan to revert the change, including cabling and configuration steps. 3) Pre-defined, objective criteria (e.g., 'if critical application X is unreachable for more than 5 minutes', 'if BGP peerings do not establish within 10 minutes') that clearly define when to abandon the cutover and execute the rollback. A list of new features is part of the implementation plan, not the rollback plan.
- Question 5Beginner
MPLS Technologies · LDP Transport Address
A consultant is designing an MPLS network and needs to configure LDP (Label Distribution Protocol) sessions between routers. Which IP address is used by default for the transport address of the LDP session on Huawei routers?
Show answer & explanation
Correct answer: C
LDP establishes a TCP session between neighbors to exchange labels. The source IP address for this session is called the transport address. On Huawei devices, the transport address is determined by the MPLS LSR-ID. If the LSR-ID is explicitly configured, that IP address is used. If not, the router automatically selects an IP address to be the LSR-ID (typically the highest IP address of a loopback interface) and uses that as the transport address. Using a stable loopback address as the LSR-ID is a best practice.
- Question 6Intermediate
Advanced IGP Features · BFD for OSPF on Broadcast Networks
True or False: When configuring BFD for OSPF on a broadcast network, a separate BFD session must be established between the DR, the BDR, and every DROther router on the segment.
Show answer & explanation
Correct answer: B
This statement is false. On a broadcast network, OSPF routers only form full adjacencies with the Designated Router (DR) and Backup Designated Router (BDR). To optimize BFD session usage, BFD sessions are only established between each router and the DR/BDR. DROther routers do not establish BFD sessions with each other. If the DR fails, the BDR detects this via its BFD session, takes over as DR, and then the other routers will establish BFD sessions with the new DR.
- Question 7Intermediate
Advanced Ethernet Technologies · VXLAN Technology
An e-commerce company, ShopFast, is expanding its data center fabric. The current architecture uses traditional VLANs for tenant segmentation, but they are approaching the 4094 VLAN limit and require a more scalable solution. The new design must support over 100,000 isolated tenant networks and extend Layer 2 segments across Layer 3 boundaries between different pods in the data center.
The network team has decided to implement an overlay network technology. The underlying physical network (the underlay) is a robust Layer 3 fabric running OSPF. The team needs to choose an overlay protocol that can meet the scalability requirements and encapsulate Layer 2 frames within UDP packets for transport across the Layer 3 underlay.
Which technology is the most appropriate solution for ShopFast's new data center fabric?
Show answer & explanation
Correct answer: C
VXLAN is the industry-standard solution for this scenario. It addresses the scalability limitation of VLANs by using a 24-bit VXLAN Network Identifier (VNI), which supports up to 16 million logical segments. It encapsulates Layer 2 Ethernet frames inside Layer 3 UDP packets, allowing Layer 2 adjacency to be extended across any IP network (the Layer 3 underlay). Using BGP EVPN as the control plane provides a scalable and standardized way to distribute VTEP information and MAC addresses, avoiding the need for inefficient flood-and-learn mechanisms.
graph TD subgraph Overlay_Network [VXLAN Segments] VNI_10001((Tenant A)) VNI_10002((Tenant B)) end subgraph Underlay_Network [L3 IP Fabric - OSPF] VTEP1[Leaf 1 VTEP] VTEP2[Leaf 2 VTEP] Spine1[Spine] end VNI_10001 --- |L2 Frame| VTEP1 VTEP1 -- Encapsulated in UDP/IP --> Spine1 Spine1 -- Routed based on IP --> VTEP2 VTEP2 -- Decapsulated --> VNI_10001 - Question 8Intermediate
Advanced BGP Features · BGP Path Selection
A router running MP-BGP for MPLS L3VPN services has received multiple paths for the same VPNv4 prefix. Assuming all other attributes like Local Preference, AS_PATH length, and Origin type are identical, and both paths are IBGP-learned, which factor will BGP use next to determine the best path?
Show answer & explanation
Correct answer: A
After comparing Local Preference, AS_PATH, and Origin type, the BGP best path selection algorithm considers the MED attribute. A lower MED value is preferred. This attribute is typically used to influence how a neighboring AS sends traffic to your AS across multiple entry points.
- Question 9IntermediateSelect 2
IPv6 Routing · OSPFv3 vs OSPFv2
Which of the following statements accurately describe characteristics of OSPFv3 compared to OSPFv2? (Select TWO)
Show answer & explanation
Correct answers: A, B
OSPFv3 introduces several key changes. It runs directly over IPv6 and uses link-local addresses (FE80::/10) as the source and destination for its hello packets and other control plane traffic. Authentication information was removed from the OSPFv3 packet header itself; instead, OSPFv3 leverages the native security capabilities of IPv6, specifically the Authentication Header (AH) and Encapsulating Security Payload (ESP) extension headers, to provide authentication and encryption.
- Question 10Beginner
Network O&M · NetStream Configuration
A network administrator needs to monitor traffic volume from specific high-traffic servers to aid in capacity planning. The administrator wants to configure the switch to sample packets and send traffic flow statistics to a central collector. Which Huawei feature should be configured on the switch interfaces connected to the servers?
Show answer & explanation
Correct answer: B
NetStream is Huawei's traffic analysis technology, similar to Cisco's NetFlow or the open standard sFlow. It is designed specifically for collecting and analyzing detailed traffic flow information. By configuring NetStream on an interface, the device will sample packets, create flow records (containing source/destination IP, ports, protocol, etc.), and export these records to a NetStream collector for analysis, reporting, and capacity planning.
Ready for the real thing?
The full H12-831 simulator has every exam-style question, timed mode, and instant scoring.