The CLI is divided into multiple command line views and all commands are registered in the views. In common cases, the user can run a command only after entering the view where the command resides.
# Establish connection with the device. If the device adopts the default configuration, the user view is entered and the following is displayed on the screen:
<sysname>
# Type system-view, and you can enter the system view.
<sysname> system-view [sysname]
# Type aaa in the system view, and you can enter the AAA view.
[sysname] aaa [sysname-aaa]
You can judge the current view from the prompt, for example, <> indicates the user view and [] indicates the views except the user view.