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 |
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- |
Specifies the number of next hops for the route. |
nexthops-in-hw nexthops-in-hw- |
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| |
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- |
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. |
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- |
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