RIB
nv show vrf <vrf-id> router rib
Shows the routing table for the specified VRF.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router rib
Address-family Summary
-------------- ----------------------
ipv4 Route: 10.0.0.10/32
Route: 10.0.0.9/32
Route: 10.10.10.1/32
Route: 10.10.10.101/32
Route: 10.10.10.102/32
Route: 10.10.10.2/32
Route: 10.10.10.3/32
Route: 10.10.10.4/32
ipv6 Route: fe80::/64
nv show vrf <vrf-id> router rib <afi>
Shows the IPv4 or IPv6 routing table for the specified VRF.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<afi> | The route address family (IPv4 or IPv6). |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router rib ipv4
route
========
Route Summary
--------------- -------------------
10.0.0.9/32 Protocol: bgp
10.0.0.10/32 Protocol: bgp
10.10.10.1/32 Protocol: connected
10.10.10.2/32 Protocol: bgp
10.10.10.3/32 Protocol: bgp
10.10.10.4/32 Protocol: bgp
10.10.10.101/32 Protocol: bgp
10.10.10.102/32 Protocol: bgp
nv show vrf <vrf-id> router rib <afi> protocol
Shows the IPv4 or IPv6 routing table for all protocols for the specified VRF.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<afi> | The route address family (IPv4 or IPv6). |
Version History
Introduced in Cumulus Linux 5.1.0
Example
cumulus@switch:~$ nv show vrf default router rib ipv4 protocol bgp
nv show vrf <vrf-id> router rib <afi> protocol <protocol>
Shows the IPv4 or IPv6 routing table for the specified protocol for the specified VRF.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<afi> | The route address family (IPv4 or IPv6). |
<import-protocol-id> | The protocol name: bgp , isis , ospf , rip , sharp , table , connected , kernel , ospf6 , ripng , or static . |
Version History
Introduced in Cumulus Linux 5.1.0
Example
cumulus@switch:~$ nv show vrf default router rib ipv4 protocol bgp
nv show vrf <vrf-id> router rib <afi> route <route-id>
Shows the routing table for the specified route.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<afi> | The route address family (IPv4 or IPv6). |
<route-id> | The IP prefix. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router rib ipv4 route default
nv show vrf <vrf-id> router rib <afi> route <route-id> protocol <protocol-id>
Shows the routing table for the specified protocol route.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<afi> | The route address family (IPv4 or IPv6). |
<route-id> | The IP prefix. |
<protocol-id> | The protocol name, such as bgp or ospf . |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router rib ipv4 route default protocol bgp
nv show vrf <vrf-id> router rib <afi> route <route-id> protocol <protocol-id> entry-index
Shows the route entry index values for the specified protocol route.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<afi> | The route address family (IPv4 or IPv6). |
<route-id> | The IP prefix. |
<protocol-id> | The protocol name, such as bgp or ospf . |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router rib ipv4 route default protocol bgp entry-index
nv show vrf <vrf-id> router rib <afi> route <route-id> protocol <protocol-id> entry-index <entry-index>
Shows detailed information about the specified protocol route entry index.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<afi> | The route address family (IPv4 or IPv6). |
<route-id> | The IP prefix. |
<protocol-id> | The protocol name, such as bgp or ospf . |
<entry-index> | The routing table entry index. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router rib ipv4 route default protocol bgp entry-index 10
nv show vrf <vrf-id> router rib <afi> route <route-id> protocol <protocol-id> entry-index <entry-index> flags
Shows the routing table flags for the specified protocol route entry index.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<afi> | The route address family (IPv4 or IPv6). |
<route-id> | The IP prefix. |
<protocol-id> | The protocol name, such as bgp or ospf . |
<entry-index> | The routing table entry index. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router rib ipv4 route default protocol bgp entry-index 10 flags
nv show vrf <vrf-id> router rib <afi> route <route-id> protocol <protocol-id> entry-index <entry-index> via
Shows the routing table next hop information for the specified protocol route entry index.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<afi> | The route address family (IPv4 or IPv6). |
<route-id> | The IP prefix. |
<protocol-id> | The protocol name, such as bgp or ospf . |
<entry-index> | The routing table entry index. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router rib ipv4 route default protocol bgp entry-index 10 via
nv show vrf <vrf-id> router rib <afi> route <route-id> protocol <protocol-id> entry-index <entry-index> via <via-id>
Shows the routing table next hop resolution information for the specified protocol route entry index.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<afi> | The route address family (IPv4 or IPv6). |
<route-id> | The IP prefix. |
<protocol-id> | The protocol name, such as bgp or ospf . |
<entry-index> | The routing table entry index. |
<via-id> | The IP address of the nexthop router. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router rib ipv4 route default protocol bgp entry-index 10 via 10.0.1.0
nv show vrf <vrf-id> router rib <afi> route <route-id> protocol <protocol-id> entry-index <entry-index> via <via-id> flags
Shows the routing table flags for the specified protocol route entry index next hop.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<afi> | The route address family (IPv4 or IPv6). |
<route-id> | The IP prefix. |
<protocol-id> | The protocol name, such as bgp or ospf . |
<entry-index> | The routing table entry index. |
<via-id> | The IP address of the nexthop router. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router rib ipv4 route default protocol bgp entry-index 10 via 10.0.1.0 flags
nv show vrf <vrf-id> router rib <afi> route <route-id> protocol <protocol-id> entry-index <entry-index> via <via-id> label
Shows the routing table label information for the specified protocol route entry index next hop.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<afi> | The route address family (IPv4 or IPv6). |
<route-id> | The IP prefix. |
<protocol-id> | The protocol name, such as bgp or ospf . |
<entry-index> | The routing table entry index. |
<via-id> | The IP address of the nexthop router. |
Version History
Introduced in Cumulus Linux 5.1.0
Example
cumulus@switch:~$ nv show vrf default router rib ipv4 route default protocol bgp entry-index 10 via 10.0.1.0 label
nv show vrf <vrf-id> router rib <afi> route <route-id> protocol <protocol-id> entry-index <entry-index> via <via-id> resolved-via
Shows the routing table recursive next hop resolution information for the specified protocol route entry index next hop.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<afi> | The route address family (IPv4 or IPv6). |
<route-id> | The IP prefix. |
<protocol-id> | The protocol name, such as bgp or ospf . |
<entry-index> | The routing table entry index. |
<via-id> | The IP address of the nexthop router. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router rib ipv4 route default protocol bgp entry-index 10 via 10.0.1.0 resolved-via
nv show vrf <vrf-id> router rib <afi> route <route-id> protocol <protocol-id> entry-index via <via-id> resolved-via <resolved-via-id>
Shows the routing table information for a specific recursive next hop for the specified protocol route entry index next hop.
Command Syntax
Syntax | Description |
---|---|
<vrf-id> | The VRF name. |
<afi> | The route address family (IPv4 or IPv6). |
<route-id> | The IP prefix. |
<protocol-id> | The protocol name, such as bgp or ospf . |
<entry-index> | The routing table entry index. |
<via-id> | The IP address of the nexthop router. |
<resolved-via-id> | The IP address of the nexthop router that resolves the route. |
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv show vrf default router rib ipv4 route default protocol bgp entry-index 10 via 10.0.1.0 resolved-via 10.0.10.0