SlideShare a Scribd company logo
CONFIGURE BGP PEER GROUP
www.netprotocolxpert.in
 BGP peer groups are used to simplify configuration and to improve performance. It can be used
when a router has a group of neighbors with the same update policies. The update is generated
once per group rather than for each neighbor.
To create and use a peer group follow next steps:
 Type neighbor group-name peer-group to create a peer-group, where group-name is the name
that you give to the peer group.
 next, enter neighbor ip-address peer-group group-name command, which will make a neighbor to
be part of peer group.
 You can reset connections to member of a group by typing clear ip bgp peer-group group-name
command in exec mode.
 Configure BGP peer group on BORDER router in AS 64520. Loopback ip addresses
are used as source of BGP packets. Let’s assume we have connection from
BORDER router to all devices in AS 64520. If not use BGP peer group,
configuration on BORDER router with the others will look like this:
 router bgp 64520
 neighbor 10.0.0.2 remote-as 64520
 neighbor 10.0.0.2 update-source loopback 0
 neighbor 10.0.0.2 next-hop-self
 neighbor 10.0.0.3 remote-as 64520
 neighbor 10.0.0.3 update-source loopback 0
 neighbor 10.0.0.3 next-hop-self
 neighbor 10.0.0.4 remote-as 64520
 neighbor 10.0.0.4 update-source loopback 0
 neighbor 10.0.0.4 next-hop-self
WITH THIS CONFIGURATION BGP UPDATES WILL BE GENERATED FOR EACH
NEIGHBOR, BUT IF USE PEER GROUP, UPDATES ARE GENERATED ONCE PER
PEER-GROUP. IF USE BGP PEER-GROUP, CONFIGURATION ON BORDER ROUTER
WILL LOOK LIKETHIS:
 router bgp 64520
 neighbor local peer-group
 neighbor local remote-as 64520
 neighbor local update-source loopback 0
 neighbor local next-hop-self
 neighbor 10.0.0.2 peer-group local
 neighbor 10.0.0.3 peer-group local
 neighbor 10.0.0.4 peer-group local
 The name of BGP peer-group is local, this you can see from configuration above,
also we get a more robust configuration.
FOLLOW US
https://www.facebook.com/Ne
tProtocolXpert/
https://www.linkedin.com/co
mpany/netprotocol-xpert
https://plus.google.com/u/0/c
ollection/AYQ-EB
https://www.instagram.com/n
etprotocol_xpert/
https://twitter.com/NPX_cisco
https://branded.me/netprotoc
olxpert

More Related Content

Viewers also liked

Оптическая биопсия эмбриона
Оптическая биопсия эмбрионаОптическая биопсия эмбриона
Оптическая биопсия эмбрионаkulibin
 
Beyond the Sale: How Luxury Brands Unlock the Organization and Customer Poten...
Beyond the Sale: How Luxury Brands Unlock the Organization and Customer Poten...Beyond the Sale: How Luxury Brands Unlock the Organization and Customer Poten...
Beyond the Sale: How Luxury Brands Unlock the Organization and Customer Poten...OgilvyOne Worldwide
 
Solution to Student's suicide problem
Solution to Student's suicide problem  Solution to Student's suicide problem
Solution to Student's suicide problem Arun Gupta
 
Trabajo de diapositivas pereyra y alvez
Trabajo de diapositivas pereyra y alvezTrabajo de diapositivas pereyra y alvez
Trabajo de diapositivas pereyra y alvezjulietachocobar
 
[Guide] The Best Introduction to Health Savings Accounts
[Guide] The Best Introduction to Health Savings Accounts[Guide] The Best Introduction to Health Savings Accounts
[Guide] The Best Introduction to Health Savings Accountsbenefitexpress
 
Introduction to Continous Quality Improvement
Introduction to Continous Quality ImprovementIntroduction to Continous Quality Improvement
Introduction to Continous Quality ImprovementGina Ingrouille
 
Lean workbench 2013-07-24
Lean workbench 2013-07-24Lean workbench 2013-07-24
Lean workbench 2013-07-24chris wiggins
 
