dtctl vpn endpoint-policies
Usage
dtctl vpn endpoint-policies <routerId>
Aliases
ep
Description
Retrieve the VPN endpoint groups (local subnets / remote CIDRs) available for a router, by router ID.
Example
dtctl vpn endpoint-policies <router-id>
Response
In text output (the default), this command returns the following columns: ID, Name, Description, Type, Endpoints, Subnets.
Pass --output json to get the full response object instead.
Related Commands
| Command | Description |
|---|---|
| dtctl vpn create-endpoint | Create an endpoint group |
| dtctl vpn update-endpoint | Update an endpoint group |
| dtctl vpn delete-endpoint | Delete an endpoint group |
| dtctl vpn endpoint-details | Show an endpoint group |
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 |