Displaying the Current Configuration
How Can I Determine Whether a Device Starts Using the Initial Configuration?
If the device configuration has been deleted using the reset saved-configuration command after startup, it is not possible to determine whether the device has started using the initial configuration.
<HUAWEI> display startup
MainBoard:
Configured startup system software: flash:/software.cc
Startup system software: flash:/software.cc
Next startup system software: flash:/software.cc
Startup saved-configuration file: NULL
Next startup saved-configuration file: NULL
Startup paf file: default
Next startup paf file: default
Startup license file: default
Next startup license file: default
Startup patch package: NULL
Next startup patch package: NULL
How Can Low-Level Users View the Current Device Configuration?
The system defines a level for each command and manages commands based on command levels. The system administrator (at level 3 or higher) can run the command-privilege level level view view-name command-key command in the system view to change the command level. This configuration can enable a low-level user to use some high-level commands or raises the command level to improve device security.
Users lower than level 3 (management level) cannot run the display current-configuration command to view the current device configuration. To view the device configuration, low-level users need to apply to the administrator. The administrator then determines whether to lower the command level according to requirements.
Changing the default command level may result in operation and maintenance difficulties and bring about security risks. Therefore, you are advised to retain the default command levels.
How Can the Current Configuration Be Displayed on Multiple Screens?
Run the screen-length screen-length [ temporary ] command in the user view or user interface view to set the number of lines displayed on a terminal screen. By default, 24 lines are displayed on a terminal screen. If screen-length is 0, the split screen function is disabled. That is, the system does not pause when the information cannot be completely displayed on one screen.
<HUAWEI> screen-length 40 temporary //temporary is a mandatory parameter in the user view.
<HUAWEI> system-view [HUAWEI] user-interface console 0 [HUAWEI-ui-console0] screen-length 40