Schneider Associates Creative Capabilities
Schneider Associates Creative CapabilitiesSchneider Associates Creative Capabilities
Schneider Associates Creative CapabilitiesSchneider Associates
 
24-7 culture code
24-7 culture code24-7 culture code
24-7 culture code24-7 inc.
 
Leveraging Social Media - CAGP 2 27-2012
Leveraging Social Media - CAGP 2 27-2012Leveraging Social Media - CAGP 2 27-2012
Leveraging Social Media - CAGP 2 27-2012Lee Yount
 
Evaluation question 1 more added
Evaluation question 1 more addedEvaluation question 1 more added
Evaluation question 1 more addedChezInspireMe
 

Viewers also liked (13)

Оптическая биопсия эмбриона
Оптическая биопсия эмбрионаОптическая биопсия эмбриона
Оптическая биопсия эмбриона
 
Beyond the Sale: How Luxury Brands Unlock the Organization and Customer Poten...
Beyond the Sale: How Luxury Brands Unlock the Organization and Customer Poten...Beyond the Sale: How Luxury Brands Unlock the Organization and Customer Poten...
Beyond the Sale: How Luxury Brands Unlock the Organization and Customer Poten...
 
Solution to Student's suicide problem
Solution to Student's suicide problem  Solution to Student's suicide problem
Solution to Student's suicide problem
 
Trabajo de diapositivas pereyra y alvez
Trabajo de diapositivas pereyra y alvezTrabajo de diapositivas pereyra y alvez
Trabajo de diapositivas pereyra y alvez
 
[Guide] The Best Introduction to Health Savings Accounts
[Guide] The Best Introduction to Health Savings Accounts[Guide] The Best Introduction to Health Savings Accounts
[Guide] The Best Introduction to Health Savings Accounts
 
Introduction to Continous Quality Improvement
Introduction to Continous Quality ImprovementIntroduction to Continous Quality Improvement
Introduction to Continous Quality Improvement
 
CV
CVCV
CV
 
La web
La webLa web
La web
 
Lean workbench 2013-07-24
Lean workbench 2013-07-24Lean workbench 2013-07-24
Lean workbench 2013-07-24
 
Schneider Associates Creative Capabilities
Schneider Associates Creative CapabilitiesSchneider Associates Creative Capabilities
Schneider Associates Creative Capabilities
 
24-7 culture code
24-7 culture code24-7 culture code
24-7 culture code
 
Leveraging Social Media - CAGP 2 27-2012
Leveraging Social Media - CAGP 2 27-2012Leveraging Social Media - CAGP 2 27-2012
Leveraging Social Media - CAGP 2 27-2012
 
Evaluation question 1 more added
Evaluation question 1 more addedEvaluation question 1 more added
Evaluation question 1 more added
 

More from NetProtocol Xpert

Basic Cisco ASA 5506-x Configuration (Firepower)
Basic Cisco ASA 5506-x Configuration (Firepower)Basic Cisco ASA 5506-x Configuration (Firepower)
Basic Cisco ASA 5506-x Configuration (Firepower)NetProtocol Xpert
 
Common Layer 2 Threats, Attacks & Mitigation
Common Layer 2 Threats, Attacks & MitigationCommon Layer 2 Threats, Attacks & Mitigation
Common Layer 2 Threats, Attacks & MitigationNetProtocol Xpert
 
Dynamic ARP Inspection (DAI)
Dynamic ARP Inspection (DAI)Dynamic ARP Inspection (DAI)
Dynamic ARP Inspection (DAI)NetProtocol Xpert
 
Securing management, control & data plane
Securing management, control & data planeSecuring management, control & data plane
Securing management, control & data planeNetProtocol Xpert
 
Point to-point protocol (ppp), PAP & CHAP
Point to-point protocol (ppp), PAP & CHAPPoint to-point protocol (ppp), PAP & CHAP
Point to-point protocol (ppp), PAP & CHAPNetProtocol Xpert
 
Avoid DNS lookup when mistyping a command
Avoid DNS lookup when mistyping a commandAvoid DNS lookup when mistyping a command
Avoid DNS lookup when mistyping a commandNetProtocol Xpert
 
