Huawei HCIA-Datacom Practice Test

Huawei Certified ICT Associate – Datacom (HCIA-Datacom)

Huawei HCIA-Datacom overview

  • 200 practice questions
  • 32 flashcards
  • 8 study guide topics
  • 40 key terms

What you'll study

  • Data Communication and Network Fundamentals15%
  • IP Addressing and Routing Fundamentals (static routing, OSPF basics)20%
  • Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)20%
  • Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)15%
  • WAN Technologies (PPP, HDLC, WAN access)8%
  • Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)10%
  • IPv6 Fundamentals6%
  • SDN, VXLAN and Network Automation Basics (Python, RESTful, NETCONF)6%

The Huawei Certified ICT Associate – Datacom (HCIA-Datacom, exam code H12-811) is Huawei's entry-level certification for data communication networking. It is aimed at candidates starting a career in network engineering or administration - network operations staff, pre-sales and field engineers, students in networking programmes, and IT generalists who need to work confidently with Huawei routers and switches - and it serves as the prerequisite foundation for the higher HCIP-Datacom track. The exam validates breadth rather than deep specialisation. It tests data communication and network fundamentals, IP addressing and routing (static routes plus OSPF basics), Ethernet switching (VLAN, STP/RSTP, link aggregation), network security and services (ACLs, AAA, NAT, DHCP), WAN technologies such as PPP and HDLC, network management and O&M (SNMP, NTP, SSH/Telnet, FTP/TFTP, syslog), IPv6 fundamentals, and introductory SDN, VXLAN and automation concepts including Python, RESTful APIs and NETCONF. Expect mostly multiple-choice and true/false items, many of them scenario-flavoured, with some command-output interpretation. Preparation works best as a staged build: master binary/subnetting arithmetic and the OSI model first, then routing and switching hands-on in a simulator or lab, then services and management. Practise configuration on real topology labs rather than memorising trivia, and review each domain in proportion to its published weighting.

Common mistakes

When asked which route ends up in the routing table, they assume the static route always wins over the OSPF route, and they describe a floating static route (higher preference) as the one that will be preferred.

Static routes feel 'manually configured, therefore trusted', so real-world intuition is applied instead of Huawei's numeric preference table, which candidates rarely memorise as numbers.

What to do instead

Memorise the preference table and apply 'smaller wins': Direct 0, OSPF 10, IS-IS 15, Static 60, RIP 100, OSPF external 150, BGP 255. A floating static is just a static route whose preference is raised above the IGP (e.g. 80) so it sits in the table but is not selected while the IGP route exists.

They assume any untagged frame arriving on a trunk port is dropped, cannot say what the PVID does to a frame, and claim a hybrid port can be a member of only one VLAN.

Access/trunk/hybrid are learned as slogans ('trunk carries many VLANs') without the actual per-frame tagging rule, so questions about native VLAN and PVID break the model.

What to do instead

Write out the ingress/egress flow for each port type: untagged ingress frame is tagged with the port PVID and forwarded only if that VLAN is allowed; tagged ingress frame is dropped unless its VLAN is in the allowed list; default PVID is VLAN 1. Hybrid ports may carry multiple VLANs, some tagged and some untagged.

They answer RSTP questions with 802.1D facts: five port states, Listening and Learning states, 30-second convergence, and no mention of alternate or backup port roles.

STP is studied first and the classic timer list gets memorised as 'the STP answer', then RSTP is skimmed as a faster version of the same thing.

What to do instead

Keep the contrast explicit: RSTP has three states (Discarding, Learning, Forwarding), four roles (Root, Designated, Alternate, Backup), no Listening state, and uses the Proposal/Agreement mechanism plus edge ports for fast convergence; edge ports should be paired with BPDU protection.

They write a wildcard mask by copying the subnet mask (e.g. 192.168.1.0 255.255.255.0 to match a /24) and apply a numbered basic ACL in the 3000 range expecting it to match destination TCP ports.

Huawei wildcard masks look like subnet masks, and the ACL number ranges (2000/3000/4000) are memorised as a list rather than attached to a matching capability.

What to do instead

Wildcard bit 0 means 'must match', 1 means 'don't care', so a /24 range is 0.0.0.255. Basic ACL 2000-2999 matches source only; advanced ACL 3000-3999 matches source/destination/protocol/port; L2 ACL 4000-4999 matches MAC fields. Remember rules are matched top-down, first match wins, so order changes the result and a trailing explicit rule may be needed.

When the requirement is 'let Internet users reach an internal web server', they configure Easy IP, and they never designate the interfaces as nat inside / nat outside.

All NAT variants are reduced to one idea ('translate private to public'), so source translation and destination translation are not separated, and the inside/outside designation is treated as cosmetic.

What to do instead

Map requirement to mechanism: many-to-one using the interface address = Easy IP; many-to-many from a range = NAT address pool with PAT; inbound access to an internal server = NAT Server (static public IP:port to private IP:port). Always add nat inside on the private side, nat outside on the public side, and confirm a return route exists.

They state that HDLC is the default encapsulation on Huawei serial interfaces, and they describe CHAP as a two-message exchange that sends the password across the link in clear text.

Cross-vendor habit (IOS defaults to HDLC, VRP defaults to PPP) plus PAP and CHAP being blurred together because both use a username/password pair.

What to do instead

Huawei serial interfaces default to PPP; HDLC must be set explicitly and is vendor-specific. PPP order is LCP, then PAP/CHAP authentication, then NCP (IPCP) for the network layer. PAP is two messages in plaintext; CHAP is a three-way challenge/response using an MD5 hash so the password never crosses the link.

They rank syslog severity 7 as the most severe, treat SNMP trap and inform as the same message type, and mix up which UDP ports carry requests versus notifications.

Severity names are memorised in text order rather than with their numbers, and trap versus inform differs only by acknowledgement, a detail that is easy to skip during revision.

What to do instead

Syslog: 0 emergency is the most severe and 7 debugging the least. SNMP agent listens on UDP 161, notifications are sent to UDP 162; a trap is unacknowledged while an inform must be acknowledged and is retransmitted. SNMPv2c is still community-based; SNMPv3 adds authentication and encryption.

They describe IPv6 as still using broadcast and ARP, label fe80:: as a globally routable prefix, and treat an address as usable immediately after configuration.

The IPv4 mental model is carried over, and the many IPv6 prefixes and ND message types look alike on paper.

What to do instead

IPv6 has no broadcast, and ARP is replaced by ND (NS/NA/RS/RA). fe80::/10 is link-local (auto-generated, one per interface, never routed); 2000::/3 is global unicast; ff00::/8 is multicast; FC00::/7 is unique local; ::/128 is unspecified and ::1 is loopback. Duplicate Address Detection must complete before an address becomes preferred, and one interface normally holds several IPv6 addresses.

They say the VXLAN VNI is 12 bits like a VLAN ID, and they treat the VTEP as the IP address of the virtual machine, so they cannot describe how an encapsulated frame is delivered.

VXLAN is learned as 'VLAN but bigger', and neither the 24-bit VNI nor the NVE/VTEP abstraction maps to any IPv4 concept already known.

What to do instead

The VNI is 24 bits (about 16 million segments) in the VXLAN header; the original Layer 2 frame is encapsulated in UDP with destination port 4789 between VTEPs, which are identified by the NVE interface address (typically a loopback). The underlay must route between VTEPs, and the control plane can be flood-and-learn or BGP EVPN.

They mix up the automation stack, saying NETCONF runs over SNMP, that RESTful APIs are stateful sessions, or that YANG is itself a protocol.

The acronyms arrive together as a list, and each is memorised as a name without being tied to its transport, data model or operation set.

What to do instead

Attach each name to its transport and role: NETCONF is XML-encoded RPC over SSH (port 830) using YANG data models with datastore operations such as get-config and edit-config; RESTful interfaces are stateless HTTP with verbs GET/PUT/POST/DELETE returning JSON or XML with HTTP status codes; Python is the scripting layer (e.g. requests, netmiko) that drives either of them.

Exam requirements can change. Confirm current details with the exam provider.

Huawei HCIA-Datacom practice

