Print Download PDF Send Feedback

Previous

Next

Removing a Route

Description

This command lets you remove an IPv4 or IPv6 route from an existing Virtual System or Virtual Router object.

Note - This command detects IPv4 and IPv6 automatically.

Syntax

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

Parameters

Parameter

Value

Notes

vd <Device Object Name>

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 cell

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 - Removes route from a 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