TCLSH and Macro Ping Test on Cisco Routers and Switches
TCLSH and Macro Ping Test on Cisco Routers and SwitchesTCLSH and Macro Ping Test on Cisco Routers and Switches
TCLSH and Macro Ping Test on Cisco Routers and SwitchesNetProtocol Xpert
 
MTU (maximum transmission unit) & MRU (maximum receive unit)
MTU (maximum transmission unit) & MRU (maximum receive unit)MTU (maximum transmission unit) & MRU (maximum receive unit)
MTU (maximum transmission unit) & MRU (maximum receive unit)NetProtocol Xpert
 
OTV(Overlay Transport Virtualization)
OTV(Overlay  Transport  Virtualization)OTV(Overlay  Transport  Virtualization)
OTV(Overlay Transport Virtualization)NetProtocol Xpert
 

More from NetProtocol Xpert (20)

Basic Cisco ASA 5506-x Configuration (Firepower)
Basic Cisco ASA 5506-x Configuration (Firepower)Basic Cisco ASA 5506-x Configuration (Firepower)
Basic Cisco ASA 5506-x Configuration (Firepower)
 
MPLS Layer 3 VPN
MPLS Layer 3 VPN MPLS Layer 3 VPN
MPLS Layer 3 VPN
 
Common Layer 2 Threats, Attacks & Mitigation
Common Layer 2 Threats, Attacks & MitigationCommon Layer 2 Threats, Attacks & Mitigation
Common Layer 2 Threats, Attacks & Mitigation
 
Storm-Control
Storm-ControlStorm-Control
Storm-Control
 
Dynamic ARP Inspection (DAI)
Dynamic ARP Inspection (DAI)Dynamic ARP Inspection (DAI)
Dynamic ARP Inspection (DAI)
 
IP Source Guard
IP Source Guard IP Source Guard
IP Source Guard
 
DHCP Snooping
DHCP SnoopingDHCP Snooping
DHCP Snooping
 
Password Recovery
Password RecoveryPassword Recovery
Password Recovery
 
Application & Data Center
Application & Data CenterApplication & Data Center
Application & Data Center
 
Cisco ISR 4351 Router
Cisco ISR 4351 RouterCisco ISR 4351 Router
Cisco ISR 4351 Router
 
Cisco ASR 1001-X Router
Cisco ASR 1001-X RouterCisco ASR 1001-X Router
Cisco ASR 1001-X Router
 
Securing management, control & data plane
Securing management, control & data planeSecuring management, control & data plane
Securing management, control & data plane
 
Point to-point protocol (ppp), PAP & CHAP
Point to-point protocol (ppp), PAP & CHAPPoint to-point protocol (ppp), PAP & CHAP
Point to-point protocol (ppp), PAP & CHAP
 
Avoid DNS lookup when mistyping a command
Avoid DNS lookup when mistyping a commandAvoid DNS lookup when mistyping a command
Avoid DNS lookup when mistyping a command
 
TCLSH and Macro Ping Test on Cisco Routers and Switches
TCLSH and Macro Ping Test on Cisco Routers and SwitchesTCLSH and Macro Ping Test on Cisco Routers and Switches
TCLSH and Macro Ping Test on Cisco Routers and Switches
 
Private VLANs
Private VLANsPrivate VLANs
Private VLANs
 
MTU (maximum transmission unit) & MRU (maximum receive unit)
MTU (maximum transmission unit) & MRU (maximum receive unit)MTU (maximum transmission unit) & MRU (maximum receive unit)
MTU (maximum transmission unit) & MRU (maximum receive unit)
 
OTV Configuration
OTV ConfigurationOTV Configuration
OTV Configuration
 
Cisco OTV 
Cisco OTV Cisco OTV 
Cisco OTV 
 
OTV(Overlay Transport Virtualization)
OTV(Overlay  Transport  Virtualization)OTV(Overlay  Transport  Virtualization)
OTV(Overlay Transport Virtualization)
 

Recently uploaded

fluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerfluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerapareshmondalnita
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industriesMuhammadTufail242431
 
Scaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltageScaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltageRCC Institute of Information Technology
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfKamal Acharya
 
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxMd. Shahidul Islam Prodhan
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.PrashantGoswami42
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdfKamal Acharya
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdfKamal Acharya
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxR&R Consult
 
