HAProxy Enterprise Documentation 1.8r2

show cli level

Display the CLI level of the current session.

Description

Querying an HAProxy Enterprise domain or network socket with the string show cli level will display the CLI level of the current session.

Examples

$ echo "show cli level" | socat /var/run/hapee-1.8/hapee-lb.sock stdio
admin

If your version of socat has been compiled with readline support, you can use this command interactively:

$ socat /var/run/hapee-1.8/hapee-lb.sock readline
prompt
show cli level
admin

In this interactive mode, you can change the level from admin to operator or user. See the operator and user commands.

Note

On some packaged versions of socat, the readline option is not supported.


Next up

Lua scripts