dtctl router restart
Usage
dtctl router restart <id>
Aliases
rs
Description
Restart a router by ID.
Example
dtctl router restart <router-id>
Related Commands
| Command | Description |
|---|---|
| dtctl router list | List routers |
| dtctl router show | Show a router |
| dtctl router create | Create a router |
| dtctl router update | Rename a router |
| dtctl router update-static-route | Update a static route |
| dtctl router delete | Delete a router |
| dtctl router delete-external-gateway | Remove the external gateway |
| dtctl router delete-interface | Detach an interface |
| dtctl router delete-static-route | Delete a static route |
| dtctl router add-static-route | Add a static route |
| dtctl router attach-external-gateway | Attach an external gateway |
| dtctl router attach-interface | Attach an internal interface |
| dtctl router externals | List networks with external access |
| dtctl router interfaces | List a router's interfaces |
| dtctl router static-routes | List a router's static routes |
Global Flags
| Option | Description |
|---|---|
--api-url | Send this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1") |
--config, -c | Specify a custom config file Default: ~/.config/dtctl/config.yaml |
--no-headers | Omit the column headers, for scripting Default: false |
--output, -o | Output format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line Default: text |