Switch CLI test point

Source: Internet
Author: User

Switch CLI test point space, question mark, TAB, various editing keys, commands are not completed, abbreviations, Case sensitivity, concurrency testing, etc. are not required to be written into the test case, and each command is not required for testing. Pay attention to it during normal usage. By default, the expected results include: You can continue to execute the command. If the command is not restarted automatically, the show run command is used by default to check the result. during actual testing, note that some commands are not displayed in the show run command, you can use other methods to check whether the configuration takes effect. | Configure command operation steps: Execute the correct command expected results: show run shows special circumstances 1: some are not displayed in show run, such as the parameter is the default value, show, debug, clock Command Special Case 2: Change configuration mode DELETE command operation steps: configure the command first, then delete the command expected results: show run does not show repeated configuration operation steps: run the same configuration command three times in a row. The expected results are displayed in show run. You can receive no message or prompt that the command already exists, but not the failed command (the cause must be prompted ). Repeat the delete operation step: configure a command and delete the expected results three times in a row. The result is not displayed in show run. The message is not displayed in the next two times, or the message does not exist, however, you cannot only prompt for failure (the cause must be prompted ). Repeat the configuration and deletion steps: Configure commands, delete commands, configure commands, delete commands, configure commands, delete command expected results: each time the command is configured, the show run command is displayed, each time a command is deleted, the show run command does not display the parameter override operation procedure: configure the minimum value of the parameter, configure the median value of the parameter, and configure the maximum value of the parameter (in a variable order). Expected results: show run: overwrite the recently configured value keyword. Operation steps: configure all mutex keywords (such as md5 authentication and plaintext authentication) in sequence. Expected results: show run shows the recently configured keyword Boundary Value operation steps: configure the minimum value-1, minimum value, maximum value, maximum value + 1 (some should pay attention to the 8, 16, 32 power of 2, or some other special median values) expected results: show run displays the minimum, and maximum, minimum-1, and maximum + 1 errors. Length operation steps: Enter the minimum length-1, minimum length, maximum length, maximum length + 1 expected results: show run shows the minimum length, and maximum length, an error is reported when the minimum length is-1 and the maximum length is + 1. Special Character operation steps: Enter various special English characters on the keyboard, regardless of other languages. Expected results: Save the restart operation steps: All the commands in the configuration module, write and reload. Expected results: show run displays all the configured commands. (Pay special attention to the situations where commands with mutual constraints are the same as those with global commands and interfaces) column-and-column alignment operation steps: Check whether the show, debug, and prompt messages are aligned with the expected results: align word syntax operation steps: Check whether there are spelling errors, sentence syntax errors, help information meaning and the actual function is consistent. Expected results: no error. The help information is consistent with the actual function. Command mutex operation steps: Configure mutex commands in sequence (most of the keywords are different, for example, execute a command to clear other commands) expected result 1: show run displays the next command, the previous command is not displayed. Expected result 2: The last command show run is not displayed. The previous command show run is displayed, prompting you to delete the previous command first ,. Command Order operation steps: Configure command a, configure command B, configure command a, including the order in which the configuration is deleted. Expected results: only the command B is configured first. The command a (note that the "show run" command is correctly displayed but does not take effect) is displayed in the "show run" command in sequence: configure a command to correctly arrange and combine all the keywords and parameters. Expected results: show run displays the results in the same order. Sequence-independent operation steps: a single task can contain multiple commands, and the sequence is irrelevant. The configuration order is arranged in full. Expected results: after each configuration is complete, show run is displayed and takes effect. The function is normal. Parameter Control Operation steps: configure the parameters of command a, configure the expected results of the parameters of command B 1: The parameters of command a and B cannot be configured at will, there is a certain constraint relationship, an error is prompted when no configuration is available. Expected result 2: The command configured later automatically modifies the parameter values of the preceding command. Illegal operation steps: Enter various incorrect parameters, such as numbers and values, and enter a letter. The IP address exceeds 255. Expected results: an error is displayed. show run is not displayed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.