|
| 1 | +## stackit alpha vpc routing-table static-route create |
| 2 | + |
| 3 | +Creates a static-route in a routing-table |
| 4 | + |
| 5 | +### Synopsis |
| 6 | + |
| 7 | +Creates a static-route in a routing-table. |
| 8 | + |
| 9 | +``` |
| 10 | +stackit alpha vpc routing-table static-route create [flags] |
| 11 | +``` |
| 12 | + |
| 13 | +### Examples |
| 14 | + |
| 15 | +``` |
| 16 | + Create a static-route with CIDRv4 destination and IPv4 nexthop |
| 17 | + $ stackit alpha vpc routing-table static-route create --routing-table-id xxx --vpc-id yyy --destination-type cidrv4 --destination-value <ipv4-cidr> --nexthop-type ipv4 --nexthop-value <ipv4-address> |
| 18 | +
|
| 19 | + Create a route with CIDRv6 destination and IPv6 nexthop |
| 20 | + $ stackit alpha vpc routing-table static-route create --routing-table-id xxx --vpc-id yyy --destination-type cidrv6 --destination-value <ipv6-cidr> --nexthop-type ipv6 --nexthop-value <ipv6-address> |
| 21 | +
|
| 22 | + Create a route with CIDRv6 destination and nexthop Internet |
| 23 | + $ stackit alpha vpc routing-table static-route create --routing-table-id xxx --vpc-id yyy --destination-type cidrv6 --destination-value <ipv6-cidr> --nexthop-type internet |
| 24 | +``` |
| 25 | + |
| 26 | +### Options |
| 27 | + |
| 28 | +``` |
| 29 | + --destination-type string Destination type (one of: [cidrv4, cidrv6]) |
| 30 | + --destination-value string Destination value |
| 31 | + -h, --help Help for "stackit alpha vpc routing-table static-route create" |
| 32 | + --labels stringToString Labels are key-value string pairs which can be attached to a static route. E.g. '--labels key1=value1,key2=value2,...' (default []) |
| 33 | + --nexthop-type string Next hop type (one of: [ipv4, ipv6, internet, blackhole]) |
| 34 | + --nexthop-value string NextHop value |
| 35 | + --routing-table-id string Routing-Table ID |
| 36 | + --vpc-id string VPC ID |
| 37 | +``` |
| 38 | + |
| 39 | +### Options inherited from parent commands |
| 40 | + |
| 41 | +``` |
| 42 | + -y, --assume-yes If set, skips all confirmation prompts |
| 43 | + --async If set, runs the command asynchronously |
| 44 | + -o, --output-format string Output format, (one of: [json, pretty, none, yaml]) |
| 45 | + -p, --project-id string Project ID |
| 46 | + --region string Target region for region-specific requests |
| 47 | + --verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info") |
| 48 | +``` |
| 49 | + |
| 50 | +### SEE ALSO |
| 51 | + |
| 52 | +* [stackit alpha vpc routing-table static-route](./stackit_alpha_vpc_routing-table_static-route.md) - Manages static routes of a VPC routing-table |
| 53 | + |
0 commit comments