vrouter-rib-routes-show

This command is used to display the Routing Information database (RIB) for vRouter routes.

Syntax   vrouter-cached-routes-show

vrid vrid-number

Specifies the vRouter ID assigned.

ip ip-address

Specifies the IP address.

prelen prelen-number

Specifies the prefix length.

numer-of-nexthops numer-of-nexthops-
number

Specifies the number of next hops for the route.

nexthops-in-hw nexthops-in-hw-
number

Specifies the number of next hops for hardware routing.

nexthop ip-address

Specifies the IP address for the next hop on the route.

ecmp-group ecmp-group-number

Specifies the Equal Cost Multipath (ECMP) group number.

egress-id egress-id-number

Specifies the egress ID assigned to an outgoing route.

flags ECMP|in-hw|in-cache|
local-subnet

Specifies the flags for the routes.

  • ECMP

  • in-hw - stored in hardware

  • cache - stored in the RIB.

  • local-subnet - stored in the local subnet.

vlan vlan-number

Specifies the VLAN of the routes.

intf_ip ip-address

Specifies the IP address of the interface participating in the routing table.

intf_id vrouter-hw-if hw-id

Specifies the hardware ID if the router interface is hardware.

ecmp-nexthops|no-ecmp-
nexthops

Specifies filter to display single/mutiple route entries (per nexthop)

number-of-tunnels number-of-tunnels-number

Specifies the number of tunnels dependent on this 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 2.1

Command introduced.

Version 2.2

The parameters, vlan and vxlan, deprecated.

Version 2.2.3

The parameters, vlan, and intf_id added.

Version 2.2.5

The parameter, local-subnet, added to RIB route flags.

Version 2.4

The parameter, number-of-tunnels, added.

Version 2.5.4

The parameter, ecmp-nexthops|no-ecmp-
nexthops,
added.

Usage   Use this command to display the RIB for vRouters which can be helpful when troubleshooting a connection.

Examples  To display the RIB routes, use the following command:

CLI network-admin@switch > vrouter-rib-routes-show

switch:             Spine-1

vrid:               0

ip:                 192.168.10.52

prelen:             30

number-of-nexthops: 1

nexthops-in-hw:     1

nexthop:            192.168.0.225

egress-id:          100037

flags:              in-hw

vlan:               4081

intf-ip:            192.168.0.226

intf-id:            10

number-of-tunnels:  0

switch:             Spine-1

vrid:               0

ip:                 192.168.10.24

prelen:             30

number-of-nexthops: 1

nexthops-in-hw:     1

nexthop:            192.168.0.225

egress-id:          100037

flags:              in-hw

vlan:               4081

intf-ip:            192.168.0.226

intf-id:            10

number-of-tunnels:  0