200 questions. Each one lists the choices, the correct answer, and an explanation. With JavaScript, this list opens one question at a time. The checker at the top of this page saves progress in this browser when it is available.

  1. Question 1Data Communication and Network Fundamentals

    Which OSI layer is responsible for logical addressing and path selection between networks?

    1. Network layer Correct answer.
    2. Data link layer
    3. Transport layer
    4. Physical layer

    Explanation

    The network layer handles logical (IP) addressing and determines the best path for packets across interconnected networks. Routers operate primarily at this layer. The data link layer deals with local frame delivery, the transport layer with end-to-end connections, and the physical layer with signal transmission.

  2. Question 2Data Communication and Network Fundamentals

    How many bits long is a MAC address?

    1. 48 bits Correct answer.
    2. 64 bits
    3. 128 bits
    4. 32 bits

    Explanation

    A MAC address is 48 bits, usually written as 12 hexadecimal digits in six groups. The first 24 bits identify the vendor (OUI) and the last 24 bits identify the interface. This length is defined by IEEE 802 standards.

  3. Question 3Data Communication and Network Fundamentals

    What is the protocol data unit (PDU) of the transport layer called?

    1. Segment Correct answer.
    2. Frame
    3. Packet
    4. Bit

    Explanation

    At the transport layer the PDU is called a segment (or datagram for UDP). It becomes a packet at the network layer, a frame at the data link layer, and bits at the physical layer. This naming reflects the encapsulation performed at each layer.

  4. Question 4Data Communication and Network Fundamentals

    Which sequence correctly describes the TCP three-way handshake?

    1. SYN, SYN+ACK, ACK Correct answer.
    2. SYN, ACK, SYN+ACK
    3. SYN+ACK, SYN, ACK
    4. ACK, SYN, SYN+ACK

    Explanation

    The initiator sends a SYN, the responder replies with SYN+ACK acknowledging the first SYN and synchronizing its own sequence number, and the initiator completes with an ACK. After this exchange both sides have synchronized sequence numbers and the connection is established.

  5. Question 5Data Communication and Network Fundamentals

    Which TCP port is used by HTTPS by default?

    1. 53
    2. 443 Correct answer.
    3. 80
    4. 22

    Explanation

    HTTPS uses TCP port 443 by default, encrypting HTTP traffic with TLS. Port 80 is the default for plain HTTP. Port 22 belongs to SSH and port 53 to DNS.

  6. Question 6Data Communication and Network Fundamentals

    Which address is the Ethernet broadcast MAC address?

    1. FF-FF-FF-FF-FF-00
    2. 00-00-00-00-00-00
    3. 01-00-5E-00-00-01
    4. FF-FF-FF-FF-FF-FF Correct answer.

    Explanation

    A broadcast frame uses all 48 bits set to 1, written as FF-FF-FF-FF-FF-FF. Every station on the local broadcast domain accepts such a frame. It is never used as a source address.

  7. Question 7Data Communication and Network Fundamentals

    What is the function of ARP?

    1. Mapping a MAC address to an IPv4 address
    2. Mapping a port number to an application service
    3. Mapping an IPv4 address to a MAC address Correct answer.
    4. Mapping a domain name to an IP address

    Explanation

    ARP resolves a known IPv4 address to the corresponding MAC address on the local link so that frames can be encapsulated with a destination MAC. The result is cached in the ARP table for a period of time. Reverse mapping of MAC to IP is handled by RARP or other mechanisms, not by standard ARP.

  8. Question 8Data Communication and Network Fundamentals

    Which of the following is a private IPv4 address range defined in RFC 1918?

    1. 10.0.0.0/8 Correct answer.
    2. 169.254.0.0/16
    3. 224.0.0.0/4
    4. 192.0.2.0/24

    Explanation

    RFC 1918 defines 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 as private ranges that are not routed on the public Internet. Addresses in these ranges require NAT to reach external networks. The other options serve documentation, link-local, or multicast purposes.

  9. Question 9Data Communication and Network Fundamentals

    How many usable host addresses does an IPv4 subnet with a /26 prefix contain?

    1. 126
    2. 30
    3. 64
    4. 62 Correct answer.

    Explanation

    A /26 leaves 6 host bits, giving 2^6 = 64 total addresses. Subtracting the network and broadcast addresses leaves 62 usable host addresses. The /26 mask is 255.255.255.192.

  10. Question 10Data Communication and Network Fundamentals

    How many equal-size subnets are created when a /24 network is subnetted with a /27 mask?

    1. 4
    2. 32
    3. 8 Correct answer.
    4. 16

    Explanation

    Moving from /24 to /27 borrows 3 bits for the subnet portion. The number of subnets is 2^3 = 8, each containing 32 addresses. Each /27 subnet provides 30 usable host addresses.

  11. Question 11Data Communication and Network Fundamentals

    What is the purpose of a host's default gateway?

    1. Resolving host names to IP addresses
    2. Assigning IP addresses automatically
    3. Filtering frames by MAC address
    4. Forwarding traffic destined for other networks Correct answer.

    Explanation

    The default gateway is the router address a host uses when the destination IP is outside its own subnet. The host sends such frames to the gateway's MAC address for onward routing. Traffic to local subnets is delivered directly without the gateway.

  12. Question 12Data Communication and Network Fundamentals

    Which protocol is connection-oriented and provides reliable, ordered delivery?

    1. ICMP
    2. TCP Correct answer.
    3. UDP
    4. IP

    Explanation

    TCP establishes a connection with a three-way handshake and uses sequence numbers, acknowledgments, and retransmissions to provide reliable ordered delivery. UDP is connectionless and does not guarantee delivery. IP and ICMP are not transport-layer reliability protocols.

  13. Question 13Data Communication and Network Fundamentals

    Which protocol is used by tools such as ping and traceroute to report errors and test reachability?

    1. DHCP
    2. SNMP
    3. ARP
    4. ICMP Correct answer.

    Explanation

    ICMP carries control and error messages at the network layer, and ping and traceroute rely on it to test reachability and path. Typical messages include Echo Request/Reply and Destination Unreachable. It does not carry user application data.

  14. Question 14Data Communication and Network Fundamentals

    Which device separates broadcast domains by default?

    1. Layer 2 switch
    2. Hub
    3. Repeater
    4. Router Correct answer.

    Explanation

    Each router interface is its own broadcast domain because routers do not forward broadcast frames between interfaces. A Layer 2 switch forwards broadcasts out of all ports in the same VLAN, forming one broadcast domain. Hubs and repeaters simply regenerate signals.

  15. Question 15Data Communication and Network Fundamentals

    Which statement about full-duplex Ethernet is correct?

    1. It requires CSMA/CD to prevent collisions
    2. It allows simultaneous transmission and reception on a point-to-point link Correct answer.
    3. It allows transmission in only one direction at a time
    4. It increases the maximum cable length by a factor of two

    Explanation

    In full-duplex mode the transmit and receive paths are independent, so a station can send and receive at the same time and collisions do not occur. CSMA/CD is therefore disabled on full-duplex links. Half-duplex links share one medium and require collision detection.

  16. Question 16Data Communication and Network Fundamentals

    How many bits are in an IPv6 address?

    1. 64 bits
    2. 32 bits
    3. 128 bits Correct answer.
    4. 48 bits

    Explanation

    An IPv6 address is 128 bits long, written as eight groups of four hexadecimal digits. It is commonly split into a 64-bit network prefix and a 64-bit interface identifier. IPv4 addresses are 32 bits.

  17. Question 17Data Communication and Network Fundamentals

    What is the directed broadcast address of the subnet 192.168.1.0/26?

    1. 192.168.1.127
    2. 192.168.1.255
    3. 192.168.1.64
    4. 192.168.1.63 Correct answer.

    Explanation

    A /26 has a block size of 64 addresses, so the first subnet runs from 192.168.1.0 to 192.168.1.63. The highest address in the block is the broadcast address, which is 192.168.1.63. The next subnet starts at 192.168.1.64.

  18. Question 18Data Communication and Network Fundamentals

    Which port range is defined as the well-known ports?

    1. 0-255
    2. 1024-49151
    3. 49152-65535
    4. 0-1023 Correct answer.

    Explanation

    IANA divides TCP and UDP port numbers into well-known ports (0-1023), registered ports (1024-49151), and dynamic or private ports (49152-65535). Well-known ports are assigned to common services such as HTTP, SSH, and DNS.

  19. Question 19Data Communication and Network Fundamentals

    Which sequence correctly shows data encapsulation as it moves down the protocol stack?

    1. Data, segment, packet, frame, bits Correct answer.
    2. Data, frame, packet, segment, bits
    3. Data, packet, segment, frame, bits
    4. Frame, packet, segment, data, bits

    Explanation

    At the sending host, application data is passed to the transport layer and becomes a segment, then a packet at the network layer, then a frame at the data link layer, and finally bits on the medium. Each layer adds its own header (and trailer, for Ethernet). Decapsulation reverses this order at the receiver.

  20. Question 20Data Communication and Network Fundamentals

    What is the main function of DHCP?

    1. Dynamically assigning IP configuration to hosts Correct answer.
    2. Translating domain names into IP addresses
    3. Encrypting management traffic between devices
    4. Resolving MAC addresses to IPv4 addresses

    Explanation

    DHCP automatically provides hosts with an IP address, subnet mask, default gateway, and DNS server information from a configured pool. This reduces manual configuration errors and address conflicts. The lease mechanism allows addresses to be reused.

  21. Question 21Data Communication and Network Fundamentals

    The address 200.1.1.130/26 belongs to which subnet?

    1. 200.1.1.0/26
    2. 200.1.1.192/26
    3. 200.1.1.64/26
    4. 200.1.1.128/26 Correct answer.

    Explanation

    With a /26 mask the block size is 64, so the subnet boundaries are .0, .64, .128, and .192. The address .130 falls between .128 and .191, so it belongs to 200.1.1.128/26. Its usable host range is .129 through .190.

  22. Question 22Data Communication and Network Fundamentals

    How many /30 subnets can be created from the network 192.168.1.0/24?

    1. 128
    2. 64 Correct answer.
    3. 32
    4. 16

    Explanation

    Going from /24 to /30 borrows 6 bits for subnetting, so 2^6 = 64 subnets are produced. Each /30 subnet has 4 addresses, of which 2 are usable, which is why /30 is common on point-to-point links.

  23. Question 23Data Communication and Network Fundamentals

    How are ARP request and ARP reply messages sent on an Ethernet LAN?

    1. Both the request and the reply are broadcast
    2. The request is unicast and the reply is broadcast
    3. Both the request and the reply are unicast
    4. The request is broadcast and the reply is unicast Correct answer.

    Explanation

    The sender does not yet know the target MAC address, so the ARP request is flooded to the broadcast MAC address. The station that owns the target IP address answers directly to the requester's known unicast MAC address. The result is then cached by both parties.

  24. Question 24Data Communication and Network Fundamentals

    An IPv4 router receives a packet larger than the MTU of the outgoing link and the DF bit is not set. What does the router do?

    1. It drops the packet and returns ICMP Destination Unreachable
    2. It forwards the packet unchanged
    3. It discards the packet silently
    4. It fragments the packet to fit the link MTU Correct answer.

    Explanation

    In IPv4, when a packet exceeds the outgoing MTU and the Don't Fragment bit is clear, the router splits it into fragments that fit the link. The destination reassembles them using the identification, fragment offset, and MF fields. If DF were set, the router would drop the packet and return ICMP Fragmentation Needed.

  25. Question 25Data Communication and Network Fundamentals

    What is the purpose of the TCP sliding window mechanism?

    1. Telling the sender how much data the receiver can accept Correct answer.
    2. Detecting bit errors with a checksum
    3. Selecting the best path across the network
    4. Mapping IP addresses to link-layer addresses

    Explanation

    The receive window advertises the amount of data the receiver is willing to buffer, which lets the sender adjust its transmission rate and avoid overwhelming the receiver. This is TCP flow control. Window scaling can enlarge the window on high-bandwidth, high-latency links.

  26. Question 26Data Communication and Network Fundamentals

    Which IPv4 header field is decremented by each router along the path so that packets cannot circulate indefinitely?

    1. Header Checksum
    2. Type of Service
    3. Time-to-Live Correct answer.
    4. Identification

    Explanation

    Every router that forwards an IPv4 packet reduces the Time-to-Live value by one. When the value reaches zero the packet is discarded and an ICMP Time Exceeded message is returned to the source, which prevents forwarding loops from persisting. The other header fields carry priority, error-detection and fragmentation information rather than a hop counter.

  27. Question 27Data Communication and Network Fundamentals

    The IPv4 address 224.0.0.5 belongs to which address category?

    1. Multicast Correct answer.
    2. Private unicast
    3. Limited broadcast
    4. Public unicast

    Explanation

    IPv4 addresses whose first octet lies between 224 and 239 are Class D addresses, and this range is reserved for multicast group addressing. A packet sent to such an address is delivered to every host that has joined that group. Unicast, private and broadcast addresses all fall outside this range.

  28. Question 28Data Communication and Network Fundamentals

    A subnet must support at least 500 usable host addresses. Which of the following prefix lengths is the longest one that still meets this requirement?

    1. /24
    2. /23 Correct answer.
    3. /21
    4. /22

    Explanation

    A prefix of /23 leaves 9 host bits, giving 512 addresses, of which 510 are usable after removing the network and broadcast addresses. A /24 leaves only 254 usable addresses, which is below the requirement, while /22 and /21 also work but are less specific than necessary. Choosing the longest prefix that satisfies the host count conserves address space.

  29. Question 29Data Communication and Network Fundamentals

    A Layer 2 switch receives a frame whose destination MAC address is not present in its MAC address table. How does the switch handle the frame?

    1. It floods the frame out of all other ports that belong to the same VLAN. Correct answer.
    2. It discards the frame and reports an unreachable destination to the sender.
    3. It sends the frame back out only the port on which it arrived.
    4. It holds the frame until the destination host announces its MAC address.

    Explanation

    When the destination MAC address is unknown, a switch performs unknown-unicast flooding, copying the frame to every other port in the same VLAN except the ingress port. The destination host replies, and the switch learns its MAC address from that reply so future frames can be forwarded directly. Broadcast and multicast frames are flooded in the same way.

  30. Question 30Data Communication and Network Fundamentals

    A PC is configured with IP address 10.0.0.5/24 and default gateway 10.0.1.1. The PC can reach other hosts on 10.0.0.0/24 but cannot reach any remote network. What is the cause?

    1. The PC automatically learns the correct gateway from a routing protocol running on the LAN.
    2. The PC needs ARP entries for every remote destination before it can send traffic.
    3. The PC sends the traffic directly to 10.0.1.1 because routers forward frames regardless of subnet.
    4. The gateway address lies outside the PC's subnet, so the PC cannot resolve a MAC address for it. Correct answer.

    Explanation

    With a /24 mask the host's local subnet is 10.0.0.0/24, and 10.0.1.1 is not part of it. To reach a remote destination the host must ARP for the gateway on the local link, which fails when the gateway address is off-subnet, so the packet is never forwarded. The gateway must be configured with an address inside the host's own subnet.

  31. Question 31IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Which destination prefix identifies a default static route?

    1. 127.0.0.0/8
    2. 0.0.0.0/32
    3. 0.0.0.0/0 Correct answer.
    4. 255.255.255.255/32

    Explanation

    A prefix of 0.0.0.0 with a mask of 0 bits matches every destination address, so it functions as the route of last resort. Routers use it only when no more specific prefix in the routing table matches the packet's destination.

  32. Question 32IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    On a Huawei VRP router, which command creates a static route to 192.168.2.0/24 with next hop 10.0.0.2?

    1. static route 192.168.2.0/24 10.0.0.2
    2. ip route-static 192.168.2.0 255.255.255.0 10.0.0.2 Correct answer.
    3. ip route 192.168.2.0 0.0.0.255 10.0.0.2
    4. route add 192.168.2.0 mask 255.255.255.0 10.0.0.2

    Explanation

    Huawei VRP uses the ip route-static command, followed by the destination network, the destination mask in dotted-decimal form, and the next-hop address. The mask must be given as a subnet mask, not as a prefix length or wildcard mask.

  33. Question 33IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Which IP protocol number is carried in the IP header of OSPF packets?

    1. 88
    2. 6
    3. 89 Correct answer.
    4. 17

    Explanation

    OSPF is identified by protocol number 89 in the IP header, which allows the receiving router to hand the packet to the OSPF process. OSPF runs directly over IP and does not use TCP or UDP.

  34. Question 34IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    What is the default Hello interval on an OSPF interface whose network type is broadcast?

    1. 30 seconds
    2. 5 seconds
    3. 10 seconds Correct answer.
    4. 40 seconds

    Explanation

    On broadcast and point-to-point network types, Huawei devices send OSPF Hellos every 10 seconds by default. The dead interval defaults to four times the Hello interval, so it is 40 seconds on those network types.

  35. Question 35IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    What is the default preference value of a static route on Huawei VRP?

    1. 60 Correct answer.
    2. 100
    3. 150
    4. 10

    Explanation

    VRP assigns static routes a default preference of 60, which makes them preferred over RIP routes but less preferred than OSPF internal routes. The preference can be changed by appending a value to the ip route-static command.

  36. Question 36IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Which OSPF packet type is responsible for discovering neighbors and keeping the neighbor relationship alive?

    1. Database Description
    2. Link State Update
    3. Hello Correct answer.
    4. Link State Request

    Explanation

    Hello packets are sent periodically on OSPF-enabled interfaces to discover neighbors and to confirm that the neighbor is still reachable. Loss of Hellos for the dead interval tears the neighbor relationship down.

  37. Question 37IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    A router's routing table contains 10.0.0.0/8, 10.1.0.0/16 and 10.1.1.0/24. Which entry is used to forward a packet destined for 10.1.1.5?

    1. 0.0.0.0/0
    2. 10.1.1.0/24 Correct answer.
    3. 10.1.0.0/16
    4. 10.0.0.0/8

    Explanation

    All three routes match the destination, so the router applies the longest-match rule and selects the entry with the most specific prefix. The /24 entry matches 24 bits, which is more than the /16 or /8 entries.

  38. Question 38IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    How does an OSPF router choose its Router ID when no router-id command is configured?

    1. The IP address of the DR on the segment
    2. The highest loopback address, else the highest interface address Correct answer.
    3. The lowest IP address configured on any interface of the router
    4. The MAC address of the first Ethernet interface on the router

    Explanation

    Without an explicit router-id, the highest IP address among loopback interfaces is used. If no loopback address exists, the highest IP address among active physical interfaces is used instead.

  39. Question 39IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    A static route points to a destination on a multi-access Ethernet network. Which next-hop form is recommended?

    1. Specify the outbound interface with a preference below 10
    2. Specify only the outbound Ethernet interface
    3. Specify the next-hop IP address Correct answer.
    4. Specify the destination as 0.0.0.0/0

    Explanation

    On a broadcast network, specifying the next-hop address lets the router resolve a single ARP entry for the neighbour. Pointing only at the Ethernet interface forces the router to ARP for every individual destination address in the prefix.

  40. Question 40IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    A static route is configured as ip route-static 10.0.0.0 255.255.0.0 192.168.1.1, but no route to 192.168.1.1 exists. What is the result?

    1. The router resolves the next hop using only the default route
    2. The route is installed and matching packets are discarded by the router
    3. The route is installed automatically with preference 255
    4. The route stays inactive until a route to the next hop exists Correct answer.

    Explanation

    A static route must pass a recursive lookup on its next-hop address before it can be placed in the routing table. If the next hop is unreachable, the route remains inactive and is not used for forwarding.

  41. Question 41IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Which OSPF neighbor state shows that the two routers have fully synchronised link-state databases and can exchange routing information?

    1. Exchange
    2. Init
    3. 2-Way
    4. Full Correct answer.

    Explanation

    In the Full state the routers have completed the database description and loading phases, so their LSDBs match and routes can be computed over the adjacency. Full is the normal end state for routers that must become adjacent.

  42. Question 42IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    On a broadcast OSPF network, which values decide the DR and BDR election?

    1. Highest interface MAC address, then highest priority
    2. Lowest Router ID, then lowest priority
    3. Lowest interface priority, then lowest Router ID
    4. Highest interface DR priority, then highest Router ID Correct answer.

    Explanation

    The router with the highest interface DR priority wins; if priorities tie, the highest Router ID breaks the tie. An interface with priority 0 is never elected DR or BDR.

  43. Question 43IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Two directly connected routers enable OSPF on the shared link, but one interface uses a 10-second Hello interval and the other uses 30 seconds. What is the outcome?

    1. They never become neighbours because the Hello intervals differ Correct answer.
    2. They become neighbours but remain in ExStart
    3. They form a Full adjacency and exchange routes normally
    4. They become neighbours only after the DR election completes

    Explanation

    Hello and dead intervals must match on both ends of a link before an adjacency can form. When the intervals differ, each router's Hellos are rejected as invalid and the relationship never leaves the Down state.

  44. Question 44IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    With the default reference bandwidth of 100 Mbit/s, what OSPF cost is calculated for a 10 Mbit/s interface?

    1. 100
    2. 1000
    3. 1
    4. 10 Correct answer.

    Explanation

    OSPF cost is the reference bandwidth divided by the interface bandwidth, so 100 Mbit/s divided by 10 Mbit/s gives a cost of 10. The cost can be changed manually or by adjusting the reference bandwidth.

  45. Question 45IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Two routers on the same segment stay in the ExStart state and never progress. Which cause fits this symptom?

    1. Authentication keys differ on the two routers
    2. Both routers are configured with the same Router ID
    3. Area IDs do not match on the two interfaces
    4. MTU values differ on the two interfaces Correct answer.

    Explanation

    A mismatch in interface MTU produces exactly this symptom, because the larger Database Description packet is discarded and the exchange restarts repeatedly. The fix is either to align the MTU values or to ignore the MTU check on the interface.

  46. Question 46IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Which command enables OSPF on an interface with address 192.168.1.1/24 in area 0, using Huawei syntax?

    1. network 192.168.1.0/24 area 0
    2. network 192.168.1.1 255.255.255.0 area 0
    3. network 192.168.1.0 0.0.0.255 area 0 Correct answer.
    4. network 192.168.1.0 255.255.255.0 area 0

    Explanation

    Huawei uses the network command with a network address and a wildcard mask, followed by the area keyword. The wildcard 0.0.0.255 matches all addresses inside 192.168.1.0/24.

  47. Question 47IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    A router has one interface in area 0 and another interface in area 1. What is its OSPF role?

    1. Internal router
    2. Designated Router
    3. Autonomous System Boundary Router
    4. Area Border Router Correct answer.

    Explanation

    A router with interfaces in more than one area is an Area Border Router, and it generates summary LSAs between the areas it connects. At least one of its areas must normally be the backbone, area 0.

  48. Question 48IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    A new router with DR priority 200 joins a broadcast segment where the DR election has already finished. What happens?

    1. It stays a DRother until the DR fails or the process restarts Correct answer.
    2. It becomes DR after the next Hello interval expires
    3. It immediately preempts the current DR because its priority is higher
    4. It becomes BDR and the current BDR becomes DR

    Explanation

    OSPF DR and BDR election is not preemptive, so a router that joins later cannot displace the existing DR even with a higher priority. It remains a DRother until the current DR fails or the OSPF process is restarted.

  49. Question 49IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Why is a static route pointing to the Null0 interface commonly configured?

    1. To discard traffic for a summarized prefix and prevent loops Correct answer.
    2. To forward matching traffic to a faster next-hop router in the path
    3. To redistribute the prefix automatically into OSPF
    4. To provide a lower-priority backup path for dynamic routes

    Explanation

    Null0 is a discard interface, so a static route to Null0 silently drops traffic that matches the prefix. It is typically used together with a summary route to prevent forwarding loops when some more specific components of the summary do not exist.

  50. Question 50IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    What is the effect of the silent-interface command applied to an OSPF-enabled interface?

    1. Hellos stop but the router still forms full adjacencies
    2. OSPF packets are suppressed but the network is still advertised Correct answer.
    3. The interface stops forwarding all IP traffic including data
    4. The interface is shut down and the network is withdrawn from OSPF

    Explanation

    A silent interface stops sending and receiving OSPF packets, so no adjacency can form over it. The connected network is still advertised in the router's LSAs, which makes the command suitable for user-facing interfaces.

  51. Question 51IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Four static routes to 10.1.0.0/24, 10.1.1.0/24, 10.1.2.0/24 and 10.1.3.0/24 all use the same next hop. Which single static route summarises them?

    1. 10.1.0.0/20
    2. 10.1.0.0/23
    3. 10.1.0.0/21
    4. 10.1.0.0/22 Correct answer.

    Explanation

    Four consecutive /24 networks starting at 10.1.0.0 occupy 1024 addresses, which is a /22 block covering 10.1.0.0 through 10.1.3.255. A single static route to 10.1.0.0/22 therefore replaces the four entries.

  52. Question 52IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    An OSPF area has no direct physical link to the backbone. Which mechanism connects it to area 0?

    1. A static route
    2. A stub area
    3. An NSSA
    4. A virtual link Correct answer.

    Explanation

    A virtual link is a logical tunnel through a transit area that attaches a remote area to the backbone. It is configured on the ABRs at both ends and must traverse an area that has a real connection to area 0.

  53. Question 53IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Which multicast address is used by an OSPF router to send updates to the DR and BDR on a broadcast network?

    1. 239.255.0.5
    2. 224.0.0.6 Correct answer.
    3. 224.0.0.9
    4. 224.0.0.5

    Explanation

    AllDRouters, 224.0.0.6, is the address used by DRothers to send link-state information to the DR and BDR. The DR then floods the information to all other routers on the segment using 224.0.0.5.

  54. Question 54IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Two static routes to the same destination exist, one with preference 60 and one with preference 80. How does the router handle them?

    1. It installs both routes and uses the first configured
    2. It installs only the preference-60 route; the other stays inactive Correct answer.
    3. It installs the preference-80 route because higher is preferred
    4. It load-balances traffic across both next hops

    Explanation

    When several routes to the same prefix come from the same protocol, the one with the lowest preference is selected and placed in the routing table. The other remains in the configuration as a standby and becomes active only if the preferred route disappears.

  55. Question 55IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    A router learns the same prefix from internal OSPF, a static route, RIP and eBGP. Which route is installed in the routing table?

    1. eBGP
    2. RIP
    3. Static
    4. OSPF Correct answer.

    Explanation

    When different protocols offer the same prefix, the route with the lowest preference wins. Internal OSPF has preference 10, static 60, RIP 100 and eBGP 255, so the OSPF route is installed.

  56. Question 56IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    In Huawei VRP, what is the default preference value of a static route?

    1. 255
    2. 100
    3. 60 Correct answer.
    4. 10

    Explanation

    A router ranks route sources by preference and installs the route with the lowest value. Static routes are given 60 by default, which places them below OSPF internal routes and directly connected routes but above RIP.

  57. Question 57IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Which OSPF area is defined as the backbone area?

    1. Area 10
    2. Area 1
    3. Area 0 Correct answer.
    4. Area 255

    Explanation

    OSPF reserves area 0 as the backbone. Inter-area traffic is routed through it, and every other area is expected to reach it through an ABR over a physical or virtual link.

  58. Question 58IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    How many usable host addresses does a subnet with a /27 prefix provide?

    1. 126
    2. 62
    3. 30 Correct answer.
    4. 32

    Explanation

    A /27 leaves 5 host bits, so the block contains 2^5 = 32 addresses. The all-zeros network address and the all-ones broadcast address cannot be assigned, leaving 30 usable host addresses.

  59. Question 59IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Which address-and-mask pair represents the default route in a static route configuration?

    1. 255.255.255.255 0.0.0.0
    2. 127.0.0.0 255.0.0.0
    3. 0.0.0.0 0.0.0.0 Correct answer.
    4. 0.0.0.0 255.255.255.255

    Explanation

    A prefix of 0.0.0.0 with mask 0.0.0.0 contains no significant network bits, so it matches every destination. It is selected only when no more specific route matches the packet.

  60. Question 60IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    An engineer configures bandwidth-reference 1000 in an OSPF process. What cost is calculated for an interface whose bandwidth is 100 Mbit/s?

    1. 1
    2. 10 Correct answer.
    3. 100
    4. 0

    Explanation

    OSPF cost is the reference bandwidth divided by the interface bandwidth, so 1000 divided by 100 gives 10. The result is clamped to a minimum of 1, so a cost of 0 is never produced.

  61. Question 61IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    How does an OSPF interface configured with the point-to-point network type handle DR and BDR election?

    1. No DR or BDR is elected and the adjacency moves straight to Full. Correct answer.
    2. Both a DR and a BDR are elected exactly as on a broadcast segment.
    3. A DR is elected but no BDR is elected.
    4. The DR is chosen by the lowest interface cost instead of priority.

    Explanation

    A point-to-point link has only two endpoints, so there is no shared segment that needs a designated router. The DR/BDR election is skipped and the two routers synchronise their databases directly into the Full state.

  62. Question 62IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Which OSPF LSA type is originated by every router to describe its own interfaces and their states inside one area?

    1. Type 5 AS-external LSA
    2. Type 2 Network LSA
    3. Type 3 Summary LSA
    4. Type 1 Router LSA Correct answer.

    Explanation

    Each router generates a Type 1 Router LSA listing its links, their costs and their neighbours. It is flooded only within the area that contains those links.

  63. Question 63IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Router A is configured with area 0 on a link and Router B with area 1 on the same link. What is the result?

    1. They become neighbours but never exchange routing information.
    2. They become full neighbours only if their process IDs match.
    3. They do not form a neighbour relationship because the area IDs in the Hellos differ. Correct answer.
    4. They become neighbours and exchange LSAs for both areas.

    Explanation

    Hello packets carry the area ID of the sending interface. A router discards Hellos whose area ID does not match the area of the receiving interface, so the adjacency never leaves the Down state.

  64. Question 64IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Router A runs OSPF process 1 and its directly connected neighbour runs OSPF process 2 on the shared link. What happens to their adjacency?

    1. They exchange LSAs but never install each other's routes.
    2. They become adjacent only after the process IDs are made identical.
    3. They become fully adjacent because the process ID is locally significant. Correct answer.
    4. They remain in ExStart because the process IDs differ.

    Explanation

    The OSPF process ID only distinguishes multiple processes inside a single router and is not transported in Hello packets. Adjacency depends on matching area ID, timers, authentication and MTU, not on the process number.

  65. Question 65IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Which command correctly creates a static route to 192.168.2.0/24 with next hop 10.1.1.2 on a Huawei router?

    1. ip route-static 10.1.1.2 255.255.255.255 192.168.2.0
    2. route-static ip 192.168.2.0 255.255.255.0 10.1.1.2
    3. ip route-static 192.168.2.0 10.1.1.2 255.255.255.0
    4. ip route-static 192.168.2.0 255.255.255.0 10.1.1.2 Correct answer.

    Explanation

    VRP syntax places the destination network first, then its mask, then the next-hop address: ip route-static destination mask next-hop.

  66. Question 66IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Which command makes an OSPF router inject a default route into its OSPF domain?

    1. ip route-static 0.0.0.0 0.0.0.0
    2. default-route-advertise Correct answer.
    3. import-route default
    4. default-information originate

    Explanation

    Inside the OSPF process view, default-route-advertise makes the router generate a Type 5 default route, provided a default route already exists in its routing table unless the always keyword is added.

  67. Question 67IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Two DROther routers on the same broadcast segment list each other in the 2-Way state. What does this indicate?

    1. An MTU mismatch is preventing database description exchange.
    2. Bidirectional communication exists, but neither is DR or BDR so no full adjacency is formed. Correct answer.
    3. The adjacency has failed and will be torn down shortly.
    4. The routers have synchronised databases but cannot forward traffic.

    Explanation

    On a broadcast network, DROthers form a full adjacency only with the DR and BDR. Between themselves they stay in 2-Way, which is the normal stable condition.

  68. Question 68IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    What defines an OSPF stub area?

    1. It must be connected to area 0 by a virtual link before it can forward traffic.
    2. External routes are allowed but summaries from area 0 are filtered.
    3. Type 3 summary LSAs are blocked, so all inter-area prefixes are lost.
    4. Type 5 external LSAs are blocked and a default route is injected. Correct answer.

    Explanation

    A stub area keeps its link-state database small by refusing AS-external Type 5 LSAs. In exchange, the ABR injects a Type 3 default route so internal routers can still reach external destinations.

  69. Question 69IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    Two routers on a broadcast segment stay in the Init state. Which cause matches this symptom?

    1. Authentication keys match but the area IDs are different.
    2. The two routers are configured with different OSPF process IDs.
    3. The interface MTU values differ between the two routers.
    4. One router receives Hellos from the other, but its own address never appears in those Hellos. Correct answer.

    Explanation

    Init means a Hello has been received from the neighbour, but the local Router ID is missing from the neighbour's Hello neighbour list, so communication is one-way. It is typically caused by a one-way link or a filter dropping Hellos in one direction.

  70. Question 70IP Addressing and Routing Fundamentals (static routing, OSPF basics)

    A route crosses three OSPF interfaces with bandwidths of 100 Mbit/s, 10 Mbit/s and 1000 Mbit/s, using the default reference bandwidth. What cost does the router compute for the path?

    1. 3
    2. 12 Correct answer.
    3. 13
    4. 21

    Explanation

    With a reference of 100 Mbit/s the interface costs are 1, 10 and 1 respectively, because the gigabit interface falls below a ratio of 1 and is clamped. Costs accumulate along the path, giving 1 + 10 + 1 = 12.

  71. Question 71Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    What is the primary function of a VLAN on an Ethernet switch?

    1. It increases the maximum frame size that can cross the uplink ports.
    2. It splits one physical switch into multiple separate broadcast domains. Correct answer.
    3. It automatically assigns an IP subnet to every port on the switch.
    4. It encrypts frames between switches that share the same segment.

    Explanation

    A VLAN is a logical grouping of ports that confines broadcast traffic to its own members, so a single switch can host several independent broadcast domains. Ports in different VLANs cannot exchange Layer 2 frames without a Layer 3 device.

  72. Question 72Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    On a Huawei switch, what is the default PVID of an Ethernet port before any VLAN configuration?

    1. 100
    2. 0
    3. 4095
    4. 1 Correct answer.

    Explanation

    Every port belongs to the default VLAN 1 out of the box, and that VLAN is used as the port PVID. Untagged frames received on the port are therefore placed into VLAN 1.

  73. Question 73Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    What is the range of VLAN IDs that a Huawei switch supports for user configuration?

    1. 1 to 4094 Correct answer.
    2. 1 to 4095
    3. 0 to 4095
    4. 2 to 4096

    Explanation

    The 802.1Q tag carries a 12-bit VLAN identifier, giving 4096 code points. The values 0 and 4095 are reserved, so configurable VLAN IDs run from 1 to 4094.

  74. Question 74Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    Which statement describes the behaviour of an access port on a Huawei switch?

    1. It forwards frames for every VLAN configured on the device.
    2. It belongs to one VLAN and sends frames to that VLAN untagged. Correct answer.
    3. It adds an 802.1Q tag to every frame it sends toward the connected host.
    4. It drops all untagged frames received from devices on the segment.

    Explanation

    An access port is a member of a single VLAN and serves a non-VLAN-aware device, so frames leaving the port carry no tag. Incoming untagged frames are placed into the port VLAN.

  75. Question 75Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    A trunk port on a Huawei switch has a PVID of 10 and receives an untagged frame. How is the frame handled?

    1. It is discarded, because trunk ports only accept frames that already carry a tag.
    2. It is sent back to the sender with a VLAN mismatch notification.
    3. It is placed in VLAN 1 and flooded to every VLAN permitted on the trunk.
    4. It is tagged with VLAN 10 and forwarded within VLAN 10. Correct answer.

    Explanation

    For inbound untagged frames a trunk port behaves like an access port in its PVID VLAN: the PVID tag is inserted and the frame is switched inside that VLAN. Tagged frames are instead classified by their existing tag.

  76. Question 76Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    Which characteristic distinguishes a hybrid port on a Huawei switch?

    1. It carries several VLANs and can send tagged or untagged frames per VLAN. Correct answer.
    2. It can be a member of only one VLAN at a time.
    3. It can only be created on stacking member devices.
    4. It always removes the 802.1Q tag before forwarding a frame to the peer.

    Explanation

    A hybrid port can join multiple VLANs and, unlike a trunk port, decides for each VLAN whether egress frames keep the tag. This is configured with the tagged or untagged keyword in the port hybrid vlan command.

  77. Question 77Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    How is the root bridge chosen when STP runs on a switched network?

    1. The switch that transmitted the most recent configuration BPDU.
    2. The switch with the lowest bridge ID, that is priority plus MAC address. Correct answer.
    3. The switch with the highest configured bridge priority value.
    4. The switch with the greatest number of forwarding ports in the topology.

    Explanation

    Every switch advertises a bridge ID made of a 2-byte priority field followed by a 6-byte MAC address. All switches compare these values and the lowest bridge ID becomes the root, with the MAC address breaking ties.

  78. Question 78Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    In which order does an 802.1D STP port pass through its states when it is elected as a designated port?

    1. Blocking, listening, learning, forwarding Correct answer.
    2. Forwarding, learning, listening, blocking
    3. Learning, blocking, listening, forwarding
    4. Listening, blocking, forwarding, learning

    Explanation

    A port starts in blocking, spends a forward-delay in listening while the topology is being computed, then enters learning to populate the MAC table, and finally moves to forwarding. It only forwards user traffic after both delays have expired.

  79. Question 79Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    What is the default STP bridge priority of a Huawei switch?

    1. 0
    2. 4096
    3. 32768 Correct answer.
    4. 61440

    Explanation

    The default bridge priority is 32768, the midpoint of the 16-bit priority field. Because it can be changed in steps of 4096, a lower value makes the switch more likely to be elected root.

  80. Question 80Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    What are the default values of the STP Hello time, Forward Delay and Max Age on Huawei switches?

    1. 2 s, 15 s, 20 s Correct answer.
    2. 1 s, 10 s, 15 s
    3. 5 s, 15 s, 20 s
    4. 2 s, 20 s, 15 s

    Explanation

    The IEEE 802.1D defaults are a 2-second Hello timer, a 15-second Forward Delay and a 20-second Max Age. Only the root bridge propagates these timers to the rest of the tree through its BPDUs.

  81. Question 81Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    Which port states are defined by RSTP?

    1. Disabled, blocking, forwarding
    2. Blocking, listening, learning, forwarding
    3. Discarding, learning, forwarding Correct answer.
    4. Listening, learning, forwarding, broken

    Explanation

    RSTP simplifies the state machine to three states: discarding, learning and forwarding. The 802.1D disabled, blocking and listening states are all merged into discarding.

  82. Question 82Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    Which set of port roles is defined by RSTP?

    1. Master, slave, root, designated
    2. Root, designated, discarding, learning
    3. Root, designated, alternate, backup Correct answer.
    4. Root, designated, blocked, forwarding

    Explanation

    RSTP keeps the root and designated roles of 802.1D and adds alternate, which backs up a root port, and backup, which backs up a designated port. This lets a switch pre-compute a replacement path for fast convergence.

  83. Question 83Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    An RSTP edge port is configured on an interface connected to a user PC. What happens when the link comes up?

    1. The port is blocked until the root bridge confirms that no loop exists.
    2. The port passes through listening and learning, taking about 30 seconds.
    3. The port sends a topology change BPDU and remains in the learning state.
    4. The port moves straight to forwarding without waiting for the STP timers. Correct answer.

    Explanation

    An edge port cannot create a Layer 2 loop because only a single end station is attached, so RSTP places it directly into forwarding. If a BPDU is later received on the port, it loses edge status and takes part in normal RSTP negotiation.

  84. Question 84Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    Three local ports have equal root path cost and receive BPDUs from different designated switches. Which criterion breaks the tie for root port selection first?

    1. The lowest sender bridge ID, then the lowest port ID. Correct answer.
    2. The port with the numerically highest port priority value.
    3. The port with the largest physical port number on the local switch.
    4. The port that receives the greatest number of BPDUs per second.

    Explanation

    Root port selection compares root path cost first, then the bridge ID of the upstream designated switch, then the port ID of the sending port, and finally the local port ID. Port priority is part of the port ID field, and a lower value is better.

  85. Question 85Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    Which destination MAC address is used for STP and RSTP BPDUs?

    1. FF-FF-FF-FF-FF-FF
    2. 01-00-0C-CC-CC-CC
    3. 01-80-C2-00-00-00 Correct answer.
    4. 01-00-5E-00-00-01

    Explanation

    BPDUs are sent as link-local multicast frames addressed to the reserved bridge group address 01-80-C2-00-00-00. Bridges do not forward these frames, so BPDUs never travel beyond the local segment.

  86. Question 86Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    STP runs with default timers on 802.1D switches. The current root port fails and a blocked port must take over. Roughly how long before the new port forwards traffic?

    1. About 2 seconds
    2. About 30 seconds Correct answer.
    3. About 15 seconds
    4. About 20 seconds

    Explanation

    The replacement port must move through the listening state (one forward delay) and then the learning state (another forward delay). With the default 15-second forward delay this totals roughly 30 seconds before forwarding begins.

  87. Question 87Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    What is the main benefit of bundling several physical links into an Eth-Trunk between two switches?

    1. It turns the interconnection into a point-to-multipoint segment.
    2. It removes the need to configure VLANs on the interconnection.
    3. It adds bandwidth and provides link redundancy between the two devices. Correct answer.
    4. It lets the two switches exchange routing updates faster.

    Explanation

    An Eth-Trunk presents several member links as one logical link, so traffic is spread across the members and the loss of a single member does not break connectivity. Virtualization of the links also avoids STP blocking the redundant paths.

  88. Question 88Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    Which condition must be satisfied before several physical interfaces can join the same Eth-Trunk?

    1. The interfaces must be located on different member devices of a stack.
    2. Each interface must be assigned its own IP address before it joins.
    3. The interfaces must match in rate, duplex mode and VLAN-related configuration. Correct answer.
    4. The interfaces must be configured with different link aggregation modes.

    Explanation

    Member interfaces of an Eth-Trunk must be consistent: same type and rate, same duplex mode, and identical VLAN and trunk attributes. Otherwise the join is refused, because frames could be handled differently depending on the member chosen.

  89. Question 89Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    Which statement about the LACP system priority on Huawei switches is correct?

    1. System priority is configured per member interface and must be unique on each link.
    2. The default is 32768, and the numerically lowest value wins the election. Correct answer.
    3. System priority is only used when the Eth-Trunk works in manual load-balance mode.
    4. A larger system priority value makes the device more likely to control aggregation.

    Explanation

    LACP elects the controlling end by comparing system priority and then system MAC, with the lower value preferred. The default priority is 32768 and it is set once per device, not per interface.

  90. Question 90Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    Which Eth-Trunk working mode negotiates the aggregation with LACP on both ends?

    1. Manual load-balance mode
    2. Hybrid port mode
    3. Static LACP mode Correct answer.
    4. Trunk port mode with PVID 1

    Explanation

    In manual mode the member links are added by configuration and no protocol runs, so misconfigured or faulty links stay in the bundle. LACP mode exchanges LACPDUs so both ends verify each other's parameters and select active members dynamically.

  91. Question 91Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    An Eth-Trunk carries traffic between many pairs of hosts on different subnets. Which load-balancing mode spreads the flows most evenly across the member links?

    1. Fixed per-packet round robin
    2. Source and destination IP address based Correct answer.
    3. Destination MAC address only
    4. Source MAC address only

    Explanation

    Hashing on both source and destination IP produces a distinct bucket for each host pair, so many simultaneous conversations are distributed across the members. Single-field hashes produce far more collisions when hosts talk to many peers.

  92. Question 92Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    An engineer issues a command setting the STP priority of a Huawei switch to 4097. What is the result?

    1. The switch becomes the root bridge because 4097 is lower than 32768.
    2. The value is rounded up to 8192 during the next root election.
    3. The value 4097 is accepted and stored exactly in the bridge ID.
    4. The device rejects the value, because the priority must be a multiple of 4096. Correct answer.

    Explanation

    The 16-bit bridge priority field uses only its upper 4 bits, so valid values step in increments of 4096 from 0 to 61440. A value such as 4097 is not representable and the configuration is refused.

  93. Question 93Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    Root guard is enabled on a port that faces another switch. What happens if that port receives a superior BPDU?

    1. Spanning tree is disabled globally on the switch.
    2. The port enters the root-inconsistent state and blocks until the superior BPDUs stop. Correct answer.
    3. The BPDU is silently dropped and the port keeps forwarding normally.
    4. The port stays in forwarding and the local switch accepts the new root.

    Explanation

    Root guard protects the position of the existing root by refusing ports that would offer a better path to the root. The offending port is placed in the root-inconsistent state, which behaves like a blocked port, and recovers automatically once the superior BPDUs cease.

  94. Question 94Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    Two hosts sit in different VLANs on the same switch and must exchange traffic. What is required?

    1. Both hosts must be configured with the same PVID.
    2. Nothing extra; the switch forwards between VLANs by default.
    3. The two VLANs must be merged into one broadcast domain.
    4. A Layer 3 gateway for each VLAN, such as a VLANIF or a router. Correct answer.

    Explanation

    VLANs are separate broadcast domains, so a Layer 2 switch never forwards frames between them. Traffic must be routed by a Layer 3 interface, either a VLANIF on the switch or an external router on a stick.

  95. Question 95Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    Two switches are connected by two parallel links while STP is disabled on both. What is the result?

    1. The links are automatically bundled into an Eth-Trunk.
    2. A broadcast storm forms because frames loop endlessly between the links. Correct answer.
    3. The second link is placed in blocking state by 802.1Q tagging.
    4. The switches negotiate a single active link using LACP.

    Explanation

    Without a spanning tree protocol, a broadcast frame sent into the loop is flooded back and forth by both switches and multiplies until the links and CPUs are saturated. Layer 2 has no TTL field, so such frames are never discarded.

  96. Question 96Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    On Huawei switches, which range of VLAN IDs can be created and used to carry user traffic?

    1. 0 to 4095
    2. 1 to 4095
    3. 1 to 4094 Correct answer.
    4. 0 to 4094

    Explanation

    The VLAN ID field defined by 802.1Q is 12 bits wide, which yields 4096 possible values. VLAN 0 and VLAN 4095 are reserved and cannot be used for normal traffic, so the usable range is 1 through 4094.

  97. Question 97Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    A frame in VLAN 10 leaves a switch through an access port that is assigned to VLAN 10. How is the frame sent onto the wire?

    1. Untagged, with the VLAN tag removed Correct answer.
    2. Tagged with the PVID of the neighbouring trunk port
    3. Tagged with VLAN ID 10
    4. Tagged with VLAN 1

    Explanation

    An access port serves a single VLAN and behaves as an untagged member of it. When a frame leaves the port, the switch strips the VLAN tag so that the attached host receives a normal Ethernet frame.

  98. Question 98Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    An untagged frame arrives on a trunk port whose PVID is 20. What does the switch do with the frame?

    1. It forwards the frame inside VLAN 1
    2. It tags the frame for VLAN 20 Correct answer.
    3. It drops the frame, since trunks carry only tagged frames
    4. It floods the frame untagged to every VLAN

    Explanation

    A trunk port maps any untagged frame it receives to its PVID. The switch internally adds a tag for that VLAN, so VLAN 20 becomes the frame's membership for all subsequent forwarding.

  99. Question 99Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    How large is the 802.1Q VLAN tag, and where is it inserted in an Ethernet frame?

    1. 4 bytes, inserted between the source MAC address and the Length/Type field Correct answer.
    2. 4 bytes, inserted at the end of the payload
    3. 2 bytes, inserted after the FCS
    4. 8 bytes, inserted before the preamble

    Explanation

    The 802.1Q tag is 4 bytes: a 2-byte TPID (0x8100) that identifies the tagged frame plus a 2-byte TCI holding the priority, DEI and VLAN ID. It is inserted immediately after the source MAC address and before the Length/Type field.

  100. Question 100Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    A switch has been elected as the root bridge of an STP domain. Which role do all of its ports take?

    1. Designated Correct answer.
    2. Backup
    3. Alternate
    4. Root

    Explanation

    The root bridge is the reference point of the tree, so it has no port that leads toward a root. Every port on the root bridge is a designated port and is placed in forwarding state.

  101. Question 101Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    Switch A is the root bridge. Switch C reaches the root through Switch B, and both the A-B link and the B-C link have a port cost of 20000. What is the root path cost of Switch C?

    1. 0
    2. 10000
    3. 40000 Correct answer.
    4. 20000

    Explanation

    Root path cost is the sum of the costs of all links on the path from the bridge to the root, added to the root's own cost of zero. Switch C therefore accumulates 20000 for the B-C link plus 20000 for the A-B link.

  102. Question 102Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    In an 802.1D STP network, a non-root switch notices that a link has changed state. What does the switch do first?

    1. It waits for the Max Age timer to expire before informing the root bridge
    2. It floods a TCN BPDU out of every port, including blocked ports
    3. It sends a TCN BPDU out of its root port toward the root bridge Correct answer.
    4. It sends a configuration BPDU with the topology change flag set directly to the root bridge

    Explanation

    A bridge that detects a topology change generates a Topology Change Notification BPDU and sends it out of its root port. Each upstream bridge relays the notification through its own root port until it reaches the root bridge, which then sets the topology change flag in its configuration BPDUs.

  103. Question 103Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    In its default configuration, which VLANs are permitted to pass through a trunk port on a Huawei switch?

    1. Only the VLANs that have member ports on the switch
    2. All VLANs from 1 to 4094
    3. Only VLAN 1 Correct answer.
    4. None until an allow-pass list is configured

    Explanation

    A trunk port starts with only the default VLAN 1 in its allowed list. Additional VLANs must be added with the allow-pass command before their traffic can cross the link.

  104. Question 104Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    Two RSTP switches are joined by a new point-to-point link. How do their ports reach forwarding state quickly?

    1. The ports wait for two Forward Delay intervals
    2. The ports perform a proposal/agreement handshake Correct answer.
    3. The ports exchange TCN BPDUs and then forward at once
    4. The downstream port is blocked until Max Age expires

    Explanation

    On point-to-point links RSTP uses a proposal sent by the designated port and an agreement returned by the peer. The handshake synchronises the downstream bridge, which blocks its non-edge ports, so the designated port can move straight to forwarding without relying on timers.

  105. Question 105Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    An interface is configured as an RSTP edge port for a connected PC. Later, a BPDU is received on that interface. What happens?

    1. The switch restarts the spanning tree election for the whole region
    2. The port is permanently shut down by the switch
    3. The port loses its edge status and joins the normal RSTP calculation Correct answer.
    4. The BPDU is discarded and the port remains an edge port

    Explanation

    Edge status is only valid while no BPDU arrives on the port. Receiving a BPDU means another bridge may be attached, so the switch withdraws the edge attribute and treats the port as an ordinary RSTP port in the topology calculation.

  106. Question 106Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    BPDU protection is enabled on a switch. What action does the switch take when a configured edge port receives a BPDU?

    1. It shuts the edge port down and reports the event Correct answer.
    2. It records the event and keeps the port forwarding
    3. It blocks the port for one Forward Delay interval
    4. It changes the port into an edge port with a shorter Hello time

    Explanation

    BPDU protection guards edge ports that face user terminals: if a BPDU is received, the port is placed in an error-down state so that an unauthorized switch cannot inject spanning tree information. The administrator must clear the error before the port can forward again.

  107. Question 107Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    Two switches must be members of the same MST region. Which attributes must match on both switches?

    1. The region name only
    2. Region name, revision level and VLAN-to-instance mapping Correct answer.
    3. The region name and the revision level only
    4. The region name, the bridge priority and the switch MAC address

    Explanation

    An MST region is identified by the combination of the region name, the revision level and the VLAN-to-instance mapping table. If any of the three differs, the switches are treated as belonging to different regions and each builds its own separate spanning tree.

  108. Question 108Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    In RSTP, a switch's root port receives a BPDU that is superior to the BPDU the port has stored. What is the outcome?

    1. The BPDU is discarded because a root port never accepts BPDUs from other bridges
    2. The port stays in discarding state and no role change takes place
    3. It becomes the new root port and the old root port becomes designated Correct answer.
    4. The switch immediately declares itself the root bridge of the network

    Explanation

    A superior BPDU on a root port triggers a role re-computation for that port. The receiving port takes over as the root port, and the previous root port is re-evaluated and may be assigned the designated role for its segment, with the appropriate state change and synchronisation.

  109. Question 109Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    A static LACP Eth-Trunk has more member links than the configured maximum number of active links. What happens to the surplus links?

    1. They cause the whole Eth-Trunk to go down
    2. They are removed from the Eth-Trunk and become standalone routed ports
    3. They forward traffic but only for untagged VLAN frames
    4. They remain in the trunk as backup links and take over if an active link fails Correct answer.

    Explanation

    LACP selects the links with the best port priority up to the maximum active limit; those links become selected and carry traffic. The remaining member links stay in the trunk in an unselected standby state and are promoted automatically when an active link fails.

  110. Question 110Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

    Two switches are joined by an Eth-Trunk that contains three member links. How does STP treat this bundle?

    1. The bundle is one logical port, with no blocking inside the trunk Correct answer.
    2. Each member link is an independent STP port, so two of them are blocked
    3. STP is disabled on the member links and runs only on other interfaces
    4. One member link runs STP while the other two always forward

    Explanation

    Link aggregation presents the bundle to STP as a single logical interface, so the spanning tree sees one link between the two switches. STP then sets the state of the whole Eth-Trunk, and all of its member links forward together without internal blocking.

  111. Question 111Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    Which number range identifies a basic ACL on Huawei VRP devices?

    1. 2000–2999 Correct answer.
    2. 3000–3999
    3. 6000–6999
    4. 4000–4999

    Explanation

    Huawei VRP reserves number ranges by ACL capability: basic ACLs use 2000–2999 and can match only source IP addresses. Advanced ACLs take 3000–3999, Layer 2 ACLs 4000–4999, and user ACLs 6000–6999.

  112. Question 112Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    In an ACL wildcard mask, what does a bit set to 0 mean?

    1. The corresponding address bit is ignored during comparison
    2. The corresponding address bit is inverted before comparison
    3. The corresponding address bit is compared only on outbound traffic
    4. The corresponding address bit must match the configured value Correct answer.

    Explanation

    A wildcard mask works inversely to a subnet mask: a 0 bit means 'must match' and a 1 bit means 'do not care'. Therefore a wildcard of 0.0.0.255 requires the first 24 bits to match the configured address exactly.

  113. Question 113Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    Which DHCP message does a client broadcast first when it has no IP address and needs one?

    1. DHCP ACK
    2. DHCP Request
    3. DHCP Offer
    4. DHCP Discover Correct answer.

    Explanation

    Address allocation follows the four-step DORA exchange: Discover, Offer, Request, ACK. The client begins by broadcasting a Discover because it has neither an address nor knowledge of any server.

  114. Question 114Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    What is the primary function of NAT on a router?

    1. To hand out IP addresses to hosts automatically
    2. To authenticate users before they reach the internet
    3. To encrypt traffic between two remote sites
    4. To translate private addresses into publicly routable addresses Correct answer.

    Explanation

    NAT rewrites the IP address fields of packets as they cross a router, typically replacing private source addresses with public ones so hosts can reach external networks. Address assignment is the job of DHCP, and user verification is the job of AAA.

  115. Question 115Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    Which UDP port pair is used by DHCP?

    1. Server 67, client 68 Correct answer.
    2. Server 69, client 70
    3. Server 68, client 67
    4. Server 53, client 54

    Explanation

    DHCP servers listen on UDP port 67 and DHCP clients listen on UDP port 68. This pairing is why relay agents forward client broadcasts to the server's port 67.

  116. Question 116Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    Which three functions make up the AAA framework?

    1. Access, authorization, accounting
    2. Authentication, addressing, accounting
    3. Authentication, authorization, accounting Correct answer.
    4. Accounting, auditing, alerting

    Explanation

    AAA stands for Authentication, Authorization and Accounting: verifying identity, granting the permitted level of service, and recording what the user did. Addressing and alerting are separate functions handled by other protocols.

  117. Question 117Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    With Easy IP, which address is used as the translated source address?

    1. The IP address of the outbound interface Correct answer.
    2. An address chosen from a configured NAT address group
    3. The destination address of the outgoing packet
    4. The loopback address of the local router

    Explanation

    Easy IP performs NAPT using the IP address already configured on the outbound interface, so no public address pool is needed. This suits small sites whose public address is obtained dynamically, for example through PPPoE.

  118. Question 118Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    Which number range is used for an advanced ACL?

    1. 2000–2999
    2. 4000–4999
    3. 3000–3999 Correct answer.
    4. 1000–1999

    Explanation

    Advanced ACLs occupy 3000–3999 and can match source and destination addresses, protocol type, and TCP/UDP port numbers. Basic ACLs are limited to source addresses and use a different range.

  119. Question 119Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    An ACL contains the rule permit source 192.168.1.0 0.0.0.255. Which source addresses match this rule?

    1. Any host whose address lies inside 192.168.1.0/24 Correct answer.
    2. Any host whose address lies inside 192.168.0.0/16
    3. Only the single host 192.168.1.0
    4. Any source address at all

    Explanation

    The wildcard 0.0.0.255 requires the first three octets to match and ignores the last octet, which describes the whole 192.168.1.0/24 subnet. A wildcard of 0.0.0.0 would be needed to match a single host.

  120. Question 120Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    How does a Huawei ACL with the default match order decide the action for a packet?

    1. All matching rules are collected and the last one applied decides
    2. The most specific rule always wins regardless of its position
    3. Rules are checked in descending rule ID order and the first match takes effect
    4. Rules are checked in ascending rule ID order and the first match takes effect Correct answer.

    Explanation

    With configuration-order matching, rules are evaluated from the lowest rule ID upwards and evaluation stops at the first rule that matches. This is why the placement of a broad permit or deny rule earlier in the list changes the result.

  121. Question 121Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    Internal users must reach a web server at 10.1.1.10 through public address 200.1.1.10, and external users must be able to open that page. Which NAT feature fits?

    1. Easy IP
    2. Dynamic NAT with an address pool
    3. NAT ALG
    4. NAT Server Correct answer.

    Explanation

    NAT Server publishes an internal server by statically mapping a public address and port to the private address and port, so sessions initiated from outside are translated and forwarded. Outbound-only features such as Easy IP and dynamic NAT cannot accept inbound connections.

  122. Question 122Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    Why is a DHCP relay agent needed when clients and their DHCP server sit in different subnets?

    1. To convert DHCP messages into BOOTP messages on the way
    2. To lengthen the lease time for clients on remote subnets
    3. To authenticate DHCP clients before an address is assigned
    4. To forward DHCP messages between the clients and the server Correct answer.

    Explanation

    A client's initial Discover is a broadcast, which routers do not forward by default, so the relay agent receives it and unicasts it to the configured server. Because the relay also records the receiving interface address in the giaddr field, the server knows which pool to allocate from.

  123. Question 123Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    Which transport and port details describe RADIUS?

    1. TCP, with authentication on port 1812 and accounting on port 1813
    2. TCP, with both functions carried on port 49
    3. UDP, with both functions carried on port 1645 only
    4. UDP, with authentication on port 1812 and accounting on port 1813 Correct answer.

    Explanation

    RADIUS runs over UDP and separates the two functions by port: 1812 for authentication and authorization, 1813 for accounting. TCP port 49 is the transport used by HWTACACS instead.

  124. Question 124Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    Which statement correctly describes static NAT?

    1. It reuses the outbound interface address for every translation
    2. It allocates public addresses from a pool on a first-come, first-served basis
    3. It creates a fixed one-to-one mapping between a private and a public address Correct answer.
    4. It translates many private addresses by also changing source ports

    Explanation

    Static NAT binds one private address to one public address permanently, which is why it is used for servers that must always be reachable at the same public address. Pool-based and port-based translations are dynamic mechanisms.

  125. Question 125Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    An advanced ACL is applied inbound on GE0/0/1 with traffic-filter. Which traffic does the ACL inspect?

    1. Traffic that the router forwards between two other interfaces
    2. Traffic that arrives at the router through GE0/0/1 Correct answer.
    3. Traffic that the router itself generates
    4. Traffic that the router sends out of GE0/0/1

    Explanation

    Applying an ACL inbound means it is evaluated against packets as they enter the interface, before the forwarding decision is made. Packets leaving that interface would be matched by an outbound application instead.

  126. Question 126Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    In a Huawei DHCP global address pool, how are addresses reserved so that they are never assigned dynamically?

    1. By configuring a very short lease time for the pool
    2. By placing those addresses in a separate VLAN
    3. By listing them with the excluded-ip-address command in the pool Correct answer.
    4. By enabling DHCP snooping on the client interface

    Explanation

    The excluded-ip-address command marks a single address or a range inside the pool as unavailable for automatic allocation, so they can be used for static configuration or for gateways. It does not affect addresses outside the pool's own range.

  127. Question 127Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    Hundreds of users share one public IPv4 address when browsing the internet. Which technique allows this?

    1. NAPT, which also translates source port numbers Correct answer.
    2. Static NAT, which reserves one public address per host
    3. NAT Server, which maps a public port to an internal server
    4. No-PAT dynamic NAT, which maps addresses one-to-one

    Explanation

    NAPT, also called PAT or address overloading, rewrites both the source address and the source port so many internal sessions can share one public address. It builds a translation table keyed by protocol, address and port to demultiplex returning traffic.

  128. Question 128Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    An administrator logs in to a Huawei device and supplies only a user name and password, with no domain name. Which AAA domain is used for this administrative login?

    1. default
    2. system
    3. default_admin Correct answer.
    4. admin

    Explanation

    VRP separates administrative logins from ordinary access users by domain: admin users who specify no domain fall into default_admin, while common access users fall into default. Authentication schemes and provider templates are then bound to that domain.

  129. Question 129Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    What is the effect of configuring a DHCP snooping interface as trusted?

    1. All DHCP messages from that interface are converted to unicast
    2. The interface is allowed to hand out addresses itself
    3. Binding entries are no longer created for that interface
    4. DHCP server replies received on that interface are forwarded Correct answer.

    Explanation

    DHCP snooping drops server-to-client messages arriving on untrusted interfaces to block rogue servers, so the port facing the legitimate server or uplink must be marked trusted. Client messages are still checked and binding entries are still recorded.

  130. Question 130Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    Which ACL category can match on source and destination MAC addresses?

    1. Advanced ACL
    2. Basic ACL
    3. Layer 2 ACL Correct answer.
    4. User ACL

    Explanation

    Layer 2 ACLs, numbered 4000–4999, match fields in the Ethernet header such as source MAC, destination MAC and EtherType. ACLs numbered 2000–3999 match Layer 3 and Layer 4 information instead.

  131. Question 131Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    When match-order auto is configured on an ACL, how are the rules ordered for evaluation?

    1. Rules covering the narrowest address range are evaluated first Correct answer.
    2. Rules with the highest rule ID are evaluated first
    3. Rules are evaluated in a random order chosen at commit time
    4. Rules are always evaluated in the order they were typed in

    Explanation

    Auto ordering sorts rules by precision, so a rule matching a single host is placed ahead of a rule matching a whole subnet regardless of entry order. This makes the outcome independent of the order in which the administrator typed the rules.

  132. Question 132Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    Which statement about payload encryption is correct when comparing RADIUS and HWTACACS?

    1. HWTACACS encrypts the whole packet body, while RADIUS encrypts only the password field Correct answer.
    2. Neither protocol encrypts any field and both rely on IPsec
    3. RADIUS encrypts the whole packet body, while HWTACACS encrypts only the password field
    4. Both protocols encrypt the whole packet body by default

    Explanation

    HWTACACS encrypts the entire body of each packet, which is one reason it is preferred for device administration. RADIUS protects only the password field, leaving the rest of the attributes readable in transit.

  133. Question 133Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    A client has been using its address for half of the lease time. What does it do at that point?

    1. It sends a DHCP Release to return the address to the pool
    2. It unicasts a DHCP Request to the server that granted the lease Correct answer.
    3. It waits for the lease to expire and then starts a full DORA exchange
    4. It broadcasts a DHCP Discover to look for any available server

    Explanation

    At 50 percent of the lease (the T1 timer) the client enters the renewing state and sends a unicast Request to its original server to extend the lease. If no reply arrives, it later broadcasts a Request at 87.5 percent of the lease before the address is abandoned.

  134. Question 134Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    Why does FTP require a NAT ALG when it passes through a translating device?

    1. FTP refuses to run over TCP when address translation is active
    2. FTP data connections cannot pass through a port-translating device
    3. FTP payloads are encrypted, so plain NAT cannot read the addresses
    4. FTP carries addresses and ports in its payload that NAT ignores Correct answer.

    Explanation

    In active mode FTP the server tells the client which address and port to connect to by embedding them inside the control-channel payload. Plain NAT rewrites only the IP header, so the ALG inspects the payload and rewrites those embedded values as well.

  135. Question 135Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    A DHCP relay agent forwards a client request to a server in another subnet. Which field identifies the subnet from which the request came?

    1. giaddr, set to the address of the relay interface Correct answer.
    2. xid, which the relay rewrites for each forwarded request
    3. siaddr, which the server fills in with its own address
    4. chaddr, which carries the MAC address of the requesting client

    Explanation

    The relay fills the gateway IP address field with the address of the interface that received the broadcast, and the server uses it to choose the matching address pool and to return the reply to the relay. Without this field the server could not serve clients on remote subnets.

  136. Question 136Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    Which field of an IP packet can a basic ACL match when it is used to filter traffic?

    1. The protocol type and destination port
    2. The source IP address only Correct answer.
    3. The source and destination MAC addresses
    4. The source and destination IP addresses

    Explanation

    Basic ACLs use numbers 2000-2999 and can match only the source IP address of a packet, which is written together with a wildcard mask in each rule. Matching destination addresses, protocol numbers or ports requires an advanced ACL.

  137. Question 137Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    A host with no address boots and obtains an address from a DHCP server. In which order are the four DHCP messages exchanged?

    1. DHCPOFFER, DHCPDISCOVER, DHCPREQUEST, DHCPACK
    2. DHCPDISCOVER, DHCPOFFER, DHCPREQUEST, DHCPACK Correct answer.
    3. DHCPDISCOVER, DHCPREQUEST, DHCPOFFER, DHCPACK
    4. DHCPREQUEST, DHCPOFFER, DHCPDISCOVER, DHCPACK

    Explanation

    The client first broadcasts DHCPDISCOVER to find servers, each server replies with DHCPOFFER, the client then broadcasts DHCPREQUEST selecting one offer, and the chosen server confirms with DHCPACK. The request always follows the offer, never precedes it.

  138. Question 138Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    An administrator wants one ACL rule to cover every host in the network 172.16.0.0/12. Which wildcard mask should be used in the rule?

    1. 0.255.255.255
    2. 0.15.255.255 Correct answer.
    3. 0.31.255.255
    4. 0.0.255.255

    Explanation

    An ACL wildcard is the bitwise inverse of the subnet mask. The /12 prefix corresponds to mask 255.240.0.0, so its inverse, and therefore the wildcard, is 0.15.255.255.

  139. Question 139Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    A VTY interface is configured with authentication-mode radius local. What happens if no RADIUS server responds to the authentication request?

    1. The user is logged in with guest privileges without a password check.
    2. The user is rejected immediately because the first method failed.
    3. The device tries the next configured method and checks the local user database. Correct answer.
    4. The device keeps retransmitting the request indefinitely and never times out.

    Explanation

    When several authentication modes are listed, the device evaluates them in the configured order and moves to the next one if the current method is unreachable or fails. Listing local after radius therefore provides a fallback to users defined on the device itself.

  140. Question 140Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

    Which statement describes the behaviour of NAT No-PAT when it uses an address pool?

    1. Translation is performed only for traffic that matches a manually configured static binding.
    2. Many private addresses share a single public address by translating their port numbers.
    3. One private address is bound to one public address without translating port numbers. Correct answer.
    4. The outbound interface address is used as the translated source for all sessions.

    Explanation

    NAT No-PAT allocates one public address from the pool to each private address that needs translation and leaves the port numbers untouched, so the number of simultaneous internal hosts cannot exceed the pool size. Conserving addresses through port translation is the job of NAPT, and interface-based translation is Easy IP.

  141. Question 141WAN Technologies (PPP, HDLC, WAN access)

    In PPP, which protocol is responsible for establishing, configuring, and testing the data link connection?

    1. NCP
    2. LCP Correct answer.
    3. PAP
    4. IPCP

    Explanation

    LCP runs at the link level of PPP and handles link establishment, negotiation of link options, testing and eventual termination before any network-layer protocol is started. It is the first negotiation that occurs when a PPP interface comes up.

  142. Question 142WAN Technologies (PPP, HDLC, WAN access)

    Which WAN service provides a dedicated, always-on connection with fixed bandwidth between two sites?

    1. A leased line Correct answer.
    2. ADSL
    3. PPPoE
    4. Dial-up ISDN

    Explanation

    A leased line is a permanent point-to-point circuit reserved exclusively for one customer, so its capacity is fixed and the connection is continuously available without any call setup.

  143. Question 143WAN Technologies (PPP, HDLC, WAN access)

    Which PPP authentication protocol sends the username and password across the link in cleartext?

    1. MS-CHAPv2
    2. EAP
    3. PAP Correct answer.
    4. CHAP

    Explanation

    PAP uses a simple two-way handshake in which the peer sends its username and password until the authenticator accepts or the link is torn down, so anyone capturing the frames can read the credentials.

  144. Question 144WAN Technologies (PPP, HDLC, WAN access)

    Which field of a PPP frame identifies the network-layer protocol carried in the information field?

    1. Address
    2. Protocol Correct answer.
    3. Flag
    4. Control

    Explanation

    The two-byte Protocol field holds a value such as 0x0021 for IPv4 or 0xC021 for LCP, telling the receiver how to interpret the information field. The other fields serve framing and link-control purposes.

  145. Question 145WAN Technologies (PPP, HDLC, WAN access)

    Which device is placed at the customer premises to terminate a digital leased line and present a serial interface to the router?

    1. CSU/DSU Correct answer.
    2. Media converter
    3. Layer 2 switch
    4. Wireless access point

    Explanation

    A channel service unit/data service unit terminates the carrier's digital local loop, performs line coding and loopback testing, and connects to the router through a serial interface.

  146. Question 146WAN Technologies (PPP, HDLC, WAN access)

    How does CHAP verify the identity of a peer?

    1. The peer returns a hash of the challenge only, without using a password.
    2. The peer sends its configured password in cleartext for the authenticator to compare.
    3. The peer returns the challenge unchanged together with its username.
    4. The peer returns a hash of the challenge and its password for verification. Correct answer.

    Explanation

    CHAP runs a three-way handshake: the authenticator issues a random challenge, the peer hashes that challenge together with its secret and returns the digest, and the authenticator repeats the calculation to compare the results.

  147. Question 147WAN Technologies (PPP, HDLC, WAN access)

    Which two stages make up a PPPoE connection?

    1. Offer and acknowledgement
    2. Negotiation and teardown
    3. Authentication and accounting
    4. Discovery and session Correct answer.

    Explanation

    PPPoE first runs a Discovery stage in which the host locates an access concentrator and obtains a session ID, then a Session stage in which PPP frames are exchanged over Ethernet for the lifetime of the connection.

  148. Question 148WAN Technologies (PPP, HDLC, WAN access)

    Which function is provided by PPP but not by standard HDLC?

    1. Peer authentication during link setup Correct answer.
    2. Operation over synchronous serial links
    3. Error detection using a frame check sequence
    4. Framing of packets with flag delimiters

    Explanation

    PPP negotiates link options with LCP and can enforce PAP or CHAP before any network-layer protocol starts, whereas standard HDLC has no negotiation or authentication mechanism at all.

  149. Question 149WAN Technologies (PPP, HDLC, WAN access)

    Two routers are connected directly by a serial cable, and one interface is the DCE. What must be configured on the DCE interface for the link to come up?

    1. A CHAP password
    2. A static route to the peer
    3. An Ethernet subinterface
    4. A clock rate Correct answer.

    Explanation

    On a back-to-back synchronous serial link the DCE side supplies the timing signal, so a clock rate must be configured there; without it no clock is generated and the line protocol remains down.

  150. Question 150WAN Technologies (PPP, HDLC, WAN access)

    What is the purpose of LCP Echo-Request and Echo-Reply packets in PPP?

    1. To check whether the peer on the link is still reachable Correct answer.
    2. To negotiate the maximum receive unit of the link
    3. To negotiate which network-layer protocols the link will carry
    4. To exchange authentication credentials with the peer

    Explanation

    Once the link is established, LCP periodically sends Echo-Requests and expects Echo-Replies; if no reply arrives within the configured retry limits the link is declared down and torn down.

  151. Question 151WAN Technologies (PPP, HDLC, WAN access)

    Why is the usual MTU for a PPPoE session 1492 bytes instead of 1500?

    1. The DSL access concentrator allocates the remaining bytes to management traffic.
    2. PPP reserves eight bytes for its own control fields.
    3. The eight-byte PPPoE header occupies part of the Ethernet payload. Correct answer.
    4. The Ethernet preamble and start-of-frame delimiter consume eight bytes.

    Explanation

    PPPoE is carried inside the Ethernet payload, and its eight-byte header (version/type, code, session ID and length) reduces the space left for the PPP payload, so the PPP MTU becomes 1500 minus 8, or 1492 bytes.

  152. Question 152WAN Technologies (PPP, HDLC, WAN access)

    What is the purpose of Multilink PPP (MP)?

    1. To bundle several physical links into one logical link Correct answer.
    2. To carry two different network-layer protocols over a single serial link
    3. To let a router authenticate itself to several different peers
    4. To encrypt traffic that is forwarded across multiple service providers

    Explanation

    MP fragments packets, spreads the fragments across the member links and reassembles them at the far end, producing a logical link whose bandwidth is roughly the sum of the members.

  153. Question 153WAN Technologies (PPP, HDLC, WAN access)

    A serial interface is configured with PPP, CHAP authentication and an IPv4 address. In what order do the PPP negotiations run when the link comes up?

    1. LCP, then IPCP, then CHAP
    2. IPCP, then LCP, then CHAP
    3. CHAP, then LCP, then IPCP
    4. LCP, then CHAP, then IPCP Correct answer.

    Explanation

    PPP first runs LCP to establish the link and negotiate link options, then performs the authentication phase if configured, and only after successful authentication does the relevant NCP such as IPCP negotiate network-layer parameters.

  154. Question 154WAN Technologies (PPP, HDLC, WAN access)

    Which protocol does PPP use to negotiate IPv4 address and DNS parameters?

    1. BCP
    2. IPCP Correct answer.
    3. LCP
    4. PAP

    Explanation

    IPCP is the NCP for IPv4: it exchanges Configure-Requests carrying options such as the IP address and primary and secondary DNS servers, and it runs only after link establishment and any authentication have completed.

  155. Question 155WAN Technologies (PPP, HDLC, WAN access)

    A host broadcasts a PPPoE PADI and receives PADO messages from several access concentrators. What does the host do next?

    1. It establishes a separate session with every access concentrator that replied.
    2. It broadcasts a PADS to confirm the chosen access concentrator.
    3. It selects one access concentrator and sends it a PADR. Correct answer.
    4. It sends a PADT to terminate the sessions it does not want.

    Explanation

    Discovery follows the order PADI, PADO, PADR, PADS: after collecting the offers, the host chooses one access concentrator and unicasts a PADR to request a session, which the access concentrator confirms with a PADS containing the session ID.

  156. Question 156WAN Technologies (PPP, HDLC, WAN access)

    Two routers are cabled back-to-back over a serial link. R1 runs PPP with CHAP enabled, and the interface never leaves the authentication phase. Which condition explains this?

    1. The IP addresses on the two interfaces belong to different subnets.
    2. The keepalive intervals configured on the two interfaces are different.
    3. The MTU values configured on the two interfaces are different.
    4. The CHAP passwords configured on the two routers are different. Correct answer.

    Explanation

    When the CHAP secrets differ, the hash returned by the peer can never match the one the authenticator computes, so authentication fails repeatedly and the link is never handed over to the NCP. Addressing, MTU and keepalive values are not evaluated during authentication.

  157. Question 157Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    Which SNMP version provides authentication of management messages and encryption of their payload?

    1. SNMPv3 Correct answer.
    2. RMON
    3. SNMPv2c
    4. SNMPv1

    Explanation

    SNMPv3 introduced the User-based Security Model, which can verify the origin and integrity of each message and encrypt the payload with DES or AES. SNMPv1 and SNMPv2c only carry a cleartext community string.

  158. Question 158Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    Which SNMP message does an agent send to a manager without receiving any prior request?

    1. Trap Correct answer.
    2. GetNextRequest
    3. SetRequest
    4. GetRequest

    Explanation

    A Trap is an unsolicited notification that the agent emits when a significant event occurs, with no preceding request from the manager. The other PDUs listed are all initiated by the manager.

  159. Question 159Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    By default, which transport and port does an SNMP agent use to listen for requests from a manager?

    1. TCP 162
    2. UDP 161 Correct answer.
    3. TCP 161
    4. UDP 162

    Explanation

    An SNMP agent listens for manager requests on UDP 161. Notifications are sent toward the manager on UDP 162, and SNMP uses UDP rather than TCP for both directions.

  160. Question 160Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    Which statement correctly describes the difference between an SNMP inform and an SNMP trap?

    1. An inform is acknowledged by the receiver; a trap is not. Correct answer.
    2. A trap is sent by the manager to poll the agent.
    3. An inform is unacknowledged, while a trap is acknowledged.
    4. A trap is carried over TCP, while an inform uses UDP.

    Explanation

    An Inform request is confirmed: the receiving station replies with a Response PDU, so the sender can detect a lost notification and retransmit it. A Trap is fire-and-forget, and both message types are carried over UDP.

  161. Question 161Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    In NTP, which stratum level identifies a server that is directly synchronized to a reference clock such as a GPS receiver?

    1. Stratum 0
    2. Stratum 15
    3. Stratum 16
    4. Stratum 1 Correct answer.

    Explanation

    Stratum 0 devices are the reference clocks themselves, such as GPS or atomic clocks. A stratum 1 server is directly attached to such a clock, and each further synchronization hop increases the stratum number.

  162. Question 162Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    A Huawei device is configured with ntp-service unicast-server 10.1.1.1. In which NTP mode does the local device operate?

    1. Peer
    2. Broadcast server
    3. Client Correct answer.
    4. Symmetric active

    Explanation

    The ntp-service unicast-server command places the local device in client mode: it sends requests to the specified server and synchronizes its clock to the server's replies. Server mode is configured with the ntp-service unicast-server command applied on the other device, not here.

  163. Question 163Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    Which transport-layer protocol and port number does NTP use?

    1. TCP 37
    2. UDP 123 Correct answer.
    3. TCP 123
    4. UDP 161

    Explanation

    NTP runs over UDP port 123. Time synchronization is delay-sensitive, so UDP avoids the retransmission delays that TCP would introduce.

  164. Question 164Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    Which statement about Telnet is true?

    1. It uses UDP port 23 for transport.
    2. It encrypts the session with TLS.
    3. It sends usernames and passwords in cleartext. Correct answer.
    4. It authenticates users with digital certificates.

    Explanation

    Telnet carries the entire session, including the login name and password, as unencrypted text over TCP 23, so anyone who captures the traffic can read the credentials. This is why SSH is preferred for remote CLI access.

  165. Question 165Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    TFTP is a simple file transfer protocol. Which transport protocol does it use?

    1. SCTP
    2. ICMP
    3. UDP Correct answer.
    4. TCP

    Explanation

    TFTP runs over UDP port 69 using a minimal lock-step acknowledgement mechanism. It deliberately omits authentication, directory listing and full reliability features to stay small, which is why it is used for image and configuration uploads during boot.

  166. Question 166Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    In FTP active mode, how is the data connection established?

    1. Control and data traffic share a single TCP connection.
    2. The client opens a second connection to server port 21.
    3. The server connects from port 20 to a port the client chose. Correct answer.
    4. The client sends the file over UDP port 69.

    Explanation

    In active mode the client sends a PORT command naming a local listening port, and the server then opens the data connection from TCP 20 back to that port. Passive mode reverses the direction because the server initiates the data connection.

  167. Question 167Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    How many TCP connections does a standard FTP session use, and what is the well-known port of the control connection?

    1. One connection, on TCP 20
    2. One connection, on TCP 21
    3. Two connections; the control connection uses TCP 21 Correct answer.
    4. Two connections, both on TCP 20

    Explanation

    FTP uses a control connection on TCP 21 that stays open for the whole session and a separate data connection opened for each transfer. In active mode the data connection originates from server port 20.

  168. Question 168Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    Which improvement does SSH version 2 offer over SSH version 1?

    1. It no longer requires host authentication.
    2. It supports stronger key exchange and integrity checking. Correct answer.
    3. It transports data in plaintext for compatibility.
    4. It runs over UDP for lower latency.

    Explanation

    SSHv2 uses a stronger Diffie-Hellman key exchange and per-packet integrity checks, and it is the version deployed in practice. Both versions run over TCP 22 and encrypt the session.

  169. Question 169Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    In syslog, which severity level has the highest priority, with the numeric value 0?

    1. Emergency Correct answer.
    2. Critical
    3. Alert
    4. Error

    Explanation

    Syslog defines eight severities from 0 to 7 in decreasing priority: 0 emergency, 1 alert, 2 critical, 3 error, 4 warning, 5 notification, 6 informational and 7 debug. Level 0 means the system is unusable.

  170. Question 170Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    In a syslog message, what does the facility field identify?

    1. The IP address of the syslog server
    2. The program or subsystem that generated the message Correct answer.
    3. The time at which the message was generated
    4. The severity of the event

    Explanation

    The facility value tells the collector which program or subsystem produced the record, so messages can be routed to the appropriate log file. Severity, timestamp and source address are carried in separate fields.

  171. Question 171Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    Which OID identifies the MIB-II system group, which contains sysDescr, sysName and sysLocation?

    1. 1.3.6.1.6
    2. 1.3.6.1.2.1.1.1
    3. 1.3.6.1.4.1
    4. 1.3.6.1.2.1.1 Correct answer.

    Explanation

    The mib-2 subtree is 1.3.6.1.2.1, and its first child, 1.3.6.1.2.1.1, is the system group holding sysDescr, sysObjectID, sysUpTime, sysContact, sysName and sysLocation. The 1.3.6.1.4.1 branch is reserved for vendor-private objects.

  172. Question 172Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    Which statement correctly compares FTP with TFTP?

    1. Both FTP and TFTP rely on TCP to guarantee reliable delivery.
    2. TFTP authenticates each user with a username and password before transfer.
    3. FTP runs over UDP port 69, while TFTP runs over TCP port 21.
    4. FTP authenticates users and lists directories; TFTP does neither. Correct answer.

    Explanation

    FTP establishes an authenticated TCP session on port 21 and supports directory navigation and file management commands. TFTP is a bare-bones UDP-based transfer with no authentication, no directory listing and only simple acknowledgements.

  173. Question 173Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    An SNMPv3 user is configured with the authPriv security level. What does this level provide?

    1. Encryption only, without authentication
    2. Message authentication plus encryption Correct answer.
    3. Authentication only, without encryption
    4. Neither authentication nor encryption

    Explanation

    SNMPv3 defines three security levels: noAuthNoPriv, authNoPriv and authPriv. authPriv verifies the integrity and origin of every message and also encrypts the payload, so both authentication and privacy are provided.

  174. Question 174Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    On a Huawei device, which command under the VTY view restricts lines 0 through 4 so that only SSH clients can log in?

    1. ssh server enable
    2. protocol inbound ssh Correct answer.
    3. protocol inbound all
    4. protocol outbound ssh

    Explanation

    Within user-interface vty 0 4, the protocol inbound command selects which protocols the VTY lines accept. Setting protocol inbound ssh rejects Telnet and permits only SSH sessions.

  175. Question 175Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    Which Huawei VRP command sets the maximum number of log messages held in the local log buffer?

    1. info-center source default channel 2
    2. info-center enable
    3. info-center loghost 10.1.1.1
    4. info-center logbuffer size 1024 Correct answer.

    Explanation

    The info-center logbuffer size command defines how many messages the local log buffer can store; once full, the oldest records are overwritten. Remote collectors are configured separately with the loghost command.

  176. Question 176Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog)

    Two routers are configured as NTP peers with ntp-service unicast-peer. Which statement describes this mode?

    1. The peers must be configured with the same stratum number.
    2. The peers must be attached to the same broadcast subnet.
    3. Either device can synchronize to the other. Correct answer.
    4. One device acts as a server and the other only as a client.

    Explanation

    In symmetric peer mode the two devices exchange NTP messages as equals, and whichever has the better clock can become the reference for the other. This differs from client/server mode, where the client never supplies time to the server.

  177. Question 177IPv6 Fundamentals

    How many bits long is an IPv6 address?

    1. 32 bits
    2. 64 bits
    3. 128 bits Correct answer.
    4. 256 bits

    Explanation

    An IPv6 address is 128 bits long, which is four times the 32-bit length of an IPv4 address. It is normally written as eight groups of four hexadecimal digits separated by colons. The larger size provides a vastly bigger address space than IPv4.

  178. Question 178IPv6 Fundamentals

    Which is the shortest valid written form of the address 2001:0db8:0000:0000:0000:0000:0000:0001?

    1. 2001:db8::0:1
    2. 2001:db8::1 Correct answer.
    3. 2001:0db8::1
    4. 2001:db8:0:0:1::

    Explanation

    The abbreviation rules allow leading zeros in each group to be dropped and one run of consecutive all-zero groups to be replaced by a double colon. Applying both rules to the given address yields 2001:db8::1. Only one double colon may appear in an address, and it should cover the longest zero run.

  179. Question 179IPv6 Fundamentals

    Which prefix identifies IPv6 link-local unicast addresses?

    1. FE80::/10 Correct answer.
    2. FF00::/8
    3. FC00::/7
    4. 2000::/3

    Explanation

    Link-local addresses always start with the prefix FE80::/10 and are valid only on a single link. They are used for neighbor discovery and other on-link operations, and every IPv6-enabled interface must have one.

  180. Question 180IPv6 Fundamentals

    Which address is the IPv6 loopback address?

    1. ::
    2. ::1 Correct answer.
    3. FE80::1
    4. FF02::1

    Explanation

    The loopback address in IPv6 is ::1, which a node uses to send traffic to itself. The all-zero address :: is the unspecified address, used only as a source before an address is configured.

  181. Question 181IPv6 Fundamentals

    A host builds a 64-bit interface identifier from the MAC address 00:1A:2B:3C:4D:5E using modified EUI-64. What is the resulting interface identifier?

    1. 021A:2B3C:FFFE:4D5E
    2. 02FF:FE1A:2B3C:4D5E
    3. 001A:2BFF:FE3C:4D5E
    4. 021A:2BFF:FE3C:4D5E Correct answer.

    Explanation

    Modified EUI-64 inserts FFFE between the OUI and the vendor-supplied part, then inverts the universal/local bit, which is the 0x02 bit of the first octet. Here 00 becomes 02 and FFFE is inserted in the middle, giving 021A:2BFF:FE3C:4D5E.

  182. Question 182IPv6 Fundamentals

    Which pair of ICMPv6 messages does Neighbor Discovery use for address resolution on a link?

    1. Neighbor Solicitation and Neighbor Advertisement Correct answer.
    2. Echo Request and Echo Reply
    3. Router Solicitation and Router Advertisement
    4. Redirect and Parameter Problem

    Explanation

    Address resolution in IPv6 is performed by Neighbor Solicitation and Neighbor Advertisement messages, which map a known IPv6 address to a link-layer address. They replace the role that ARP plays in IPv4.

  183. Question 183IPv6 Fundamentals

    A host receives a Router Advertisement in which the M flag is 1 and the O flag is 0. How does the host obtain its configuration?

    1. It builds its address through stateless autoconfiguration and uses DHCPv6 only for other parameters.
    2. It builds its address through stateless autoconfiguration and ignores DHCPv6.
    3. It obtains its address through stateful DHCPv6 and does not use DHCPv6 for other parameters. Correct answer.
    4. It obtains both its address and other parameters through stateful DHCPv6.

    Explanation

    The M (managed address configuration) flag tells the host to use DHCPv6 to obtain an address. The O (other configuration) flag tells the host whether to use DHCPv6 for additional parameters such as DNS servers; with O set to 0 it does not.

  184. Question 184IPv6 Fundamentals

    Which statement about IPv6 unique local addresses is correct?

    1. They are alternate identifiers for the same interfaces that also have link-local addresses.
    2. They are globally routable and allocated by service providers.
    3. They are link-scoped addresses generated automatically from the interface MAC address.
    4. They are intended for use inside a site and are not expected to be routable on the global Internet. Correct answer.

    Explanation

    Unique local addresses come from FC00::/7 and provide private addressing similar in purpose to IPv4 private ranges. They are meant for communication within a site or set of sites and are not expected to be routed on the public Internet.

  185. Question 185IPv6 Fundamentals

    What is the solicited-node multicast address for the unicast address 2001:db8::1?

    1. FF02::1
    2. FF05::1:FF00:1
    3. FF02::1:FF01:0
    4. FF02::1:FF00:1 Correct answer.

    Explanation

    A solicited-node multicast address is formed from the prefix FF02::1:FF followed by the low-order 24 bits of the unicast address. The last 24 bits of 2001:db8::1 are 00:00:01, giving FF02::1:FF00:1.

  186. Question 186IPv6 Fundamentals

    In IPv6, which node is permitted to fragment a packet?

    1. Only the source node that originates the packet. Correct answer.
    2. Any router on the path whose outbound link MTU is smaller than the packet.
    3. Both the source node and intermediate routers, exactly as in IPv4.
    4. Only the destination node, after it reassembles the packet.

    Explanation

    IPv6 routers do not fragment packets; instead they drop an oversized packet and return an ICMPv6 Packet Too Big message. A source that wants to use packets larger than the path MTU must include a Fragment extension header itself.

  187. Question 187IPv6 Fundamentals

    Which statement about the fixed IPv6 header is correct?

    1. It is 40 bytes long and contains a header checksum field.
    2. It is 20 bytes long and contains a header checksum field.
    3. It is variable in length and always includes a Fragment header.
    4. It is 40 bytes long and contains no header checksum field. Correct answer.

    Explanation

    The fixed IPv6 header is exactly 40 bytes and omits the header checksum that IPv4 carries, leaving error detection to the link layer and to upper-layer protocols. Optional functions are moved to extension headers chained through the Next Header field.

  188. Question 188IPv6 Fundamentals

    An interface address is in the tentative state. What does this mean?

    1. The address has passed duplicate address detection and is fully usable.
    2. The address is used only to answer Neighbor Solicitations for other nodes.
    3. The address is deprecated and will be removed when its preferred lifetime expires.
    4. The address has not yet passed duplicate address detection and is not used for normal traffic. Correct answer.

    Explanation

    After an address is configured it is marked tentative while the node performs duplicate address detection by sending Neighbor Solicitations for it. Only if no conflicting Neighbor Advertisement is received does the address become preferred and usable for normal traffic.

  189. Question 189SDN, VXLAN and Network Automation Basics (Python, RESTful, NETCONF)

    In the SDN architecture, which plane is centralized on the controller while packet forwarding remains on the network devices?

    1. Control plane Correct answer.
    2. Data plane
    3. Management plane
    4. User plane

    Explanation

    SDN decouples the control plane from the forwarding plane, so the controller computes paths and the devices forward traffic. The forwarding plane stays distributed on the devices. The management plane handles operations and maintenance rather than path computation.

  190. Question 190SDN, VXLAN and Network Automation Basics (Python, RESTful, NETCONF)

    A VXLAN network identifier (VNI) is how many bits long, allowing about 16 million isolated segments?

    1. 24 bits Correct answer.
    2. 48 bits
    3. 12 bits
    4. 32 bits

    Explanation

    VXLAN carries a 24-bit VNI in its header, which supports roughly 16.7 million segments. This is much larger than the 4094 VLANs available from a 12-bit VLAN ID.

  191. Question 191SDN, VXLAN and Network Automation Basics (Python, RESTful, NETCONF)

    Which Python data type stores an unordered collection of key-value pairs?

    1. tuple
    2. set
    3. list
    4. dict Correct answer.

    Explanation

    A dict maps hashable keys to values and is the standard Python key-value container. A list and a tuple are ordered sequences, while a set stores unique elements without keys.

  192. Question 192SDN, VXLAN and Network Automation Basics (Python, RESTful, NETCONF)

    In a RESTful API, which HTTP method is used to retrieve a representation of a resource without modifying it?

    1. GET Correct answer.
    2. DELETE
    3. POST
    4. PUT

    Explanation

    GET requests a representation of a resource and should be safe and idempotent. POST generally creates a resource, PUT updates or replaces one, and DELETE removes one.

  193. Question 193SDN, VXLAN and Network Automation Basics (Python, RESTful, NETCONF)

    Which protocol is commonly used as a southbound interface between an SDN controller and forwarding devices, defining flow tables and packet-forwarding actions?

    1. OpenFlow Correct answer.
    2. NETCONF
    3. BGP
    4. SNMP

    Explanation

    OpenFlow is a southbound protocol that lets a controller program flow tables and forwarding actions in switches. SNMP and NETCONF are management protocols, while BGP is a routing protocol.

  194. Question 194SDN, VXLAN and Network Automation Basics (Python, RESTful, NETCONF)

    How does VXLAN encapsulate an original Layer 2 Ethernet frame for transport across an IP underlay?

    1. In an IPsec ESP packet using IP protocol 50
    2. In a TCP segment to destination port 830 for NETCONF
    3. In a GRE tunnel using IP protocol 47
    4. In a UDP datagram to destination port 4789 Correct answer.

    Explanation

    VXLAN uses MAC-in-UDP encapsulation, carrying the original Ethernet frame inside a UDP datagram with destination port 4789 by default. The outer IP header lets the frame traverse a routed underlay.

  195. Question 195SDN, VXLAN and Network Automation Basics (Python, RESTful, NETCONF)

    In a VXLAN network, what is the role of a Layer 3 gateway?

    1. It maps VLAN IDs to VNIs at the access layer
    2. It encapsulates VXLAN frames in Ethernet frames for the underlay
    3. It routes between VXLAN segments and external networks Correct answer.
    4. It provides DHCP relay only for VXLAN segments

    Explanation

    A Layer 3 VXLAN gateway terminates VXLAN tunnels and performs IP routing between different VNIs or between a VNI and an external network. A Layer 2 gateway instead bridges same-subnet traffic.

  196. Question 196SDN, VXLAN and Network Automation Basics (Python, RESTful, NETCONF)

    A RESTful client sends a POST request that successfully creates a new resource. Which HTTP status code best indicates this result?

    1. 204 No Content
    2. 404 Not Found
    3. 201 Created Correct answer.
    4. 200 OK

    Explanation

    201 Created specifically signals that a new resource was created, and a Location header may point to it. 200 is a generic success code and does not specifically indicate creation.

  197. Question 197SDN, VXLAN and Network Automation Basics (Python, RESTful, NETCONF)

    NETCONF typically runs over which transport and TCP port?

    1. TLS, TCP port 443
    2. SSH, TCP port 830 Correct answer.
    3. HTTP, TCP port 80
    4. SNMP, UDP port 161

    Explanation

    The NETCONF base specification uses SSH as its secure transport, with TCP port 830 as the standard port. TLS can be used in some deployments, but SSH on 830 is the typical NETCONF transport.

  198. Question 198SDN, VXLAN and Network Automation Basics (Python, RESTful, NETCONF)

    In the NETCONF/YANG model, what is the relationship between YANG and NETCONF?

    1. YANG replaces NETCONF by encoding data in JSON only
    2. YANG models data, while NETCONF provides operations on that data Correct answer.
    3. YANG is a southbound protocol used instead of OpenFlow
    4. YANG defines the transport port and NETCONF defines the data model

    Explanation

    YANG is a data modeling language that defines the structure of configuration and state data. NETCONF is the protocol whose operations, such as get-config and edit-config, manipulate data modeled in YANG.

  199. Question 199SDN, VXLAN and Network Automation Basics (Python, RESTful, NETCONF)

    Two hosts in the same VXLAN VNI are attached to VTEPs in different IP subnets of the underlay. Which statement is true?

    1. VXLAN requires the underlay to run MPLS between the VTEPs
    2. The underlay must provide IP reachability between VTEP addresses Correct answer.
    3. The VTEPs must be directly connected at Layer 2 for VXLAN to work
    4. The VNI must be mapped to the same VLAN ID on every VTEP

    Explanation

    VXLAN is an overlay that needs IP reachability between VTEP addresses; the original Layer 2 frame is tunneled over the routed underlay. The VTEPs therefore do not need direct Layer 2 adjacency. VLAN-to-VNI mapping is locally significant and can differ between VTEPs.

  200. Question 200SDN, VXLAN and Network Automation Basics (Python, RESTful, NETCONF)

    Consider the Python code: d = {'a': 1, 'b': 2}; e = d; e['c'] = 3; print(len(d)). What is printed?

    1. 1
    2. 3 Correct answer.
    3. 2
    4. An error is raised

    Explanation

    The assignment e = d copies the reference to the same dictionary, not the dictionary itself. Adding key 'c' through e therefore also changes d, which then has three keys. A shallow copy such as d.copy() would be needed to avoid this.

