Chapter 3
How to Use the Command-line Interface
18
Cajun 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.
Summary of Contents for CAJUN M770
Page 2: ...2 Cajun M770 ATM Switch User s Guide...
Page 14: ...xii Cajun M770 ATM Switch User s Guide...
Page 54: ...Chapter 4 Managing Miscellaneous Commands 36 Cajun M770 ATM Switch User s Guide...
Page 64: ...Chapter 5 Managing Physical Ports 46 Cajun M770 ATM Switch User s Guide...
Page 106: ...Chapter 6 Managing Virtual Ports 88 Cajun M770 ATM Switch User s Guide...
Page 112: ...Chapter 7 Managing Module Hardware 94 Cajun M770 ATM Switch User s Guide...
Page 122: ...Chapter 8 Managing PVC Connections 104 Cajun M770 ATM Switch User s Guide...
Page 158: ...Chapter 11 Managing the Management LEC 140 Cajun M770 ATM Switch User s Guide...
Page 176: ...Chapter 13 LANE Services 158 Cajun M770 ATM Switch User s Guide...
Page 266: ......