Tag Archives: cisco systems

BGP Processes in the Cisco IOS

BGP

These are some notes that I used to help teach a recent module in my upcoming Border Gateway Protocol (BGP) – Cisco Routing Policy Mechanisms course at CBT Nuggets. Enjoy!

There are many processes that work together to provide BGP services in the Cisco IOS. To see those that are running on your IOS version (and hardware), run the following command:

show processes cpu | include BGP

There are four core processes you should definitely see:

  • I/O – this process is responsible for moving prefixes in and out of the appropriate InQ and OutQ mechanisms; this allows us to both send and receive prefix information
  • Router – this process is the workhorse of the BGP system and takes care of policy application and the BGP Best Path Decision Algorithm
  • Scanner – the scanner process defaults to one minute intervals of operation; you can change this with the bgp scan-time command under the BGP configuration; this process is scanning for changes that might require a revamp of the BGP information (an example would be a prefix removal due to next hop reachability issues)
  • Scheduler – this process is responsible for scheduling the various BGP processes that might be running

To see the Scanner process in action – you can use the command – debug ip bgp events

Remember, you might see other BGP related processes running on your system. Cisco is constantly working hard on their implementation to improve efficiency and reduce CPU workloads. For example, you might see:

  • BMP Server – this service permits the functionality of BGP Monitoring Protocol for neighborships
  • Event – this service helps the Scanner with its potential workload – it quickly responds to events like network statement introduction and redistribution commands
  • NHT – a next hop tracker process that, again, assists the Scanner service with its work
  • Open – you might get lucky and catch a glimpse of this process – it exists to assist with neighbor formation

New BGP Modules Arriving at CBT Nuggets

BGP

This should be no surprise as you know I am continuing the popular BGP training modules. Here is a recap of the modules available at CBT Nuggets now. These modules assist with all levels of Cisco and Juniper certification, as well as other certs that touch on BGP (too many to mention).

  • BGP Basic Operations
  • BGP Peerings
  • BGP Advertising NLRI

Here is the module I will be finishing this week:

  • BGP Cisco Routing Policy Mechanisms

This module consists of the following Nuggets:

  1. Module Introduction
  2. The BGP Decision Process
  3. Exploring Command Line Results
  4. InQ and OutQ
  5. IOS BGP Processes
  6. NHT, Event, and the Open Processes
  7. Table Versions
  8. Clearing BGP Sessions
  9. Soft Reconfiguration
  10. Route Refresh
  11. Using Distribute Lists
  12. Extended ACLs
  13. Using Prefix Lists
  14. Using MED

The upcoming module I will be working on is:

Scaling BGP

This is a critical topic area (obviously) and covers topics like peer groups, peer templates, communities, scaling functions, and scaling the network. This module returns to an approach of both Cisco and Juniper examples. Enjoy this new upcoming content!