Typical access-list on edge router

This is typical ACL which you can configure on the Public interface of your router in the Inbound direction.

Share this!

Advanced Cisco BGP features: Selective Next-hop

Below topology was used for this post, and all the configuration happened on two Cisco CSR1000v

BGP Selective Next-hop Route filtering

Imagine that you want to accept routes only from peers, which the route covering the next-hop passes specific conditions, such as prefix-length, or protocol.

In the following configuration I will only accept routes from peers, which the route covering the next-hop has a mask of less-equal to 24:

Let’s see the current BGP table:

Continue reading “Advanced Cisco BGP features: Selective Next-hop”

Share this!

Advanced Cisco BGP features: NSF

Below topology was used for this post, and all the configuration happened on two Cisco CSR1000v

BGP Nonstop Forwarding

  • During normal NSF operation, CEF on the active RP synchronizes its current FIB and adjacency databases with the FIB and adjacency databases on the standby RP
  • While switching over, the traffic is depended on CEF, once the routing protocol is converged, FIB will be updated
  • RIB repopulating happens prefix-by-prefix, thus the same for FIB and adjacency table
  • For BGP NSF, graceful-restart needs to be configured on both ends of a BGP session. Although one end could be only NSF-aware (not SSO capable)
  • BFD can’t be enabled simultaneously with NSF for BGP
  • SSO is not integrated into EIGRP, hence only NSF awareness is supported

Continue reading “Advanced Cisco BGP features: NSF”

Share this!

Advanced Cisco BGP features: BFD

Below topology was used for this post, and all the configuration happened on two Cisco CSR1000v

Bidirectional Forwarding Detection for BGP

I have just one note here. BFD can’t be enabled simultaneously with NSF for BGP. Even for other protocols, extreme care should be taken while implementing BFD with NSF. Depending on the platform, there may be enough of a traffic outage during the switchover to cause BFD to prematurely signal a link failure. When BFD is running on the RP, some platforms are not able to detect a switchover before the BFD protocol times out; these platforms are referred to as slow switchover platforms. Continue reading “Advanced Cisco BGP features: BFD”

Share this!

Internet routing table and damping on JunOS

To get an idea about the current number of Internet routes, for both IPv4 and IPv6:

moghaddas@USA> show route summary | match "inet|bgp"  
 
inet.0: 560133 destinations, 1663174 routes (558798 active, 0 holddown, 1525 hidden)
                 BGP: 1663124 routes, 558752 active
 
inet6.0: 24047 destinations, 47458 routes (23459 active, 0 holddown, 851 hidden)
                 BGP:  47444 routes,  23447 active

Now, imagine what would be the outcome of route flaps for a Service Provider environment with many eBGP neighbors. Instability and customer dissatisfaction!

The first solution to avoid such situations is BGP Route Dampening/Damping. Continue reading “Internet routing table and damping on JunOS”

Share this!