The Command Line Interface
Left running head:
Chapter name (automatic)
16
Beta Beta
OmniAccess 5740 Unified Services Gateway CLI Configuration Guide
Alcatel-Lucent
CLI MODES
The different CLI modes are:
• “User Mode (UM)”
• “Super User Mode (SUM)”
• “Configuration Mode (CM)”
• “Interface Configuration Mode (ICM)”
• “Sub-Interface Configuration Mode (S-ICM)”
• “Router Configuration Mode (RCM)”
The flowchart above depicts the flow and command structure to be used to enter
into the different modes of configuration accordingly.
After you successfully log into the system, you will enter the User Mode. The user
mode can be identified by the ‘>’ prompt. This mode allows you to view only a few
global show commands and have access to ping and SSH. There is no access to
edit or update the configuration in this mode.
The next level is the Super User Mode. You can enter this mode by typing in the
“enable” command. At this mode, you are given the flexibility to use the debug,
reset, and clear commands. Even here you have no access to either insert,
delete, or modify the configuration. It also allows all the commands that are
available in the user mode.
Type the “config terminal” command to enter the Configuration Mode. This mode
is used to configure the system globally, or to enter specific configuration modes
to configure specific elements such as interfaces or protocols. It also allows you to
modify running system configuration.
In the Application Configuration Mode, you can enter into a specific application by
entering the corresponding name such as: router OSPF, BGP, RIP, IP NAT, IP
filter, firewall, etc.
By entering the interface type, slot-number, port-number, and other parameters of
the interface, you will enter the Interface Configuration Mode. The interface
configuration mode can be accessed from the configuration mode or also from the
application configuration mode. After configuring an interface, you can configure a
sub-interface either from the ICM or directly from the configuration mode itself.
The reverse flow is also depicted with the help of the “Exit” and “End / Ctrl-Z”
commands. These commands allow you to go back to the previous mode or to
exit totally out of the configuration and go to the super user mode. The command
“top” is used to jump to configuration mode from which ever mode you are in.