Reference

show cli level

Available since

  • HAProxy 1.8
  • HAProxy Enterprise 1.8r1

Display the CLI level of the current session.

Description Jump to heading

Querying the load balancer’s domain or network socket with the string show cli level will display the CLI level of the current session.

Examples Jump to heading

To show the CLI level:

  1. Connect to the Runtime API socket:

    bash
    sudo socat stdio tcp4-connect:127.0.0.1:9999
    bash
    sudo socat stdio tcp4-connect:127.0.0.1:9999
  2. Start an interactive session:

    bash
    prompt
    bash
    prompt
  3. Display the CLI level:

    bash
    show cli level
    bash
    show cli level
    output
    bash
    admin
    output
    bash
    admin

See also Jump to heading

If this page was useful, please, Leave the feedback.

© 2023 HAProxy Technologies, LLC. All Rights Reserved
Manage Cookie Preferences