HAProxy Enterprise Documentation 2.3r1

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-2.3/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-2.3/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.

See also


Next up

show cli sockets