The CLI is used to access, configure, and manage 7705 SAR routers. CLI commands are entered at the command line prompt. Access to specific CLI commands is controlled by the permissions set by the system administrator. Entering a CLI command makes navigation possible from one command context (or level) to another. When the user enters a CLI session, they are in the root context. To navigate to other levels, the user enters the name of successively lower contexts. For example, entering the configure or config command at the root level takes the user to the config context. The active CSM slot displays in the command prompt at the beginning of the CLI context as shown below:
A:NOK-12# config
A:NOK-12>config#
In any CLI context, commands can be entered at that context level by entering the text. Pressing <Enter> moves to a lower context. The user can also include commands from lower contexts at one context level as long as the command and parameter syntax is correct.
The following example shows two methods of navigating to a service SDP ingress level:
Method 1: Enter all commands on a single line.
A:NOK-12# configure service cpipe 6 spoke-sdp 2:6 ingress
*A:NOK-12>config>service>cpipe>spoke-sdp>ingress#
Method 2: Enter each command on a separate line.
A:NOK-12>config# service
A:NOK-12>config>service# cpipe 6
*A:NOK-12>config>service>cpipe# spoke-sdp 2:6
*A:NOK-12>config>service>cpipe>spoke-sdp# ingress
*A:NOK-12>config>service>cpipe>spoke-sdp>ingress#
The CLI returns an error message if the syntax is incorrect.
A:NOK-12>config>service# cpipe6
Error: Bad command.