CLI Usage
7950 SR OS Basic System Configuration Guide
Page 21
Navigating in the CLI
The following sections describe additional navigational and syntax information.
•
•
•
CLI Environment Commands on page 25
•
CLI Monitor Commands on page 26
•
Entering Numerical Ranges on page 35
CLI Contexts
Use the CLI to access, configure, and manage Alcatel-Lucent’s SR OS routers. CLI commands are
entered at the command line prompt. Access to specific CLI commands is controlled by the
permissions set by your system administrator. Entering a CLI command makes navigation possible
from one command context (or level) to another.
When you initially enter a CLI session, you are in the ROOT context. Navigate to another level by
entering the name of successively lower contexts. For example, enter either the
configure
or
show
commands at the ROOT context to navigate to the
config
or
show
context, respectively. For
example, at the command prompt (#), enter
config
. The active context displays in the command
prompt.
A:ALA-12# config
A:ALA-12>config#
In a given CLI context, enter commands at that context level by simply entering the text. It is also
possible to include a command in a lower context as long as the command is formatted in the
proper command and parameter syntax.
The following example shows two methods to navigate to a service SDP ingress level:
Method 1:
A:ALA-12# configure service epipe 6 spoke-sdp 2:6 ingress
*A:ALA-12>config>service>epipe>spoke-sdp>ingress#
Method 2:
A:ALA-12>config# service
A:ALA-12>config>service# epipe 6
*A:ALA-12>config>service>epipe# spoke-sdp 2:6
*A:ALA-12>config>service>epipe>spoke-sdp# ingress
*A:ALA-12>config>service>epipe>spoke-sdp>ingress#
The CLI returns an error message when the syntax is incorrect.
*A:ALA-12>config# rooter
Error: Bad command.
Summary of Contents for 7950 XRS Series
Page 8: ...Page 8 7950 SR OS Basic System Configuration Guide List of Tables...
Page 10: ...Page 10 7950 SR OS Basic System Configuration Guide List of Figures...
Page 14: ...Preface Page 14 7950 SR OS Basic System Configuration Guide...
Page 46: ...VI Editor Page 46 7950 SR OS Basic System Configuration Guide...
Page 76: ...File Management Tasks Page 76 7950 SR OS Basic System Configuration Guide...
Page 78: ...File Command Reference Page 78 7950 SR OS Basic System Configuration Guide...
Page 172: ...Basic CLI Commands Page 172 7950 SR OS Basic System Configuration Guide...
Page 184: ...Configuration Notes Page 184 7950 SR OS Basic System Configuration Guide...
Page 214: ...DNS Configuration Commands Page 214 7950 SR OS Basic System Configuration Guide...
Page 220: ...Show Commands Page 220 7950 SR OS Basic System Configuration Guide...
Page 494: ...System Commands Page 494 7950 SR OS Basic System Configuration Guide...
Page 500: ...Standards and Protocols Page 500 Standards and Protocols...