Community Q&A
H12-811 — frequently asked questions
Community-vetted answers to 210 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 analysisSTP Port Cost vs Bandwidth Relationship
Why does STP assign lower costs to higher bandwidth links?
To ensure the most efficient paths are selected. Lower cost links are preferred, so high-speed links become the primary forwarding paths.
Can I manually change the STP port cost?
Yes, administrators can manually configure port costs on switches if the default auto-calculated values do not meet design requirements.
Switch Port Handling of Untagged Frames and PVID
What is the PVID?
The PVID (Port Default VLAN ID) is the default VLAN identifier assigned to a switch port. It is used to classify incoming untagged frames into a specific VLAN.
Do all ports add VLAN tags to untagged frames?
No. Access ports associate untagged frames with the PVID but do not add tags to them upon egress. Hybrid ports can be configured to accept untagged frames without adding tags or to drop them entirely.
IEEE 802.11ac Frequency Band Support
Does 802.11ac support 2.4 GHz?
No, IEEE 802.11ac operates exclusively on the 5 GHz frequency band. It does not support the 2.4 GHz band.
Which Wi-Fi standard supports both 2.4 GHz and 5 GHz?
IEEE 802.11n (Wi-Fi 4) and IEEE 802.11ax (Wi-Fi 6) support both 2.4 GHz and 5 GHz bands. 802.11ac is limited to 5 GHz.
OSPF DR and BDR Election Process on Multi-Access Networks
Can a router with priority 0 become BDR?
No. A priority of 0 means the router is ineligible to become either the DR or the BDR. It will only participate in adjacency formation as a DROther.
What happens if all routers have the same priority?
If all priorities are equal (and non-zero), the election is decided solely by the Router ID. The router with the highest Router ID becomes the DR, and the one with the second-highest becomes the BDR.
Huawei Router User Domain Assignment Logic
What happens if I create a user with '@Area1' in the name?
If you create a user named 'huawei@Area1', the user will be explicitly assigned to the Area1 domain, overriding the default domain assignment.
Is there a difference between 'default' and 'default_admin' domains?
Yes. The 'default' domain is for common users, while the 'default_admin' domain is typically reserved for administrative users with higher privileges.
MPLS Header Structure Fields
What does the S bit stand for in MPLS?
The S bit stands for Bottom-of-Stack. It indicates whether the current label is the last one in the stack.
Is EXP the same as ToS?
No. ToS is in the IP header. EXP is in the MPLS header and carries similar QoS priority information but is distinct.
Incorrect Statements Regarding OSPF Router ID Requirements
Does an OSPF Router ID have to be an actual interface IP?
No. While OSPF often picks the highest IP from a loopback or physical interface, you can manually configure any valid 32-bit value as long as it is unique.
Can OSPF Router IDs be duplicated in different areas?
No. The Router ID must be unique across the entire OSPF autonomous system, regardless of which area the routers belong to.
Is manual configuration of the Router ID mandatory?
No. If not manually configured, OSPF will automatically select a Router ID from the available interface IPs on the device.
OSPF Protocol Features: Triggered Updates and Area Division
Does OSPF calculate paths based on hop count?
No. OSPF calculates the shortest path using a cost metric, typically derived from interface bandwidth. Hop count is the metric used by RIP.
Why are routing loops unlikely in OSPF?
OSPF maintains a complete map of the network topology using LSAs. Each router runs the Dijkstra SPF algorithm independently to build a loop-free tree.
Interpreting Routing Table Flags and Forwarding Decisions in Huawei VRP
What does the 'RD' flag mean in a Huawei routing table?
In Huawei VRP, 'R' stands for Relay and 'D' stands for Download. It indicates the route is active and has been installed in the Forwarding Information Base (FIB) for data plane forwarding.
Can a router forward packets to a non-directly connected next hop?
Yes. Routers use recursive routing to resolve indirect next hops. As long as the route is in the FIB (flag D), the router will forward packets toward that next hop.
Campus Network VLAN Assignment Methods
Why are there so many ways to assign VLANs?
Different organizations have different priorities. Some prioritize physical troubleshooting (geographic), while others prioritize security and QoS (service type or logical).
Is one VLAN assignment method better than others?
No single method is universally superior. Hybrid approaches are common, using geographic assignment for basic connectivity and logical/service types for advanced policy enforcement.
IPv6 EUI-64 Address Generation from MAC Address
Why is the 7th bit flipped in EUI-64?
The 7th bit is the Universal/Local (U/L) bit. It is flipped from 0 to 1 to indicate that the interface identifier is derived from a globally unique MAC address, distinguishing it from locally administered addresses.
What is the exact structure of an EUI-64 address?
An EUI-64 address is formed by taking the 48-bit MAC address, inserting 0xFFFE in the center, and inverting the 7th bit of the first octet. This creates a 64-bit interface identifier.
IPv6 Anycast Address Characteristics and Functions
Do IPv6 anycast addresses have a specific prefix?
No, IPv6 anycast addresses do not have a dedicated prefix. They are taken from the same address space as unicast addresses and are identified by being assigned to multiple interfaces.
Does IPv6 anycast provide load balancing?
Not directly. While it can distribute traffic to different geographic nodes, it does not perform active load balancing based on server capacity or current connections. Its primary role is redundancy and nearest-node access.
RSTP vs STP: New Port Roles Explained
What is the difference between an Alternate and a Backup port 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 backup path to a Segment, replacing the Designated Port on that segment if it fails.
Do Root and Designated ports exist in both STP and RSTP?
Yes. Both protocols use Root Ports (best path to root) and Designated Ports (forwarding on each segment). Only Alternate and Backup are new to RSTP.
Identifying Invalid Unicast MAC Addresses Based on I/G Bit
What does the first bit of a MAC address indicate?
The least significant bit of the first octet is the Individual/Group (I/G) bit. A value of 0 indicates a unicast address, while 1 indicates a multicast or broadcast address.
Why can't a host use a multicast MAC address?
Multicast addresses are designed to reach a group of devices simultaneously. A host network adapter needs a unique unicast address to receive frames specifically addressed to it alone.
VRP Router Configuration Methods: Console, Telnet, and AUX
Why is FTP not considered a configuration method?
FTP is a file transfer protocol used to upload or download files like configuration backups or system images. It does not provide an interactive command-line interface to execute configuration commands directly on the router.
What is the primary use of the AUX port?
The AUX port is primarily used for modem connections, enabling out-of-band remote configuration via dial-up lines. It serves as a backup management path when network connectivity is lost.
Which WLAN Security Policy Supports Open Link Authentication?
What is open link authentication in Wi-Fi?
It is a method where a client associates with an AP without providing any credentials. The authentication phase is essentially a null exchange.
Why is WEP considered insecure regarding authentication?
WEP supports Open System authentication, meaning anyone can connect to the network without knowing the WEP key, although they still need the key to decrypt traffic.
Identifying Collision and Broadcast Domains with Hubs and Routers
Do Hubs separate collision domains?
No. All devices connected to a Hub share the same collision domain. Any frame transmitted by one device is seen by all others, increasing the chance of collisions.
Do Switches separate broadcast domains?
No. By default, switches forward broadcast frames out all active ports except the source port, keeping all connected devices in the same broadcast domain.
How does a Router affect broadcast domains?
Routers do not forward broadcast frames (by default). Each interface on a router represents a separate broadcast domain, effectively isolating networks.
RSTP Backup vs Alternate Port Roles
What is the difference between Alternate and Backup ports in RSTP?
An Alternate port provides a backup path to the Root Bridge and replaces a failed Root Port. A Backup port provides a backup path to a network segment and replaces a failed Designated Port.
Why does RSTP have both Alternate and Backup ports?
They handle different types of redundancy. Alternate ports deal with upstream failures toward the root, while Backup ports deal with downstream loop prevention on shared segments where two ports connect to the same LAN.
Huawei AR Router Save Command Purpose
What command sets the system time on Huawei routers?
Use the 'clock datetime' command to manually set the system time on Huawei AR routers.
Where does the save command store the configuration?
The save command stores the configuration in the startup-configuration file on the device's flash memory.
SNMP Architecture Components: NMS, Agent, and MIB
Why is Managed Object not selected?
While Managed Objects exist within SNMP, they are instances of data stored in the MIB. The MIB itself is the structural component (database/schema) that composes the system architecture.
What is the role of the NMS in SNMP?
The NMS (Network Management Station) acts as the manager that initiates requests to agents and processes the responses or traps received from managed devices.
Eth-Trunk Status with Manual Load Balancing
Does the Eth-Trunk state depend on the peer device?
Indirectly. The Eth-Trunk depends on its local member interfaces. If the peer disables a link, the local link usually goes down due to link loss. The Eth-Trunk state depends on how many local members remain active.
What happens if all member links are down?
If all member interfaces in an Eth-Trunk are down, the Eth-Trunk interface itself transitions to the Down state because it has no active paths for traffic.
IPv4 Header Options Field Maximum Length
Why is the IPv4 header limited to 60 bytes?
The IHL (Internet Header Length) field is 4 bits, allowing a maximum value of 15. Since each unit is 4 bytes, 15 * 4 = 60 bytes maximum.
What happens if the Options field exceeds 40 bytes?
It is impossible under the IPv4 standard because the total header cannot exceed 60 bytes. If more data is needed, it must go into the payload, not the header.
TCP/IP vs OSI Model Layer Differences
Why is 'Network layer' not a TCP/IP layer?
While TCP/IP has a layer that performs network functions (IP routing), it is specifically named the 'Internet layer'. The term 'Network layer' belongs exclusively to the OSI model.
What happens to Session and Presentation layers in TCP/IP?
These OSI layers are not separate in TCP/IP. Their functionalities (session management, data formatting, encryption) are integrated into the single TCP/IP Application layer.
Requirements for Switch Link Aggregation Interfaces
Do member interfaces in an Eth-Trunk need the same speed?
Yes, all member interfaces in a link aggregation group must have the same physical rate (e.g., all 1Gbps) to ensure proper load balancing and frame ordering.
Is it required to use the same SFP optical modules on both sides?
No, while using compatible modules is best practice, link aggregation does not strictly require identical optical module models as long as they are interoperable.
Why must the number of physical interfaces be the same?
Both switches must agree on the number of active member links to form a stable logical channel; mismatched counts prevent the Eth-Trunk from establishing correctly.
Impact of Mismatched Trunk PVIDs on VLAN Connectivity
Why are frames untagged between switches in this scenario?
Because the VLAN ID of the traffic matches the Port VLAN ID (PVID) of the trunk port. Switches transmit PVID traffic as untagged frames on trunk ports.
Can hosts in different VLANs communicate without a router here?
Yes, if the trunk link's PVID configuration effectively maps the same logical VLAN ID on both ends, allowing the frames to traverse the link with preserved VLAN identity.
Advantages of OSPF Protocol Features
Does OSPF support VLSM?
Yes, because OSPF carries subnet mask information in LSAs, it fully supports Variable Length Subnet Masking (VLSM) and CIDR.
Why is area partition important in OSPF?
Area partition limits the size of the Link State Database, reduces flooding overhead, and isolates topology changes to specific areas, improving stability.
Routing Table Components Explained
What does the 'Protocol' column in a routing table indicate?
It shows how the route was learned, such as Static, OSPF, RIP, or Connected.
Is the Next-hop address always present in a routing table entry?
It is present for indirect routes. For directly connected networks, the next-hop may be omitted or implied.
Identifying Valid OSPF Packet Types vs LSAs
What are the 5 OSPF packet types?
The five OSPF packet types are Hello, Database Description (DBD), Link State Request (LSR), Link State Update (LSU), and Link State Acknowledgment (LSAck).
Is LSA an OSPF packet?
No. LSA stands for Link State Advertisement. It is a block of routing information that is encapsulated inside an LSU (Link State Update) packet.
OSPF Supported Network Types: P2P, NBMA, P2MP, and Broadcast
Does OSPF automatically elect a DR on Point-to-Point networks?
No. On Point-to-Point networks, OSPF forms adjacencies directly without electing a DR or BDR. DR/BDR elections only occur on Broadcast and NBMA network types.
What is the difference between NBMA and Point-to-Multipoint in OSPF?
NBMA requires manual neighbor configuration and elects a DR. Point-to-Multipoint treats the network as a set of point-to-point links, does not elect a DR, and can auto-discover neighbors if multicast is available.
MPLS S Field Bottom of Stack Logic
What does the MPLS S field stand for?
The S field stands for 'Bottom of Stack' (BoS). It is a 1-bit flag in the MPLS label header.
Is the MPLS S field size different in ATM cells vs Ethernet frames?
No. The S field is always 1 bit long regardless of whether the MPLS packet is carried over frame-mode networks (like Ethernet) or cell-mode networks (like ATM).
Huawei Router Telnet Login Failure Causes
Why does User Level 0 prevent Telnet login?
In Huawei VRP, User Level 0 is restricted to diagnostic commands and does not allow interactive login or configuration access.
Can I still use Ping if my account is Level 0?
Yes, Level 0 users typically have permission to run simple diagnostic tools like ping and tracert, but cannot log in to manage the device.
Huawei AR G3 AAA Authentication Modes
Is 802.1X considered an AAA authentication mode?
No. 802.1X is a network access control protocol that uses AAA services (like RADIUS) for authentication. It is not a selectable mode within the AAA configuration itself.
What happens if I use the 'None' authentication mode?
The 'None' mode allows users to access the device without providing any credentials. This is typically used for testing or in trusted environments where authentication is handled externally.
How STAs Learn an AP SSID Before Association
Does the STA need both Beacon and Probe Response to learn the SSID?
No. Passive scanning uses Beacon frames, while active scanning uses Probe Request and Probe Response. In a given scan the STA may receive a Beacon or a Probe Response, but all three frame types are part of SSID discovery before association.
Why is Discovery not a correct packet type?
Discovery is the overall process of finding a WLAN, not an IEEE 802.11 management frame. The actual frames here are Beacon, Probe Request, and Probe Response.
What SSID does a wildcard Probe Request carry?
A wildcard Probe Request uses a zero-length SSID to ask all nearby APs to respond. Each AP’s Probe Response then carries its own SSID so the STA can choose a network.
Identifying Multipath Routes in Routing Tables
Are all multipath routes equal-cost?
No. Multipath is a general term. Equal-cost multipath (ECMP) is a specific type where metrics are identical. Unequal-cost multipath (UCMP) exists in some advanced configurations.
Why isn't 'Equal-cost routes' the answer?
Because the question does not specify that the routes have the same metric. 'Multipath routes' is the generic term for any scenario involving multiple valid paths to a destination.
Access vs Trunk Port Frame Tagging Rules
Does a trunk port send untagged frames?
Yes. Frames belonging to the trunk’s native VLAN are sent untagged, while frames for other allowed VLANs are normally tagged with 802.1Q.
Why can an access port send untagged frames when the switch assigns it a VLAN?
The switch classifies incoming untagged frames into the access VLAN internally; on egress it removes the tag so an ordinary host receives a standard Ethernet frame.
Would changing the native VLAN make option D correct?
No. Changing the native VLAN changes which VLAN is untagged on a trunk, but a trunk still sends tagged frames for other VLANs; access ports still send untagged frames.
OSPF DR Election Rules and Priority Configuration
Does OSPF DR election happen automatically?
Yes, on broadcast and NBMA networks, OSPF automatically elects a DR and BDR during adjacency formation based on priority and Router ID.
Can a router with priority 0 become the BDR?
No. Setting the interface priority to 0 disqualifies the router from both DR and BDR roles. It can only participate as a DROTHER.
Huawei Eth-Trunk Manual Load Balancing Mode: Active Links and LACP Boundary
Does Huawei Eth-Trunk manual load balancing mode send LACPDUs?
No. Manual load balancing is static; member interfaces are added without LACP negotiation, so no LACPDUs are exchanged between peers.
Can you set the number of active interfaces in manual load balancing mode?
No. The active-interface limit and selection apply to LACP mode; in manual mode all configured member interfaces remain active.
Is the number of active interfaces limited to four in manual mode?
No. There is no four-active-interface rule for manual mode; manual mode does not perform active-interface election.
Configuring VAPs on an AP for Differentiated WLAN Services
Can one physical AP really provide different VLANs and security for different users?
Yes. Multiple VAPs can be created on one AP, and each VAP can map its SSID to a different VLAN, authentication/security profile, and QoS policy.
Why is VAC not the correct answer?
A VAC (wireless access controller) manages and controls APs; it is not the per-AP virtual service instance that directly segments user traffic into differentiated SSIDs and policies.
Does a VAP require a separate physical radio?
No. A VAP is virtualized on a physical AP and shares the radio resources; the differentiation comes from per-VAP SSID, VLAN, security, and QoS settings.
Huawei VRP Ping -i Parameter Function
What is the difference between -i and -a in Huawei ping?
-i specifies the outbound interface for the Echo Request, allowing the router to choose the source IP based on that interface. -a explicitly sets the source IP address.
Can I use -i to specify a loopback interface?
Yes, you can use -i followed by a loopback interface name (e.g., -i LoopBack 0) to send the ping request from that logical interface.
Inter-VLAN Routing and ARP Limitations
Why doesn't ARP work across VLANs?
ARP broadcasts are confined to the local broadcast domain. Since VLANs isolate broadcast domains, an ARP request from one VLAN never reaches another VLAN without a Layer 3 router performing proxy ARP or forwarding.
What should Host A's ARP cache contain for Host B?
If Host A and Host B are in different subnets, Host A's ARP cache should contain the MAC address of its default gateway (router), not Host B's MAC address.
Trunk Port Tagging Behavior and PVID Rules
What happens to untagged frames received on a trunk port?
They are assigned the VLAN ID configured as the port's PVID (default VLAN). In this case, untagged frames become VLAN 200.
Can a trunk port send both tagged and untagged frames?
Yes. It sends untagged frames only for the PVID and tagged frames for all other allowed VLANs.
Does Telnet Require Explicit Authentication Mode Configuration?
What is the default authentication mode for VTY lines in Huawei VRP?
The default authentication mode for Virtual Terminal (VTY) lines is 'password'. This means the device will prompt for a password during login without requiring explicit configuration of the authentication method.
Can I log in via Telnet if I haven't set any passwords?
No. While the authentication mode is default, you must still configure a valid password (using the 'user-interface authentication' command or AAA) for the login to succeed. Without a password, the default mode cannot authenticate anyone.
Huawei VRP File Deletion Methods and Recycle Bin
What is the difference between 'delete' and 'delete /unreserved' in VRP?
The 'delete' command moves the file to the recycle bin, allowing for recovery. The 'delete /unreserved' command permanently deletes the file immediately, bypassing the recycle bin.
How can I permanently remove files currently in the VRP recycle bin?
Use the 'reset recycle-bin' command to empty the recycle bin and permanently remove all files contained within it.
Asymmetric Routing with Static Routes on Huawei Routers
Why can't we use default routes for asymmetric routing?
Default routes are too generic and often lead to routing loops if not carefully managed. They do not allow you to specify exactly which interface (G0/0/3 vs G0/0/4) a packet should exit.
Is it valid to use a host IP with a /30 mask?
Yes. In Huawei VRP, specifying a host IP with a subnet mask that covers its network (like /30) is a valid way to define a static route to that specific subnet.
OSPF Neighbor Relationship Established State
What is the difference between OSPF neighbor and adjacency?
A neighbor relationship is established at the 2-way state, confirming bidirectional Hello exchange. An adjacency is formed later (Full state) where LSDBs are synchronized. All adjacencies are neighbors, but not all neighbors are adjacencies.
Why is the Attempt state used in OSPF?
The Attempt state is specific to NBMA (Non-Broadcast Multi-Access) networks like Frame Relay. It indicates that the router is manually configured with a neighbor and is sending periodic Hello packets, but has not yet received a response.
Inter-Chassis Eth-Trunk vs Stacked Switch Aggregation
What is the difference between iStack and CSS?
iStack (Intelligent Stack) is typically used for access and aggregation layer switches, while CSS (Cluster Switch System) is used for high-end core switches. Both virtualize multiple physical switches into one logical device.
When should I use E-Trunk instead of Eth-Trunk?
Use E-Trunk (Inter-Chassis Eth-Trunk) when connecting to a downstream device from two independent switches that are NOT stacked. Use standard Eth-Trunk when the switches are already part of a single logical stack.
Eth-Trunk Configuration Constraints and Requirements
Can I mix LACP and static mode in an Eth-Trunk?
No, both ends of the Eth-Trunk must use the same aggregation mode (either both static or both LACP) to successfully negotiate and forward traffic.
Why can't GE electrical and optical interfaces be in the same Eth-Trunk?
Different media types may have varying signal characteristics and error rates. Mixing them can cause synchronization issues and degrade the reliability of the aggregated link.
Why SWA Cannot Learn HOST A's MAC Address
Does configuring a switch port as an access interface disable MAC address learning?
No. Access, trunk and hybrid ports all learn source MAC addresses from incoming frames. Port type only controls VLAN tagging and permitted VLANs, not the learning function itself.
What settings actually prevent SWA from learning a host MAC address?
MAC address learning disabled at VLAN level or at interface level, or simply no data frame ever transmitted by the host, so no source MAC is observed.
How does the MAC address table get populated on a Huawei switch?
The switch inspects the source MAC address of each frame received on a port and, if learning is enabled for that port's VLAN, adds the MAC with its ingress port and VLAN to the MAC table.
RSTP Discarding State Does Not Learn MAC Addresses
Which RSTP states allow MAC address learning?
Only the Learning and Forwarding states learn MAC addresses. In Discarding, frames are dropped and the MAC address table is not updated, so learning effectively begins in Learning.
How does RSTP Discarding relate to classic STP states?
RSTP's Discarding state combines the legacy STP Blocking and Listening states: it neither forwards nor learns, while processing BPDUs to keep the topology loop-free.
Why doesn't a Discarding port learn source MAC addresses?
Learning from data frames would let a blocked port influence forwarding decisions and could create unstable paths; RSTP therefore confines learning to the Learning state after a loop-free path is agreed.
Does a MAC Table Hit Always Forward the Frame?
Why is a unicast frame filtered instead of forwarded when the MAC table has the entry?
If the destination MAC was learned on the same port the frame arrived on, the switch drops it rather than sending it back out that port. This avoids pointless re-transmission and helps prevent loops.
Can a known-unicast frame be dropped even though the MAC address table lookup succeeds?
Yes. If the egress port is in a blocking or discarding state under Spanning Tree, or is administratively down, the frame will not be transmitted despite a successful table hit.
What does a MAC address table hit actually tell the switch?
It tells the switch which port is associated with the destination MAC, selecting a candidate egress port. Forwarding still depends on the port's operational and STP state and whether it differs from the ingress port.
What Ctrl+Z Does in the Huawei VRP CLI
Is Ctrl+Z the same as typing return in VRP?
Yes. Both immediately move the CLI from any configuration view back to user view, discarding intermediate contexts rather than exiting them one at a time.
What is the difference between Ctrl+Z and quit in VRP?
quit exits only the current view, so you must repeat it to climb back up the hierarchy. Ctrl+Z returns to user view directly from any depth.
Which view do I land in after pressing Ctrl+Z in a Huawei interface view?
You land in user view, shown by the angle-bracket prompt <Huawei>, not in system view or the previous interface view.
Which Routers a DRother Exchanges LSAs With
Why does a DRother not exchange full LSAs with other DRothers?
DRothers on the same broadcast segment only discover each other through received Hello packets (implicit relationship). They form FULL adjacencies with the DR and BDR only, which minimises LSA flooding on multi-access networks.
What happens to DRother adjacency if the DR fails?
The BDR already holds a FULL adjacency and a complete LSDB, so it is promoted to DR immediately. DRothers then re-elect a new BDR and form a full adjacency with it, keeping exchange limited to DR and BDR.
Does this DR/BDR rule apply on point-to-point links?
No. DR/BDR election only occurs on broadcast and NBMA multi-access segments. On point-to-point links all routers form full adjacencies directly with each other, with no DRother role.
Counting VLANs Created by `vlan batch` Commands
Does `vlan batch 10 to 20` include VLAN 10 and VLAN 20?
Yes, the to keyword defines an inclusive range on Huawei VRP, so VLAN 10 through VLAN 20 are all created — eleven VLANs total.
What is the difference between `vlan batch 10 20` and `vlan 10` plus `vlan 20`?
Functionally both create the same two VLANs, 10 and 20; vlan batch simply combines them into one command line for efficiency.
How do I verify how many VLANs were actually created?
Run display vlan on the switch to list the VLANs present in the database and confirm the batch command produced the expected IDs.
Root Path Cost inside a BPDU received on SWD G0/0/4
Why is the root path cost in a received BPDU not the same as the receiving switch's root path cost?
The BPDU's root path cost field records the cost of the bridge that transmitted it. The receiver adds its own ingress port cost afterwards, so SWD ends up with 400 while the frame it received still holds 200.
When would the root path cost field in a BPDU be 0?
Only in BPDUs originated by the root bridge itself, since the root's own root path cost is always 0. Any non-root switch advertises a value of at least one port cost, here 200.
Does SWD's port G0/0/4 cost affect the BPDU it receives?
No. The 200 cost of G0/0/4 is added by SWD only when it recomputes its own root path cost; it is never included in the incoming configuration BPDU.
Dynamic MAC Address Table: Volatility, Learning and Aging
Why is option A wrong for dynamic MAC entries?
A describes static MAC entries, which are manually configured and saved to configuration storage. Dynamic entries are held in volatile memory, so a device reset, interface-card hot swap or card reset erases them; the switch relearns them from later traffic.
How can the MAC table show how many users are on an interface?
Each dynamic entry records a source MAC address learned on a port, so filtering the MAC table for that interface and counting its dynamic entries yields the number of stations currently communicating there.
How does a switch learn and age dynamic MAC entries?
The switch reads the source MAC address of each frame arriving on an interface and adds an entry, refreshing it whenever traffic from that MAC appears again. If no traffic refreshes it before the aging time (Huawei default 300 seconds), the entry is removed.
RSTP Port Roles on the Root and Non-Root Bridge
Why is G0/0/3 of SWB an alternate port instead of a backup port?
An alternate port is a redundant path to the root bridge that lost the root-port election, which is exactly SWB G0/0/3. A backup port only exists when two ports on the same switch reach the same LAN segment, so the term does not apply here.
Are all ports on the root bridge designated ports in RSTP?
Yes. The root bridge has the best bridge ID, so it cannot have a root port, and every one of its ports becomes a designated port and forwards. That is why SWA G0/0/2 and G0/0/3 are both designated.
How do I decide between B, C and D in a multi-select STP question?
Mark the root bridge first and accept every designated-port statement for it, then block the non-root switch's losing path as alternate. Reject any statement using the wrong role vocabulary, such as calling a path to the root a backup port.
Wildcard Mask Matching in ACL Rule 5
Why does wildcard mask 0.0.254.255 match even third octets only?
254 is 11111110 in binary, so only the lowest bit of the third octet must match the source 10.0.2.0, whose lowest bit is 0. Any even third octet (2, 4, 6, …) therefore matches.
Does 10.0.6.7 really match when the source is 10.0.2.0?
Yes. The fourth octet is wildcarded with 255, and 6 is even, so 10.0.6.7 satisfies every significant bit of the rule.
Why is 10.0.5.6 not matched by rule 5?
Its third octet 5 is odd, so its lowest bit is 1 while the rule requires 0. That single conflicting bit rejects the address.
Huawei Switch ARP Table Interface vs Host Entry Analysis
What does 'I-' mean in a Huawei ARP table?
'I-' stands for Interface. It indicates that the IP-MAC mapping is for a logical interface on the device itself (like Vlanif100), not an entry learned from an external neighbor.
How can I tell if an ARP entry is learned from a host?
Learned entries typically have a 'D' (Dynamic) prefix. You can also verify using display commands to see the aging time and source interface, which will differ from local interface entries.
OSPF Adjacency State Machine Order and LSDB Synchronization
What happens if LSDB synchronization fails?
If synchronization fails, the router may remain stuck in the Loading state or revert to previous states depending on retransmission timeouts, preventing the establishment of a Full adjacency.
Can two routers be in Full state but have different LSDBs?
No. By definition, when OSPF neighbors reach the Full state, their link-state databases are fully synchronized and identical for the area they share.
RSTP Configuration BPDU Type Field Value
Why does RSTP change the BPDU Type to 0x02?
RSTP uses 0x02 to distinguish its BPDUs from legacy STP BPDUs (Type 0x00). This allows switches to detect whether they are communicating with RSTP-capable devices or legacy STP devices, enabling appropriate protocol behavior.
Does TCN BPDU Type change in RSTP?
No. The TCN (Topology Change Notification) BPDU retains Type 0x01 in both STP and RSTP.
Eth-Trunk LACP Mode: Which Statement Is True?
Can the number of active links in an LACP Eth-Trunk be limited?
Yes. Huawei LACP-mode Eth-Trunks support max active-linknumber, so option A is false; the platform can support up to eight active links, not the four-link limit in option B.
Do standby links forward traffic in an LACP Eth-Trunk?
No. LACP selects active links to forward and load-balance traffic; standby links remain inactive and take over only when an active link fails.
What distinguishes LACP mode from manual load balancing mode?
LACP mode exchanges LACPDUs between peers and dynamically selects active links; manual mode has no LACP negotiation and places all member links into forwarding.
LACP Actor Election Parameters
What happens if both Device Priority and MAC address are identical?
If both the Device Priority and MAC address are identical, the LACP negotiation will fail to establish a stable Actor/Partner relationship consistently, potentially leading to flapping or failure to form the Eth-Trunk.
Does Interface Priority affect Actor election?
No. Interface Priority is used solely to determine which physical interfaces within the Eth-Trunk bundle are selected as active members when the number of active links is limited. It does not influence the LACP Actor/Partner election.
Understanding Huawei CLI Unrecognized Command Errors
What does the caret (^) symbol indicate in Huawei CLI errors?
The caret points to the exact character or word where the parser failed to recognize a valid command or keyword.
How do I fix an 'Unrecognized command' error?
Check for typos in the command or parameters. Ensure the command is supported in your current CLI view or mode.
IPv4 Header Length Constraints and IHL Field Limits
Why is 60B the maximum IPv4 header size?
The IHL field is 4 bits, allowing a maximum value of 15. Since each unit is 4 bytes, 15 * 4 = 60 bytes.
Is 20B always the minimum header size?
Yes, 20 bytes corresponds to an IHL of 5, which represents the five mandatory 32-bit words of the IPv4 header without options.
OSPF ABR Identification and Classification
What defines an OSPF ABR?
An ABR must have interfaces in at least two different OSPF areas, and one of those areas must be the backbone Area 0.
Why is RTD not considered an ABR in this scenario?
RTD is connected only to interfaces within a single non-backbone area. Without a connection to Area 0 or a second area, it remains an Internal Router.
Huawei Trunk Port VLAN Allowance and Conversion
Can VLAN 1 be removed from a Huawei trunk port?
Yes, VLAN 1 can be removed from a Huawei trunk port's allowed list using the command undo port trunk allow-pass vlan 1. However, it is allowed by default and will remain allowed if not explicitly removed.
What happens if I change a trunk port to access mode without undoing allow-pass?
Changing the link type to access using port link-type access automatically ignores the previous trunk allow-pass settings. The port will then operate based on its PVID. While not strictly necessary to undo first, it is good practice to clear configurations.
Understanding Interface Vlanif Function on Huawei VRP
Is 'interface vlan' the correct command on Huawei?
The exact command is 'interface Vlanif <vlan-id>'. Generic references may use 'interface vlan' to describe the function.
Does this command create the VLAN itself?
No. The VLAN is created with the 'vlan <id>' command. 'interface Vlanif' creates the Layer 3 interface for that VLAN.
Trunk PVID Mismatch and VLAN 10 Forwarding on LSW1/LSW2
Why does LSW2 send VLAN 10 frames untagged on G0/0/1?
Because G0/0/1 on LSW2 has PVID VLAN 10. On a Huawei trunk, frames in the PVID leave the port untagged, even though VLAN 10 is also in the allow-pass list.
If both trunks allow VLAN 10, why is the traffic still dropped?
LSW1 receives LSW2's untagged frame and assigns it to LSW1's PVID, VLAN 20. VLAN 20 is not allowed on that VLAN 10-only trunk, so the frame cannot be forwarded normally.
Does `allow-pass vlan 10` guarantee that VLAN 10 can cross a trunk?
No. The allow-pass list controls which VLANs may use the trunk, but the PVID determines tag stripping for native VLAN traffic. A PVID mismatch can still misclassify or drop a VLAN 10 frame.
Huawei VRP ACL Number Ranges: Layer 2 ACLs
What is the number range for Basic ACLs in Huawei VRP?
Basic ACLs use the number range 2000–2999. They filter traffic based only on source IP addresses.
How do I identify an Advanced ACL by its number?
Advanced ACLs are identified by numbers in the range 3000–3999. These ACLs can filter based on source IP, destination IP, protocol, and port numbers.
Huawei VRP AAA Domain Authentication Scheme Overwrite Behavior
Does Huawei VRP support multiple active authentication schemes per domain?
No. Only one authentication scheme can be active per domain at any given time. Configuring a second scheme overwrites the first.
What happens if I delete the active authentication scheme from a domain?
The domain will no longer have an authentication scheme bound to it. It does not revert to a previously deleted scheme. You must reconfigure a valid scheme.
Fit AP Dependency on Access Controller
What is the main difference between Fit AP and Fat AP?
Fit APs rely on a central Access Controller for management and control plane functions, while Fat APs operate autonomously with local processing capabilities.
Can a Fit AP ever function without an AC?
No, a Fit AP cannot provide wireless services independently. It requires a CAPWAP tunnel to an AC to receive configuration and manage clients.
Deleting an Eth-Trunk With Member Interfaces
Why can't `undo interface Eth-Trunk 1` delete the trunk directly?
Because Eth-Trunk 1 still has member interfaces (GigabitEthernet 0/0/1 and 0/0/2). VRP refuses to delete an Eth-Trunk that has ports bound to it, so you must detach every member first.
How do I remove a member interface from an Eth-Trunk on a Huawei switch?
Enter the member interface (or the Eth-Trunk) and remove the binding, repeating for each member shown in display interface Eth-Trunk 1. Only when no members remain can you run undo interface Eth-Trunk 1.
What does `display interface Eth-Trunk 1` tell me before deletion?
It shows the trunk's status and, crucially, its list of member interfaces. Every member listed must be removed before the Eth-Trunk itself can be deleted.
Huawei Hybrid Port: Which VLANs Have Tags Removed?
Why is VLAN 1 untagged even though it is not shown in the Hybrid port commands?
Huawei Hybrid ports include VLAN 1 in the untagged/default VLAN behavior initially, and port hybrid untagged vlan 4 6 adds VLANs rather than replacing the list. VLAN 1 is removed only with an explicit undo or change.
Does `port hybrid tagged vlan 5` remove VLAN 5's tag before forwarding?
No. The tagged keyword means frames for VLAN 5 leave the port with their 802.1Q tag intact; only the untagged list causes tag removal.
How does the PVID relate to the untagged VLAN list on a Hybrid port?
The PVID determines the VLAN assigned to incoming untagged frames; egress tag removal is controlled by the port's untagged VLAN list. Do not confuse the two settings when reading the exhibit.
VLAN Tagging and Traffic Flow Direction in Campus Networks
Why is the frame untagged when it reaches LSW1?
R1 is connected to LSW1 via an access port configured for VLAN 10. Access ports strip VLAN tags before sending frames to end devices like routers. Therefore, LSW1 receives the frame without a tag.
When does the VLAN tag get added?
The VLAN tag is added by LSW1 when it forwards the frame out of its trunk port interface towards LSW2. LSW2 then receives the tagged frame.
VRP delete vrpcfg.zip and Recycle Bin Permanent Deletion
Does delete vrpcfg.zip on Huawei VRP erase the file immediately?
No. The plain delete command moves vrpcfg.zip to the recycle bin; it is not permanently removed until reset recycle-bin is run.
What command permanently deletes a VRP file without using the recycle bin?
Use delete /unreserved filename. In this scenario that would be delete /unreserved vrpcfg.zip, which bypasses the recycle bin and removes the file directly.
Why does storage space not free after deleting vrpcfg.zip?
Because the file remains in the VRP recycle bin and still occupies storage until reset recycle-bin clears it.
Huawei H12-811 MAC Address Table: Which Forwarding Statement Is True?
Does a switch use the source or destination MAC address to select the outgoing port?
The destination MAC is looked up in the MAC address table to choose the egress port; the source MAC is used for learning and table updates, not for overriding a known destination.
Why is option A false for the Eth0/0/3 MAC entry?
The Eth0/0/3 entry is static in the exhibit. Static MAC entries remain configured across a restart, so they do not need to be relearned; dynamic entries do.
What happens to dynamically learned MAC entries after a switch restart?
Dynamic MAC entries are not retained across a restart and must be relearned as traffic arrives; this is why the Eth0/0/2 statement in B is false.
Which Bridge ID Cannot Appear in an STP Configuration BPDU?
Why can't 01-01-02-03-04-05 be used in a Bridge ID?
The least-significant bit of the first octet is the I/G bit; in 0x01 it is 1, which marks a multicast MAC. A Bridge ID must use a unicast MAC, so this address is invalid.
Is bridge priority 0 valid in an STP BID?
Yes. STP priorities range from 0 to 61440 in increments of 4096, so 0 is a legal priority. Option C is valid because its MAC is also unicast.
How can I tell if a MAC address is multicast?
Look at the least-significant bit of the first octet: 1 means multicast, 0 means unicast. For example, 10 hex is 00010000 and is unicast, while 01 hex is 00000001 and is multicast.
Basic NAT Many-to-Many Exhaustion Scenario
What is the difference between Basic NAT and NAPT?
Basic NAT maps private IPs to public IPs on a one-to-one basis without changing port numbers. NAPT (Network Address Port Translation) maps multiple private IPs to a single public IP by using different source port numbers.
Can Basic NAT reuse IP addresses after a session ends?
Yes, once a translation entry expires or is manually cleared, the public IP becomes available again for another host. However, during active sessions, the IP remains reserved.
WLAN Architecture: Fat vs Fit AP and AC Deployment
What is the difference between a Fat AP and a Fit AP?
A Fat AP operates autonomously, handling its own configuration, security, and forwarding. A Fit AP relies on a central AC for management and control, acting only as a radio bridge.
Where is the AC typically deployed in a campus network?
The AC is commonly deployed at the aggregation layer to efficiently manage numerous Fit APs across different access layers, ensuring centralized policy enforcement and roaming support.
Entering OSPF Area View in Huawei VRP
Can I use 'ospf area 0' from the system view?
No. You must first enter the OSPF process view using 'ospf [process-id]' before configuring areas.
Are 'area 0' and 'area 0.0.0.0' different?
No, they are functionally identical. Huawei VRP accepts both decimal and dotted-decimal formats for Area IDs.
Identifying Broadcast Addresses in /25 Subnets
How do I find the broadcast address for any subnet?
Calculate the block size based on the prefix length. Add (block size - 1) to the network address to get the broadcast address. All host bits in this result will be 1.
Why can't 192.168.1.127 be a host address?
In IPv4, the address with all host bits set to 1 is reserved as the broadcast address for that subnet. Assigning it to a host would cause conflicts with broadcast traffic.
Class C Subnetting for Multiple Branches
Why is 255.255.255.192 incorrect if it supports 62 hosts?
While 255.255.255.192 (/26) supports 62 hosts, it only creates 4 subnets from a single Class C block. Since the company has 6 branches, 4 subnets are insufficient.
How do I calculate usable hosts quickly?
Use the formula 2^h - 2, where h is the number of host bits. Subtract 2 for the network and broadcast addresses. For 26 hosts, you need at least 5 host bits (2^5 - 2 = 30).
Determining Default PVID on Huawei Switch Interfaces
What is the default PVID on Huawei switches?
The default PVID for most interfaces on Huawei switches is VLAN 1 unless explicitly changed using the 'port hybrid pvid vlan' command.
How does PVID affect incoming untagged frames?
The PVID assigns a VLAN tag to incoming untagged frames, allowing them to be processed within that specific VLAN context on the switch.
DHCP Client First Renewal Timer Threshold
What happens if the DHCP server doesn't respond at 50%?
If the client does not receive a response to the unicast renewal request at 50%, it continues using the IP. It will wait until 87.5% of the lease time to send a broadcast rebinding request.
Why is the renewal sent as unicast initially?
Unicast is used at 50% because the client already knows the IP of the server that granted the lease. This reduces network traffic compared to a broadcast, which is reserved for later stages if the unicast fails.
IPv4 TTL Field: Length, Range, and Loop Prevention
Does TTL really have the value 0 as a valid range point?
The 8-bit field can represent 0 through 255, so 0 is in range. In practice a sender sets an initial TTL like 64, 128 or 255; once a router decrements TTL to 0 it discards the packet and returns ICMP Time Exceeded.
Why is TTL said to prevent infinite forwarding in a routing loop?
Each router hop subtracts 1, so a looping packet's TTL drains to zero after at most 255 hops and is dropped. This bounds loop traffic instead of letting packets circulate forever.
Is TTL the same as the IPv6 Hop Limit field?
They are functionally identical — decremented per Layer 3 hop and dropped at zero — but IPv6 names the field Hop Limit (RFC 8200), while RFC 791 defines it as TTL for IPv4.
Configuring the AC Country Code in Huawei WLAN View
Which command sets the country code on a Huawei AC?
Use country-code in WLAN view, for example: system-view, wlan, then country-code cn. The country code must be configured before radios are activated.
Why does the AC country code matter for WLAN operation?
It defines the regulatory domain, determining which channels, channel widths and transmit power levels the radios may legally use in that country.
Are nation-code, province-code or state-code valid on Huawei ACs?
No. VRP only supports country-code; regulatory rules are defined at national level, so province-code and state-code do not exist as commands.
Huawei ACL Default Matching Order: Config vs Auto
What is the difference between ACL match-order config and auto on Huawei devices?
Config evaluates rules in their configured or rule-ID order, while auto evaluates rules by precision or depth. The default is config, so auto must be explicitly selected when the ACL is created.
If I do not specify rule IDs in a Huawei ACL, how are rules ordered?
Huawei normally assigns rule IDs in increments of 5 (5, 10, 15, and so on). Under the default config match-order, the first matching rule in that ascending order determines the action.
Does the first matching ACL rule take effect on Huawei devices?
Yes. ACL matching is first-match; once a rule matches, later rules are not evaluated. This is why the default config order and the assigned rule IDs matter.
Recommended AP-to-AC Discovery Across Layer 3 Networks
Why can't broadcast discovery work when the AP and AC are on different subnets?
Broadcast and multicast frames are not forwarded by routers between Layer 3 networks, so an AP can never receive an AC's Layer 2 discovery broadcast across a subnet boundary. Discovery must therefore use a routed, server-based mechanism such as DHCP.
How does the AP learn the AC address through DHCP?
The AP sends a DHCP request, and the DHCP server returns the AC's IP address in Option 43 (Huawei also supports Option 148). The AP then uses that address to register with the AC, with no manual per-AP configuration.
Is manual AC configuration on the AP ever acceptable?
Yes, it works and is deterministic for small or fixed deployments, but it is not recommended at scale because every AP must be configured individually and updated whenever the AC address changes.
Fetching Running Configuration Over Telnet with Python
Which telnetlib method waits for the device's reply after a command?
Use telnet.read_until(expected_prompt, timeout) or read_very_lazy()/expect() to collect output. close() only ends the session, so it cannot return the configuration text.
Why does telnet.write require a bytes string like b"...\n"?
telnetlib writes directly to a socket, which transports bytes, not str. The trailing newline is required because the CLI executes the command only when it receives the carriage-return/newline sequence.
Is telnet.Telnet(host) ever a valid call?
Only if you aliased the import as import telnetlib as telnet. With a normal import import telnetlib, the correct constructor is telnetlib.Telnet(host).
Which VLANs a hybrid port transmits tagged
Does a hybrid port always send VLAN 1 frames tagged?
No. VLAN 1 is only the default PVID used to classify untagged ingress frames. It is transmitted tagged only if VLAN 1 is explicitly listed under port hybrid tagged.
What is the difference between hybrid tagged and hybrid untagged?
port hybrid tagged keeps the 802.1Q header on egress, while port hybrid untagged removes it. Each VLAN belongs to exactly one of the two lists on a given interface.
Why is option C wrong for this question?
Option C merges the tagged and untagged VLAN lists, but VLAN 4 and VLAN 6 are stripped of their tags before transmission, so they are not tagged frames.