vrouter-static-route-show

This command displays static route entries for an existing virtual router (vRouter) service for a fabric, cluster, standalone switch, or virtual network (VNET).

Syntax   vrouter-static-route-show

vrouter-name name-string

Specifies the name of the vRouter service.

network ip-address

Specifies the IP subnet of the network that you want to add a static router.

netmask netmask

Specifies the netmask of the IP subnet.

gateway-ip ip-address

Specifies the IP address of the gateway that you want to route packets destined for the network IP address.

bfd-dst-ip ip-address

Specifies the destination IP address for BFD monitoring.

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

bfd none|single-hop|multi-hop

Specifies the BFD protocol for the gateway fault detection.

bfd-src-ip ip-address

Specifies the source IP address for the BFD session.

interface vrouter interface nic

Specify the vRouter interface for the static route.

drop

Specify if you want to drop packets to create a null static route.

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 1.2

Command introduced.

Version 2.1

The parameter, distance, added.

Version 2.6.2

The parameters, bfd-dst-ip, bfd, bfd-src-ip, added.

Version 3.0.0

The parameter, interface, added.

Version 3.0.3

The parameter, drop, added.

Usage   Each fabric, cluster, standalone switch, or virtual network (VNET) can provide its tenants with a virtual router (vRouter) service that forwards traffic between networks and implements Layer 3 protocols. This command displays static route entries for an existing Router service.

Examples  To display all static routes for all vRouter services, use the following command:

CLI network-admin@switch > vrouter-static-route-show layout vertical

See Also   

vrouter-create

vrouter-delete

vrouter-migrate

vrouter-modify

vrouter-show

vrouter-bgp-add

vrouter-bgp-remove

vrouter-bgp-show

vrouter-igmp-static-join-add

vrouter-igmp-static-join-remove

vrouter-igmp-static-join-show

vrouter-interface-add

vrouter-interface-modify

vrouter-interface-remove

vrouter-interface-show

vrouter-ospf-add

vrouter-ospf-remove

vrouter-ospf-show

vrouter-ospf-neighbor-show

vrouter-rip-add

vrouter-rip-remove

vrouter-rip-show

vrouter-static-route-remove