H12-811 Sample Questions

H12-811 Sample Questions & Answers

Building Ethernet switching networks with STP, RSTP, and VLANs carries the biggest weight, alongside OSI and TCP/IP basics, IPv4 addressing and static or OSPF routing, ACLs, AAA, and NAT, DHCP, DNS, and Telnet services, WLAN and WAN basics, and IPv6.

Launch the full H12-811 simulator →

Free H12-811 Sample Questions with Answers

Real questions from the Hcia-Datacom V1.0 practice test — answers and explanations included. Showing 10 of 20 free samples.

  1. Question 1Beginner

    IPv6 basics · IPv6 basics (address format, packet format, and address classification)

    Which of the following IPv6 address types is used exclusively for communication within a single local network segment and is not routable?

    Show answer & explanation

    Correct answer: C

    A Link-Local Address is an IPv6 unicast address that is automatically configured on every IPv6-enabled interface. These addresses are restricted to a single link (network segment) and are not forwarded by routers. They typically begin with the prefix FE80::/10 and are used for functions like the Neighbor Discovery Protocol (NDP) and communication between devices on the same local link.

  2. Question 2Intermediate

    Ethernet switching network construction · STP, RSTP, and VLAN Principles and Implementation in the VRP

    A network administrator is troubleshooting an RSTP-enabled network and notices that a port connected to an end-user's PC is taking 30 seconds to transition to the forwarding state after being connected, causing delays for the user. What RSTP feature should be configured on this port to allow for an immediate transition to the forwarding state?

    Show answer & explanation

    Correct answer: C

    RSTP introduces the concept of an edge port, which is a port that connects directly to an end station (like a PC or server) and not to another switch. By configuring a port as an edge port, the administrator tells the switch not to expect BPDUs on that port. This allows the port to bypass the listening and learning states and transition immediately to the forwarding state, eliminating the 30-second delay associated with standard STP convergence. This feature is functionally similar to PortFast in other vendor implementations.

  3. Question 3Intermediate

    Cyber security infrastructure and network access · NAT Application Scenarios and Configuration Methods

    A small business with a single public IPv4 address wants to provide Internet access to 50 employees on its internal private network (192.168.1.0/24). Which type of NAT configuration on their Huawei egress router would be the most suitable and efficient solution?

    Show answer & explanation

    Correct answer: C

    Port Address Translation (PAT), also known as Network Address Port Translation (NAPT) or NAT Overload, is the ideal solution. It allows multiple devices on a private network to be mapped to a single public IP address by using different source port numbers to distinguish between connections. This is the most common form of NAT for home and small business networks, as it conserves public IPv4 addresses. In Huawei's VRP, this is often configured using the 'Easy IP' feature on the outbound interface.

  4. Question 4Beginner

    Network services and applications · Basic Principles of Telnet, FTP, TFTP, DHCP, DNS, NTP, and HTTP

    During the DHCP DORA process, which message is broadcasted by the client to locate a DHCP server?

    Show answer & explanation

    Correct answer: C

    The DHCP process is known as DORA: Discover, Offer, Request, Acknowledge. The process begins when a client without an IP address boots up and sends a DHCP Discover message. This message is a broadcast sent to the destination MAC address FF:FF:FF:FF:FF:FF and destination IP address 255.255.255.255 to find any available DHCP servers on the local network segment.

  5. Question 5Advanced

    Ethernet switching network construction · STP, RSTP, and VLAN Principles and Implementation in the VRP

    A network architect is designing a redundant Layer 2 network using three switches as shown in the diagram. All switches are running RSTP with default priorities. Which switch will be elected as the root bridge, and what will be the state of the port on SW3 connected to SW2?

    graph LR SW1[SW1 MAC: 00-00-0C-AA-AA-AA] -- G0/0/1 --- SW2[SW2 MAC: 00-00-0C-BB-BB-BB] SW2 -- G0/0/2 --- SW3[SW3 MAC: 00-00-0C-CC-CC-CC] SW3 -- G0/0/1 --- SW1
    Show answer & explanation

    Correct answer: B

    With default priorities, the switch with the lowest MAC address becomes the root bridge. In this case, SW1 (MAC ending in AA-AA-AA) has the lowest MAC and will be elected root. All ports on the root bridge are designated ports. For SW3, the path to the root via SW1 (direct link) is the lowest cost path, making its G0/0/1 port the Root Port. The path to the root via SW2 is a longer path. Therefore, the port on SW3 connected to SW2 (G0/0/2) becomes an Alternate port, which is an RSTP state for a port that provides a redundant path to the root bridge and is ready to take over if the Root Port fails. 'Blocking' is a state in classic STP, not the primary non-forwarding state in RSTP.

  6. Question 6Intermediate

    Ethernet switching network construction · Basic principles and configuration of technologies such as link aggregation and stacking

    What is the primary function of the Link Aggregation Control Protocol (LACP) when used with an Eth-Trunk interface on a Huawei switch?

    Show answer & explanation

    Correct answer: B

    LACP (IEEE 802.3ad) is a dynamic protocol used to bundle multiple physical links into a single logical link (Eth-Trunk). Its primary function is to automate the negotiation and maintenance of this bundle. It exchanges LACPDU packets to verify that links are connected to the correct partner device and have compatible settings (speed, duplex) before adding them to the aggregate group. It also detects link failures and automatically removes failed links from the bundle, ensuring high availability.

  7. Question 7Intermediate

    Build an IP network with interconnection and interworking · Basics of IP Routing and Forwarding Principles of Layer 3 Devices

    A router has the following two routes in its routing table:

    1. 192.168.32.0/20 [Static]/60
    2. 192.168.40.0/24 [OSPF]/10

    If a packet arrives with a destination IP address of 192.168.40.5, which route will be used to forward the packet and why?

    Show answer & explanation

    Correct answer: C

    The primary rule for route selection is the 'longest prefix match'. The router will always prefer the most specific route. The destination IP 192.168.40.5 matches both routes:

    • 192.168.32.0/20 covers the range 192.168.32.0 to 192.168.47.255.
    • 192.168.40.0/24 covers the range 192.168.40.0 to 192.168.40.255.
      Since /24 is a longer (more specific) prefix than /20, the OSPF route will be chosen regardless of the administrative preference (also called administrative distance). Preference is only considered when two routes to the same destination have the same prefix length.
  8. Question 8Intermediate

    IPv6 basics · IPv6 Static Route Configuration

    An engineer needs to configure an IPv6 static route on a Huawei router to reach the network 2001:db8:acad::/48 via the next-hop address 2001:db8:12::2. What is the correct VRP command to accomplish this?

    Show answer & explanation

    Correct answer: C

    The correct command syntax in Huawei's VRP for configuring an IPv6 static route is ipv6 route-static [destination-address] [prefix-length] [next-hop-address]. The command ipv6 route-static 2001:db8:acad:: 48 2001:db8:12::2 correctly specifies the destination network, its prefix length, and the next-hop IPv6 address. The other options use incorrect command keywords or syntax.

  9. Question 9IntermediateSelect 2

    Build an IP network with interconnection and interworking · OSPF Protocol Basics

    Which of the following are valid reasons for a Huawei OSPF router to establish a full adjacency with a neighbor on a broadcast network? (Select TWO)

    Show answer & explanation

    Correct answers: A, C

  10. Question 10Beginner

    WAN basics · PPP and PPPoE Configuration

    Which data link layer protocol is commonly used to provide authentication and logical link setup over serial and broadband connections, supporting protocols like PAP and CHAP?

    Show answer & explanation

    Correct answer: C

    The Point-to-Point Protocol (PPP) is a data link layer protocol used to establish a direct connection between two nodes. It is widely used for WAN connections, including serial links and broadband services (as part of PPPoE). A key feature of PPP is its extensibility, which includes the Link Control Protocol (LCP) for link setup and Network Control Protocols (NCPs) for configuring different network layer protocols. PPP also provides built-in authentication mechanisms, most notably PAP (Password Authentication Protocol) and CHAP (Challenge-Handshake Authentication Protocol).

Ready for the real thing?

The full H12-811 simulator has every exam-style question, timed mode, and instant scoring.