Removing a Route

Syntax

remove route vd <Name of VS or VR Object> destination {<IP Address>[/<IP Prefix>] | default | default6} [{netmask <IP Netmask> | prefix <IP Prefix>]

Parameters

Parameter

Value

Notes

vd <Name of VS or VR Object>

Object name

Specifies the name of the Virtual System or Virtual Router object.

Mandatory parameter, if this is the first command in a transaction.

destination {<IP Address>[/<IP Prefix>] | default | default6}

See the Notes column on the right

Specifies the route destination settings:

  • <IP Address> - IPv4 or IPv6 address

  • <IP Prefix> -

    • For IPv4 - Integer between 1 and 32

    • For IPv6 - Integer between 64 and 128

  • default - Use the default IPv4 route

  • default6 - Use the default IPv6 route

netmask <IP Netmask>

Number

Specifies an IP Netmask:

  • For IPv4 - Number in a format X.X.X.X

  • For IPv6 - Number in a format XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX

prefix <IP Prefix>

Integer

Specifies the IP address prefix length:

  • For IPv4 - Integer between 1 and 32

  • For IPv6 - Integer between 64 and 128

Example - Removing a route from the Virtual System "VS1" that uses the default IPv6 route as a destination

vsx_provisioning_tool -s localhost -u admin -p mypassword -o remove route vd VS1 destination default6