quit (all views)

Function

The quit command quits the current view and displays a view with a lower level. If the current view is the user view, this command makes you exit from the system.

Format

quit

Parameters

None

Views

All views

Default Level

0: Visit level

Usage Guidelines

All the command modes are divided into three levels, which are as follows from the lowest to the highest:

  • User view (Users at level 0 or above can enter this view.)

  • System view (Users at level 2 or above can enter this view.)

  • AAA view (Users at level 3 can enter this view.)

You can use the quit command to return to a lower-level command view from a higher-level one. If the current view is the user view, you can use the quit command to quit the system.

Example

# Return to the system view from the interface view and then return to the user view.

[sysname-GigabitEthernet1/0/0] quit
[sysname] quit
<sysname>

Copyright © Huawei Technologies Co., Ltd.