Huawei HCIA-Datacom flashcards

32 cards. Read the term and the definition here. The deck at the top of this page is optional.

TCP three-way handshake
Connection setup uses SYN, SYN-ACK, and ACK segments; it synchronizes sequence numbers and confirms that both endpoints are reachable before data transfer begins.
UDP characteristics
Connectionless transport protocol with no handshake, acknowledgments, or retransmission; low overhead and used for DNS, DHCP, TFTP, SNMP, and real-time traffic.
ARP function
Resolves an IPv4 address to a MAC address on the local link by broadcasting a request and caching the unicast reply in the ARP table.
Well-known port numbers
FTP uses 20 and 21, SSH 22, Telnet 23, HTTP 80, HTTPS 443, DNS 53, DHCP 67 and 68, SNMP 161 and 162, and NTP 123.
Private IPv4 ranges
10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 are non-routable on the Internet and are used inside private networks behind NAT.
Longest prefix match
A router forwarding an IPv4 packet selects the route with the most specific prefix, meaning the longest subnet mask, among all routes that match the destination address.
Huawei default route preference
Lower preference values are preferred; directly connected routes use 0, OSPF internal 10, static 60, RIP 100, OSPF external 150, and BGP 255.
OSPF hello and dead timers
On broadcast and point-to-point networks the default hello interval is 10 seconds and the dead interval is 40 seconds; both must match for adjacency formation.
OSPF DR and BDR
On a broadcast multi-access segment, routers elect a Designated Router and Backup Designated Router to reduce adjacencies and LSA flooding; highest priority wins, then highest router ID.
802.1Q VLAN tag
A 4-byte tag inserted into an Ethernet frame that carries a 12-bit VLAN identifier, allowing up to 4094 usable VLANs over a trunk link.
Access and trunk ports
An access port carries one VLAN and connects end devices; a trunk port carries multiple VLANs, tagging frames with 802.1Q except optionally the native VLAN.
STP root bridge election
Switches elect the root bridge with the lowest bridge ID, composed of bridge priority and MAC address; the default priority is 32768.
RSTP port states
Rapid Spanning Tree Protocol uses three states: discarding, learning, and forwarding, replacing the five states of classic STP for faster convergence.
LACP aggregation modes
Link Aggregation Control Protocol has active and passive modes; active initiates LACPDUs, passive responds, and at least one side must be active to form an Eth-Trunk.
DHCP DORA process
Clients obtain addresses through Discover, Offer, Request, and Acknowledge messages; the server uses UDP port 67 and the client uses UDP port 68.
NAPT
Network Address Port Translation, also called PAT or NAT overload, maps many private IP addresses to one public address by translating source port numbers.
AAA components
Authentication verifies user identity, authorization grants permissions and services, and accounting records resource usage and activity for auditing.
RADIUS ports
RADIUS servers use UDP port 1812 for authentication and authorization and UDP port 1813 for accounting; Huawei devices can act as RADIUS clients.
Advanced ACL range
Huawei advanced ACLs are numbered 3000 to 3999 and can match source and destination IP addresses, protocol, source and destination ports, and TCP flags.
PPP authentication protocols
Password Authentication Protocol sends passwords in clear text, while Challenge Handshake Authentication Protocol uses a challenge-response hash and is more secure.
PPPoE sessions
PPPoE has a discovery stage that establishes a session ID and a session stage that carries PPP frames over Ethernet, commonly used for broadband access.
SNMP ports and roles
SNMP managers query agents on UDP port 161 and receive notifications or traps on UDP port 162; MIB objects are identified by OIDs.
Syslog severity levels
Syslog defines eight severity levels from 0 emergency to 7 debugging; lower numbers are more severe, and messages are sent to UDP port 514.
SSH versus Telnet
SSH uses TCP port 22 and encrypts the management session, while Telnet uses TCP port 23 and transmits credentials and data in clear text.
TFTP characteristics
Trivial File Transfer Protocol uses UDP port 69, provides no authentication or encryption, and supports simple file upload and download with minimal overhead.
IPv6 address length
An IPv6 address is 128 bits long, written as eight hexadecimal groups; leading zeros in a group and one continuous run of zero groups may be compressed.
IPv6 link-local address
Link-local addresses begin with FE80::/10, are automatically configured on every IPv6 interface, and are used for neighbor discovery and next-hop communication on a link.
IPv6 neighbor discovery
ND uses Router Solicitation and Advertisement plus Neighbor Solicitation and Advertisement messages to discover routers, resolve link-layer addresses, and detect duplicate addresses.
IPv6 DHCPv6 flags
In Router Advertisement messages, the M flag tells hosts to use stateful DHCPv6 for addresses, and the O flag tells them to use DHCPv6 for other configuration.
SDN three-layer architecture
SDN separates the application, control, and data planes; a centralized controller programs forwarding devices through southbound interfaces and exposes services northbound.
VXLAN VNI
VXLAN uses a 24-bit VXLAN Network Identifier in an 8-byte header, supporting about 16 million logical networks; traffic is encapsulated in UDP port 4789.
NETCONF transport
NETCONF uses XML-encoded RPC messages, typically over SSH on TCP port 830, and models device data with YANG for configuration and state retrieval.

