# NX-OS 9300v route replies, from a lab capture, exec-request form: the
# connected-route commands for all VRFs, one exec request each (no pty).
# The direkt sections are deliberate misspellings, for the error reply
# (the device exits 16).
#prompt: switch# 
#--- show ip route direct vrf all | json
 
{"TABLE_vrf": {"ROW_vrf": [{"vrf-name-out": "default", "TABLE_addrf": {"ROW_addrf": {"addrf": "ipv4"}}}, {"vrf-name-out": "management", "TABLE_addrf": {"ROW_addrf": {"addrf": "ipv4", "TABLE_prefix": {"ROW_prefix": {"ipprefix": "172.20.20.0/24", "ucast-nhops": "1", "mcast-nhops": "0", "attached": "true", "TABLE_path": {"ROW_path": {"entry": "0", "ipnexthop": "172.20.20.13", "ifname": "mgmt0", "uptime": "PT4M49S", "pref": "0", "metric": "0", "clientname": "direct", "ubest": "true"}}}}}}}, {"vrf-name-out": "red", "TABLE_addrf": {"ROW_addrf": {"addrf": "ipv4", "TABLE_prefix": {"ROW_prefix": [{"ipprefix": "10.10.10.0/24", "ucast-nhops": "1", "mcast-nhops": "0", "attached": "true", "TABLE_path": {"ROW_path": {"entry": "0", "ipnexthop": "10.10.10.1", "ifname": "Eth1/1", "uptime": "PT4M43S", "pref": "0", "metric": "0", "clientname": "direct", "ubest": "true"}}}, {"ipprefix": "10.11.0.0/24", "ucast-nhops": "1", "mcast-nhops": "0", "attached": "true", "TABLE_path": {"ROW_path": {"entry": "0", "ipnexthop": "10.11.0.1", "ifname": "Eth1/3", "uptime": "PT3M48S", "pref": "0", "metric": "0", "clientname": "direct", "ubest": "true"}}}]}}}}, {"vrf-name-out": "blue", "TABLE_addrf": {"ROW_addrf": {"addrf": "ipv4", "TABLE_prefix": {"ROW_prefix": [{"ipprefix": "10.10.10.0/24", "ucast-nhops": "1", "mcast-nhops": "0", "attached": "true", "TABLE_path": {"ROW_path": {"entry": "0", "ipnexthop": "10.10.10.1", "ifname": "Eth1/2", "uptime": "PT4M41S", "pref": "0", "metric": "0", "clientname": "direct", "ubest": "true"}}}, {"ipprefix": "10.12.0.0/24", "ucast-nhops": "1", "mcast-nhops": "0", "attached": "true", "TABLE_path": {"ROW_path": {"entry": "0", "ipnexthop": "10.12.0.1", "ifname": "Eth1/4", "uptime": "PT3M47S", "pref": "0", "metric": "0", "clientname": "direct", "ubest": "true"}}}]}}}}, {"vrf-name-out": "green", "TABLE_addrf": {"ROW_addrf": {"addrf": "ipv4"}}}, {"vrf-name-out": "grey", "TABLE_addrf": {"ROW_addrf": {"addrf": "ipv4", "TABLE_prefix": {"ROW_prefix": {"ipprefix": "10.14.0.1/32", "ucast-nhops": "2", "mcast-nhops": "0", "attached": "true", "TABLE_path": {"ROW_path": {"entry": "0", "ipnexthop": "10.14.0.1", "ifname": "Lo1", "uptime": "PT3M44S", "pref": "0", "metric": "0", "clientname": "direct", "ubest": "true"}}}}}}}, {"vrf-name-out": "egress-loadbalance-resolution-", "TABLE_addrf": {"ROW_addrf": {"addrf": "ipv4"}}}]}}
#--- show ipv6 route direct vrf all | json
 
