Information Technology Grimoire

Version .0.0.1

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

BGP Route Advertisment

Route Advertisement Issues

Key PointFurther Details
Prefixes Not Being AdvertisedEnsure that network statements are correctly configured or that redistribution is properly set up.
Route FilteringCheck for any outbound or inbound route filters that may be preventing the advertisement or receipt of routes.
Incorrect Route AggregationVerify that route aggregation is correctly configured to avoid missing more specific routes.

Palo Alto Commands

CommandExplanation
show routing protocol bgp loc-ribShows the local BGP routing table to verify advertised and received prefixes.
show routing route network <prefix>Verifies if specific prefixes are being advertised in the routing table.
show routing protocol bgp policyDisplays BGP policies to check for route filters affecting advertisement.
show routing protocol bgp aggregateChecks the configuration of route aggregation.

Cisco ASA Commands

CommandExplanation
show ip bgpDisplays the BGP table to check advertised and received routes.
show ip bgp summarySummarizes BGP session information, useful to see if prefixes are being sent.
show route-mapDisplays route-maps applied to BGP, useful for investigating filtering issues.
show ip bgp aggregate-addressVerifies the configuration of BGP route aggregation.

Fortinet Commands

CommandExplanation
get router info bgp networkDisplays the BGP advertised routes.
diagnose router bgp routes export checkChecks if specific routes are being exported (advertised) correctly.
get router info bgp filtersLists the active BGP filters that could affect route advertisement.
get router info bgp aggregateShows configured BGP aggregation to check for correctness.

Check Point Gaia Commands

CommandExplanation
show bgp routes allDisplays all routes in the BGP table, including advertised and received.
show route redistributionDisplays route redistribution configuration which might affect BGP advertisement.
show bgp policy(Assuming hypothetical command) To review policies that might filter advertised routes.
show bgp aggregate-address(Assuming hypothetical command) To check BGP route aggregation settings.

Debian Commands

CommandExplanation
vtysh -c 'show ip bgp'Shows the BGP table for advertised and received routes.
vtysh -c 'show ip bgp summary'Provides a summary of BGP sessions, useful for checking if routes are advertised.
`vtysh -c ‘show runsection bgp’`
vtysh -c 'show ip bgp aggregate-address'Checks for BGP route aggregation configurations.

Advanced Route Advertisement Verifications

Key PointFurther Details
Outbound Route MapsConfirm that outbound route maps are correctly applied to manipulate path attributes.
Maximum Prefix LimitsCheck if maximum prefix limits are set too low, potentially blocking route advertisements.

Palo Alto Commands

CommandExplanation
show routing protocol bgp policyDisplays the applied route map policies for BGP.
show routing protocol bgp max-prefixShows the maximum prefix limits for BGP sessions.
show routing protocol bgp policy statisticsProvides statistics on route map applications, useful for verifying the effectiveness of outbound route maps.
show routing protocol bgp configDisplays the complete BGP configuration, including any route map or max prefix configurations.

Cisco ASA Commands

CommandExplanation
show route-mapDisplays route maps configured on the device.
show ip bgp summaryShows the BGP summary including maximum prefix limits.
show ip bgp neighbors <neighbor-ip> advertised-routesShows routes being advertised to a specific neighbor, useful for verifying route map impact.
show ip bgp policyDisplays the policies applied to BGP, including any filtering and modifications due to route maps.

Fortinet Commands

CommandExplanation
get router info bgp filtersDisplays the filters applied to BGP routes, which can include route maps.
diagnose router bgp summaryProvides BGP summary information, including max prefix counts.
diagnose router bgp routes export checkVerifies which routes are being exported according to current filter and route map settings.
get router info bgp neighbors <neighbor-ip> advertised-routesChecks routes advertised to a specific neighbor, useful for route map verification.

Check Point Gaia Commands

CommandExplanation
show bgp policy(Assuming hypothetical command) Shows BGP policy settings, including route maps.
show bgp summaryDisplays BGP summary, useful for checking maximum prefix limits.
show bgp config(Assuming hypothetical command) Displays the detailed BGP configuration, including route maps and prefix limits.
show bgp routes by-policy <policy-name>(Assuming hypothetical command) Filters routes by applied policy, useful for verifying route map effects.

Debian Commands

CommandExplanation
vtysh -c 'show route-map'Displays route maps used in BGP on Quagga/Zebra.
vtysh -c 'show ip bgp summary'Shows BGP session summaries, including max prefix info.
vtysh -c 'show ip bgp neighbors <neighbor-ip> advertised-routes'Views routes advertised to a specific neighbor, useful for checking route map applications.
vtysh -c 'show ip bgp policy'(Assuming hypothetical command) Displays BGP policies including route maps and filtering.