12-31-2021
04:25 AM
- last edited on
01-03-2022
08:03 AM
by
Translator
when I do 'show ip bgp all' on my 8300 router, I can see all networks and the next hop, but when I choose one of those networks and do 'show ip bgp a.b.c.d/nn', the output would be %network not in table.
can someone please explain why this happens? at the moment if I need to see if I have a route for specific destination, I have to do "show ip bgp all" rather than "show ip bgp address".
Solved! Go to Solution.
12-31-2021
07:13 AM
- last edited on
01-03-2022
07:57 AM
by
Translator
I think "IPv4-unicast" is default,
but your prefix "a.b.c.d/nn" is in VPNv4 and because ALL appear all prefix for all address family then it not appear when you not use keyword ALL.
12-31-2021
04:58 AM
- last edited on
01-03-2022
08:00 AM
by
Translator
Hi,
"show ip bgp all"shows Information about all configured address families is displayed.
Make sure you write the IP / IP and subnet exactly as shown in "show ip bgp all"
12-31-2021
05:09 AM
- last edited on
01-03-2022
08:06 AM
by
Translator
Hi D@1984 ,
"show ip bgp all" is the legacy format for BGP. In addition to what @pman is stating, I would also recommend that you use the new format, such as "show bgp <address-family> <sub address-family>". So if you want to show the "ipv4 unicast" prefixes, you would use the following command instead of "show ip bgp all":
show bgp ipv4 unicast
and to list a specific prefix:
show bgp ipv4 unicast <a.b.c.d/nn>
Make sure you specify the right address family and sub address family.
Regards,
12-31-2021
07:13 AM
- last edited on
01-03-2022
07:57 AM
by
Translator
I think "IPv4-unicast" is default,
but your prefix "a.b.c.d/nn" is in VPNv4 and because ALL appear all prefix for all address family then it not appear when you not use keyword ALL.
12-31-2021
07:32 PM
- last edited on
01-03-2022
07:58 AM
by
Translator
Hello D@1984 ,
as other colleagues have noted you have probably multi address famillies in your 8300 router .
show ip bgp vpnv4 all a.b.c.d/n
or
show bgp vpnv4 all a.b.c.d/n
will provide you much more details :
number of paths, best path number #
for each advertisement you will be able to see all the BGP attributes , BGP next-hop, AS Path string , MED and so on and the MP label, the RD and the set of extended communities of type route tartget rt attached to each.
show bgp /all does not provide all these details but one line per advertisement with ">" in front of best path
Hope to help
Giuseppe
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