Configuration Precautions for CLI

Feature Requirements

Table 1 Feature requirements

Feature Requirements

Series

Models

The question mark (?) is used to display the help information about a command. When configuring a command, you can enter a question mark (?) to obtain real-time help. Therefore, the question mark (?) cannot be used as a character in a command string for configuration delivery.

NetEngine 8000 F

NetEngine 8000 F2A/NetEngine 8000 F1A

1. During a CLI patching operation, if the current operations of other online users can be stopped, have other users return to the user view or customized main directory view.

2. During a CLI patching operation, if the current operations of other online users cannot be stopped, wait until their current operations are complete and then have other users return to the user view or customized main directory view. The following operations cannot be stopped.

a. The system background is automatically saving configurations.

b. Another user switches from VR0 to VRn.

c. Other users are performing operations that cannot be stopped, which are defined by the app and set during command registration. For example, the command commission or saving cannot be stopped. The command is atomic.

3. During patching for help information, prompt information, and information displayed, the help, prompt, display, or log service is unavailable. Services become normal after patching is complete.

NetEngine 8000 F

NetEngine 8000 F2A/NetEngine 8000 F1A

The display diagnostic-information command can be run in the Admin-VS view to collect diagnostic information of all VSs. If the command is run in the VSn view, only diagnostic information of the current VS is collected. Each VS can have only one piece of task collector diagnostics information. Therefore, when the command is run in the Admin-VS view to collect global diagnostic information and a VSn has an information collection task being executed, the diagnostic information if this VSn will not be collected. The execution efficiency of the one-click diagnostic command is affected.

NetEngine 8000 F

NetEngine 8000 F2A/NetEngine 8000 F1A

In two-phase configuration validation mode, if the number of uncommitted configuration commands reaches the upper threshold, you need to commit these configurations first. Otherwise, a prompt message is displayed if you continue to run configuration commands. This restriction applies to configuration commands and view switching commands (such as quit), excluding display commands and maintenance commands.

NetEngine 8000 F

NetEngine 8000 F2A/NetEngine 8000 F1A

1. The display diagnostic-information command results can be redirected to a file. The file name extension must be .txt or .zip. The file name length ranges from 5 to 64. The file name can contain an absolute path. The default path is the device working path. The file contains the command execution process and the view where the command belongs. The file collecting progress bar is displayed on the screen.

2. The display diagnostic-information command cannot be run by multiple end users at the same time.

3. The command execution mode can be adjusted based on the CPU usage.

a. If the CPU usage exceeds 60%, an error message is displayed when the command is run.

b. If the system detects that the CPU usage exceeds 85% during command execution, the execution pauses and the next command is executed. A warning message is displayed before the redirection operation is executed. Then, the system checks whether the CPU usage falls below 70% every second. If the CPU usage falls below 70%, the command execution resumes. If the CPU usage does not fall below 70% in 300 seconds, an error message is displayed and the one-click diagnostic command is stopped. In redirection operation scenarios, no warning message is displayed. If the CPU usage cannot fall below 70% in 300 seconds and the one-click diagnostic command is stopped, the diagnostic information that has been collected is written in the file.

c. The Force option can be selected. In this case, a command is delivered without checking the CPU usage.

NetEngine 8000 F

NetEngine 8000 F2A/NetEngine 8000 F1A

If the board memory is overloaded, when a user accesses the CLI or each time the user runs a command, a prompt message is displayed indicating that the memory usage exceeds the upper threshold.

NetEngine 8000 F

NetEngine 8000 F2A/NetEngine 8000 F1A

The paragraph filtering function is used when the display command is executed. If the length of a paragraph to be filtered exceeds 512K bytes, the paragraph filtering function is degraded to the line filtering function. After the paragraph filtering function is degraded to the line filtering function, #\r\n... is added to separate the filtered lines from the preceding paragraph. If #\r\n … is displayed in the command output, the paragraph filtering function has been degraded to the line filtering function.

NetEngine 8000 F

NetEngine 8000 F2A/NetEngine 8000 F1A

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >