unifi topology
About 255 words
Draw the network topology of the site.
Usage
unifi topology [flags]Aliases: topo
Draw the site as a diagram: the internet on top, the gateway below it, and every switch and access point under the device it uplinks to. The connectors carry the link speed, the port and the traffic currently flowing.
The diagram falls back to an indented layout when the terminal is too narrow for it. With --watch it opens a full-screen view that refreshes itself: v shows the clients, l cycles the layout, c toggles dark and light, the arrow keys and pgup/pgdn scroll, r refreshes and q quits.
Examples
unifi topology
unifi topology --clients
unifi topology --layout tree
unifi topology --watch --refresh 2s
unifi topology --output jsonFlags
| Flag | Description |
|---|---|
--clients | draw the clients below the devices they are attached to |
--layout <string> | layout: auto, diagram, tree (default auto) |
--refresh <string> | interval between refreshes with --watch, such as 5s (default: the configured one) |
-w, --watch | open the full-screen view that refreshes itself |
Global flags
These flags are accepted by every command.
| Flag | Description |
|---|---|
--color-scheme <string> | color scheme: auto, dark or light |
--context <string> | context to use instead of the current one |
--no-cache | ask the controller for everything instead of using cached answers |
-o, --output <string> | output format: text, wide, json, yaml (table is another name for text) |
-s, --site <string> | site to act on instead of the context's default site |
--theme <string> | theme to render with instead of the configured one |