Toll tax management system project report..pdf
Toll tax management system project report..pdfToll tax management system project report..pdf
Toll tax management system project report..pdfKamal Acharya
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfKamal Acharya
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdfKamal Acharya
 
Antenna efficency lecture course chapter 3.pdf
Antenna  efficency lecture course chapter 3.pdfAntenna  efficency lecture course chapter 3.pdf
Antenna efficency lecture course chapter 3.pdfAbrahamGadissa
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)MdTanvirMahtab2
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Dr.Costas Sachpazis
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234AafreenAbuthahir2
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfKamal Acharya
 
Construction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxConstruction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxwendy cai
 
shape functions of 1D and 2 D rectangular elements.pptx
shape functions of 1D and 2 D rectangular elements.pptxshape functions of 1D and 2 D rectangular elements.pptx
shape functions of 1D and 2 D rectangular elements.pptxVishalDeshpande27
 
Fruit shop management system project report.pdf
Fruit shop management system project report.pdfFruit shop management system project report.pdf
Fruit shop management system project report.pdfKamal Acharya
 

Recently uploaded (20)

fluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerfluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answer
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
Scaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltageScaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltage
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Toll tax management system project report..pdf
Toll tax management system project report..pdfToll tax management system project report..pdf
Toll tax management system project report..pdf
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdf
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdf
 
Antenna efficency lecture course chapter 3.pdf
Antenna  efficency lecture course chapter 3.pdfAntenna  efficency lecture course chapter 3.pdf
Antenna efficency lecture course chapter 3.pdf
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
 
Construction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxConstruction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptx
 
shape functions of 1D and 2 D rectangular elements.pptx
shape functions of 1D and 2 D rectangular elements.pptxshape functions of 1D and 2 D rectangular elements.pptx
shape functions of 1D and 2 D rectangular elements.pptx
 
Fruit shop management system project report.pdf
Fruit shop management system project report.pdfFruit shop management system project report.pdf
Fruit shop management system project report.pdf
 

Configure BGP Peer Group

  • 1. CONFIGURE BGP PEER GROUP www.netprotocolxpert.in
  • 2.  BGP peer groups are used to simplify configuration and to improve performance. It can be used when a router has a group of neighbors with the same update policies. The update is generated once per group rather than for each neighbor. To create and use a peer group follow next steps:  Type neighbor group-name peer-group to create a peer-group, where group-name is the name that you give to the peer group.  next, enter neighbor ip-address peer-group group-name command, which will make a neighbor to be part of peer group.  You can reset connections to member of a group by typing clear ip bgp peer-group group-name command in exec mode.
  • 3.
  • 4.  Configure BGP peer group on BORDER router in AS 64520. Loopback ip addresses are used as source of BGP packets. Let’s assume we have connection from BORDER router to all devices in AS 64520. If not use BGP peer group, configuration on BORDER router with the others will look like this:  router bgp 64520  neighbor 10.0.0.2 remote-as 64520  neighbor 10.0.0.2 update-source loopback 0  neighbor 10.0.0.2 next-hop-self  neighbor 10.0.0.3 remote-as 64520  neighbor 10.0.0.3 update-source loopback 0  neighbor 10.0.0.3 next-hop-self  neighbor 10.0.0.4 remote-as 64520  neighbor 10.0.0.4 update-source loopback 0  neighbor 10.0.0.4 next-hop-self
  • 5. WITH THIS CONFIGURATION BGP UPDATES WILL BE GENERATED FOR EACH NEIGHBOR, BUT IF USE PEER GROUP, UPDATES ARE GENERATED ONCE PER PEER-GROUP. IF USE BGP PEER-GROUP, CONFIGURATION ON BORDER ROUTER WILL LOOK LIKETHIS:  router bgp 64520  neighbor local peer-group  neighbor local remote-as 64520  neighbor local update-source loopback 0  neighbor local next-hop-self  neighbor 10.0.0.2 peer-group local  neighbor 10.0.0.3 peer-group local  neighbor 10.0.0.4 peer-group local  The name of BGP peer-group is local, this you can see from configuration above, also we get a more robust configuration.