Description
This command lets you add an IPv4 or IPv6 route to an existing Virtual System or Virtual Router object.
Note - This command detects IPv4 and IPv6 automatically.
Syntax
add route vd <Device Object Name> destination {<IP Address>[/<IP Prefix>] | default | default6} [{netmask <IP Netmask> | prefix <IP Prefix>}] {next_hop <Next Hop IP Address> | leads_to <VS or VR Object Name>} [propagate {true|false}] |
Parameters
Parameter |
Value |
Notes |
---|---|---|
|
Object name |
Specifies the name of the Virtual System or Virtual Router object. Mandatory parameter, if this is the first command in a transaction. |
|
See the Notes cell |
Specifies the route destination settings:
|
|
Number |
Specifies an IP Netmask:
|
|
Integer |
Specifies the IP address prefix length:
|
|
IP Address |
Specifies the IP address of the next hop of the route. Notes:
|
|
Object name |
Specifies the name of the Virtual System or Virtual Router object, which is the next hop for the configured route. Note - You must use |
|
|
Controls how to propagate the IP routes to adjacent Virtual Devices:
Note - Applicable only if you specified the |
Example - Adds route on a Virtual System VS1 that uses the default IPv4 route as a destination and Virtual Router VR3 as a next hop
vsx_provisioning_tool –s localhost –u admin –p mypassword –o add route vd VS1 destination default leads_to VR3 |