Huawei HCIA-Datacom study guide

Data Communication and Network Fundamentals

Layered models and encapsulation

You must be able to map the OSI seven layers onto the TCP/IP four-layer model and say which device works where: hubs/repeaters at L1, switches and bridges at L2, routers at L3, firewalls and load balancers at L4-L7. Encapsulation adds a header per layer and the PDU is renamed at each step (data → segment → packet → frame → bits). Know the header sizes: IPv4 base header 20 bytes, TCP base header 20 bytes, Ethernet frame 64-1518 bytes with a 1500-byte default MTU.

Transport and helper protocols

TCP is connection-oriented: three-way handshake (SYN, SYN-ACK, ACK), sequencing, acknowledgements, sliding window, four-way close. UDP is connectionless with no retransmission. Memorise common ports: 20/21 FTP, 22 SSH, 23 Telnet, 25 SMTP, 53 DNS, 67/68 DHCP, 69 TFTP, 80 HTTP, 110 POP3, 161/162 SNMP, 443 HTTPS. ARP resolves IPv4 to MAC (request broadcast, reply unicast, plus gratuitous ARP); ICMP carries echo request/reply and time-exceeded used by ping and tracert.

Traps that appear in questions

Half-duplex links use CSMA/CD; full-duplex links do not, so a duplex mismatch causes collisions and late collisions on the full-duplex side. Every switch port is its own collision domain; a broadcast domain ends at a router or a VLAN boundary. A MAC address is 48 bits written as 12 hex digits; the first byte's low bit distinguishes unicast from multicast, and the second-lowest bit marks locally administered addresses.

