|
| 1 | +## stackit beta routing-table route create |
| 2 | + |
| 3 | +Creates a route in a routing-table |
| 4 | + |
| 5 | +### Synopsis |
| 6 | + |
| 7 | +Creates a route in a routing-table. |
| 8 | + |
| 9 | +``` |
| 10 | +stackit beta routing-table route create [flags] |
| 11 | +``` |
| 12 | + |
| 13 | +### Examples |
| 14 | + |
| 15 | +``` |
| 16 | + Create a route with CIDRv4 destination and IPv4 nexthop |
| 17 | + stackit beta routing-tables route create \ |
| 18 | +--routing-table-id xxx --organization-id yyy --network-area-id zzz \ |
| 19 | +--destination-type cidrv4 --destination-value <ipv4-cidr> \ |
| 20 | +--nexthop-type ipv4 --nexthop-value <ipv4-address> |
| 21 | +
|
| 22 | + Create a route with CIDRv6 destination and IPv6 nexthop |
| 23 | + stackit beta routing-tables route create \ |
| 24 | +--routing-table-id xxx --organization-id yyy --network-area-id zzz \ |
| 25 | +--destination-type cidrv6 --destination-value <ipv6-cidr> \ |
| 26 | +--nexthop-type ipv6 --nexthop-value <ipv6-address> |
| 27 | +
|
| 28 | + Create a route with CIDRv6 destination and Nexthop Internet |
| 29 | + stackit beta routing-tables route create \ |
| 30 | +--routing-table-id xxx --organization-id yyy --network-area-id zzz \ |
| 31 | +--destination-type cidrv6 --destination-value <ipv6-cidr> \ |
| 32 | +--nexthop-type internet |
| 33 | +``` |
| 34 | + |
| 35 | +### Options |
| 36 | + |
| 37 | +``` |
| 38 | + --destination-type string Destination type |
| 39 | + --destination-value string Destination value |
| 40 | + -h, --help Help for "stackit beta routing-table route create" |
| 41 | + --labels stringToString Key=value labels (default []) |
| 42 | + --network-area-id string Network-Area ID |
| 43 | + --nexthop-type string Next hop type |
| 44 | + --nexthop-value string NextHop value |
| 45 | + --organization-id string Organization ID |
| 46 | + --routing-table-id string Routing-Table ID |
| 47 | +``` |
| 48 | + |
| 49 | +### Options inherited from parent commands |
| 50 | + |
| 51 | +``` |
| 52 | + -y, --assume-yes If set, skips all confirmation prompts |
| 53 | + --async If set, runs the command asynchronously |
| 54 | + -o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"] |
| 55 | + -p, --project-id string Project ID |
| 56 | + --region string Target region for region-specific requests |
| 57 | + --verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info") |
| 58 | +``` |
| 59 | + |
| 60 | +### SEE ALSO |
| 61 | + |
| 62 | +* [stackit beta routing-table route](./stackit_beta_routing-table_route.md) - Manage routes of a routing-table |
| 63 | + |
0 commit comments