View Full Huawei H12-811 V2.0 Exam Dumps and Practice Test Dumps
Question 101.
Which route source is created automatically when an interface is configured with an IP address and the interface is operational?
- Static route
2. Direct route
3. OSPF external route
4. Default route
Correct Answer: 2. Direct route
Explanation:
A direct route is automatically added to the routing table when a Layer 3 interface has a valid IP address and is in an operational state. The route represents the subnet directly attached to that interface. No routing protocol or static configuration is required to create it. Static routes are manually configured, while OSPF routes are learned dynamically. Direct routes are important because they allow a router to communicate with hosts and next-hop devices on locally connected networks.
Question 102.
Which Huawei VRP command removes the effect of a previously configured command in many configuration views?
- remove
2. erase
3. delete
4. undo**
Correct Answer: 4. undo
Explanation:
Huawei VRP commonly uses the undo keyword to remove or reverse a previously configured command. For example, undo shutdown can enable an interface that was administratively shut down. The exact behavior depends on the command and view being used. This syntax is an important characteristic of Huawei VRP and differs from platforms that use keywords such as no to remove configuration statements.
Question 103.
Which Huawei VRP command can be used to change the device name displayed in the command-line prompt?
- sysname
2. hostname-set
3. device-name
4. router-name
Correct Answer: 1. sysname
Explanation:
The sysname command changes the system name on a Huawei VRP device. The configured name appears in the command-line prompt and can help administrators identify which router or switch they are managing. Clear and consistent naming is especially useful in environments with many devices. The system name should normally follow the organization’s device-naming convention so that location, purpose, or role can be identified easily.
Question 104.
Which Huawei VRP command can be used to restart a network device?
- reload
2. restart-now
3. reboot
4. power-cycle
Correct Answer: 3. reboot
Explanation:
The reboot command is used to restart a Huawei VRP device. Before rebooting, administrators should determine whether the current configuration has been saved because unsaved changes may be lost. Rebooting a production router or switch causes service interruption, so it should be performed carefully and according to operational procedures. The save command is commonly used beforehand when current configuration changes need to persist.
Question 105.
Which function is performed by a default gateway on an IP host?
- It forwards traffic destined for remote networks
2. It resolves domain names
3. It assigns MAC addresses
4. It creates VLAN tags
Correct Answer: 1. It forwards traffic destined for remote networks
Explanation:
A host sends traffic to its default gateway when the destination is outside the local IP subnet. The gateway is normally a router or Layer 3 switch interface that can forward the packet toward other networks. DNS performs name resolution, while MAC addresses are associated with network interfaces and discovered locally through protocols such as ARP. An incorrect gateway can allow local communication to work while preventing access to remote destinations.
Question 106.
Which routing principle is applied first when several routing-table entries match the destination IP address?
- Highest route preference
2. Longest-prefix match
3. Lowest destination address
4. Highest next-hop address
Correct Answer: 2. Longest-prefix match
Explanation:
A router first selects the most specific route that matches the destination address, which is the route with the longest prefix length. For example, a matching /24 route is preferred over a matching /16 route. If multiple routes have the same destination prefix length, other criteria such as route preference and metric may then be evaluated. Longest-prefix matching is one of the fundamental rules of IP forwarding.
Question 107.
Which protocol is designed to exchange routing information within a single autonomous system using a link-state database?
- BGP
2. ARP
3. OSPF
4. STP
Correct Answer: 3. OSPF
Explanation:
OSPF is a link-state Interior Gateway Protocol used within an autonomous system. OSPF routers exchange link-state information, build a consistent link-state database, and calculate shortest paths using the SPF algorithm. BGP is primarily used between autonomous systems. ARP resolves local IPv4 addresses to MAC addresses, while STP prevents Layer 2 switching loops.
Question 108.
Which OSPF algorithm is used to calculate the shortest path to network destinations?
- Bellman-Ford only
2. ARP resolution
3. DORA
4. SPF algorithm**
Correct Answer: 4. SPF algorithm
Explanation:
OSPF uses the Shortest Path First algorithm, commonly associated with Dijkstra’s algorithm, to calculate the best paths from the link-state database. Each router builds a shortest-path tree with itself as the root and installs selected routes into its routing table. OSPF cost influences path selection. DORA relates to DHCP, while ARP and Bellman-Ford are associated with different networking functions or routing approaches.
Question 109.
Which OSPF database contains information describing the known topology of an area?
- Link-state database
2. MAC address table
3. ARP cache
4. NAT translation table
Correct Answer: 1. Link-state database
Explanation:
The OSPF link-state database, or LSDB, contains Link State Advertisements describing the topology known within an OSPF area. Routers in the same area aim to maintain synchronized link-state information and use it as input to the SPF calculation. MAC tables are used by switches, ARP caches map IPv4 addresses to MAC addresses, and NAT tables track address translations.
Question 110.
Which OSPF packet type summarizes a router’s link-state database during adjacency formation?
- Hello
2. Database Description
3. Link State Acknowledgment only
4. ICMP Echo
Correct Answer: 2. Database Description
Explanation:
OSPF Database Description packets summarize link-state database contents while neighboring routers synchronize their topology information. Routers compare these summaries and request missing or newer information as necessary. Hello packets discover and maintain neighbors, while Link State Request, Link State Update, and Link State Acknowledgment packets support database synchronization and reliable flooding.
Question 111.
Which OSPF packet type requests specific link-state information from a neighbor?
- Hello
2. Database Description
3. Link State Request
4. DHCPREQUEST
Correct Answer: 3. Link State Request
Explanation:
An OSPF Link State Request packet asks a neighboring router for specific Link State Advertisements that are missing or require updated information. The neighbor can respond with the requested data in Link State Update packets. Database Description packets summarize database contents, while Hello packets establish and maintain neighbor relationships. DHCPREQUEST belongs to DHCP rather than OSPF.
Question 112.
Which OSPF packet type carries one or more Link State Advertisements to another router?
- Hello
2. DHCPACK
3. ARP Reply
4. Link State Update**
Correct Answer: 4. Link State Update
Explanation:
OSPF Link State Update packets carry Link State Advertisements between routers. They are used when synchronizing databases and when topology changes must be flooded through the OSPF domain. Reliable flooding mechanisms, including acknowledgments, help maintain consistent topology information. DHCPACK and ARP Reply messages belong to different protocols and do not distribute OSPF link-state information.
Question 113.
Which protocol is used by a router to determine the MAC address of an IPv4 next hop on a directly connected Ethernet network?
- ARP
2. DNS
3. OSPF
4. DHCP
Correct Answer: 1. ARP
Explanation:
ARP maps an IPv4 address to a Layer 2 MAC address on a local Ethernet network. When a router needs to forward a packet through a directly connected next hop, it must know the destination MAC address for the Ethernet frame. If the mapping is not already available in its ARP table, it can issue an ARP request and learn the corresponding MAC address.
Question 114.
Which Ethernet frame destination address is used for a Layer 2 broadcast?
- 00-00-00-00-00-00
2. FF-FF-FF-FF-FF-FF
3. 01-00-5E-00-00-00 only
4. The default gateway’s MAC address
Correct Answer: 2. FF-FF-FF-FF-FF-FF
Explanation:
The Ethernet broadcast MAC address is FF-FF-FF-FF-FF-FF. A frame sent to this address is delivered to devices within the local Layer 2 broadcast domain, subject to switching and VLAN boundaries. ARP requests are a common example of Ethernet broadcasts. Routers normally do not forward Layer 2 broadcast frames between different IP networks.
Question 115.
Which VLAN-related field identifies the VLAN to which an IEEE 802.1Q-tagged Ethernet frame belongs?
- EtherType only
2. FCS
3. VLAN ID
4. Source IP address
Correct Answer: 3. VLAN ID
Explanation:
The IEEE 802.1Q tag contains a VLAN Identifier, or VID, that identifies the VLAN associated with the Ethernet frame. This allows a trunk link to transport traffic for multiple VLANs while keeping them logically separated. The tag also contains priority-related information. Switches use the VLAN ID when making forwarding decisions within the appropriate Layer 2 broadcast domain.
Question 116.
What is the primary purpose of inter-VLAN routing?
- To prevent all Layer 3 communication
2. To replace MAC addresses
3. To disable VLAN tagging
4. To allow hosts in different VLANs to communicate**
Correct Answer: 4. To allow hosts in different VLANs to communicate
Explanation:
Each VLAN forms a separate Layer 2 broadcast domain. Hosts in different VLANs therefore need a Layer 3 routing function to communicate. Inter-VLAN routing can be provided by a router or Layer 3 switch, often using logical interfaces such as Huawei Vlanif interfaces. Proper IP addressing and default-gateway configuration are also required for successful communication between VLANs.
Question 117.
Which Huawei VRP command can be used to check configured VLAN information on a switch?
- display vlan
2. display ospf peer
3. display arp
4. display ip routing-table
Correct Answer: 1. display vlan
Explanation:
The display vlan command provides VLAN-related information on Huawei VRP switches. Administrators can use it to verify which VLANs exist and inspect associated configuration details. This is useful when troubleshooting access-port or trunk connectivity. OSPF, ARP, and routing-table commands display different types of operational information and do not directly replace VLAN inspection.
Question 118.
Which Huawei VRP command is most appropriate for viewing the status and configuration summary of IP interfaces?
- display version
2. display ip interface brief
3. display vlan
4. display clock
Correct Answer: 2. display ip interface brief
Explanation:
The display ip interface brief command provides a concise summary of Layer 3 interfaces, including assigned IP addresses and interface status. It is especially useful for quickly checking whether interfaces are configured correctly and operational. display version shows device software and hardware information, while display vlan and display clock serve unrelated purposes.
Question 119.
Which Huawei VRP command displays software version and basic device information?
- display route
2. display startup
3. display version
4. display users
Correct Answer: 3. display version
Explanation:
The display version command shows software-version information and other basic hardware or system details on Huawei VRP devices. Administrators frequently use it when documenting equipment, checking compatibility, or confirming the operating software release. Routing, startup-configuration, and user-session commands provide different information.
Question 120.
A switch port connected to a PC is configured as a trunk when it should be an access port. What is the most appropriate corrective action?
- Remove the PC’s IP address
2. Disable STP globally
3. Change the default route
4. Configure the port as an access port and assign the correct VLAN**
Correct Answer: 4. Configure the port as an access port and assign the correct VLAN
Explanation:
A normal end-user PC typically connects through an access port associated with a single VLAN. If the interface is incorrectly configured as a trunk, VLAN handling may not match the endpoint’s expectations and connectivity can fail. The technician should configure the proper link type and assign the intended access VLAN. Changing routing, disabling STP, or removing the host’s IP configuration would not correct the underlying Layer 2 port-mode problem.