Rule of thumb

On one switch, the number of collision domains equals the number of active ports, and the number of broadcast domains equals the number of VLANs (plus one per routed interface). If a question asks how many broadcast domains exist, count subnets/VLANs, not devices.

IP Addressing and Routing Fundamentals (Static Routing, OSPF Basics)

Addressing and subnetting

Know the classful ranges, private space (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback 127.0.0.0/8 and link-local 169.254.0.0/16. Subnet maths: hosts per subnet = 2^h − 2; subnets created by borrowing n bits = 2^n. Be able to convert a mask to prefix length and to find the network/broadcast address of a given host quickly.

Forwarding logic

A router chooses the longest prefix match first, and only among equal prefixes does it compare administrative distance (direct 0, OSPF 10, static 60, RIP 100, BGP 255 on Huawei VRP). Static routes may be written with a next hop, an outbound interface, or both (the last is safest on multi-access links). A floating static route uses a deliberately raised preference as a backup. Default route 0.0.0.0/0 matches everything but is beaten by any more specific route.

OSPF basics

OSPF is a link-state protocol using IP protocol 89, multicast 224.0.0.5/224.0.0.6, and cost = reference bandwidth ÷ interface bandwidth (default reference 100 Mbit/s). Routers become neighbours through Hello packets (10 s hello / 40 s dead on broadcast and point-to-point), must agree on area ID, hello/dead timers, MTU and authentication, and elect a DR/BDR on broadcast segments by priority then Router ID. Router ID is the highest loopback address, else the highest active physical interface address, unless set manually. All non-backbone areas must touch Area 0; ABRs sit between areas, ASBRs inject external routes.

Worked example

Split 192.168.10.0/24 into /26 subnets: 2^2 = 4 subnets (192.168.10.0, .64, .128, .192), each with 2^6 − 2 = 62 usable hosts.

Ethernet Switching Fundamentals (VLAN, STP/RSTP, Link Aggregation)

VLANs and links

A VLAN is a broadcast domain; VLAN 1 exists by default and every port starts in it. Access ports carry one VLAN with untagged frames, trunk ports carry many VLANs with 802.1Q tags (4 bytes, 12-bit VLAN ID → 4094 usable VLANs). Huawei also offers hybrid ports, which can tag or untag per VLAN. The native VLAN (default VLAN 1) travels untagged on a trunk, so both ends must agree or traffic is misclassified - a favourite exam trap, as is forgetting that a trunk needs port trunk allow-pass vlan configuration for each VLAN.

Spanning Tree

STP (802.1D) prevents loops by electing one root bridge (lowest bridge ID = priority + MAC; priority default 32768, adjustable in steps of 4096), then giving every non-root switch one root port and every segment one designated port; the rest block. 802.1D states are blocking, listening, learning, forwarding (plus disabled). RSTP (802.1w) converges in seconds using proposal/agreement, edge ports and the alternate/backup port roles, with only discarding, learning and forwarding states. MSTP (802.1s) maps multiple VLANs to instances. Remember Huawei's default path-cost standard is 802.1t (1 Gbit/s = 20000), not the older 802.1D table.

Link aggregation

An Eth-Trunk bundles physical links for bandwidth and redundancy. Members must match in rate, duplex and VLAN configuration. Manual mode uses no negotiation; LACP mode negotiates (static or dynamic), selecting active links by system priority and port priority up to the max-active-linknumber.

Rule of thumb

Root bridge = lowest priority, then lowest MAC; root port = lowest cumulative path cost to the root, then lowest upstream bridge ID, then lowest upstream port ID.

Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

ACLs

Huawei ACL ranges: basic 2000-2999 (source IP only), advanced 3000-3999 (source/destination IP, protocol, ports), Layer 2 4000-4999, user 6000-6999. Rules are evaluated top-down on first match, so order matters - a permit-any placed above a deny makes the deny unreachable. Note the trap: Huawei ACLs do not end with an implicit deny, so unmatched traffic is permitted unless you add an explicit deny rule; always verify with counters.

AAA

AAA = authentication, authorization, accounting. RADIUS is the usual choice for network access (UDP 1812/1813), HWTACACS for device administration (TCP 49, encrypts the whole body). Local users are the fallback when the server is unreachable.

NAT

Static NAT is one-to-one; dynamic NAT uses a pool without port translation; NAPT (address-pool with PAT) and Easy IP (uses the interface address) multiplex many inside hosts onto one address. NAT Server publishes an internal server via a public address and port. Traffic must be routed to the NAT device, and FTP/ICMP need ALG or special handling.

DHCP

Client and server exchange Discover → Offer → Request → Ack (DORA); release uses DHCPRELEASE, renewal starts at 50% of lease and rebinds at 87.5%. A relay agent sets the giaddr so the server can pick the right pool; Option 82 carries relay information, Option 43 hands out vendor data such as an AC address. Pools define network, mask, gateway, DNS and exclusions; DHCP snooping blocks rogue servers by trusting only uplink ports.

Worked example

LAN 192.168.1.0/24 must reach the Internet through 200.1.1.1/30: configure an address pool, apply nat outbound on the WAN interface, and add a default route to 200.1.1.2.

WAN Technologies (PPP, HDLC, WAN Access)

PPP

PPP is a layered data-link protocol: LCP establishes, configures and tests the link; NCPs (IPCP for IPv4, IPv6CP for IPv6) negotiate network-layer parameters; authentication is optional. Its phases are link dead → establish (LCP) → authenticate → network (NCP) → terminate. PAP is a two-way handshake sending the password in clear text; CHAP is a three-way challenge/response using MD5, so the password never crosses the link and re-challenges can occur. PPP supports multilink and loopback detection, which HDLC does not.

HDLC

HDLC is a simple, reliable-framing protocol with no authentication and no network-layer negotiation. Vendors extended it incompatibly, so HDLC links normally work only between devices of the same vendor. On Huawei VRP the default encapsulation on a serial interface is PPP, not HDLC - a classic question.

WAN access options

Leased lines (E1/CEP, serial) give fixed, symmetric bandwidth. xDSL rides the local copper pair to a DSLAM. PON (EPON/GPON) uses OLT–splitter–ONU with a shared fibre tree. Carrier Ethernet/MPLS VPN provides L2 or L3 VPNs with QoS, and SD-WAN overlays internet links with policy-based path selection. Match the technology to the requirement: authentication and dynamic addressing → PPPoE; fixed point-to-point → PPP/HDLC over leased line; branch interconnect with SLA → MPLS or SD-WAN.

Worked example

When a PPPoE client cannot come up, check the order: physical link and dialer rule, then LCP negotiation, then PAP/CHAP credentials, then IPCP address assignment - a wrong password stops the link at the authenticate phase, so display ppp interface reports an authentication failure rather than an IP problem.

Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, Syslog)

