inspect vrf
Focus
Focus

inspect vrf

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

allEnter all to inspect all route tables for a device.
listEnter list to list the names of configured route tables.
mgmtEnter mgmt to inspect the management table.
mainEnter main to inspect only the main route table.
defaultEnter default to inspect the default route table.
core-inEnter 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.
vrfnameEnter one of the route table names from the list.

Command Notes

RoleSuper, Read Only
Related Commands
Introduced in Release 4.4.1

Example

inspect vrf list RouteTable Number ---------- ------ local 255 main 254 default 253 unspec 0 all-peer-in 2010 plain-in-eth5 2701 plain-out-eth5 2702 internet-in-eth2 2100 internet-out-eth2 2101 plain-in-eth1 2703 plain-out-eth1 2704 privwan-eth4 2051 plain-in-eth7 2705 plain-out-eth7 2706 mgmt-eth0 32000 plain-in-eth3 2707 plain-out-eth3 2708 all-peer-100-in 1010 vrf-privwan-eth6 1500 vrf-100 20002 vrf-privwan-eth7.1 1501 all-peer-102-in 1011 vrf-privwan-eth7.2 1502 vrf-102 20003 all-peer-101-in 1012 vrf-privwan-eth7.3 1503 vrf-101 20001
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