|
| 1 | +## stackit network-area 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 network-area routing-table route create [flags] |
| 11 | +``` |
| 12 | + |
| 13 | +### Examples |
| 14 | + |
| 15 | +``` |
| 16 | + Create a route with CIDRv4 destination and IPv4 nexthop |
| 17 | + $ stackit network-area routing-table route create --routing-table-id xxx --organization-id yyy --network-area-id zzz --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 network-area routing-table route create --routing-table-id xxx --organization-id yyy --network-area-id zzz --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 network-area routing-table route create --routing-table-id xxx --organization-id yyy --network-area-id zzz --destination-type cidrv6 --destination-value <ipv6-cidr> --nexthop-type internet |
| 24 | +``` |
| 25 | + |
| 26 | +### Options |
| 27 | + |
| 28 | +``` |
| 29 | + --destination-type string Destination type |
| 30 | + --destination-value string Destination value |
| 31 | + -h, --help Help for "stackit network-area routing-table route create" |
| 32 | + --labels stringToString Key=value labels (default []) |
| 33 | + --network-area-id string Network-Area ID |
| 34 | + --nexthop-type string Next hop type |
| 35 | + --nexthop-value string NextHop value |
| 36 | + --organization-id string Organization ID |
| 37 | + --routing-table-id string Routing-Table ID |
| 38 | +``` |
| 39 | + |
| 40 | +### Options inherited from parent commands |
| 41 | + |
| 42 | +``` |
| 43 | + -y, --assume-yes If set, skips all confirmation prompts |
| 44 | + --async If set, runs the command asynchronously |
| 45 | + -o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"] |
| 46 | + -p, --project-id string Project ID |
| 47 | + --region string Target region for region-specific requests |
| 48 | + --verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info") |
| 49 | +``` |
| 50 | + |
| 51 | +### SEE ALSO |
| 52 | + |
| 53 | +* [stackit network-area routing-table route](./stackit_network-area_routing-table_route.md) - Manages routes of a routing-table |
| 54 | + |
0 commit comments