In this lesson, we will cover:

  • How we can perform analysis of control plane protocols.
  • How to perform analysis of BGP to identify configuration issues.
  • How to perform analysis of BGP to identify reachability issues.
  • How to perform analysis of OSPF BGP to identify configuration issues.

This is where Batfish really starts to come into its own. Using Batfish we can not only analyze the configuration settings of the network, but we can also analyze the behaviour of control plane protocols such as BGP or OSPF. Ensuring that BGP adjacencies will successfully establish and that OSPF neighbor adjacencies will correctly form.

Import Snapshot

Import the snapshot for this section using the supplied helper script and snapshot:

$ ./scripts/bf_snapshot_importer.py -p snapshots/002-cp_analysis

BGP Validation

First of all, let's validate our BGP adjacencies. This is achieved via the question bfq.bgpSessionStatus which validates the success of the BGP adjacency between 2 routers. This includes validating the BGP configuration of both peers and also validating the BGP packets will be successfully delivered to each peer, ensuring that no ACLs are blocking the traffic and preventing the neighborship from forming.

Members Only Content
Join today and get access to:
  • Full deep-dive course library (inc. Batfish, pyATS, Netmiko)
  • Code repositories inc. full course code, scripts and examples
  • 24x7 Multi-vendor labs (Arista, Cisco, Juniper)
  • Private online community
  • Monthly online meetups

100% Satisfaction Guaranteed!
Cancel your membership at any time.


Join Today
Close You've successfully subscribed to Packet Coders.
Close Success! Your account is fully activated, you now have access to all content.
Close Welcome back! You've successfully signed in.
Close Nearly there! To activate your account, please click the link in the email we just sent you.