diff --git a/templates/arista_eos_show_ip_route.template b/templates/arista_eos_show_ip_route.template index 94c45a9c3f..e0d2e3ec43 100644 --- a/templates/arista_eos_show_ip_route.template +++ b/templates/arista_eos_show_ip_route.template @@ -1,3 +1,4 @@ +Value Filldown VRF (\S+) Value Filldown PROTOCOL (\S+\s\S+?|\w?) Value Filldown NETWORK (\d+.\d+.\d+.\d+) Value Filldown MASK (\d+) @@ -8,4 +9,11 @@ Value Required NEXT_HOP (connected|\d+\.\d+\.\d+\.\d+) Value INTERFACE (\S+) Start - ^\s+${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is\s+${DIRECT})(?:.+?)${NEXT_HOP},\s+${INTERFACE}$$ -> Next.Record + ^\s+${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is\s+${DIRECT})(?:.+?)${NEXT_HOP},\s+${INTERFACE}$$ -> Record + ^VRF:\s+${VRF}\s*$$ + ^Codes: + # Match for codes + ^\s+\S+\s+-\s+\S+ + ^Gateway\s+of\s+last + ^\s*$$ + ^. -> Error diff --git a/templates/cisco_nxos_show_ip_route.template b/templates/cisco_nxos_show_ip_route.template index f640a6499f..2f5f163f01 100644 --- a/templates/cisco_nxos_show_ip_route.template +++ b/templates/cisco_nxos_show_ip_route.template @@ -1,3 +1,4 @@ +Value Filldown VRF (\S+) Value PROTOCOL ([\w-]+) Value TYPE ([\w-]+) Value Filldown NETWORK (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) @@ -14,6 +15,7 @@ Value TUNNELID (0x[a-f\d]+) Value ENCAP (\w+) Start + ^IP\s+Route\s+Table\s+for\s+VRF\s+"${VRF}"\s*$$ # Match the Network/Prefix Line ^\s*${NETWORK}\/${MASK}, ubest/mbest: # @@ -37,5 +39,9 @@ Start # # Match route without a nexthop IP, only nexthop interface (e.g. null routes) ^\s+\*+via ${NEXTHOP_IF}, \[${DISTANCE}\/${METRIC}\], ${UPTIME}, ${PROTOCOL} -> Record + ^'\S+'\s+denotes\s + ^'%' + ^\s*$$ + ^. -> Error -EOF \ No newline at end of file +EOF diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.parsed b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.parsed index bfa9679932..82cc51cf67 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.parsed +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.parsed @@ -1,6 +1,7 @@ --- parsed_sample: -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -8,7 +9,8 @@ parsed_sample: network: 10.1.31.100 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -16,7 +18,8 @@ parsed_sample: network: 10.1.31.101 next_hop: 192.168.17.5 protocol: B E -- direct: directly +- vrf: '' + direct: directly distance: '' interface: Loopback100 mask: '32' @@ -24,7 +27,8 @@ parsed_sample: network: 10.1.31.102 next_hop: connected protocol: C -- direct: directly +- vrf: '' + direct: directly distance: '' interface: Loopback10 mask: '32' @@ -32,7 +36,8 @@ parsed_sample: network: 10.1.31.200 next_hop: connected protocol: C -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -40,7 +45,8 @@ parsed_sample: network: 10.1.31.254 next_hop: 192.168.17.5 protocol: B E -- direct: directly +- vrf: '' + direct: directly distance: '' interface: Ethernet20 mask: '30' @@ -48,7 +54,8 @@ parsed_sample: network: 10.63.255.8 next_hop: connected protocol: C -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '30' @@ -56,7 +63,8 @@ parsed_sample: network: 10.100.22.52 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '30' @@ -64,7 +72,8 @@ parsed_sample: network: 10.100.22.56 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -72,7 +81,8 @@ parsed_sample: network: 10.100.233.11 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -80,7 +90,8 @@ parsed_sample: network: 10.100.233.12 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -88,7 +99,8 @@ parsed_sample: network: 10.100.233.15 next_hop: 192.168.17.5 protocol: B E -- direct: directly +- vrf: '' + direct: directly distance: '' interface: Loopback0 mask: '32' @@ -96,7 +108,8 @@ parsed_sample: network: 10.100.233.32 next_hop: connected protocol: C -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet21 mask: '32' @@ -104,7 +117,8 @@ parsed_sample: network: 10.100.233.34 next_hop: 192.168.38.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -112,7 +126,8 @@ parsed_sample: network: 10.100.233.50 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -120,7 +135,8 @@ parsed_sample: network: 10.100.233.64 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -128,7 +144,8 @@ parsed_sample: network: 10.100.233.66 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -136,7 +153,8 @@ parsed_sample: network: 10.100.233.67 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -144,7 +162,8 @@ parsed_sample: network: 10.100.233.68 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet20 mask: '32' @@ -152,4 +171,3 @@ parsed_sample: network: 10.100.233.192 next_hop: 10.63.255.10 protocol: B E - diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.parsed b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.parsed new file mode 100644 index 0000000000..1bbd686ab7 --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.parsed @@ -0,0 +1,344 @@ +--- +parsed_sample: + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.1.31.100 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.1.31.101 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: directly + distance: '' + interface: Loopback100 + mask: '32' + metric: '' + network: 10.1.31.102 + next_hop: connected + protocol: C + vrf: default + - direct: directly + distance: '' + interface: Loopback10 + mask: '32' + metric: '' + network: 10.1.31.200 + next_hop: connected + protocol: C + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.1.31.254 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: directly + distance: '' + interface: Ethernet20 + mask: '30' + metric: '' + network: 10.63.255.8 + next_hop: connected + protocol: C + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '30' + metric: '0' + network: 10.100.22.52 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '30' + metric: '0' + network: 10.100.22.56 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.11 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.12 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.15 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: directly + distance: '' + interface: Loopback0 + mask: '32' + metric: '' + network: 10.100.233.32 + next_hop: connected + protocol: C + vrf: default + - direct: '' + distance: '200' + interface: Ethernet21 + mask: '32' + metric: '0' + network: 10.100.233.34 + next_hop: 192.168.38.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.50 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.64 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.66 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.67 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.68 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet20 + mask: '32' + metric: '0' + network: 10.100.233.192 + next_hop: 10.63.255.10 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.1.31.100 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.1.31.101 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: directly + distance: '' + interface: Loopback100 + mask: '32' + metric: '' + network: 10.1.31.102 + next_hop: connected + protocol: C + vrf: RED + - direct: directly + distance: '' + interface: Loopback10 + mask: '32' + metric: '' + network: 10.1.31.200 + next_hop: connected + protocol: C + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.1.31.254 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: directly + distance: '' + interface: Ethernet20 + mask: '30' + metric: '' + network: 10.63.255.8 + next_hop: connected + protocol: C + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '30' + metric: '0' + network: 10.100.22.52 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '30' + metric: '0' + network: 10.100.22.56 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.11 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.12 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.15 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: directly + distance: '' + interface: Loopback0 + mask: '32' + metric: '' + network: 10.100.233.32 + next_hop: connected + protocol: C + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet21 + mask: '32' + metric: '0' + network: 10.100.233.34 + next_hop: 192.168.38.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.50 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.64 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.66 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.67 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.68 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet20 + mask: '32' + metric: '0' + network: 10.100.233.192 + next_hop: 10.63.255.10 + protocol: B E + vrf: RED diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.raw b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.raw new file mode 100644 index 0000000000..c940344d59 --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.raw @@ -0,0 +1,61 @@ +VRF: default +Codes: C - connected, S - static, K - kernel, + O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1, + E2 - OSPF external type 2, N1 - OSPF NSSA external type 1, + N2 - OSPF NSSA external type2, B I - iBGP, B E - eBGP, + R - RIP, I - ISIS, A B - BGP Aggregate, A O - OSPF Summary, + NG - Nexthop Group Static Route + +Gateway of last resort is not set + + B E 10.1.31.100/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.1.31.101/32 [200/0] via 192.168.17.5, Ethernet18 + C 10.1.31.102/32 is directly connected, Loopback100 + C 10.1.31.200/32 is directly connected, Loopback10 + B E 10.1.31.254/32 [200/0] via 192.168.17.5, Ethernet18 + C 10.63.255.8/30 is directly connected, Ethernet20 + B E 10.100.22.52/30 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.22.56/30 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.11/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.12/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.15/32 [200/0] via 192.168.17.5, Ethernet18 + C 10.100.233.32/32 is directly connected, Loopback0 + B E 10.100.233.34/32 [200/0] via 192.168.38.5, Ethernet21 + B E 10.100.233.50/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.64/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.66/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.67/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.68/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.192/32 [200/0] via 10.63.255.10, Ethernet20 + + + +VRF: RED +Codes: C - connected, S - static, K - kernel, + O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1, + E2 - OSPF external type 2, N1 - OSPF NSSA external type 1, + N2 - OSPF NSSA external type2, B I - iBGP, B E - eBGP, + R - RIP, I - ISIS, A B - BGP Aggregate, A O - OSPF Summary, + NG - Nexthop Group Static Route + +Gateway of last resort is not set + + B E 10.1.31.100/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.1.31.101/32 [200/0] via 192.168.17.5, Ethernet18 + C 10.1.31.102/32 is directly connected, Loopback100 + C 10.1.31.200/32 is directly connected, Loopback10 + B E 10.1.31.254/32 [200/0] via 192.168.17.5, Ethernet18 + C 10.63.255.8/30 is directly connected, Ethernet20 + B E 10.100.22.52/30 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.22.56/30 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.11/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.12/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.15/32 [200/0] via 192.168.17.5, Ethernet18 + C 10.100.233.32/32 is directly connected, Loopback0 + B E 10.100.233.34/32 [200/0] via 192.168.38.5, Ethernet21 + B E 10.100.233.50/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.64/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.66/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.67/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.68/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.192/32 [200/0] via 10.63.255.10, Ethernet20 diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.parsed b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.parsed index c127e497d4..8d86e31bc9 100644 --- a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.parsed +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.parsed @@ -1,557 +1,557 @@ --- parsed_sample: - -- distance: '1' - encap: '' - mask: '0' - metric: '0' - network: 0.0.0.0 - nexthop_if: '' - nexthop_ip: 10.1.100.1 - nexthop_vrf: management - protocol: static - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 6d02h - -- distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.1 - nexthop_if: Lo1 - nexthop_ip: 1.1.1.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 6d00h - -- distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.1 - nexthop_if: Lo1 - nexthop_ip: 1.1.1.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 6d00h - -- distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.10 - nexthop_if: Lo10 - nexthop_ip: 1.1.1.10 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 1w12h - -- distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.10 - nexthop_if: Lo10 - nexthop_ip: 1.1.1.10 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 1w12h - -- distance: '110' - encap: '' - mask: '32' - metric: '3' - network: 2.2.2.2 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - -- distance: '110' - encap: '' - mask: '32' - metric: '3' - network: 2.2.2.2 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - -- distance: '110' - encap: '' - mask: '32' - metric: '4' - network: 3.3.3.3 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - -- distance: '110' - encap: '' - mask: '32' - metric: '4' - network: 3.3.3.3 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - -- distance: '110' - encap: '' - mask: '32' - metric: '2' - network: 4.4.4.4 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - -- distance: '110' - encap: '' - mask: '32' - metric: '2' - network: 4.4.4.4 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - -- distance: '1' - encap: '' - mask: '32' - metric: '0' - network: 7.7.7.7 - nexthop_if: '' - nexthop_ip: 10.10.50.1 - nexthop_vrf: '' - protocol: static - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 1d21h - -- distance: '1' - encap: '' - mask: '32' - metric: '0' - network: 8.8.8.8 - nexthop_if: Vlan1220 - nexthop_ip: 10.66.120.1 - nexthop_vrf: '' - protocol: static - segid: '' - tag: '100' - tunnelid: '' - type: '' - uptime: 00:00:01 - -- distance: '170' - encap: '' - mask: '32' - metric: '51712' - network: 10.0.255.1 - nexthop_if: Eth1/1 - nexthop_ip: 10.24.1.74 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '65422' - tunnelid: '' - type: external - uptime: 4w4d - -- distance: '170' - encap: '' - mask: '32' - metric: '51712' - network: 10.0.255.1 - nexthop_if: Eth1/3 - nexthop_ip: 10.24.2.76 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '65422' - tunnelid: '' - type: external - uptime: 4w4d - -- distance: '170' - encap: '' - mask: '32' - metric: '51712' - network: 10.0.255.1 - nexthop_if: Eth2/11 - nexthop_ip: 10.24.2.154 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '65422' - tunnelid: '' - type: external - uptime: 3w4d - -- distance: '170' - encap: '' - mask: '25' - metric: '3072' - network: 10.1.17.128 - nexthop_if: Eth1/1 - nexthop_ip: 10.24.1.74 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '' - tunnelid: '' - type: external - uptime: 4w4d - -- distance: '170' - encap: '' - mask: '25' - metric: '3072' - network: 10.1.17.128 - nexthop_if: Eth1/3 - nexthop_ip: 10.24.2.76 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '' - tunnelid: '' - type: external - uptime: 4w4d - -- distance: '170' - encap: '' - mask: '25' - metric: '3072' - network: 10.1.17.128 - nexthop_if: Eth2/11 - nexthop_ip: 10.24.2.154 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '' - tunnelid: '' - type: external - uptime: 3w4d - -- distance: '0' - encap: '' - mask: '24' - metric: '0' - network: 10.10.10.0 - nexthop_if: Vlan5 - nexthop_ip: 10.10.10.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d18h - -- distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 10.10.10.1 - nexthop_if: Vlan5 - nexthop_ip: 10.10.10.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d18h - -- distance: '0' - encap: '' - mask: '24' - metric: '0' - network: 10.10.30.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - -- distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 10.10.30.1 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - -- distance: '0' - encap: '' - mask: '24' - metric: '0' - network: 10.10.40.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - -- distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 10.10.40.1 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - -- distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.50.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - -- distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.50.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - -- distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.60.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - -- distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.60.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - -- distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.70.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - -- distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.70.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - -- distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.80.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - -- distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.80.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - -- distance: '220' - encap: '' - mask: '21' - metric: '10' - network: 10.71.0.0 - nexthop_if: Null0 - nexthop_ip: '' - nexthop_vrf: '' - protocol: ospf-1 - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 2y49w - -- distance: '150' - encap: VXLAN - mask: '16' - metric: '51712' - network: 10.151.0.0 - nexthop_if: '' - nexthop_ip: 172.24.0.240 - nexthop_vrf: default - protocol: bgp-65004 - segid: '10000' - tag: 65004 (evpn) - tunnelid: '0xac1800f0' - type: internal - uptime: 3d17h - -- distance: '110' - encap: '' - mask: '29' - metric: '10' - network: 10.218.139.240 - nexthop_if: Po1 - nexthop_ip: 10.62.2.30 - nexthop_vrf: '' - protocol: ospf-1 - segid: '' - tag: '888' - tunnelid: '' - type: type-2 - uptime: '0.000000' - -- distance: '110' - encap: '' - mask: '29' - metric: '10' - network: 10.218.139.240 - nexthop_if: Po1 - nexthop_ip: 10.62.2.34 - nexthop_vrf: '' - protocol: ospf-1 - segid: '' - tag: '888' - tunnelid: '' - type: type-2 - uptime: '0.000000' + - vrf: 'default' + distance: '1' + encap: '' + mask: '0' + metric: '0' + network: 0.0.0.0 + nexthop_if: '' + nexthop_ip: 10.1.100.1 + nexthop_vrf: management + protocol: static + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d02h + - vrf: 'default' + distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.1 + nexthop_if: Lo1 + nexthop_ip: 1.1.1.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d00h + - vrf: 'default' + distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.1 + nexthop_if: Lo1 + nexthop_ip: 1.1.1.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d00h + - vrf: 'default' + distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.10 + nexthop_if: Lo10 + nexthop_ip: 1.1.1.10 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1w12h + - vrf: 'default' + distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.10 + nexthop_if: Lo10 + nexthop_ip: 1.1.1.10 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1w12h + - vrf: 'default' + distance: '110' + encap: '' + mask: '32' + metric: '3' + network: 2.2.2.2 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + - vrf: 'default' + distance: '110' + encap: '' + mask: '32' + metric: '3' + network: 2.2.2.2 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + - vrf: 'default' + distance: '110' + encap: '' + mask: '32' + metric: '4' + network: 3.3.3.3 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + - vrf: 'default' + distance: '110' + encap: '' + mask: '32' + metric: '4' + network: 3.3.3.3 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + - vrf: 'default' + distance: '110' + encap: '' + mask: '32' + metric: '2' + network: 4.4.4.4 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + - vrf: 'default' + distance: '110' + encap: '' + mask: '32' + metric: '2' + network: 4.4.4.4 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + - vrf: 'default' + distance: '1' + encap: '' + mask: '32' + metric: '0' + network: 7.7.7.7 + nexthop_if: '' + nexthop_ip: 10.10.50.1 + nexthop_vrf: '' + protocol: static + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1d21h + - vrf: 'default' + distance: '1' + encap: '' + mask: '32' + metric: '0' + network: 8.8.8.8 + nexthop_if: Vlan1220 + nexthop_ip: 10.66.120.1 + nexthop_vrf: '' + protocol: static + segid: '' + tag: '100' + tunnelid: '' + type: '' + uptime: 00:00:01 + - vrf: 'default' + distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth1/1 + nexthop_ip: 10.24.1.74 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 4w4d + - vrf: 'default' + distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth1/3 + nexthop_ip: 10.24.2.76 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 4w4d + - vrf: 'default' + distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth2/11 + nexthop_ip: 10.24.2.154 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 3w4d + - vrf: 'default' + distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth1/1 + nexthop_ip: 10.24.1.74 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 4w4d + - vrf: 'default' + distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth1/3 + nexthop_ip: 10.24.2.76 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 4w4d + - vrf: 'default' + distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth2/11 + nexthop_ip: 10.24.2.154 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 3w4d + - vrf: 'default' + distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.10.0 + nexthop_if: Vlan5 + nexthop_ip: 10.10.10.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d18h + - vrf: 'default' + distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.10.1 + nexthop_if: Vlan5 + nexthop_ip: 10.10.10.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d18h + - vrf: 'default' + distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.30.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + - vrf: 'default' + distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.30.1 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + - vrf: 'default' + distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.40.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + - vrf: 'default' + distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.40.1 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + - vrf: 'default' + distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.50.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + - vrf: 'default' + distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.50.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + - vrf: 'default' + distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.60.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + - vrf: 'default' + distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.60.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + - vrf: 'default' + distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.70.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + - vrf: 'default' + distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.70.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + - vrf: 'default' + distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.80.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + - vrf: 'default' + distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.80.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + - vrf: 'default' + distance: '220' + encap: '' + mask: '21' + metric: '10' + network: 10.71.0.0 + nexthop_if: Null0 + nexthop_ip: '' + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 2y49w + - vrf: 'default' + distance: '150' + encap: VXLAN + mask: '16' + metric: '51712' + network: 10.151.0.0 + nexthop_if: '' + nexthop_ip: 172.24.0.240 + nexthop_vrf: default + protocol: bgp-65004 + segid: '10000' + tag: 65004 (evpn) + tunnelid: '0xac1800f0' + type: internal + uptime: 3d17h + - vrf: 'default' + distance: '110' + encap: '' + mask: '29' + metric: '10' + network: 10.218.139.240 + nexthop_if: Po1 + nexthop_ip: 10.62.2.30 + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '888' + tunnelid: '' + type: type-2 + uptime: '0.000000' + - vrf: 'default' + distance: '110' + encap: '' + mask: '29' + metric: '10' + network: 10.218.139.240 + nexthop_if: Po1 + nexthop_ip: 10.62.2.34 + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '888' + tunnelid: '' + type: type-2 + uptime: '0.000000' diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.parsed b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.parsed new file mode 100644 index 0000000000..abf32f57cf --- /dev/null +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.parsed @@ -0,0 +1,1112 @@ +--- +parsed_sample: + - distance: '1' + encap: '' + mask: '0' + metric: '0' + network: 0.0.0.0 + nexthop_if: '' + nexthop_ip: 10.1.100.1 + nexthop_vrf: management + protocol: static + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d02h + vrf: default + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.1 + nexthop_if: Lo1 + nexthop_ip: 1.1.1.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d00h + vrf: default + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.1 + nexthop_if: Lo1 + nexthop_ip: 1.1.1.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d00h + vrf: default + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.10 + nexthop_if: Lo10 + nexthop_ip: 1.1.1.10 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1w12h + vrf: default + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.10 + nexthop_if: Lo10 + nexthop_ip: 1.1.1.10 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1w12h + vrf: default + - distance: '110' + encap: '' + mask: '32' + metric: '3' + network: 2.2.2.2 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: default + - distance: '110' + encap: '' + mask: '32' + metric: '3' + network: 2.2.2.2 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: default + - distance: '110' + encap: '' + mask: '32' + metric: '4' + network: 3.3.3.3 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: default + - distance: '110' + encap: '' + mask: '32' + metric: '4' + network: 3.3.3.3 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: default + - distance: '110' + encap: '' + mask: '32' + metric: '2' + network: 4.4.4.4 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: default + - distance: '110' + encap: '' + mask: '32' + metric: '2' + network: 4.4.4.4 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: default + - distance: '1' + encap: '' + mask: '32' + metric: '0' + network: 7.7.7.7 + nexthop_if: '' + nexthop_ip: 10.10.50.1 + nexthop_vrf: '' + protocol: static + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1d21h + vrf: default + - distance: '1' + encap: '' + mask: '32' + metric: '0' + network: 8.8.8.8 + nexthop_if: Vlan1220 + nexthop_ip: 10.66.120.1 + nexthop_vrf: '' + protocol: static + segid: '' + tag: '100' + tunnelid: '' + type: '' + uptime: 00:00:01 + vrf: default + - distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth1/1 + nexthop_ip: 10.24.1.74 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 4w4d + vrf: default + - distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth1/3 + nexthop_ip: 10.24.2.76 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 4w4d + vrf: default + - distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth2/11 + nexthop_ip: 10.24.2.154 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 3w4d + vrf: default + - distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth1/1 + nexthop_ip: 10.24.1.74 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 4w4d + vrf: default + - distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth1/3 + nexthop_ip: 10.24.2.76 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 4w4d + vrf: default + - distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth2/11 + nexthop_ip: 10.24.2.154 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 3w4d + vrf: default + - distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.10.0 + nexthop_if: Vlan5 + nexthop_ip: 10.10.10.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d18h + vrf: default + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.10.1 + nexthop_if: Vlan5 + nexthop_ip: 10.10.10.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d18h + vrf: default + - distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.30.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + vrf: default + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.30.1 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + vrf: default + - distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.40.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + vrf: default + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.40.1 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + vrf: default + - distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.50.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: default + - distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.50.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: default + - distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.60.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: default + - distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.60.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: default + - distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.70.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: default + - distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.70.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: default + - distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.80.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: default + - distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.80.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: default + - distance: '220' + encap: '' + mask: '21' + metric: '10' + network: 10.71.0.0 + nexthop_if: Null0 + nexthop_ip: '' + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 2y49w + vrf: default + - distance: '150' + encap: VXLAN + mask: '16' + metric: '51712' + network: 10.151.0.0 + nexthop_if: '' + nexthop_ip: 172.24.0.240 + nexthop_vrf: default + protocol: bgp-65004 + segid: '10000' + tag: 65004 (evpn) + tunnelid: '0xac1800f0' + type: internal + uptime: 3d17h + vrf: default + - distance: '110' + encap: '' + mask: '29' + metric: '10' + network: 10.218.139.240 + nexthop_if: Po1 + nexthop_ip: 10.62.2.30 + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '888' + tunnelid: '' + type: type-2 + uptime: '0.000000' + vrf: default + - distance: '110' + encap: '' + mask: '29' + metric: '10' + network: 10.218.139.240 + nexthop_if: Po1 + nexthop_ip: 10.62.2.34 + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '888' + tunnelid: '' + type: type-2 + uptime: '0.000000' + vrf: default + - distance: '1' + encap: '' + mask: '0' + metric: '0' + network: 0.0.0.0 + nexthop_if: '' + nexthop_ip: 10.1.100.1 + nexthop_vrf: management + protocol: static + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d02h + vrf: RED + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.1 + nexthop_if: Lo1 + nexthop_ip: 1.1.1.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d00h + vrf: RED + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.1 + nexthop_if: Lo1 + nexthop_ip: 1.1.1.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d00h + vrf: RED + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.10 + nexthop_if: Lo10 + nexthop_ip: 1.1.1.10 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1w12h + vrf: RED + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.10 + nexthop_if: Lo10 + nexthop_ip: 1.1.1.10 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1w12h + vrf: RED + - distance: '110' + encap: '' + mask: '32' + metric: '3' + network: 2.2.2.2 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: RED + - distance: '110' + encap: '' + mask: '32' + metric: '3' + network: 2.2.2.2 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: RED + - distance: '110' + encap: '' + mask: '32' + metric: '4' + network: 3.3.3.3 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: RED + - distance: '110' + encap: '' + mask: '32' + metric: '4' + network: 3.3.3.3 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: RED + - distance: '110' + encap: '' + mask: '32' + metric: '2' + network: 4.4.4.4 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: RED + - distance: '110' + encap: '' + mask: '32' + metric: '2' + network: 4.4.4.4 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: RED + - distance: '1' + encap: '' + mask: '32' + metric: '0' + network: 7.7.7.7 + nexthop_if: '' + nexthop_ip: 10.10.50.1 + nexthop_vrf: '' + protocol: static + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1d21h + vrf: RED + - distance: '1' + encap: '' + mask: '32' + metric: '0' + network: 8.8.8.8 + nexthop_if: Vlan1220 + nexthop_ip: 10.66.120.1 + nexthop_vrf: '' + protocol: static + segid: '' + tag: '100' + tunnelid: '' + type: '' + uptime: 00:00:01 + vrf: RED + - distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth1/1 + nexthop_ip: 10.24.1.74 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 4w4d + vrf: RED + - distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth1/3 + nexthop_ip: 10.24.2.76 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 4w4d + vrf: RED + - distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth2/11 + nexthop_ip: 10.24.2.154 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 3w4d + vrf: RED + - distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth1/1 + nexthop_ip: 10.24.1.74 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 4w4d + vrf: RED + - distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth1/3 + nexthop_ip: 10.24.2.76 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 4w4d + vrf: RED + - distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth2/11 + nexthop_ip: 10.24.2.154 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 3w4d + vrf: RED + - distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.10.0 + nexthop_if: Vlan5 + nexthop_ip: 10.10.10.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d18h + vrf: RED + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.10.1 + nexthop_if: Vlan5 + nexthop_ip: 10.10.10.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d18h + vrf: RED + - distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.30.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + vrf: RED + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.30.1 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + vrf: RED + - distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.40.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + vrf: RED + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.40.1 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + vrf: RED + - distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.50.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: RED + - distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.50.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: RED + - distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.60.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: RED + - distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.60.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: RED + - distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.70.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: RED + - distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.70.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: RED + - distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.80.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: RED + - distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.80.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: RED + - distance: '220' + encap: '' + mask: '21' + metric: '10' + network: 10.71.0.0 + nexthop_if: Null0 + nexthop_ip: '' + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 2y49w + vrf: RED + - distance: '150' + encap: VXLAN + mask: '16' + metric: '51712' + network: 10.151.0.0 + nexthop_if: '' + nexthop_ip: 172.24.0.240 + nexthop_vrf: default + protocol: bgp-65004 + segid: '10000' + tag: 65004 (evpn) + tunnelid: '0xac1800f0' + type: internal + uptime: 3d17h + vrf: RED + - distance: '110' + encap: '' + mask: '29' + metric: '10' + network: 10.218.139.240 + nexthop_if: Po1 + nexthop_ip: 10.62.2.30 + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '888' + tunnelid: '' + type: type-2 + uptime: '0.000000' + vrf: RED + - distance: '110' + encap: '' + mask: '29' + metric: '10' + network: 10.218.139.240 + nexthop_if: Po1 + nexthop_ip: 10.62.2.34 + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '888' + tunnelid: '' + type: type-2 + uptime: '0.000000' + vrf: RED diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.raw b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.raw new file mode 100644 index 0000000000..74030e33aa --- /dev/null +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.raw @@ -0,0 +1,134 @@ +IP Route Table for VRF "default" +'*' denotes best ucast next-hop +'**' denotes best mcast next-hop +'[x/y]' denotes [preference/metric] +'%' in via output denotes VRF + +0.0.0.0/0, ubest/mbest: 1/0 + *via 10.1.100.1%management, [1/0], 6d02h, static +1.1.1.1/32, ubest/mbest: 2/0, attached + *via 1.1.1.1, Lo1, [0/0], 6d00h, local + *via 1.1.1.1, Lo1, [0/0], 6d00h, direct +1.1.1.10/32, ubest/mbest: 2/0, attached + *via 1.1.1.10, Lo10, [0/0], 1w12h, local + *via 1.1.1.10, Lo10, [0/0], 1w12h, direct +2.2.2.2/32, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/3], 5d18h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/3], 5d18h, ospf-10, intra +3.3.3.3/32, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/4], 5d18h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/4], 5d18h, ospf-10, intra +4.4.4.4/32, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/2], 5d23h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/2], 5d23h, ospf-10, intra +7.7.7.7/32, ubest/mbest: 1/0 + *via 10.10.50.1, [1/0], 1d21h, static +8.8.8.8/32, ubest/mbest: 1/0, pending + *via 10.66.120.1, Vlan1220, [1/0], 00:00:01, static, tag 100 +10.0.255.1/32, ubest/mbest: 3/0 + *via 10.24.1.74, Eth1/1, [170/51712], 4w4d, eigrp-NAMED, external, tag 65422 + *via 10.24.2.76, Eth1/3, [170/51712], 4w4d, eigrp-NAMED, external, tag 65422 + *via 10.24.2.154, Eth2/11, [170/51712], 3w4d, eigrp-NAMED, external, tag 65422 +10.1.17.128/25, ubest/mbest: 3/0 + *via 10.24.1.74, Eth1/1, [170/3072], 4w4d, eigrp-NAMED, external + *via 10.24.2.76, Eth1/3, [170/3072], 4w4d, eigrp-NAMED, external + *via 10.24.2.154, Eth2/11, [170/3072], 3w4d, eigrp-NAMED, external +10.10.10.0/24, ubest/mbest: 1/0, attached + *via 10.10.10.1, Vlan5, [0/0], 5d18h, direct +10.10.10.1/32, ubest/mbest: 1/0, attached + *via 10.10.10.1, Vlan5, [0/0], 5d18h, local +10.10.30.0/24, ubest/mbest: 1/0, attached + *via 10.10.30.1, Eth2/2, [0/0], 5d23h, direct +10.10.30.1/32, ubest/mbest: 1/0, attached + *via 10.10.30.1, Eth2/2, [0/0], 5d23h, local +10.10.40.0/24, ubest/mbest: 1/0, attached + *via 10.10.40.1, Eth2/4, [0/0], 5d23h, direct +10.10.40.1/32, ubest/mbest: 1/0, attached + *via 10.10.40.1, Eth2/4, [0/0], 5d23h, local +10.10.50.0/24, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/3], 5d18h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/3], 5d18h, ospf-10, intra +10.10.60.0/24, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/3], 5d18h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/3], 5d18h, ospf-10, intra +10.10.70.0/24, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/2], 5d23h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/2], 5d23h, ospf-10, intra +10.10.80.0/24, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/2], 5d23h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/2], 5d23h, ospf-10, intra +10.71.0.0/21, ubest/mbest: 1/0 + *via Null0, [220/10], 2y49w, ospf-1, discard +10.151.0.0/16, ubest/mbest: 1/0 + *via 172.24.0.240%default, [150/51712], 3d17h, bgp-65004, internal, tag 65004 (evpn) segid: 10000 tunnelid: 0xac1800f0 encap: VXLAN +10.218.139.240/29, ubest/mbest: 2/0 + *via 10.62.2.30, Po1, [110/10], 0.000000, ospf-1, type-2, tag 888 + *via 10.62.2.34, Po1, [110/10], 0.000000, ospf-1, type-2, tag 888 + + +IP Route Table for VRF "RED" +'*' denotes best ucast next-hop +'**' denotes best mcast next-hop +'[x/y]' denotes [preference/metric] +'%' in via output denotes VRF + +0.0.0.0/0, ubest/mbest: 1/0 + *via 10.1.100.1%management, [1/0], 6d02h, static +1.1.1.1/32, ubest/mbest: 2/0, attached + *via 1.1.1.1, Lo1, [0/0], 6d00h, local + *via 1.1.1.1, Lo1, [0/0], 6d00h, direct +1.1.1.10/32, ubest/mbest: 2/0, attached + *via 1.1.1.10, Lo10, [0/0], 1w12h, local + *via 1.1.1.10, Lo10, [0/0], 1w12h, direct +2.2.2.2/32, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/3], 5d18h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/3], 5d18h, ospf-10, intra +3.3.3.3/32, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/4], 5d18h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/4], 5d18h, ospf-10, intra +4.4.4.4/32, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/2], 5d23h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/2], 5d23h, ospf-10, intra +7.7.7.7/32, ubest/mbest: 1/0 + *via 10.10.50.1, [1/0], 1d21h, static +8.8.8.8/32, ubest/mbest: 1/0, pending + *via 10.66.120.1, Vlan1220, [1/0], 00:00:01, static, tag 100 +10.0.255.1/32, ubest/mbest: 3/0 + *via 10.24.1.74, Eth1/1, [170/51712], 4w4d, eigrp-NAMED, external, tag 65422 + *via 10.24.2.76, Eth1/3, [170/51712], 4w4d, eigrp-NAMED, external, tag 65422 + *via 10.24.2.154, Eth2/11, [170/51712], 3w4d, eigrp-NAMED, external, tag 65422 +10.1.17.128/25, ubest/mbest: 3/0 + *via 10.24.1.74, Eth1/1, [170/3072], 4w4d, eigrp-NAMED, external + *via 10.24.2.76, Eth1/3, [170/3072], 4w4d, eigrp-NAMED, external + *via 10.24.2.154, Eth2/11, [170/3072], 3w4d, eigrp-NAMED, external +10.10.10.0/24, ubest/mbest: 1/0, attached + *via 10.10.10.1, Vlan5, [0/0], 5d18h, direct +10.10.10.1/32, ubest/mbest: 1/0, attached + *via 10.10.10.1, Vlan5, [0/0], 5d18h, local +10.10.30.0/24, ubest/mbest: 1/0, attached + *via 10.10.30.1, Eth2/2, [0/0], 5d23h, direct +10.10.30.1/32, ubest/mbest: 1/0, attached + *via 10.10.30.1, Eth2/2, [0/0], 5d23h, local +10.10.40.0/24, ubest/mbest: 1/0, attached + *via 10.10.40.1, Eth2/4, [0/0], 5d23h, direct +10.10.40.1/32, ubest/mbest: 1/0, attached + *via 10.10.40.1, Eth2/4, [0/0], 5d23h, local +10.10.50.0/24, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/3], 5d18h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/3], 5d18h, ospf-10, intra +10.10.60.0/24, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/3], 5d18h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/3], 5d18h, ospf-10, intra +10.10.70.0/24, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/2], 5d23h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/2], 5d23h, ospf-10, intra +10.10.80.0/24, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/2], 5d23h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/2], 5d23h, ospf-10, intra +10.71.0.0/21, ubest/mbest: 1/0 + *via Null0, [220/10], 2y49w, ospf-1, discard +10.151.0.0/16, ubest/mbest: 1/0 + *via 172.24.0.240%default, [150/51712], 3d17h, bgp-65004, internal, tag 65004 (evpn) segid: 10000 tunnelid: 0xac1800f0 encap: VXLAN +10.218.139.240/29, ubest/mbest: 2/0 + *via 10.62.2.30, Po1, [110/10], 0.000000, ospf-1, type-2, tag 888 + *via 10.62.2.34, Po1, [110/10], 0.000000, ospf-1, type-2, tag 888