SNMP

SNMP has a manager (NMS) and an agent on the device. The MIB is the tree of managed objects and SMI defines the data types. SNMPv1 and v2c authenticate with a plaintext community string (read-only or read-write); v2c adds GetBulk and 64-bit counters but still no security; v3 adds user-based security with authentication (MD5/SHA) and privacy/encryption (DES/AES). The agent listens on UDP 161; traps and informs go to the manager on UDP 162. Informs are acknowledged, traps are not.

NTP

NTP synchronises clocks over UDP 123. Stratum 0 is a reference clock, stratum 1 is directly attached, and stratum 16 means unsynchronised. Devices can be a unicast server/client, symmetric peer, or broadcast/multicast. Accurate time matters because syslog timestamps, certificates, and accounting records depend on it.

Remote access and file transfer

Telnet (TCP 23) sends everything in clear text; SSH (TCP 22) encrypts and is the correct choice, and NETCONF runs over SSH on TCP 830. Local console access is out-of-band. FTP uses TCP 20/21 with authentication, TFTP uses UDP 69 with no authentication - use TFTP only on trusted management networks. VRP user privilege levels run from 0 (visit) to 15 (managing).

Syslog

Severity levels, lowest to highest number: 0 emergency, 1 alert, 2 critical, 3 error, 4 warning, 5 notification, 6 informational, 7 debugging. Logs can go to console, monitor, buffer, file or a syslog server; info-center controls which levels are captured.

