0% found this document useful (0 votes)
89 views35 pages

BGP Overview: Sumanta Das Gajendra Mahapatra

This document provides an overview of the Border Gateway Protocol (BGP). It discusses BGP characteristics, session establishment through the exchange of keepalive messages, and route processing using mechanisms like the AS path to prevent routing loops. It also describes basic BGP configuration steps like enabling the BGP routing process, configuring neighbors, and monitoring BGP using show commands and debugging messages. Finally, it covers different types of BGP policies and filters, including AS path filters, prefix-based filters, outbound filters, and route maps.

Uploaded by

Sanjay Thakare
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views35 pages

BGP Overview: Sumanta Das Gajendra Mahapatra

This document provides an overview of the Border Gateway Protocol (BGP). It discusses BGP characteristics, session establishment through the exchange of keepalive messages, and route processing using mechanisms like the AS path to prevent routing loops. It also describes basic BGP configuration steps like enabling the BGP routing process, configuring neighbors, and monitoring BGP using show commands and debugging messages. Finally, it covers different types of BGP policies and filters, including AS path filters, prefix-based filters, outbound filters, and route maps.

Uploaded by

Sanjay Thakare
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 35

BGP Overview

Sumanta Das Gajendra Mahapatra

Content
1. 2. 3. 4. 5. Introduction Session Establishment Route processing Basic Configuration BGP Police

Introduction to BGP

- BGP : Broader Gateway Protocol - Why Need BGP

Introduction to BGP

Introduction to BGP

Introduction to BGP

Introduction to BGP

BGP Characteristics : 1. BGP is distance vector protocol with enhancement - reliable update - Triggered updates only - Rich metrics (called path attributes) Designed to scale to huge internetworks

Introduction to BGP

IBGP EBGP

BGP Session Establishment

-Neighbor discovery - Hold Times -Keepalive

BGP Session Establishment

BGP Session Establishment

BGP Session Establishment

BGP Route Processing

BGP Route Processing

BGP Route Processing


Routing Loop: IBGP: Split Horizon EBGP: AS path info

Basic BGP Configuration


-Configuration command -Monitoring Command -Debug Command

Basic BGP Configuration


BGP Routing process :
Router(config)#router bgp as-number

Configuring External Neighbors :


Router(config-router)#neighbor ip-address remote-as as-number

To temporarily disable a BGP neighbor:


Router(config-router)#neighbor ip-address shutdown

Configuring BGP Timers:


Router(config-router)#timers bgp keepalive holdtime

Per Specific neighbor:


Router(config-router)#neighbor [ ip address | peer group name ] timers keepalive holdtime

Basic BGP Configuration


Configuring MD5 Authentication:
Router(config-router)#neighbor ip-address password string Router(config-router)#no auto-summary

Aggregating BGP networks


Router(config-router)#aggregate-address address-prefix mask Router(config-router)#aggregate-address address-prefix mask summary-only

Basic BGP Configuration

Basic BGP Configuration


BGP command for monitoring: Monitorior neighber info:
Router>show ip bgp summary

Monitor BGP neighbors on details:


Router>show ip bgp neighbor ip-address

Monitor bgp table:


Router > show ip bgp

Basic BGP Configuration


Debugging BGP :
Display all tcp transaction :

Router#debug ip tcp transactions Display significant BGP event Router#Debug ip bgp events Debug BGp keepalive packets : Router#debug ip bgp keepaklives Display all incoming and outgoing BGp updates : Router#debug ip bgp updates

BGP Policies

Needs of BGP policy

BGP Police
BGP Filters :

BGP Police
BGP Filters:

BGP Police

BGP Police
BGP Filters : - As-Path Filters - Prefix-List Filters - Outbound Filters - Route-Maps

BGP Police
BGP Filters : - As-Path Filters

BGP Police
BGP Filters : - As-Path Filters Configuring BGP AS-Path Filters Router(Config)#ip as-path access-list number permit | deny regexp Router(Config-router)#neighbor ip-address filter-list as-path-filter in|out

BGP Police
BGP Filters : - prefix-Based Filters

BGP Police
BGP Filters : - prefix-Based Filters Configuration: router(config-router)#neighbor {ip address| peergroup-name } prefix-list list {in| out} Router(config-routeer)#distribution-list prefix-list prefix-list out routing-process

BGP Police
BGP Filters : - Outbound Router Filter

BGP Police
Outbound Router Filter
ORF format ORF message consist of the following fields -AFI/SAFI -ORF type -When to refresh -List of ORF entries ORF entries depends on the ORF type ORF capability needs to be negotiated for every supported ORF type

BGP Police
BGP Filters : - Route-map BGP Filters :

BGP Police
BGP Filters : - Route-map BGP Filters :

BGP Police
BGP Filters : - Route-map BGP Filters :

You might also like