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 with the environment alias command. The commands are interpreted as absolute path. Spaces between the slash and the first command return an error. Commands that are already global (such as ping, telnet, exit, back, and so on) 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 interface 
*A:ALA-12>config>router# 

The command may or may not change the current context depending on whether it is a leaf command.

Example

This is the same behavior the CLI performs when CLI commands are entered individually, as shown in the following example.

*A:ALA-12# admin 
*A:ALA-12>admin# save

or

*A:ALA-12# admin save
*A:ALA-12# 

An absolute path command behaves the same as manually entering a series of command line instructions and parameters.

Example: Beginning in an IES context service ID 4 (IES 4)

config>service>ies> /clear card 1

behaves the same as the following series of commands.

config>service>ies>exit all
    clear card 1
    configure service ies 4 (returns you to your starting point)
    config>service>ies

If the command takes you to a different context, the following occurs:

config>service>ies>/configure service ies 5 create

becomes

config>service>ies>exit all
    configure service vpls 5 create
    config>service>vpls