Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All
     
     

    op invoke-debugger cli

    Syntax

    op invoke-debugger cli filename<detail><argument-name argument-value>

    Release Information

    Command introduced in Junos OS Release 13.1.

    Description

    Invoke the SLAX debugger to trace the execution of an op script that is enabled in the configuration.

    Options

    detail
    —

    Display detailed output.

    argument-name argument-value
    —

    (Optional) Specify one or more arguments for the script. For each argument you include on the command line, you must specify a corresponding value for the argument.

    filename
    —

    Script filename

    Additional Information

    For more information about Junos op scripts, see the Junos OS Configuration and Operations Automation Guide.

    Required Privilege Level

    maintenance

     
     

    List of Sample Output

    op invoke-debugger cli
    op invoke-debugger cli script argument1 value1

    Output Fields

    When you enter the op invoke-debugger cli command, the CLI displays the (sdb) prompt where you can enter SLAX debugger commands.

    Sample Output

    op invoke-debugger cli

    user@host> op invoke-debugger cli script1
    sdb: The SLAX Debugger (version )
    Type 'help' for help
    (sdb) 
    

    op invoke-debugger cli script argument1 value1

    user@host> op invoke-debugger cli script2 interface ge-0/2/0.0
    sdb: The SLAX Debugger (version )
    Type 'help' for help
    (sdb) 
    

    Published: 2013-07-26