24 lines
738 B
Markdown
24 lines
738 B
Markdown
# Working With Multiple Networks
|
|
|
|
When joined to only a single network all CLI commands will assume that network
|
|
is the subject of the command. However if multiple networks are joined then the
|
|
desired must be specified. This is done using the `--network` flag on all
|
|
commands which require it.
|
|
|
|
The `--network` flag accepts as its argument either the network ID, the
|
|
network's name, or the network's domain.
|
|
|
|
```bash
|
|
# Using network ID
|
|
isle hosts list --network b56b7d9ec420878fe3f
|
|
|
|
# Using network name
|
|
isle storage allocations list --network "Martin And Friends"
|
|
|
|
# Using network domain
|
|
isle vpn firewall list --network martin-and-friends.com
|
|
```
|
|
|
|
The values of these for each joined network can be obtained using
|
|
`isle networks list`.
|