Updated on 2022-02-21 GMT+08:00

Web CLI Commands

Web CLI is a command line tool provided on the DCS console. This section describes Web CLI's compatibility with Redis commands, including supported and disabled commands. For details about the command syntax, visit the Redis official website.

Currently, only DCS Redis 4.0 and 5.0 support Web CLI.

Commands Supported in Web CLI

The following lists the commands supported when the using Web CLI.

Table 1 Commands supported by Web CLI (1/2)

Key

String

Hash

List

Set

Sorted set

Server

DEL

APPEND

HDEL

BLPOP

SADD

ZADD

FLUSHALL

DUMP

BITCOUNT

HEXISTS

BRPOP

SCARD

ZCARD

FLUSHDB

EXISTS

BITOP

HGET

BRPOPLRUSH

SDIFF

ZCOUNT

DBSIZE

EXPIRE

BITPOS

HGETALL

LINDEX

SDIFFSTORE

ZINCRBY

TIME

MOVE

DECR

HINCRBY

LINSERT

SINTER

ZRANGE

INFO

PERSISI

DECRBY

HINCRBYFLOAT

LLEN

SINTERSTORE

ZRANGEBYSCORE

CLIENT KILL

PTTL

GET

HKEYS

LPOP

SISMEMBER

ZRANK

CLIENT LIST

RANDOMKEY

GETRANGE

HMGET

LPUSHX

SMEMBERS

ZREMRANGEBYRANK

CLIENT GETNAME

RENAME

GETSET

HMSET

LRANGE

SMOVE

ZREMRANGEBYCORE

CLIENT SETNAME

RENAMENX

INCR

HSET

LREM

SPOP

ZREVRANGE

CONFIG GET

RESTORE

INCRBY

HSETNX

LSET

SRANDMEMBER

ZREVRANGEBYSCORE

MONITOR

SORT

INCRBYFLOAT

HVALS

LTRIM

SREM

ZREVRANK

SLOWLOG

TTL

MGET

HSCAN

RPOP

SUNION

ZSCORE

ROLE

TYPE

MSET

HSTRLEN

RPOPLPU

SUNIONSTORE

ZUNIONSTORE

SWAPDB

SCAN

MSETNX

-

RPOPLPUSH

SSCAN

ZINTERSTORE

MEMORY

OBJIECT

PSETEX

-

RPUSH

SPOP

ZSCAN

-

-

SET

-

RPUSHX

-

ZRANGEBYLEX

-

-

SETBIT

-

-

-

ZLEXCOUNT

-

-

SETEX

-

-

-

-

-

-

SETNX

-

-

-

-

-

-

SETRANGE

-

-

-

-

-

-

STRLEN

-

-

-

-

-

-

BITFIELD

-

-

-

-

-

Table 2 Commands supported by Web CLI (2/2)

HyperLogLog

Pub/Sub

Transaction

Connection

Scripting

Geo

PFADD

PSUBSCRIBE

DISCARD

AUTH

EVAL

GEOADD

PFCOUNT

PUBLISH

EXEC

ECHO

EVALSHA

GEOHASH

PFMERGE

PUBSUB

MULTI

PING

SCRIPT EXISTS

GEOPOS

-

PUNSUBSCRIBE

WATCH

QUIT

SCRIPT FLUSH

GEODIST

-

SUBSCRIBE

-

SELECT

SCRIPT KILL

GEORADIUS

-

UNSUBSCRIBE

-

-

SCRIPT LOAD

GEORADIUSBYMEMBER

Commands Disabled in Web CLI

The following lists the commands disabled when the using Web CLI.

Table 3 Redis commands disabled in Web CLI for single-node and master/standby instances

Key

Server

Transaction

MIGRATE

SLAVEOF

UNWATCH

WAIT

SHUTDOWN

REPLICAOF

-

DEBUG commands

-

-

CONFIG SET

-

-

CONFIG REWRITE

-

-

CONFIG RESETSTAT

-

-

SAVE

-

-

BGSAVE

-

-

BGREWRITEAOF

-

-

COMMAND

-

-

KEYS

-

-

MONITOR

-

-

SYNC

-

-

PSYNC

-

Table 4 Redis commands disabled in Web CLI for Redis Cluster instances

Key

Server

Transaction

Cluster

MIGRATE

SLAVEOF

UNWATCH

CLUSTER MEET

WAIT

SHUTDOWN

REPLICAOF

CLUSTER FLUSHSLOTS

-

DEBUG commands

-

CLUSTER ADDSLOTS

-

CONFIG SET

-

CLUSTER DELSLOTS

-

CONFIG REWRITE

-

CLUSTER SETSLOT

-

CONFIG RESETSTAT

-

CLUSTER BUMPEPOCH

-

SAVE

-

CLUSTER SAVECONFIG

-

BGSAVE

-

CLUSTER FORGET

-

BGREWRITEAOF

-

CLUSTER REPLICATE

-

COMMAND

-

CLUSTER COUNT-FAILURE-REPORTS

-

KEYS

-

CLUSTER FAILOVER

-

MONITOR

-

CLUSTER SET-CONFIG-EPOCH

-

SYNC

-

CLUSTER RESET

-

PSYNC

-

-