804Appendix A CLI reference

Using the CLI

CLI commands are grouped into a series of menus and submenus (see “CLI Main Menu” on page 812). Each menu contains a list of available commands and a summary of each command function.

You can enter menu commands at the prompt that follows each menu.

Global commands

Basic commands are recognized throughout the menu hierarchy. Use the global commands in Table 179 to obtain online help, navigate through menus, and apply and save configuration changes.

Table 179 Global commands (Sheet 1 of 3)

Command

Action

 

 

help

Display a summary of the global commands.

 

 

help <command>

Display help on a specific command in the command line interface.

 

 

.

Display the current menu.

 

 

print

Display the current menu.

 

 

..

Advance one level in the menu structure.

 

 

up

Advance one level in the menu structure.

 

 

/

Placed at the beginning of a command, returns to the Main menu. Placed within a

 

command string, the character separates multiple commands on the same line.

 

 

cd “<menu/

Display the menu indicated within quotation marks.

path>”

TIP: Type cd “/cfg/sys” at any prompt in the CLI to go to the System menu.

 

Also type /cfg/sys (no quotation marks) at any menu prompt to go to the System

 

menu.

 

 

pwd

Display the command path used to reach the current menu.

 

 

apply

Apply pending configuration changes.

 

 

diff

Show any pending configuration changes.

 

 

revert

Remove pending configuration changes between apply commands. TIP: Use

 

revert to restore configuration parameters set after the most recent apply

 

command.

 

 

320818-A

Page 804
Image 804
Nortel Networks 4050 manual Using the CLI, Global commands