vrouter-routes-show

This command is used to display information about all routes on one or all configured vRouters.

Syntax   vrouter-routes-show vrouter-name name-string network ip-address netmask netmask [type rip|connected|static|ospf|bgp|missing|kernel-route|igmp|babel| pim] interface interface-string next-hop ip-address distance number metric metric-number 

vrouter-name name-string

Specifies the name of a vRouter.

Any of the routes arguments:

 

network ip-address

Specifies the IP address of the vRouter.

netmask netmask

Specifies the netmask.

type rip|connected|static|
ospf|bgp|missing|kernel-route|igmp|babel|pim|ospf6

Specifies the type of route on the vRouter.

interface interface-string

Specifies the interface for the route.

next-hop ip-address

Specifies the next-hop IP address.

distance number

Specifies the administrative distance in a number from 0 to 255.

0 — Connected interface

1 — Static route

110 — OSPF

120 — RIP

200 — Internal BGP

metric metric-number

Specifies the cost of advertised routes on the network.

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.

sort-asc

Display output in ascending order.

sort-desc

Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

Display the number of entries in the output. This is useful with vRouter show commands.

unscaled

Display full values in the output instead of scaled approximate values.

raw-int-values

Display integer values instead of mapped values

sum-by

Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

 

Defaults   None

Access   CLI

History   

Version 2.0

Command introduced.

Version 2.1

The parameters, next-hop and distance, added.

Version 2.2

The parameter, metric, added.

Usage   Use this command to identify routes on vRouters configured on the switch.

Examples  To display all route information for all vRouters, use the following command:

vrouter-routes-show

vrovrouter-name network       type      interface       

vr-ext-50    10.121.1.0/24 connected   ext.50.mgr.eth0

vr-ext-50    10.111.1.0/24 rip         ext.50.mgr.eth0

vr-ext-50    127.0.0.0/8   connected   lo0             

vr-www-51    10.121.1.0/24 connected   www.51.mgr.eth1

vr-www-51    10.111.1.0/24 connected   www.51.mgr.eth0

vr-www-51    127.0.0.0/8   connected   lo0