Rule of thumb

If the question asks for the most secure option, pick SSH over Telnet, SNMPv3 over v2c, and SCP/SFTP over TFTP; if it asks for delivery guarantee of event messages, pick informs.

IPv6 Fundamentals

Format and address types

An IPv6 address is 128 bits written as eight 16-bit hexadecimal groups. Compression rules: drop leading zeros inside a group, and replace exactly one contiguous run of all-zero groups with :: (used only once). Prefixes are written in CIDR form, typically /64 for a LAN. Know the families: global unicast 2000::/3, link-local fe80::/10 (auto-generated on every interface), unique local fc00::/7 (in practice fd00::/8), multicast ff00::/8, loopback ::1, unspecified ::. There is no broadcast address; multicast replaces it, and every node also joins the solicited-node multicast ff02::1:ff00:0/104 for its own address.

Neighbour Discovery and address configuration

ND replaces ARP, ICMPv6, and router discovery. Router Solicitation and Router Advertisement discover the prefix and default gateway; Neighbour Solicitation/Advertisement do address resolution and duplicate address detection; Redirect informs of a better next hop. SLAAC builds the interface ID from the MAC using EUI-64: split the MAC, insert FFFE in the middle, and flip the seventh bit (the universal/local bit). DHCPv6 uses UDP 546 (client) and 547 (server); the RA's M flag tells hosts to use DHCPv6 for addresses, the O flag for other parameters only.

ICMPv6 and dynamic routing

Stateless versus stateful is a favourite distinction: SLAAC is stateless, DHCPv6 stateful. IPv6 dynamic routing (OSPFv3) runs on link-local next hops and needs no global address to form adjacencies.

Worked example

Condense 2001:0db8:0000:0000:0000:0000:0000:0001. Remove leading zeros → 2001:db8:0:0:0:0:0:1; collapse the single zero run → 2001:db8::1. MAC 00:1A:2B:3C:4D:5E under EUI-64 becomes 021A:2BFF:FE3C:4D5E (the 0x00 first byte becomes 0x02).

SDN, VXLAN and Network Automation Basics (Python, RESTful, NETCONF)

SDN

SDN separates the control plane (path computation) from the forwarding plane (packet handling) and centralises control in a controller. Southbound interfaces connect the controller to devices (OpenFlow, NETCONF, SNMP, PCEP); northbound interfaces expose the network to applications through RESTful APIs. Know the terms underlay (physical IP network) and overlay (virtual tunnels built on top). Huawei's controller family is iMaster NCE, and the classic SDN models are ONEE (Open Network) style: application layer, control layer, forwarding layer.

VXLAN

VXLAN solves VLAN scaling. It encapsulates a full Layer 2 frame inside UDP/IP; the VTEP does encapsulation and decapsulation. The 8-byte VXLAN header carries a 24-bit VNI, allowing about 16 million segments, far beyond 4094 VLANs. The outer UDP destination port is typically 4789 (some implementations use 8472). Because an extra header is added, the underlay MTU must be raised - plan at least 50 bytes extra (outer IPv4 20 + UDP 8 + VXLAN 8 + inner Ethernet 14). BGP EVPN is the common control plane for VXLAN, carrying MAC/IP reachability instead of flooding.

Automation

Python basics appear in questions: immutable strings, mutable lists and dictionaries (key-value), functions, modules, and libraries such as paramiko (SSH2), netmiko (multi-vendor CLI over SSH) and requests (HTTP). NETCONF (RFC 6241) runs over SSH on TCP 830, uses XML-encoded RPCs (get, get-config, edit-config, copy-config, lock/unlock, close-session) and YANG models for data definition. RESTful APIs use HTTP verbs: GET to read, POST to create, PUT/PATCH to update, DELETE to remove, with JSON payloads.

Rule of thumb

Map each task to its tool: configuration consistency and rollback → NETCONF/YANG with a controller; bulk CLI scripting → netmiko; reading controller state into an app → RESTful GET.

Huawei HCIA-Datacom cheat sheet

Quick reference

Data Communication and Network Fundamentals

  • OSI layers from bottom to top are physical, data link, network, transport, session, presentation, and application; TCP/IP maps them to network access, internet, transport, and application layers.

  • Encapsulation adds headers at each layer: data becomes a segment at transport, a packet at network, a frame at data link, and bits at physical.

  • TCP is connection-oriented and uses a three-way handshake (SYN, SYN-ACK, ACK), sequence numbers, acknowledgments, and retransmission; UDP is connectionless with no handshake or delivery guarantee.

  • Common TCP/UDP ports: FTP 20/21, SSH 22, Telnet 23, SMTP 25, DNS 53, DHCP 67/68, HTTP 80, HTTPS 443, SNMP 161/162, NTP 123.

  • ARP resolves an IPv4 address to a MAC address on the local link; the reply is cached in the ARP table and gratuitous ARP can detect duplicate addresses.

  • IPv4 traffic types are unicast (one-to-one), broadcast (one-to-all on a subnet), and multicast (one-to-group); IPv6 has unicast, multicast, and anycast but no broadcast.

  • Bandwidth is the maximum link capacity, while throughput is actual delivered rate; delay components include propagation, transmission, processing, and queuing delay.

Quick reference

IP Addressing and Routing Fundamentals

  • IPv4 classful ranges: A 1-126, B 128-191, C 192-223, D 224-239 multicast, E 240-255 experimental; 127.0.0.0/8 is loopback.

  • Private IPv4 ranges are 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16; 169.254.0.0/16 is link-local and 0.0.0.0/0 is the default route.

  • CIDR notation gives prefix length; subnet mask bits set to 1 identify the network portion, and VLSM allows different mask lengths inside one major network.

  • A router forwards using the longest-prefix match among routes that match the destination; the default route matches only when no more specific route exists.

  • Huawei default route preferences: direct 0, OSPF internal 10, static 60, RIP 100, OSPF external 150, BGP 255; lower values are preferred.

  • Static route command form: ip route-static destination mask next-hop or ip route-static destination mask interface; a floating static route uses a higher preference.

  • OSPF uses area 0 as the backbone; on broadcast networks default hello is 10 s and dead is 40 s, and routers elect a DR and BDR to reduce adjacencies.

  • OSPF router ID selection order is highest configured router ID, highest loopback address, then highest physical interface address.

Quick reference

Ethernet Switching Fundamentals

  • A switch learns source MAC addresses and their ingress ports into the MAC table and forwards known unicast frames only out the matching port; unknown unicast is flooded.

  • VLAN IDs are 1-4094; VLAN 1 is the default VLAN, and VLANs divide one physical switch into separate broadcast domains.

  • Access ports belong to one VLAN and usually connect hosts; trunk ports carry multiple VLANs and insert 802.1Q tags, except optionally on the native VLAN.

  • An 802.1Q tag is 4 bytes and contains a 12-bit VLAN identifier, giving up to 4094 usable VLANs; untagged frames on a trunk belong to the native VLAN.

  • STP elects one root bridge by lowest bridge ID (priority plus MAC); default bridge priority is 32768, and lower priority is better.

  • STP port states are blocking, listening, learning, forwarding, and disabled; RSTP uses discarding, learning, and forwarding with root, designated, alternate, and backup roles.

  • RSTP edge ports connect to end devices, enter forwarding immediately, and should be configured with BPDU protection to prevent loops.

  • Link aggregation combines links into an Eth-Trunk; LACP active mode initiates LACPDUs, passive mode responds, and at least one side must be active.

Quick reference

Network Security and Services Fundamentals

  • Huawei ACL number ranges: basic 2000-2999, advanced 3000-3999, Layer 2 4000-4999, and user-defined 6000-6999.

  • Advanced ACLs can match source and destination IP addresses, protocol, source and destination ports, and TCP flags; rules are checked in sequence and the first match applies.

  • NAT types include static NAT (one-to-one), dynamic NAT (pool-based), NAPT/PAT (many-to-one with port translation), and Easy IP (uses the interface public address).

  • NAT Server maps a public IP address and port to an internal server, allowing external clients to initiate sessions to an internal service.

  • DHCP uses the DORA exchange: Discover, Offer, Request, Acknowledge; server UDP port is 67, client UDP port is 68, and leases include address, mask, gateway, and DNS options.

  • AAA provides authentication (identity), authorization (permissions), and accounting (usage records); RADIUS uses UDP 1812 for authentication/authorization and UDP 1813 for accounting.

  • HWTACACS uses TCP port 49 and separates authentication, authorization, and accounting more fully than RADIUS, commonly for device administration.

  • A DHCP relay agent forwards client broadcasts as unicast to a DHCP server on another subnet using the giaddr field.

Quick reference

WAN Technologies

  • PPP operates at the data link layer and uses LCP for link establishment, authentication, and negotiation, plus NCPs such as IPCP for network-layer parameters.

  • PPP authentication options are PAP, which sends a clear-text password, and CHAP, which uses a challenge-response hash and does not send the password across the link.

  • PPP has link establishment, authentication, network-layer negotiation, and termination phases; multilink PPP can bundle multiple links.

  • HDLC is a bit-oriented data link protocol using flag 0x7E, address and control fields, FCS, and zero-bit insertion to avoid flag patterns in data.

  • PPPoE has a discovery stage that assigns a session ID and a session stage that carries PPP frames over Ethernet, commonly used for broadband access.

  • WAN access options include leased lines, PPPoE/DSL, cable, Ethernet metropolitan access, and cellular 4G/5G access.

  • Huawei serial interfaces default to PPP link-layer encapsulation; HDLC is also supported but is not the Huawei default.

Quick reference

Network Management and O&M

  • SNMP managers query agents on UDP 161 and receive traps or notifications on UDP 162; managed objects are defined in a MIB and identified by OIDs.

  • SNMPv1 and SNMPv2c use community strings in clear text; SNMPv3 adds authentication and encryption through user-based security model parameters.

  • NTP uses UDP port 123 and a hierarchical stratum model: stratum 0 is a reference clock, stratum 1 servers attach directly, and higher strata increase in number away from the source.

  • Telnet uses TCP 23 and sends data in clear text; SSH uses TCP 22 and encrypts the session; VTY lines control remote login and should be restricted by ACL and AAA.

  • FTP uses TCP 20 for active-mode data and TCP 21 for control; TFTP uses UDP 69 and provides no authentication or encryption.

  • Syslog uses UDP 514 and eight severity levels from 0 emergency to 7 debugging; lower numbers indicate more severe events.

  • Huawei configuration workflow includes system-view, interface configuration, commit or save, and verification with display commands; configuration files are saved with save.

Quick reference

IPv6 Fundamentals

  • An IPv6 address is 128 bits, written as eight 16-bit hexadecimal groups; leading zeros in a group may be omitted and one contiguous run of zero groups may be replaced by ::.

  • IPv6 address types include unicast, multicast, and anycast; there is no broadcast, and multicast replaces broadcast functions.

  • Global unicast addresses use 2000::/3, link-local uses FE80::/10, unique local uses FC00::/7, loopback is ::1, and unspecified is ::.

  • Every IPv6 interface automatically has a link-local address; it is used for neighbor discovery and next-hop resolution and is not forwarded by routers.

  • Neighbor Discovery uses RS/RA for router and prefix discovery and NS/NA for address resolution and duplicate address detection, replacing ARP.

  • SLAAC lets hosts build addresses from an RA-advertised prefix plus an interface identifier, often derived by EUI-64 or privacy extensions.

  • The IPv6 header is a fixed 40 bytes with a Next Header field for extension headers; the Hop Limit field replaces the IPv4 TTL.

  • In Router Advertisement flags, M=1 directs hosts to stateful DHCPv6 for addresses, and O=1 directs hosts to DHCPv6 for other configuration.

Quick reference

SDN, VXLAN and Network Automation Basics

  • SDN separates the application, control, and data planes; a centralized controller computes and installs forwarding policy on devices through southbound interfaces.

  • Southbound SDN interfaces include OpenFlow and NETCONF; northbound interfaces are typically RESTful APIs used by applications and orchestration systems.

  • VXLAN encapsulates Layer 2 frames in UDP, uses destination port 4789 by default, has an 8-byte header, and carries a 24-bit VNI supporting about 16 million segments.

  • VXLAN tunnel endpoints (VTEPs) encapsulate and decapsulate traffic; the underlay must route the VTEP loopback addresses, while the overlay carries tenant Layer 2 domains.

  • NETCONF uses XML-encoded RPCs, usually over SSH on TCP 830, with operations such as get, get-config, edit-config, and candidate configuration support.

  • YANG is a data modeling language for NETCONF and RESTCONF; RESTCONF typically runs over HTTPS and uses HTTP methods GET, POST, PUT, PATCH, and DELETE.

  • RESTful APIs are stateless, use HTTP status codes, and commonly exchange JSON or XML; Python requests can call these APIs with get, post, put, and delete methods.

  • Python automation libraries include ncclient for NETCONF, requests for REST APIs, and Paramiko or Netmiko for SSH-based CLI interaction.