{"TABLE_vrf": {"ROW_vrf": [{"vrf-name-out": "default", "TABLE_addrf": {"ROW_addrf": {"addrf": "ipv6"}}}, {"vrf-name-out": "red", "TABLE_addrf": {"ROW_addrf": {"addrf": "ipv6", "TABLE_prefix": {"ROW_prefix": [{"ipprefix": "2001:db8:10::/64", "ipv6prefix": "2001:db8:10::/64", "ucast-nhops": "1", "mcast-nhops": "0", "attached": "true", "TABLE_path": {"ROW_path": {"ubest": "true", "ipnexthop": "2001:db8:10::1", "ipv6nexthop": "2001:db8:10::1", "ifname": "Eth1/1", "uptime": "PT3M50S", "pref": "0", "metric": "0", "clientname": "direct"}}}, {"ipprefix": "2001:db8:11::/64", "ipv6prefix": "2001:db8:11::/64", "ucast-nhops": "1", "mcast-nhops": "0", "attached": "true", "TABLE_path": {"ROW_path": {"ubest": "true", "ipnexthop": "2001:db8:11::1", "ipv6nexthop": "2001:db8:11::1", "ifname": "Eth1/3", "uptime": "PT3M48S", "pref": "0", "metric": "0", "clientname": "direct"}}}]}}}}, {"vrf-name-out": "blue", "TABLE_addrf": {"ROW_addrf": {"addrf": "ipv6", "TABLE_prefix": {"ROW_prefix": [{"ipprefix": "2001:db8:10::/64", "ipv6prefix": "2001:db8:10::/64", "ucast-nhops": "1", "mcast-nhops": "0", "attached": "true", "TABLE_path": {"ROW_path": {"ubest": "true", "ipnexthop": "2001:db8:10::1", "ipv6nexthop": "2001:db8:10::1", "ifname": "Eth1/2", "uptime": "PT3M50S", "pref": "0", "metric": "0", "clientname": "direct"}}}, {"ipprefix": "2001:db8:12::/64", "ipv6prefix": "2001:db8:12::/64", "ucast-nhops": "1", "mcast-nhops": "0", "attached": "true", "TABLE_path": {"ROW_path": {"ubest": "true", "ipnexthop": "2001:db8:12::1", "ipv6nexthop": "2001:db8:12::1", "ifname": "Eth1/4", "uptime": "PT3M47S", "pref": "0", "metric": "0", "clientname": "direct"}}}]}}}}, {"vrf-name-out": "green", "TABLE_addrf": {"ROW_addrf": {"addrf": "ipv6", "TABLE_prefix": {"ROW_prefix": {"ipprefix": "2001:db8:13::/64", "ipv6prefix": "2001:db8:13::/64", "ucast-nhops": "1", "mcast-nhops": "0", "attached": "true", "TABLE_path": {"ROW_path": {"ubest": "true", "ipnexthop": "2001:db8:13::1", "ipv6nexthop": "2001:db8:13::1", "ifname": "Eth1/5", "uptime": "PT3M45S", "pref": "0", "metric": "0", "clientname": "direct"}}}}}}}, {"vrf-name-out": "grey", "TABLE_addrf": {"ROW_addrf": {"addrf": "ipv6", "TABLE_prefix": {"ROW_prefix": {"ipprefix": "2001:db8:14::1/128", "ipv6prefix": "2001:db8:14::1/128", "ucast-nhops": "2", "mcast-nhops": "0", "attached": "true", "TABLE_path": {"ROW_path": {"ubest": "true", "ipnexthop": "2001:db8:14::1", "ipv6nexthop": "2001:db8:14::1", "ifname": "Lo1", "uptime": "PT3M46S", "pref": "0", "metric": "0", "clientname": "direct"}}}}}}}, {"vrf-name-out": "egress-loadbalance-resolution-", "TABLE_addrf": {"ROW_addrf": {"addrf": "ipv6"}}}]}}
#--- show ip route direkt vrf all | json
 
Syntax error while parsing 'show ip route direkt vrf all | json'


Cmd exec error.
#--- show ipv6 route direkt vrf all | json
 
Syntax error while parsing 'show ipv6 route direkt vrf all | json'


Cmd exec error.
