www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / ROUTE / Module 7 / Advanced BGP – Border Gateway Protocol Path Control Overview

Advanced BGP – Border Gateway Protocol Path Control Overview

As was stated in the previous chapter, BGP is first and foremost a policy control tool. In order to understand how to leverage the routing policy control capabilities of BGP, it is important to understand the different BGP attributes, which are described in the previous chapter, and how these attributes can be used to influence both inbound and outbound routing.

Border Gateway Protocol attributes can be used not only to influence the path routers within the autonomous system take headed out of the autonomous system, but also to influence the path that neighboring autonomous systems take into the local autonomous system. This granular control provides BGP with capabilities that are otherwise not possible when using traditional IGPs, such as EIGRP and OSPF.

In Cisco IOS software, the BGP path control policies are implemented using route maps which are then applied to neighbors using the neighbor [address] route-map [name] [in|out] router configuration command. When configuring route-maps, only a single route map can be applied to any given neighbor in the inbound or outbound direction.  Because the same route map can also be used for additional functions, such as route filtering, it is very important to thoroughly plan what you want to do with BGP prior to configuring and implementing the route maps in an ad hoc manner. The importance of planning cannot be stressed enough. More often than not, BGP related issues are not related to the protocol itself but the configurations implemented by the engineers implementing BGP.

When BGP policies are implemented or changed, it is important to understand that they do not take effect immediately. If you recall, at the beginning of Chapter 6, when learning about the different BGP processes in Cisco IOS software, we learned that the BGP Scanner process periodically scans the BGP RIB in order to determine if prefixes and attributes should be deleted and if route map or filter caches should be flushed. By default, the BGP Scanner runs every 60 seconds. Instead of waiting for the BGP Scanner process to run, Cisco IOS software allows administrators to use the clear ip bgp command to immediately apply the configuration changes. The complete syntax of this command is as follows:

clear ip bgp [* | all | <autonomous-system-number> | <address> | peer-group <name>] [in [prefix-filter] | out | slow | soft [in [prefix-filter] | out | slow]]

While not all keywords are applicable to, or even within the scope of, the current ROUTE exam requirements, Table 7-1 lists and describes the keywords that can be used with this command:

Keyword Function
* The asterisk (*) resets all BGP peers, i.e. it tears down and resets all BGP sessions. This should be used with extreme caution
all This optional keyword specifies the reset of all address family (AF) sessions, e.g. the ipv4 (IPv4 AF) and ipv6 (IPv6 AF)
autonomous-system-number This specifies the number of the autonomous system in which all BGP peer sessions will be reset
address This specifies that only the identified BGP neighbor will be reset. The value for this argument can either be an IPv4 or IPv6 address
peer-group <name> This specifies that only the identified BGP peer group will be reset.
in This optional initiates inbound reconfiguration. If neither the in nor out keywords are specified, both inbound and outbound sessions are reset
prefix-filter This optional keyword clears the existing outbound route filter (ORF) prefix list to trigger a new route refresh or soft reconfiguration, which updates the ORF prefix list
out This optional keyword initiates outbound reconfiguration. If neither the in nor out keywords are specified, both inbound and outbound sessions are reset
slow This optional keyword clears slow-peer status forcefully and moves it to original update group
soft This optional keyword initiates a soft reset. In other words, using this keyword does not tear down the BGP session

Tab.7-1. Cisco IOS clear ip bgp Command Keywords

NOTE: In regards to the keywords specified above, BGP peer groups are described in detail later in this chapter. However, the Outbound Route Filter (ORF) is beyond the scope of the ROUTE exam and will not be described in this chapter or the in the remainder of this guide.

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.