Help Center/ Distributed Cache Service/ Service Overview/ Command Compatibility/ Commands Supported and Disabled in Web CLI
Updated on 2024-05-07 GMT+08:00

Commands Supported and Disabled in Web CLI

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. Currently, only DCS for Redis 6.0/5.0/4.0 support Web CLI.

  • Keys and values cannot contain spaces.
  • If the value is empty, nil is returned after the GET command is executed.

Commands Supported in Web CLI

The following lists the commands supported when the using Web CLI. For details about the command syntax, visit the Redis official website. For example, to view details about the SCAN command, enter SCAN in the search box on this page.

Table 1 Commands supported by Web CLI (1)

Generic (Key)

String

List

Set

Sorted Set

Server

DEL

APPEND

RPUSH

SADD

ZADD

FLUSHALL

OBJECT

BITCOUNT

RPUSHX

SCARD

ZCARD

FLUSHDB

EXISTS

BITOP

BRPOPLRUSH

SDIFF

ZCOUNT

DBSIZE

EXPIRE

BITPOS

LINDEX

SDIFFSTORE

ZINCRBY

TIME

MOVE

DECR

LINSERT

SINTER

ZRANGE

INFO

PERSIST

DECRBY

LLEN

SINTERSTORE

ZRANGEBYSCORE

CLIENT KILL

PTTL

GET

LPOP

SISMEMBER

ZRANK

CLIENT LIST

RANDOMKEY

GETRANGE

LPUSHX

SMEMBERS

ZREMRANGEBYRANK

CLIENT GETNAME

RENAME

GETSET

LRANGE

SMOVE

ZREMRANGEBYCORE

CLIENT SETNAME

RENAMENX

INCR

LREM

SPOP

ZREVRANGE

CONFIG GET

SCAN

INCRBY

LSET

SRANDMEMBER

ZREVRANGEBYSCORE

SLOWLOG

SORT

INCRBYFLOAT

LTRIM

SREM

ZREVRANK

ROLE

TTL

MGET

RPOP

SUNION

ZSCORE

SWAPDB

TYPE

MSET

RPOPLPU

SUNIONSTORE

ZUNIONSTORE

MEMORY

-

MSETNX

RPOPLPUSH

SSCAN

ZINTERSTORE

-

-

PSETEX

-

-

ZSCAN

-

-

SET

-

-

ZRANGEBYLEX

-

-

SETBIT

-

-

ZLEXCOUNT

-

-

SETEX

-

-

-

-

-

SETNX

-

-

-

-

-

SETRANGE

-

-

-

-

-

STRLEN

-

-

-

-

-

BITFIELD

-

-

-

-

Table 2 Commands supported by Web CLI (2)

Hash

HyperLoglog

Connection

Scripting

Geo

Pub/Sub

HDEL

PFADD

AUTH

EVAL

GEOADD

UNSUBSCRIBE

HEXISTS

PFCOUNT

ECHO

EVALSHA

GEOHASH

PUBLISH

HGET

PFMERGE

PING

SCRIPT EXISTS

GEOPOS

PUBSUB

HGETALL

-

QUIT

SCRIPT FLUSH

GEODIST

PUNSUBSCRIBE

HINCRBY

-

-

SCRIPT KILL

GEORADIUS

-

HINCRBYFLOAT

-

-

SCRIPT LOAD

GEORADIUSBYMEMBER

-

HKEYS

-

-

-

-

-

HMGET

-

-

-

-

-

HMSET

-

-

-

-

-

HSET

-

-

-

-

-

HSETNX

-

-

-

-

-

HVALS

-

-

-

-

-

HSCAN

-

-

-

-

-

HSTRLEN

-

-

-

-

-

Commands Disabled in Web CLI

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

Table 3 Commands disabled in Web CLI (1)

Generic (Key)

Server

Transactions

Cluster

MIGRATE

SLAVEOF

UNWATCH

CLUSTER MEET

WAIT

SHUTDOWN

REPLICAOF

CLUSTER FLUSHSLOTS

DUMP

DEBUG commands

DISCARD

CLUSTER ADDSLOTS

RESTORE

CONFIG SET

EXEC

CLUSTER DELSLOTS

-

CONFIG REWRITE

MULTI

CLUSTER SETSLOT

-

CONFIG RESETSTAT

WATCH

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

-

-

-

ACL

-

-

-

MODULE

-

-

Table 4 Commands disabled in Web CLI (2)

List

Connection

Sorted Set

Pub/Sub

BLPOP

SELECT

BZPOPMAX

PSUBSCRIBE

BRPOP

-

BZPOPMIN

SUBSCRIBE

BLMOVE

-

BZMPOP

-

BRPOPLPUSH

-

-

-

BLMPOP

-

-

-