asg_route

This command is supported only on these:

  • ElasticXL Cluster

  • Maestro Security Group

  • Scalable Chassis Security Group

Note - You can run this command in Gaia gClish or in the Expert mode.

Description

Shows routing information.

Related Commands

Syntax

asg_route {-h | --help}

asg_route [-6] [-a] [-b <SGM IDs>] [--vs <VS ID>] [--summary] [--compare-os-db]

      [{-i |--inactive} <Parameter>]

      [{-n |--dyn-route} <Parameter>]

      [{-r |--route} <Parameter>]

Parameters

Parameter

Description

-h

--help

Shows the built-in help.

No Parameters

Shows all routes (IPv4 and IPv6).

-6

Shows only IPv6 routes.

-a

Includes the Security Group Members that are in the "DOWN" state.

-b <SGM IDs>

Specifies the Security Group Members, for which to run this command.

By default, applies to Security Group Members.

Applies to Security Group Members as specified by the <SGM IDs>.

<SGM IDs> can be:

  • No <SGM IDs> specified, or all

    Applies to all Security Group Members and all Sites

  • One Security Group Member (for example, 1_1)

  • A comma-separated list of Security Group Members (for example, 1_1,1_4)

  • A range of Security Group Members (for example, 1_1-1_4)

  • One Site (chassis1, or chassis2)

  • The Active Site (chassis_active)

--vs <VS ID>

Specifies the IDs of the Traditional VSX Virtual Systems.

Applies to the Traditional Virtual Systems as specified by the <VS IDs>.

<VS IDs> can be:

  • No <VS IDs> specified (default) - Applies to the context of the current Virtual System

  • One Virtual System

  • A comma-separated list of Virtual Systems (for example, 1,2,4,5)

  • A range of Virtual Systems (for example, 3-5)

  • all - Shows all Virtual Systems

This parameter is only applicable in a VSX environment.

--summary

Shows only a summary of all routes.

--compare-os-db

Shows only the inconsistency after it compares the routes between the Security Group database and the Gaia OS database.

{-i |--inactive} <Parameter>

Show only inactive routes.

Valid <Parameters> are:

  • all - Shows all inactive routes.

  • aggregate - Shows only the aggregate routes.

  • bgp - Shows only the BGP routes.

  • direct - Shows only the directly connected routes.

  • ospf - Shows only the OSPF routes.

  • static - Shows only the static routes.

  • rip - Shows only the RIP routes.

{-n |--dyn-route} <Parameter>

Show only dynamic routes.

Valid <Parameters> are:

  • all - Shows all dynamic routes.

  • bgp - Shows only the BGP routes.

  • ospf - Shows only the OSPF routes.

  • rip - Shows only the RIP routes.

{-r |--route} <Parameter>

Show only specified routes.

Valid <Parameters> are:

  • all - Shows all routes.

  • aggregate - Shows only the aggregate routes.

  • bgp - Shows only the BGP routes.

  • destination <IP Address> - Shows only the route to the specified destination.

  • direct - Shows only the directly connected routes.

  • exact <Network IP Address> - Shows only the specific route.

  • ospf - Shows only the OSPF routes.

  • rip - Shows only the RIP routes.

  • static - Shows only the static routes.

  • subnets <Network IP Address> - Shows only the routes for the specified the network and its subnets.

Examples