Search

vcli router

Handle routers

Synopsis

Handle router related tasks.

Example:

 router inspect 1
 router list
 router list -f name="router1"
 router tags 1,2 -t 1,2
 router tags -t 1,2 -f name="server*"
 router tags 1,2 --clear
 router certificate 1,2 --cert 1
 router certificate 1,2 --clear
 router delete 1
 router stats -v
 router metrics 1
 router transfer 1 -o 1      // Transfer to private (generated private token)
 router transfer 1 -o 1 -p 2 // Transfer to private with private-token
 router transfer 1 -o 0      // Transfer to system


Options

  -h, --help   help for router

Options inherited from parent commands

  -c, --config string   configuration file for the CLI (default ~/.vcli.yml)
                        Could also be set via VARNISH_CONTROLLER_CLI_CONFIG=/path/to/config.yml
      --csv             Output the response table as CSV format.
  -j, --json            Output the response table as JSON format.

SEE ALSO


®Varnish Software, Wallingatan 12, 111 60 Stockholm, Organization nr. 556805-6203