vrouter-rib-routes-show
This command is used to display the Routing Information database (RIB) for vRouter routes.
Syntax vrouter-rib-routes-show
| vrid vrid-number | The vRouter ID assigned. | 
| ip ip-address | The IP address. | 
| prelen prelen-number | The prefix length. | 
| numer-of-nexthops numer-of-nexthops- | The number of next hops for the route. | 
| nexthops-in-hw nexthops-in-hw- | The number of next hops for hardware routing. | 
| nexthop ip-address | The IP address for the next hop on the route. | 
| ecmp-group ecmp-group-number | The Equal Cost Multipath (ECMP) group number. | 
| egress-id egress-id-number | The egress ID assigned to an outgoing route. | 
| flags ECMP|in-hw|in-cache| | The flags for the routes. ECMP in-hw - stored in hardware cache - stored in the RIB. l local-subnet - stored in the local subnet. | 
| vlan vlan-number | The VLAN of the routes. | 
| intf_ip ip-address | The IP address of the interface participating in the routing table. | 
| intf_id vrouter-hw-if hw-id | The hardware ID if the router interface is hardware. | 
| ecmp-nexthops|no-ecmp- | Specifies filter to display single/mutiple route entries (per nexthop) | 
| number-of-tunnels number-of-tunnels-number | The number of tunnels dependent on this route. | 
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 format ip,prelen,nexthop,flags,vlan
ip prelen nexthop flags vlan
------------- ------ ------------------------- ----- ---
192.168.111.0 24 fe80::640e:94ff:feff:7bdc in-hw 4092
5001:11:1:: 48 fe80::640e:94ff:feff:7bdc in-hw 4092
