Chapter 3 How to Use the Command-line Interface
22 Avaya M770 ATM Switch User’s Guide
How the Command-line Interface Works
The command-line interface provides a set of commands that you can use to
configure the M770 ATM Switch. The commands are arranged in a hierarchy such
that related commands are grouped together in a single functional group. A
functional group can also contain one or more functional groups, and so forth.
When you login to the command-line interface, you will be placed at the root of the
hierarchy. To perform an operation using a command, you will need to specify the
full hierarchical path followed by the command. For example:
This command shows routes in the routing table and is contained in the route
functional group. Alternatively, you can descend the hierarchy by typing:
This will cause the prompt to change, displaying the position in the hierarchy:
You can now perform the command simply by typing show, as follows:
The advantage of descending the hierarchy is that you can perform multiple related
commands without having to type them out in full (that is, specifying their full
hierarchical path).
Note: You do not need to enter all the letters of a command: you need only enter
sufficient letters to uniquely identify it from other commands in the directory. For
example, instead of typing route show you could just enter r s in the
command-line interface. You can also use the TAB key to complete the full
command.
Table 3.1 lists the commands that are used to navigate the hierarchy.
M15-155s8:/>route show
M15-155s8:/>route
M15-155s8:/route>
M15-155s8:/route>show
Table 3.1 Navigational commands
Command Description
top Returns you to the root of the hierarchy.
up Returns you to the previous level in the hierarchy.