ADC CLI Commands

cli-prompt

The following operations can be performed on “cli-prompt”:

show set clear

show cli prompt

Use this command to display the current CLI prompt, with special values like ‘%h’ unexpanded.

Synopsis

show cli prompt

Arguments

Output

promptString

Example

10.101.4.22 15:20> sh cli prompt CLI prompt is set to “%h %T” Done

set cli prompt

Use this command to customize the CLI prompt.

Synopsis

set cli prompt

Arguments

promptString The prompt string. The following special values are allowed: %! - will be replaced by the history event number %u - will be replaced by the Citrix ADC user name %h - will be replaced by the Citrix ADC hostname %t - will be replaced by the current time %T - will be replaced by the current time (24 hr format) %d - will be replaced by the current date %s - will be replaced by the node state

Example

set cli prompt “%h %T” Done lb-ns1 15:16>

clear cli prompt

Use this command to return the CLI prompt to the default (a single ‘>’).

Synopsis

clear cli prompt

cli-prompt