Community Q&A
H12-821 — frequently asked questions
Community-vetted answers to 95 common questions about this exam, each traced back to a specific practice question.
Questions from real practice questions
Each Q&A comes from a specific question — follow the link for the full analysisOSPF Backbone Area Requirement for ABRs
Can an ABR connect only to a non-backbone area?
No. An ABR must connect to the backbone area (Area 0) to advertise inter-area routes. Without a connection to Area 0, it cannot participate in inter-area routing.
What happens if a non-backbone area is not connected to Area 0?
It cannot exchange routing information with other areas. Routes within that area remain isolated unless a Virtual Link is configured to extend the backbone.
OSPF DD Packet Content and Synchronization Mechanics
Do OSPF neighbors periodically synchronize their LSDB?
No. OSPF neighbors do not periodically synchronize their entire Link State Database. They only exchange updates when there is a topology change or during the initial adjacency formation process.
What exactly does an OSPF DD packet contain?
DD packets contain only the headers of LSAs (Router ID, LSA Type, LSA Sequence Number, etc.), not the full LSA body. They are used to describe the database state.
OSPF Neighbor vs Adjacency Relationship Rules
What state do non-DR/BDR routers reach when connecting to each other?
They reach the 2-Way state and remain there. They do not proceed to Exchange or Full states because they do not need to synchronize LSAs directly.
Can OSPF neighbors exchange routing information without being adjacent?
No, full routing information (LSAs) requires an Adjacency. However, basic control information like Hellos is exchanged at the Neighbor level.
IS-IS Supported Cost Types: Wide vs Narrow
What is the difference between Narrow and Wide metrics in IS-IS?
Narrow metrics use a 6-bit field (range 1-63), while Wide metrics use a 24-bit field (range 1-16,777,215). Wide metrics are required for large, modern networks.
Is there a 'default' cost type in IS-IS?
No, 'default' is not a specific cost type name. The default behavior usually defaults to Narrow on older implementations, but Wide is the standard for modern deployments.
Huawei OSPF Route Summarization Commands and Defaults
What is the difference between asbr-summary and abr-summary?
asbr-summary summarizes external routes (Type 5 LSAs) and is configured in the OSPF process view. abr-summary summarizes inter-area routes (Type 3 LSAs) and is configured in the area view.
Does abr-summary advertise by default?
Yes. If you do not specify 'not-advertise', the router will automatically advertise the summarized route to other areas.
OSPF LSA Refresh Interval and Protocol Mechanics
Does OSPF use TCP for reliable delivery?
No. OSPF encapsulates packets directly in IP using Protocol 89. It implements its own reliable transmission using sequence numbers and acknowledgments within OSPF packets.
What is the difference between SPF and Bellman-Ford in routing?
OSPF uses Dijkstra's SPF algorithm to build a shortest path tree based on link states. Distance-vector protocols like RIP use the Bellman-Ford algorithm to determine paths based on hop counts.
IS-IS Loopback Route Advertisement Analysis
Does IS-IS automatically advertise all loopback interfaces?
No. Only interfaces where IS-IS is explicitly enabled will have their connected prefixes included in the router's LSPs.
What happens if IS-IS is disabled on a physical interface?
The interface will not participate in IS-IS adjacencies, nor will its connected network be advertised to other routers.
Multiple BGP Processes on a Single Router
Can I run two BGP processes with the same AS number on one router?
No, you cannot run two BGP processes with the identical AS number on the same router due to identifier conflicts. Each process must have a unique AS number.
Why would someone configure multiple BGP processes on a single router?
Common reasons include multihoming to different ISPs with different ASNs, implementing route reflectors, or separating internal and external routing domains for policy control.
Identifying Unsuitable Scenarios for Interface PBR Deployment
Can PBR be used to steer traffic to off-path security devices?
Yes, PBR is commonly used to forward traffic to off-path devices like firewalls or intrusion detection systems by specifying the device as the next-hop in the policy.
How do I control the path for locally originated traffic?
Locally originated traffic follows the standard routing table. To influence its path, you should use specific static routes with adjusted preferences or VRFs, not interface PBR.
RSTP Improvements Over STP: Identifying Incorrect Statements
Why does RSTP use 3 missed Hellos instead of 4?
RSTP was designed for rapid convergence. Missing 3 consecutive Hellos provides a quick and reliable signal that the neighbor is down, allowing the port to transition to discarding state immediately without waiting for the longer Max Age timer used in legacy STP.
What are the three port states in RSTP?
RSTP consolidates the five legacy STP states into three: Discarding (replaces Blocking and Listening), Learning, and Forwarding. This reduces the time a port spends in non-forwarding states.
Multi-Channel Protocols: H.323 and FTP Analysis
Why is FTP considered a multi-channel protocol?
FTP uses TCP port 21 for control commands and a separate dynamic port (or port 20 in active mode) for data transfer, keeping control and data streams isolated.
Does Telnet use multiple channels?
No. Telnet uses a single TCP connection (port 23) to carry both user keystrokes and terminal output simultaneously.
VRRP Virtual MAC Address Calculation for VRID 3
Why does the VRRP MAC address start with 00-00-5E?
This prefix is assigned by IANA specifically for IPv4 Virtual Router Redundancy Protocol (VRRP) to ensure unique identification across different networks.
Does the Virtual IP address affect the MAC address?
No. The VRRP virtual MAC address is generated solely based on the VRID using the formula 00-00-5E-00-01-{VRID}. The IP address is independent.
WLAN Roaming Frame Types and Channel Constraints
What is the difference between Association and Reassociation?
Association is the initial connection to an AP. Reassociation occurs when a client moves from one AP to another within the same ESS, allowing for context transfer.
Can a client roam between APs on different channels?
Yes, clients can roam between APs operating on different channels. This is common in layered or mesh deployments and does not break the connection.
IS-IS Backbone Router Types
What is the difference between IS-IS backbone and OSPF Area 0?
IS-IS backbone is defined by functionality (all L2 routers), while OSPF Area 0 is a specific logical area ID. Any router running L2 is in the IS-IS backbone.
Can a Level-1 router be in the backbone?
No. Level-1 routers only communicate within their own area and do not participate in the Level-2 backbone domain.
Analyzing Huawei Advanced ACL Rule Syntax and Behavior
What does a wildcard mask of 0 mean?
A wildcard mask of 0 indicates an exact match. For example, '192.168.1.3 0' matches only the specific host 192.168.1.3 and no other addresses.
Does an advanced ACL automatically block traffic?
Yes. All Huawei ACLs include an implicit deny any rule at the very end. If a packet does not match any explicit permit rule, it is denied by default.
How do I identify an advanced ACL in Huawei devices?
Advanced ACLs are identified by their number range (3000-3999) and the 'ad' prompt indicator during configuration. They can filter based on protocol, source/destination ports, and IP addresses.
Huawei Firewall Default Security Zone Restrictions
Which default security zones exist in Huawei firewalls?
Common default zones include Local (priority 100), Trust, Untrust, and DMZ. Their priorities are fixed and cannot be altered.
Can I delete the Untrust zone?
No. Default security zones cannot be deleted. Only user-defined custom zones can be removed when they are no longer required.
OSPF Default External Route Cost Calculation
What is the default external cost in OSPF?
The default external cost for redistributed routes in OSPF is typically 1.
How do I calculate cost for OSPF Type 1 routes?
For Type 1 (E1) routes, add the external metric to the internal cost of the path to the ASBR.
OSPF DR/BDR Election Rules and Preemption Behavior
What happens if both routers on a segment have OSPF priority 0?
Neither router can become the DR or BDR. They will fail to establish a full adjacency and may get stuck in the Exchange/Loading state.
Is OSPF DR election preemptive?
No. OSPF DR/BDR election is non-preemptive. The current DR keeps its role unless it fails or the interface is reset, regardless of new higher-priority routers joining.
Comparing IS-IS and OSPF: Key Differences in Architecture and Scalability
Why is IS-IS considered more scalable than OSPF?
IS-IS has a simpler packet format and uses a hierarchical design that scales better in large core networks. Its separation from the network layer also reduces processing overhead.
Can an IS-IS router belong to multiple areas?
Yes, unlike OSPF where areas are defined per interface, IS-IS defines areas per router. An IS-IS router can be configured with up to three area addresses simultaneously.
IS-IS Packet Structure Scalability: TLV vs OSPF Fixed Headers
Why is CLNS not the answer for IS-IS packet structure?
CLNS is the OSI Layer 3 service IS-IS runs on, not the internal packet format. TLV describes how bits are organized inside the packet to allow flexible expansion.
How does TLV improve scalability over OSPF?
TLV uses variable-length fields, so new features can be added as new TLVs without changing the base packet type or size, maintaining backward compatibility.
Mapping IPv4 Multicast IP to Ethernet MAC Address
Why are only 23 bits of the IP address used?
Ethernet has 48-bit MAC addresses. The first 24 bits are reserved for multicast prefixes (01-00-5E). Only 23 bits remain for the IP address because one bit must be set to 0 to ensure the MAC remains a locally administered unicast-looking address structure, though technically it's just part of the 24-byte payload space.
Does every IPv4 multicast IP have a unique MAC?
No. Since there are 32 possible multicast IPs but only ~8 million unique MACs available for this mapping, multiple IP addresses can map to the same MAC address. This is why switches may receive traffic for groups they haven't explicitly joined if they rely solely on MAC filtering.
VRRP and BFD Integration Failover Behavior
Why use BFD with VRRP?
BFD provides sub-second failure detection, allowing VRRP to converge much faster than relying on VRRP hello timers alone.
What triggers the backup router to become Master in VRRP+BFD?
The loss of the BFD session between the devices triggers the backup router to assume the Master role immediately, bypassing the Master_Down_Timer.
IS-IS NET Structure: Area Address Components
What is the total length of an IS-IS NET?
An IS-IS NET is typically 12 to 14 bytes long, comprising the Area Address, System ID, and N-Selector.
What does the N-Selector in IS-IS stand for?
The N-Selector is usually set to 0x00 for IP networks, indicating that the NET is used for Layer 3 routing rather than other protocols.
STP Designated Port Election Parameters
Does STP compare the Port IDs of two different switches directly?
No. Switches compare the Sender Port ID included in the BPDU, but the primary election decisions rely on the Root Bridge ID and Root Path Cost first. Port IDs are typically used to break ties when other parameters are equal.
What happens if two switches have the same Root Bridge ID?
If the Root Bridge IDs are identical, the next parameter compared is the Root Path Cost. The port with the lower accumulated cost to the root bridge will be favored in the election process.
BGP Confederation Internal Connectivity Misconception
Why do BGP confederations use sub-AS numbers?
Sub-AS numbers are used to prevent routing loops within the confederation. They allow routers to distinguish between routes learned from different parts of the same physical AS.
Do external peers see the sub-AS numbers?
No. External peers see the entire confederation as a single Autonomous System defined by the original AS number. The sub-AS details are hidden internally.
Huawei Firewall Default Security Zone Priorities
Why does the Local zone have the highest priority?
The Local zone represents the firewall device itself. Assigning it the highest priority (100) ensures that any traffic destined for the firewall's management interface is strictly controlled and prioritized over traffic passing through other zones.
Can I change the priority of the Untrust zone?
No, the priority of the default security zones (Local, Trust, Untrust, DMZ) cannot be modified on Huawei firewalls. They are hardcoded into the system to maintain a consistent security baseline.
VLAN Pool Assignment Algorithms in Huawei WLAN
What is the difference between Even and Hash-based VLAN allocation?
Even allocation distributes VLANs sequentially to balance load among STAs, while Hash-based allocation uses the STA's MAC address to ensure the same STA always receives the same VLAN.
Why can't I use the Even algorithm for consistent IP addressing?
The Even algorithm rotates VLAN assignments based on connection order, causing the same STA to potentially receive different VLANs (and thus different IPs) across sessions.
Modifying Routing Attributes with Apply Clauses in Huawei Route-Policy
Can I modify both OSPF cost and cost type in the same route-policy node?
Yes, a single node in a route-policy can contain multiple apply clauses. You can use apply cost and apply ospf cost-type together to modify different aspects of an OSPF route.
Does applying these changes affect the local router's LSDB?
Modifications made via route-policies typically affect the routing table and how routes are advertised to neighbors, but they do not directly alter the Link State Database (LSDB) itself, which is maintained by the routing protocol process.
Advantages of Link Aggregation: Bandwidth, Reliability, and Load Balancing
Does link aggregation provide route backup?
No. Link aggregation provides link-level redundancy. If a physical member fails, traffic shifts to other members. Route backup refers to selecting alternative paths in the routing table, which is handled by routing protocols like OSPF or BGP.
How does link aggregation improve reliability?
It uses active-active mode where multiple physical links carry traffic simultaneously. If one link fails, the others continue to operate, ensuring continuous connectivity without manual intervention.
MSTP Multiple Instances and Load Balancing Analysis
What is MSTI 0 in Huawei MSTP?
MSTI 0 is the default Internal Spanning Tree instance. It automatically includes all VLANs that are not explicitly mapped to other MSTIs (1-255). It is always present in an MST region.
Can an Alternate port forward traffic?
An Alternate port blocks traffic for the specific instance where it is Alternate. However, in MSTP, a physical port can have different roles for different instances. It might be Alternate for MSTI 1 but a Root or Designated port for MSTI 2, thus forwarding traffic for MSTI 2.
Which routing entries supply the RPF check route
Does PIM participate in the RPF check as a routing source?
No. PIM does not create routes toward sources; it queries the RPF result — from unicast, multicast static or MBGP entries — to decide the upstream interface and then builds (S,G) or (*,G) state.
Which table is used for RPF when no multicast static or MBGP route exists?
The normal unicast routing table is used by default. A configured multicast static route or an MBGP route can override that path when the source must be reached differently.
Why do MBGP routes matter for an RPF check?
MBGP lets multicast reachability to a source differ from the unicast path, so the RPF lookup can select the correct upstream interface for multicast forwarding even when unicast would choose another.
Causes for Failed IKE Triggering in Huawei IPsec Deployments
What triggers IKE negotiation in Huawei USG firewalls?
IKE negotiation is typically triggered by 'interesting traffic,' which is defined by a Security ACL referenced in the IPsec policy. When matching traffic is detected, the firewall initiates Phase 1.
Can a security policy block prevent IKE from starting?
Yes. If an interzone security policy denies the traffic before it reaches the IPsec engine, the firewall drops the packet locally. Since the traffic never reaches the crypto module, no interesting traffic is detected, and IKE is not triggered.
BFD Optimization: Why Minimum Interval Settings Are False
Why is setting BFD intervals to the minimum value bad?
It generates excessive control plane traffic, increasing CPU usage and potentially causing false session flaps if the device cannot process packets fast enough.
What is the purpose of the WTR timer in BFD?
The Wait-to-Restore timer prevents frequent master/backup switchovers when a BFD session is unstable, ensuring traffic remains on the backup until the primary path is stable for a defined period.
VRRPv2 Characteristics: Defaults, Auth, and Address Family
Does VRRPv2 support IPv6?
No, VRRPv2 is strictly for IPv4. VRRPv3 (RFC 5798) was introduced to support both IPv4 and IPv6.
What is the default priority in VRRP?
The default priority is 100. Routers with higher priorities are preferred to become the Master router.
BGP Incremental Updates and Mandatory Attributes
Does BGP send full routing tables periodically?
No, BGP sends a full table only once during session establishment. Subsequently, it sends only incremental updates for changes.
What happens to the Next_Hop attribute in EBGP?
The advertising router typically sets the Next_Hop to its own interface IP address to ensure the peer can reach the destination via itself.
BGP Local_Pref Attribute Scope and Priority Rules
Can Local_Pref be sent to eBGP peers?
No. Local_Pref is a Well-Known Discretionary attribute that is only exchanged between iBGP peers. It is never advertised to eBGP peers to prevent influencing external AS path selection.
What happens if Local_Pref is not set?
If no Local_Pref is explicitly configured, BGP assigns a default value of 100 to the route. This ensures a baseline preference level for all internal routes.
FIB Tunnel ID Zero Meaning in Huawei VRP
What does a tunnel ID of 0 mean in Huawei VRP?
It indicates that the packet is forwarded via standard IP routing without any tunnel encapsulation like MPLS or GRE.
When is a tunnel ID non-zero used?
A non-zero tunnel ID is used when the packet must be encapsulated into a specific tunnel, such as an MPLS LSP or GRE tunnel, for forwarding.
IS-IS IIH Circuit Type Values for Level-1-2 Routers
What does the Circuit Type field in IS-IIH packets indicate?
It indicates the routing level of the sender: 01 for Level-1, 10 for Level-2, and 11 for Level-1-2 routers.
Why do Level-1-2 routers use Circuit Type 11?
Using 11 allows the router to signal its capability to participate in both intra-area (L1) and inter-area (L2) routing, enabling adjacencies with both L1 and L2 neighbors.
IS-IS Level-1 Default Route vs Level-2 Specific Routes
Why does R1 not have specific routes?
R1 is a Level-1 router. By design, L1 routers do not exchange detailed LSPs from other areas. Instead, they receive a default route (0.0.0.0/0) from the attached L1/L2 router to reach external networks.
What is the role of the ATT bit?
The ATT (Attached) bit in an L1/L2 router's LSP signals to L1 routers in that area that it connects to the Level-2 backbone. L1 routers use this to decide whether to install a default route.
RSTP Supported Port Roles Explained
What is the difference between Alternate and Backup ports in RSTP?
An Alternate port is a backup path to the Root Bridge, replacing the Root port if it fails. A Backup port is a redundant path to a Segment, replacing the Designated port on that segment.
Does RSTP still use the Blocking state?
No. RSTP eliminates the Listening and Learning states and replaces the passive Blocking state with Active Alternate and Backup port roles that can transition to Forwarding rapidly.
IS-IS DIS Election on Broadcast Networks
Does IS-IS have a Backup DIS?
No, unlike OSPF which elects a Backup DR, IS-IS only elects one DIS. If the DIS fails, a new election occurs immediately.
What happens if two routers have the same IS-IS priority?
If priorities are equal, the router with the numerically largest System ID is elected as the DIS.
BGP Locally Originated Route Priority Order
Why does the network command have higher priority than import-route?
The network command explicitly defines routes as originating from the local AS, treating them with higher confidence and administrative weight than redistributed routes.
Does manual summarization beat the network command?
No, manual summarization (aggregate) routes are derived from existing routes and typically have a lower preference value than those defined directly via the network command.
OSPF NSSA Route Summarization on ABR
What happens if an ABR does not translate Type 7 LSAs?
If an ABR does not translate Type 7 LSAs, the external routes remain confined within the NSSA and are not advertised to other OSPF areas, limiting their visibility.
Can multiple ABRs summarize NSSA routes?
Yes, multiple ABRs can perform summarization, but best practices recommend configuring it on a single ABR to avoid inconsistent routing information.
Basic ACL Matching Items in Huawei VRP
Can a basic ACL match Destination IP addresses?
Technically, no. Basic ACLs only match the Source IP address. However, in exam questions, options may group 'Source/Destination IP' to represent IP-layer matching versus MAC-layer matching.
What is the purpose of the 'fragment' parameter in a basic ACL?
The 'fragment' parameter allows the ACL to identify and match fragmented IP packets, enabling security policies specifically targeting fragmentation attacks.
How does 'time-range' affect ACL rules?
A time-range activates or deactivates an ACL rule during specified periods, allowing dynamic policy enforcement based on time without modifying the ACL configuration itself.
Huawei ACL Default Rule ID Increment
What is the default starting ID for Huawei ACL rules?
The default starting ID for Huawei ACL rules is 5. Subsequent rules increment by 5 unless explicitly specified.
Do Route-Policy nodes use the same increment as ACL rules?
No. Route-Policy nodes default to an increment of 10 (starting at 10), while ACL rules default to an increment of 5 (starting at 5).
Can ACLs Match IP Prefix and Mask Length? H12-821 Exam Question
How does an ACL distinguish between /24 and /25?
An ACL distinguishes between different prefix lengths by using different wildcard masks. For a /24, the wildcard is 0.0.0.255, while for a /25, it might be 0.0.0.127, allowing the router to check specific bits.
Where are ACLs used for route filtering in Huawei devices?
ACLs are commonly used within route-policy configurations to permit or deny routes based on their destination IP address and subnet mask length.
← Back to H12-821 HCIP-Datacom-Core Technology V1.0 Study Guide