Nortel Networks 4050 User Manual

Page of 922
804 Appendix A CLI reference
320818-A
 
Using the CLI
CLI commands are grouped into a series of menus and submenus (see 
). 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 
 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/
path
>”
Display the menu indicated within quotation marks.
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.