Absolute Paths - Alcatel-Lucent 7710 SR Configuration Manual

Service router os basic system
Hide thumbs Also See for 7710 SR:
Table of Contents

Advertisement

Entering CLI Commands

Absolute Paths

CLI commands can be executed in any context by specifying the full path from the CLI root. To
execute an out-of-context command enter a forward slash "/" or backward slash "\" at the
beginning of the command line. The forward slash "/" or backward slash "\" cannot be used eith
the environment alias command.The commands are interpreted as absolute path. Spaces between
the slash and the first command will return an error. Commands that are already global (such as
ping, telnet, exit, back, etc.) cannot be executed with a forward slash "/" or backward slash "\" at
the beginning of the command line.
*A:ALA-12# configure router
*A:ALA-12>config>router# interface system address 1.2.3.4
*A:ALA-12>config>router# /admin save
*A:ALA-12>config>router# \clear router bgp all
*A:ALA-12>config>router#
The command may or may not change the current context depending on whether or not it is a leaf
command. This is the same behavior the CLI performs when CLI commands are entered
individually, for example:
*A:ALA-12# admin
*A:ALA-12>admin# save
or
*A:ALA-12# admin save
*A:ALA-12#
Note that an absolute path command behaves the same as manually entering a series of command
line instructions and parameters.
For example, beginning in an IES context service ID 4 (IES 4),
CLI Syntax: config>service>ies> /clear card 1
behaves the same as the following series of commands.
Example
If the command takes you to a different context, the following occurs:
CLI Syntax: config>service>ies>/configure service ies 5 create
becomes
Example
Page 32
:
config>service>ies>exit all
clear card 1
configure service ies 4
config>service>ies
:
config>service>ies>exit all
configure service vprn 5 create
config>service>vprn>
7710 SR OS Basic System Configuration Guide
(returns you to your starting point)

Advertisement

Table of Contents
loading

Table of Contents