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 commands are interpreted as absolute paths. Spaces between the slash and the first command will return an error.

*A:NOK-12# configure router 
*A:NOK-12>config>router# interface system address 192.0.2.0 
*A:NOK-12>config>router# /admin save 
A:NOK-12>config>router# \clear router bfd session all 
A:NOK-12>config>router# 

The command may or may not change the current context depending on whether it is a leaf command. This is the same behavior the CLI performs when CLI commands are entered individually; for example:

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

or

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