isle/docs/user/multiple-networks.md

24 lines
738 B
Markdown
Raw Normal View History

2024-12-17 19:42:47 +00:00
# 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`.