Huawei HCIA-Datacom key terms

OSI reference model

A seven-layer framework that describes how data moves between networked applications, from the physical cabling up to the user-facing application. Each layer performs a distinct job and relies on the services of the layer directly below it.

Related: Encapsulation, TCP three-way handshake
Encapsulation

The process of wrapping data with protocol-specific headers (and sometimes trailers) as it passes down the protocol stack, so each layer can deliver the payload to the correct peer on the far end.

Related: OSI reference model, MAC address
TCP three-way handshake

The exchange of SYN, SYN-ACK and ACK segments that opens a TCP connection. It lets both hosts agree on starting sequence numbers and confirm that each side can both send and receive.

Related: OSI reference model
MAC address

A 48-bit hardware identifier burned into or assigned to a network interface, written as six hexadecimal byte pairs. Switches use it to forward frames within a local network segment.

Related: ARP, VLAN
ARP

Address Resolution Protocol. A host broadcasts a request asking which MAC address owns a given IPv4 address, and the owner replies, letting the sender build a frame for the local link.

Related: MAC address, Default gateway
Subnet mask (prefix length)

A 32-bit pattern, often written as a slash number such as /24, that marks which bits of an IPv4 address identify the network and which identify the host. Devices use it to decide if a destination is local or remote.

Related: Default gateway, Longest prefix match
Default gateway

The IP address of a router interface on the local subnet. A host sends traffic to this address whenever the destination is not on its own subnet, because the router knows how to reach other networks.

Related: Subnet mask (prefix length), Static route
Static route

A route an administrator configures by hand, specifying a destination network, a mask and a next hop or outbound interface. It does not adapt automatically when the topology changes unless it is tracked or withdrawn.

Related: Default gateway, OSPF
Longest prefix match

The rule routers apply when several routes match a destination: the entry with the most specific mask, meaning the greatest number of network bits, is chosen and installed in the forwarding table.

Related: Subnet mask (prefix length), Static route
OSPF

Open Shortest Path First. A link-state interior gateway protocol in which routers flood link information, build an identical topology database, and run the shortest path first algorithm to compute loop-free routes.

Related: Static route, Longest prefix match
VLAN

A logical Layer 2 broadcast domain created inside switches, letting one physical infrastructure carry several isolated networks. Frames stay within their VLAN unless a router or Layer 3 switch forwards them.

Related: Access port, Trunk port, 802.1Q tag
Access port

A switch port that belongs to a single VLAN and connects to an end device such as a PC or server. Frames leaving it are normally sent untagged.

Related: VLAN, Trunk port
Trunk port

A switch port that carries traffic for multiple VLANs between switches or toward a router, marking each frame with its VLAN identifier so the receiver can keep the traffic separated.

Related: VLAN, 802.1Q tag, Access port
802.1Q tag

A four-byte field inserted into an Ethernet frame header that carries a 12-bit VLAN identifier plus priority bits, allowing many VLANs to share one physical link.

Related: Trunk port, VLAN
STP

Spanning Tree Protocol. A Layer 2 mechanism that elects a root bridge and blocks redundant paths, producing a loop-free tree so broadcast frames cannot circulate forever in a meshed switched network.

Related: BPDU, Link aggregation (Eth-Trunk)
BPDU

Bridge Protocol Data Unit. The control message switches exchange when running spanning tree; it carries bridge priority, MAC address and path cost information used to elect the root and select forwarding ports.

Related: STP
Link aggregation (Eth-Trunk)

Bundling several physical links between two devices into one logical link, which increases bandwidth, provides redundancy, and avoids the blocked ports that spanning tree would otherwise create.

Related: STP, VLAN
ACL

Access Control List. An ordered set of permit and deny rules that match packet fields such as source address, destination address, protocol and port. Packets are checked against the rules in sequence.

Related: NAT, AAA
AAA

Authentication, Authorization and Accounting. A framework in which users are first proven to be who they claim, then granted defined privileges, and finally have their activity recorded for audit.

Related: ACL, SSH
NAT

Network Address Translation. A router rewrites the source or destination IP address in packet headers as traffic crosses between networks, commonly letting many private hosts reach the internet through public addresses.

Related: NAPT, ACL
NAPT

Network Address Port Translation, often called address overload or PAT. Many internal hosts share a single public address, and the router distinguishes their sessions by translating transport port numbers as well.

Related: NAT
DHCP

Dynamic Host Configuration Protocol. A server automatically supplies clients with an IP address, mask, default gateway, DNS servers and other options, typically through Discover, Offer, Request and Acknowledge messages.

Related: Default gateway, NAT
PPP

Point-to-Point Protocol. A Layer 2 protocol for direct links between two devices that supports link negotiation, optional authentication, and multiplexing of multiple network protocols over the same circuit.

Related: CHAP, PPPoE, HDLC
HDLC

High-level Data Link Control. A simple, vendor-oriented synchronous framing protocol for point-to-point serial links; it flags frame boundaries and provides error detection but no authentication or protocol multiplexing.

Related: PPP
PPPoE

PPP over Ethernet. It carries PPP sessions inside Ethernet frames so subscribers can be authenticated and given an address per session, which is common on broadband access networks.

Related: PPP, CHAP
CHAP

Challenge Handshake Authentication Protocol. The server sends a random challenge, the peer returns a hash of that challenge plus a shared secret, and the exchange may be repeated later to guard against replay.

Related: PPP, PPPoE
SNMP

Simple Network Management Protocol. A manager polls agents in network devices or receives traps from them, reading and writing values in a structured management information base to monitor and control the devices.

Related: Syslog, NTP
NTP

Network Time Protocol. It synchronises device clocks to reference time sources over the network, keeping timestamps consistent so that logs, certificates and scheduled tasks across devices line up correctly.

Related: Syslog, SNMP
SSH

Secure Shell. An encrypted remote login and command protocol that replaces plaintext Telnet for device management, protecting credentials and configuration traffic from eavesdropping on the network.

Related: AAA, Syslog
Syslog

A standard for generating, formatting and shipping event messages from network devices to a collector. Messages carry a severity level and facility, making centralised troubleshooting and retention possible.

Related: NTP, SNMP
TFTP

Trivial File Transfer Protocol. A minimal UDP-based file transfer service with no authentication, frequently used to back up or restore device configurations and to load software images on a local network.

Related: SSH, Syslog
IPv6 global unicast address

A publicly routable IPv6 address from the 2000::/3 range, normally built from a routing prefix supplied by an operator plus a 64-bit interface identifier, and configured on interfaces that must reach the internet.

Related: SLAAC, IPv6 link-local address
IPv6 link-local address

An address in fe80::/10 that every IPv6 interface forms automatically and uses only on its local link, for neighbour discovery, routing protocol adjacencies and next-hop reachability without any global prefix.

Related: Neighbor Discovery, IPv6 global unicast address
Neighbor Discovery

The IPv6 protocol suite that uses ICMPv6 to resolve link-layer addresses, detect neighbours, advertise routers, and perform duplicate address detection, replacing the role ARP plays in IPv4.

Related: IPv6 link-local address, SLAAC
SLAAC

Stateless Address Autoconfiguration. A host builds its own IPv6 address from a router-advertised prefix and an interface identifier, needing no DHCP server to obtain an address, though other options may still come from DHCPv6.

Related: Neighbor Discovery, IPv6 global unicast address
SDN

Software-Defined Networking. An architecture that separates the control plane, where forwarding decisions are computed, from the forwarding plane, and centralises control in software so the network can be programmed as a whole.

Related: RESTful API, VXLAN, NETCONF
VXLAN

Virtual Extensible LAN. A tunnelling technology that encapsulates Layer 2 frames inside UDP packets, extending a Layer 2 segment across a routed Layer 3 network and supporting far more segments than 802.1Q VLAN IDs allow.

Related: VTEP, SDN
VTEP

VXLAN Tunnel Endpoint. The device that encapsulates frames from a local segment into VXLAN packets and decapsulates traffic arriving from the tunnel, identified by an IP address on the underlay network.

Related: VXLAN
RESTful API

An interface built on HTTP where resources are addressed by URLs and manipulated with standard methods such as GET, POST, PUT and DELETE, commonly returning JSON so controllers and scripts can automate configuration.

Related: SDN, NETCONF
NETCONF

A network management protocol that runs over SSH, exchanges XML-encoded configuration data, and supports candidate configurations, validation and transaction-style commits, making automated device changes reliable and reversible.

Related: RESTful API, SDN

Huawei HCIA-Datacom study plan

8 weeks · About 7 hours per week

Week 1

Data Communication and Network Fundamentals

  • Diagram the OSI and TCP/IP models from memory and map at least 10 protocols to their layers

  • Trace a full encapsulation and decapsulation path for a ping between two hosts on different subnets

  • Explain the role of ARP, ICMP, and the MAC address table in a single broadcast domain without notes

  • Convert between binary, decimal, and hexadecimal for addresses and masks until each conversion takes under 20 seconds

Your checkpoint

A one-page hand-drawn diagram plus a 15-question self-quiz scored at 80% or higher

Week 2

IP Addressing and Routing Fundamentals (static routing, OSPF basics)

  • Subnet a /24 into variable-length blocks and assign addresses to point-to-point links and LAN segments

  • Summarize contiguous prefixes into a single aggregate route and verify the result with a written calculation

  • Configure static routes, default routes, and floating static routes on two routers and confirm forwarding with show commands

  • Predict the longest-match forwarding decision for 10 sample destination addresses

Your checkpoint

A completed addressing and subnetting worksheet (20 items) with a working two-router static routing lab configuration file

Week 3

IP Addressing and Routing Fundamentals (static routing, OSPF basics) & Data Communication and Network Fundamentals

  • Bring up a single-area OSPF adjacency between two routers and verify neighbor state reaches Full

  • Explain the purpose of hello timers, router ID selection, cost, and DR/BDR election in a broadcast segment

  • Compare OSPF routes against static routes in the routing table and justify which is preferred and why

  • Diagnose and fix a deliberately broken adjacency by inspecting hello parameters and area mismatches

Your checkpoint

A troubleshooting log documenting three injected OSPF faults, the command used to find each, and the fix

Week 4

Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

  • Build a VLAN plan for a four-switch topology and configure access and trunk ports consistently on both ends

  • Configure 802.1Q trunking and verify that only the permitted VLANs cross each link

  • Configure link aggregation between two switches and confirm the bundle is forwarding in both directions

  • Verify Layer 2 isolation between VLANs and explain why inter-VLAN traffic needs a Layer 3 gateway

Your checkpoint

A working four-switch lab with VLANs, trunks, and an aggregated link, plus a port-map table and captured verification output

Week 5

Ethernet Switching Fundamentals (VLAN, STP/RSTP, link aggregation)

  • Describe the STP election of root bridge, root port, and designated port for a given triangle topology before testing it

  • Configure RSTP and confirm convergence behavior after deliberately breaking a link

  • Tune priority values to force a chosen root bridge and document the resulting topology change

  • Identify and resolve a Layer 2 loop scenario using loop protection features

Your checkpoint

A before-and-after topology diagram with predicted versus observed root bridge and port roles, plus a one-page loop-recovery report

Week 6

Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

  • Write basic and advanced ACL rules to permit and deny specific subnets and verify each rule with a hit count

  • Configure source NAT and static NAT on a border router and confirm translations in the translation table

  • Set up a DHCP server on a router and confirm a client receives an address, gateway, and DNS option

  • Configure local and remote authentication for device login and explain the role of each AAA function

Your checkpoint

A security and services lab sheet with tested ACL match results, a NAT translation table screenshot description, and a successful DHCP lease log

Week 7

Network Management and O&M (SNMP, NTP, Telnet/SSH, FTP/TFTP, syslog) & WAN Technologies (PPP, HDLC, WAN access)

  • Enable NTP synchronization and verify the device clock offset drops to near zero

  • Send syslog messages to a collector and classify messages by severity level

  • Enable SSH for remote management, disable Telnet, and restrict management access with an ACL

  • Compare PPP and HDLC encapsulation on a serial link and bring up a PPP link with authentication

Your checkpoint

A management and WAN checklist with verified evidence for NTP sync, syslog delivery, SSH-only login, and a working PPP authenticated link

Week 8

IPv6 Fundamentals & SDN, VXLAN and Network Automation Basics (Python, RESTful, NETCONF) & Network Security and Services Fundamentals (ACL, AAA, NAT, DHCP)

  • Configure IPv6 addresses, enable routing, and verify neighbor discovery on a small topology

  • Describe how VXLAN overlays relate to underlay routing and name the role of the tunnel endpoint

  • Use a RESTful or NETCONF request to retrieve configuration data from a simulated controller and parse the response

  • Re-run a timed mixed-domain practice set and convert every missed item into a corrected note card

Your checkpoint

A final 60-question timed practice exam scored at 85% or higher, with a written error analysis listing each weak objective and its review action

Milestones

Week 3: Subnet a random /22 into at least four usable segments and predict forwarding for 10 destinations with no reference material

Week 4: Bring up a four-switch VLAN and trunk topology from a blank configuration file in under 30 minutes without notes

Week 6: Pass a 30-question checkpoint covering domains 1 through 4 at 80% or higher

Week 8: Pass a full-length mixed-domain practice exam at 85% or higher with every wrong answer documented and corrected

Huawei HCIA-Datacom exam day

Your checklist

Government-issued photo ID

Bring the original ID document you registered with. The name on the ID must match your registration exactly. Confirm which ID types the provider accepts (passport, national ID, driver's licence) before exam day. [needs_review]

Appointment confirmation

Save offline (screenshot or print) your exam code, appointment number, date and time, and either the test-centre address or the online-proctoring launch link and login instructions.

Test-centre or remote-testing plan

Know the travel route, journey time and parking/transport options, or - if testing remotely - confirm the room, desk setup and equipment you will use. Arrive or log in well before your slot so a delay does not eat into exam time.

System and equipment check (remote delivery only)

Run the provider's system test on the same machine, webcam, microphone and network you will use on exam day. Have a backup connection option (mobile hotspot) and a charged device or power adapter. [needs_review]

Topic-weighting sheet for last-minute review

Print or write a one-page list of the exam blueprint domains and your weakest sub-topics. Use it before you enter the room, then put it away - notes are not allowed at the test station.

Command cheat-sheet for mental rehearsal

Have your own summary of VRP basics (system-view, interface configuration, display/save commands), VLAN and trunk configuration, static routing and OSPF basics ready to skim - then leave it outside the test room.

Time budget

Before you start, note the total exam duration and divide by the number of questions to get an average per-question pace. Plan to finish with roughly 10–15 minutes left for reviewing flagged items. Confirm the current duration and question count on the official exam page. [needs_review]

Question-type awareness

Expect a mix of single-answer, multiple-answer, true/false, drag-and-drop and possibly fill-in-the-blank items. Confirm on the official page whether multiple-answer items require all correct options and whether partial credit exists. [needs_review]

Rest and fuel

Sleep properly the night before and eat a light meal beforehand; a long, concentration-heavy test is easier to sit through when you are not hungry or overcaffeinated.

Cleared pockets and desk

Leave phone, smartwatch, notes, headphones and bags outside the testing area (or in a locker where provided). Empty your pockets before you sit down.

Plan the day

Final 72 hours

Re-read the official exam blueprint and topic weighting. Reallocate study time to your two or three weakest domains rather than starting new material.

Final 72 hours

Do one or two timed practice sets under exam conditions to calibrate your pace and to practise switching between single-answer and multiple-answer wording.

Final 72 hours

Re-confirm the appointment (date, time, location or online link) and verify that the name on your ID matches your registration. Fix any mismatch now, not on exam day - contact the provider if they differ.

Final 72 hours

If testing remotely, complete the provider's system/equipment check and confirm the room and desk requirements. [needs_review]

Final 24 hours

Do light review only: your own command summary, key tables, and the topic checklist. Stop studying early enough to get a full night's sleep.

Final 24 hours

Pack your ID and appointment printout, plan the journey or the login time, and set two alarms. Check the weather/traffic or your internet connection.

Final 24 hours

Confirm the current exam duration, question count, passing score and result-reporting method on the official certification page so nothing surprises you. [needs_review]

Morning of the exam

Eat something light, avoid heavy cramming, and arrive or log in early. Being settled and calm is worth more than one more command rehearsal.

Morning of the exam

Skim only your one-page weak-topic list, then put all materials away before entering the testing area or starting the proctoring session.

During the exam

Read each stem fully and note whether it asks for one answer or all correct answers. Watch for 'which is NOT' and for option sets where two choices are near-identical in wording.

During the exam

Answer every question on first pass. If an item is slow, mark it, pick your best answer and move on - return to it in the review phase if the interface supports flagging. [needs_review]

During the exam

Keep an eye on the clock against your per-question budget. If you fall behind, tighten up on short factual items to protect time for the longer drag-and-drop or multi-part ones.

During the exam

In the last 10–15 minutes, review flagged items, check that no question is left blank, then submit. Confirm the submission screen before leaving.

Rules to check

  • Bring valid government-issued photo ID. The name must match your registration; if it does not, contact the provider before exam day, because you may be refused entry. [needs_review]

  • No unauthorised materials in the testing area: notes, books, phones, smartwatches, earbuds and other devices must be stored away. For remote delivery, expect a room and desk scan; clear your workspace beforehand.

  • Breaks: confirm the provider's break policy in advance. As a general assumption, unscheduled breaks during a timed exam may not stop the clock and may require re-check-in, so plan to sit through the session without one. [needs_review]

  • Scoring: results are typically reported on a scaled score with a pass mark set by the vendor. Do not rely on a remembered threshold - confirm the current passing score and result-reporting timeline on the official certification page. [needs_review]

  • Exam content is confidential. Do not photograph, record, reproduce or share questions or answers in any form; doing so can void your result and affect your certification status.

  • Rescheduling and cancellation follow the provider's policy and cut-off window. Confirm the terms when you book, and if something goes wrong, contact the provider directly rather than simply not showing up.

  • If a technical problem occurs during a remote session, stop and notify the proctor immediately through the provided channel - do not attempt to fix it silently, as this may be flagged as a policy violation.

Huawei HCIA-Datacom FAQ

How many Huawei HCIA-Datacom practice questions are available?

The practice set has 200 Huawei HCIA-Datacom questions. Each one includes the choices, the correct answer, and an explanation, and the set is free to read with no signup.

How many Huawei HCIA-Datacom flashcards are available?

The flashcard set has 32 Huawei HCIA-Datacom cards. Each card shows the term and its definition.

Which topics does the Huawei HCIA-Datacom study material cover?

The Huawei HCIA-Datacom study material has 8 sections, including Data Communication and Network Fundamentals, IP Addressing and Routing Fundamentals (Static Routing, OSPF Basics), and Ethernet Switching Fundamentals (VLAN, STP/RSTP, Link Aggregation).

What format facts does the catalog list for the Huawei HCIA-Datacom exam?

The catalog lists these item types: multiple choice (single answer), multiple response, and true/false for the Huawei HCIA-Datacom exam.