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 < cr > in the output of the command sysname SW1?
[HUAWEI] sysname SW1?
< cr >
A.
There are too many parameters in that position.
B.
There is no keyword or parameter in that position.
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.
============
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit