Information Technology Grimoire

Version .0.0.1

IT Notes from various projects because I forget, and hopefully they help you too.

BGP Missing Routes

Missing Routes in the BGP Table

Key PointFurther Details
Route Not Advertised by PeerConfirm that the expected routes are being advertised by the peer.
Route Filtering by PoliciesLook for route maps, prefix lists, or other policy settings that might be filtering routes.

Palo Alto Commands

CommandExplanation
show routing protocol bgp loc-ribChecks the local BGP table for missing routes.
show routing protocol bgp policyDisplays BGP policies to identify any filtering affecting route advertisement.
show routing protocol bgp summarySummarizes BGP peer status, useful to verify if routes are received from peers.
show routing protocol bgp allProvides a comprehensive view of all BGP routes, including those received from peers.

Cisco ASA Commands

CommandExplanation
show ip bgpDisplays the BGP routing table to identify missing routes.
show route-mapExamines route maps for filters that could block route advertisement.
show ip bgp neighbors <neighbor> received-routesChecks routes received from a specific BGP neighbor.
show ip bgp summaryProvides a quick overview of BGP sessions and the number of routes exchanged.

Fortinet Commands

CommandExplanation
get router info bgp routes databaseLists all routes in the BGP database, helping to identify missing ones.
diagnose router bgp routes missing(Assuming hypothetical command) Diagnoses missing BGP routes.
get router info bgp summarySummarizes BGP peer status, useful for checking route exchange status.
get router info routing-table databaseShows the routing table to verify if routes are being learned but not installed.

Check Point Gaia Commands

CommandExplanation
show bgp routes allDisplays all routes in the BGP table, including advertised and received.
show route allShows the routing table to check for presence of BGP learned routes.
show bgp policy(Assuming hypothetical command) To review policies that might filter advertised or received routes.
show bgp summaryProvides a summary of BGP peers and the number of routes exchanged.

Debian Commands

CommandExplanation
vtysh -c 'show ip bgp'Shows the BGP table to identify routes that may be missing.
vtysh -c 'show ip bgp summary'Summarizes BGP peer information, including the number of routes received.
vtysh -c 'show ip bgp neighbors <neighbor> received-routes'Displays routes received from a specific neighbor to identify potential filtering.
`vtysh -c ‘show running-configinclude route-map’`

Comprehensive Checks for Missing Routes

Key PointFurther Details
Orphaned Routes DetectionIdentify routes that are not properly advertised due to missing network statements or redistribution misconfigurations.
VPN Routing/Forwarding InstancesIn MPLS networks, ensure VRFs are correctly configured to advertise BGP routes.

Palo Alto Commands

CommandExplanation
show routing protocol bgp loc-ribDisplays the local BGP RIB for checking existing routes.
show routing routeLists all routes known to the device, useful for cross-referencing with BGP routes.
show network virtual-router <vr-name>Displays virtual router configuration, including associated routing instances.
debug routing bgp update recvEnables debugging to view incoming BGP updates, useful for identifying orphaned routes.

Cisco ASA Commands

CommandExplanation
show ip bgp vpnv4 allDisplays BGP VPNv4 routing table, useful for MPLS VPN route checks.
show ip bgpDisplays the global BGP routing table for checking non-VPN routes.
show route vrf <vrf-name>Displays routes within a specific VRF, useful for verifying route presence in VPN instances.
show vrf detailProvides details on configured VRFs, helping to identify potential misconfigurations.

Fortinet Commands

CommandExplanation
get router info bgp routes databaseLists all routes known to BGP, useful for finding missing routes.
get router info routing-table allShows the device’s entire routing table, including routes not installed in the BGP table.
diag vpn tunnel listLists all VPN tunnels, useful for verifying VPN configurations affecting BGP route advertisement.
get router info routing-table details <vrf-name>Displays detailed routing information for a specific VRF.

Check Point Gaia Commands

CommandExplanation
show bgp routes vpn(Assuming hypothetical command) Displays VPN routing instances in BGP.
show route allShows all routes in the routing table, useful for identifying orphaned routes.
show vrf(Assuming hypothetical command) Lists VRF configurations and their associated routes.
show bgp allProvides a comprehensive view of all BGP routes, including those within VPN instances.

Debian Commands

CommandExplanation
vtysh -c 'show ip bgp'Shows the BGP table, useful for identifying missing routes.
vtysh -c 'show ip route'Displays the entire IP routing table, helping to find routes not present in the BGP table.
vtysh -c 'show ip bgp vpnv4 all'(If using VPNv4 with FRRouting) Displays VPNv4 routes, useful for MPLS network checks.
vtysh -c 'show vrf'Lists VRFs configured on the device, including their routing information.