Skip to content

exo networking vpc route create

Description

This command creates a route on a VPC Subnet.

Routes are scoped to a Subnet, so –subnet is required. Route target explanation can be found here https://community.exoscale.com/product/networking/vpc/how-to/using-routing-rules/

exo networking vpc route create VPC-NAME|ID [flags]

Options

OptionDescription
--descriptionroute description
--destinationroute destination CIDR (e.g. 10.9.0.0/24)
--help, -hhelp for create
--subnetSubnet to create the route in (NAME|ID)
--targetroute target, as ip=<IP address> (e.g. ip=10.0.0.5). Find more details at https://community.exoscale.com/product/networking/vpc/how-to/using-routing-rules/
--zone, -zVPC zone

Options inherited from parent commands

OptionDescription
--config, -CSpecify an alternate config file [env EXOSCALE_CONFIG]
--output-format, -OOutput format (table|json|text), see "exo output –help" for more information
--output-templateTemplate to use if output format is "text"
--quiet, -QQuiet mode (disable non-essential command output)
--timeoutPer-zone timeout for list operations; -1s disables timeout [env EXOSCALE_TIMEOUT]
--use-account, -AAccount to use in config file [env EXOSCALE_ACCOUNT]

Related Commands

  • route - Manage VPC routes
Last updated on