H12-811_V2.0 Exam Questions & Answers
HCIA-Datacom V2.0 • Huawei
100% money-back guarantee
Sample H12-811_V2.0 Questions
Practice with real exam-style questions, each with the verified correct answer and explanation.
The undo command can be used in the CLI of a Huawei device to restore default settings, disable functions, or delete configurations. Which of the following are correct undo commands? (Select all that apply)
A.
B. [HUAWEI] interface GE 1/0/1 [HUAWEI-GE1/0/1] ip address 10.12.1.1 24 [HUAWEI-GE1/0/1] undo ip address
C. [HUAWEI] interface GE 1/0/1 [HUAWEI-GE1/0/1] undo portswitch [HUAWEI-GE1/0/1]
D. [HUAWEI] sysname TEST [TEST] undo sysname [HUAWEI]
On Huawei devices, the undo command is used to remove a previously applied configuration, disable a function, or restore a parameter to its default state. In option B, undo ip address is a valid interface-view command that removes the IP address configured on the interface. In option C, undo portswitch is also a valid interface command on switch interfaces that converts a Layer 2 interface into a Layer 3 interface when supported by the device. In option D, undo sysname restores the device name to the default hostname, which is valid in system view.
Option A is incorrect because system-view is a command used to enter system view from user view, but undo system-view is not a valid command for exiting that view. Exiting system view is done with commands such as quit, return, or by using shortcut keys. This question checks the understanding that undo only applies to configurable features and parameters, not to view-switching commands in the CLI hierarchy.
On the network shown in the figure, the administrator creates Eth-Trunk 1 in manual mode on SW1 and SW2, and adds GE1/0/1 and GE1/0/2 on both switches to the Eth-Trunk. After the administrator runs the display interface brief command on SW1, the administrator finds that GE1/0/1 is Up and GE1/0/2 is Down. Which of the following statements is true about this scenario?

For an Eth-Trunk operating in manual load-balancing mode, the logical Eth-Trunk interface can remain Up as long as at least one member link is operational and properly added to the trunk. Therefore, if GE1/0/1 is Up and GE1/0/2 is Down, Eth-Trunk 1 can still stay Up, making option A correct.
Option B is incorrect because member interfaces in a manual Eth-Trunk do not need to be in identical physical states for the trunk itself to remain operational. Option C is also incorrect because there is no inherent rule here that two-member trunks must have both links active unless a separate minimum-links mechanism has been explicitly configured. No such condition is stated in the question. Option D is false because one of the key purposes of Eth-Trunk is redundancy; requiring all member interfaces to be Up would defeat that design advantage. HCIA-Datacom teaches that Eth-Trunk enhances link reliability by allowing continued forwarding when part of the bundle fails, provided the trunk still has an active forwarding member.
Secure Shell (SSH) is a protocol that uses encryption and authentication mechanisms to implement network services, such as secure access and file transfer, securely over an insecure network. Which of the following protocols use SSH? (Select all that apply)
Several upper-layer management and file transfer protocols use SSH as their secure transport foundation. SFTP is the SSH File Transfer Protocol and operates over SSH, making option C correct. STelnet is secure Telnet implemented over SSH, so option D is also correct. NETCONF commonly uses SSH as its transport protocol for secure configuration management and device orchestration, making option B correct as well.
Option A, DNS, does not use SSH as its normal transport protocol. Traditional DNS operates over UDP or TCP port 53, depending on the query or transfer type. Although DNS security extensions and encrypted DNS variants exist, they are not based on SSH. HCIA-Datacom emphasizes the role of SSH in secure network management because it replaces insecure plaintext protocols and provides confidentiality, integrity, and authentication. In practical Huawei enterprise deployments, SSH-based protocols are widely used for interactive device login, automated configuration delivery, and secure file operations. This question tests recognition of management protocols that inherit SSH's secure channel rather than protocols that operate independently at the application layer.
With the development of data centers, a large number of services are deployed on virtual machines (VMs). The original VLAN isolation solution cannot achieve isolation between so many VMs. VXLAN uses VXLAN Network Identifiers (VNIs) to provide a larger range than VLAN IDs, so that a larger number of VMs can be isolated.
This statement is true. Traditional VLANs use a 12-bit VLAN ID, which means that only about 4094 usable VLANs are available. In modern data centers, especially in cloud and virtualization environments, that scale is often insufficient because a very large number of tenants, services, and virtual machines need isolated network segments.
VXLAN addresses this limitation by introducing the VNI (VXLAN Network Identifier), which is 24 bits long. This allows support for up to about 16 million logical segments, greatly expanding the number of isolated Layer 2 networks that can be created across an IP underlay. Because of this, VXLAN is widely used in modern data centers to provide scalable tenant isolation, flexible service deployment, and large Layer 2 extension across physical boundaries. HCIA-Datacom highlights VXLAN as a key overlay technology that solves the VLAN scale problem in virtualized data center environments. It allows a much larger number of VMs and tenants to be isolated than traditional VLAN-based solutions can support, making it essential for modern cloud-oriented and large-scale data center networking.
Which of the following statements are true about the Python code shown below? (Select all that apply)
import paramiko
import time
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh.connect('192.168.1.254', username='python', password='Huawei@123')
channel = ssh.invoke_shell()
channel.send('screen-length 0 temporary\n')
time.sleep(1)
output = channel.recv(65535).decode('utf-8')
print(output)
ssh.close()
All four statements are correct. The code uses the Paramiko library to automate SSH login to a network device. import paramiko and import time load the Python modules required for SSH communication and delay control, so option C is correct. The statement ssh = paramiko.SSHClient() creates an SSH client object, and ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) allows the client to accept an unknown host key automatically in this example scenario.
The command ssh.connect('192.168.1.254', username='python', password='Huawei@123') establishes an SSH connection to the target device, so option B is correct. Then channel = ssh.invoke_shell() opens an interactive shell channel, which is commonly used to send CLI commands and receive output just as an administrator would in a terminal session, making option D correct. The command channel.send('screen-length 0 temporary\n') disables page-by-page output for the current session, which is useful in network automation. Finally, ssh.close() closes the SSH session and releases the connection, so option A is correct. HCIA-Datacom automation knowledge often uses Paramiko examples to demonstrate basic Python-based device O&M.
Get access to all 60 verified questions with detailed answers.
Unlock All H12-811_V2.0 Questions