Question 1
You can enter a question mark (?) in the CLI of a Huawei switch to obtain online help. Which of the following statements is true about the meaning of
[HUAWEI] sysname SW1?
In the Huawei command-line interface, the question mark ? provides real-time command help based on the current input. When the output shows <cr>, it means that the command can end at that point by pressing Enter. In other words, there is no additional keyword or parameter required in that position. Therefore, option B is correct.
In the example sysname SW1?, the device interprets SW1 as a complete and valid hostname parameter for the sysname command. Since nothing else is required after the hostname, the CLI displays <cr> to indicate command completion is allowed. This behavior is common in Huawei devices and is important for daily operation and troubleshooting because it helps engineers understand whether a command is complete, whether more arguments are needed, or whether optional parameters are available. Options about incorrect keywords or incomplete commands do not apply here, because the entered command syntax is already valid. Understanding <cr> is a basic but important CLI skill in HCIA-Datacom operations.



