editThe edit
command allows you to edit a particular data element, object, profile or configuration.
exit
Use the exit
operation to exit the Configure mode and revert to System mode.
helpThe help
operation is a fast and simple means to learn more about the available commands and correct command syntax. For more information, refer to Using CLI Help.
quitThe quit
operation serves the same function as exit
and takes you out of the Configure mode and revert to System mode.
requestThe request
operation facilitates system-level requests for the following objects from both System and Configure modes.
addressContext
– Objects scoped to a specific IP address domain.alarms
– Alarm Managementglobal
– Global objects that are applicable Node widemessage
– Send message to terminal of one or all usersoam
– Operations and Maintenance objects.system
– System operations
The command syntax of this operation is described in detail in CLI System-Level Mode in the section also named Request Command Details - CLI.
revertUse the revert
operation to revert to the previous configuration state. When prompted, enter y
to proceed. To revert without receiving the confirmation prompt, enter revert no-confirm
.
Command Example
Code Block |
---|
|
% revert
All configuration changes will be lost. Proceed? [yes,no] y |
rollbackUse operation to roll the database back to the last committed version.
Command Syntax
Code Block |
---|
|
% rollback <index#> |
Command Example
To view rollback
options and obtain an index number, enter rollback
followed by Tab key. For example:
Code Block |
---|
|
% rollback <Tab>
Possible completions:
0 - 2012-08-21 17:43:57 by admin via netconf
1 - 2012-08-21 15:08:19 by system via system
To rollback to the committed version dated 2012-08-21, enter:
% rollback 1 |
setUse the set
operation to create or modify an object. The objects associated with this command are listed below and defined in subsequent chapters in this guide.
showThe show
operation displays the following objects and their attributes and is often used with set
operation (see above) to view results of provisioning activities.
addressContext
– Objects scoped to a specific IP addressing domain.details
– Show details.displaylevel
– Use to define the level (1-64) of detail to show.global
– Global objects that are applicable Node wide.oam
– Operations and Maintenance objects.profiles
– Profiles of configuration shared by multiple objects.system
– System-level configuration.
statusThe status
command displays the status of all users currently logged into CLI.
Command Example
Code Block |
---|
|
% status
Users currently editing the configuration:
admin ssh (cli from 10.113.130.13) on since 2012-08-22 00:54:50 private mode |
topThe top
operation is used to exit to the top level. In Edit mode, the top
command takes you to the top most level of CLI commands from any level.
upThe up
operation is used to exit one level of configuration. In Edit mode, the up
command takes you to one level up.