10-26-2012 05:43 AM - edited 03-07-2019 09:41 AM
Hi,
I posted this question before - hoping to have better luck this time. Can someone explain to me why I'm missing next hops on some of these routes?
Thank you
O E2 10.3.8.159/32 [110/20] via 172.20.64.3, 1d16h, GigabitEthernet0/0/0
O E2 10.3.8.165/32
O E2 10.3.8.166/32
O E2 10.3.8.167/32
O E2 10.3.8.168/32
O E2 10.3.8.169/32
O E2 10.3.8.170/32
O E2 10.3.8.171/32
Solved! Go to Solution.
10-26-2012 09:09 AM
If the next hop information string is too long for that line it may be getting bumped to the next line of output. If thats the case the information is not displayed as only the line matching the " | include
So for instance output like this:
O E2 10.3.8.159/32 [110/20] via 172.20.64.3, 1d16h, GigabitEthernet0/0/0
O E2 10.3.8.165/32
[110/20] via 172.20.64.3, 1d16h, GigabitEthernet0/0/0
When processed with a "| include 10.3.8" would show this:
O E2 10.3.8.159/32 [110/20] via 172.20.64.3, 1d16h, GigabitEthernet0/0/0
O E2 10.3.8.165/32
Because the
[110/20] via 172.20.64.3, 1d16h, GigabitEthernet0/0/0
line does not contain a "10.3.8", even though it typically falls on the same line, will not be shown.
I would just do a full "show ip route" and eyeball that for what you are looking for to see if thats actually whats happening.
10-26-2012 07:02 AM
First let's find out if there is really no next-hop. What was the *exact* show-command to grab this output?
10-26-2012 08:38 AM
Show ip route | i 10.3.8. was the command to get the output.
When I do a show ip route 10.3.8.165 I get the next hop.
Thanks, PAt.
10-26-2012 09:09 AM
If the next hop information string is too long for that line it may be getting bumped to the next line of output. If thats the case the information is not displayed as only the line matching the " | include
So for instance output like this:
O E2 10.3.8.159/32 [110/20] via 172.20.64.3, 1d16h, GigabitEthernet0/0/0
O E2 10.3.8.165/32
[110/20] via 172.20.64.3, 1d16h, GigabitEthernet0/0/0
When processed with a "| include 10.3.8" would show this:
O E2 10.3.8.159/32 [110/20] via 172.20.64.3, 1d16h, GigabitEthernet0/0/0
O E2 10.3.8.165/32
Because the
[110/20] via 172.20.64.3, 1d16h, GigabitEthernet0/0/0
line does not contain a "10.3.8", even though it typically falls on the same line, will not be shown.
I would just do a full "show ip route" and eyeball that for what you are looking for to see if thats actually whats happening.
10-26-2012 10:06 AM
aahh........ thanks.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide