Focus
Focus
Table of Contents

inspect vrf

Use the
inspect vrf
command to inspect all the route tables for a device and used to debug any routing-related issues on the device.

Command

inspect vrf ( all | list | mgmt | main | default | core-in | ) | vrf=
vrf-name
) +)

Options

all
Enter all to inspect all route tables for a device.
list
Enter list to list the names of configured route tables.
mgmt
Enter mgmt to inspect the management table.
main
Enter main to inspect only the main route table.
default
Enter default to inspect the default route table.
core-in
Enter core-in to inspect the core-in route table. Core-in table is the route table specific for traffic that ingresses from the core router. This option is applicable only for hub devices.
vrfname
Enter one of the route table names from the list.

Command Notes

Role
Super, Read Only
Related Commands
Introduced in
Release 4.4.1

Example

inspect vrf list 255 local 254 main 253 default 0 unspec 100 internet-eth3 200 mgmt 10 core-in 50 privwan-eth1 11 core-out-veth-e1-p-2 inspect vrf mgmt default via 10.16.13.25 dev eth0 10.16.13.24/29 dev eth0 scope link src 10.16.13.27 inspect vrf vrf=internet-eth3 default via 10.16.13.193 dev eth3 10.16.13.192/27 dev eth3 scope link src 10.16.13.202
inspect vrf all default via 127.2.0.2 dev v-eth1-p table privwan-in-eth1 21.168.2.0/24 dev eth1 table privwan-in-eth1 scope link src 21.168.2.92 default via 21.168.2.99 dev eth1 table privwan-out-eth1 proto static 21.168.2.0/24 dev eth1 table privwan-out-eth1 scope link src 21.168.2.92 21.168.2.0/24 dev eth1 table allow-connected-drop-default proto rsync scope link src 21.168.2.92127.2.0.0/30 dev v-eth1-p table allow-connected-drop-default proto rsync scope link src 127.2.0.121.168.2.0/24 dev eth1 proto kernel scope link src 21.168.2.92 127.2.0.0/30 dev v-eth1-p proto kernel scope link src 127.2.0.1 broadcast 21.168.2.0 dev eth1 table local proto kernel scope link src 21.168.2.92 local 21.168.2.92 dev eth1 table local proto kernel scope host src 21.168.2.92 broadcast 21.168.2.255 dev eth1 table local proto kernel scope link src 21.168.2.92 broadcast 127.2.0.0 dev v-eth1-p table local proto kernel scope link src 127.2.0.1 local 127.2.0.1 dev v-eth1-p table local proto kernel scope host src 127.2.0.1 broadcast 127.2.0.3 dev v-eth1-p table local proto kernel scope link src 127.2.0.1 2008::/64 dev eth1 table privwan-in-eth1 metric 256 pref medium 2008::/64 dev eth1 table privwan-out-eth1 metric 256 pref medium default via 2008::55 dev eth1 table privwan-out-eth1 proto static metric 1024 pref medium 2008::/64 dev eth1 proto kernel metric 256 pref medium fe80::/64 dev eth1 proto kernel metric 256 pref medium fe80::/64 dev v-eth1-p proto kernel metric 256 pref medium fe80::/64 dev v-eth1 proto kernel metric 256 pref medium anycast 2008:: dev eth1 table local proto kernel metric 0 pref medium local 2008::5 dev eth1 table local proto kernel metric 0 pref medium anycast fe80:: dev eth1 table local proto kernel metric 0 pref medium anycast fe80:: dev v-eth1-p table local proto kernel metric 0 pref medium anycast fe80:: dev v-eth1 table local proto kernel metric 0 pref medium local fe80::250:56ff:fe88:e61d dev eth1 table local proto kernel metric 0 pref medium local fe80::700a:a5ff:fe6d:5d55 dev v-eth1 table local proto kernel metric 0 pref medium local fe80::cc92:5fff:fe14:e9d9 dev v-eth1-p table local proto kernel metric 0 pref medium ff00::/8 dev eth1 table local metric 256 pref medium ff00::/8 dev v-eth1-p table local metric 256 pref medium ff00::/8 dev v-eth1 table local metric 256 pref medium

Recommended For You