Chapter 10. BGP in Larger Networks
This chapter deals with issues that are relevant for large networks. In larger networks, memory and especially CPU constraints become more important, because the difference in CPU speed between different routers in the network typically grows larger. In larger networks, internal BGP scalability quickly becomes an issue, and the interaction between interior routing protocols and BGP gets more complex.
Peer Groups
Some routers have a long list of BGP neighbors. It’s then common to have several settings that are the same for each neighbor. In these cases, it’s more efficient to create a peer group, assign the settings to the group, and have the neighbors share settings by making them members of the group. Example 10-1 shows two peer groups and several members.
! router bgp 60055 network 192.0.2.0 timers bgp 5 15 neighbor ebgp peer-group neighbor ebgp prefix-list infilter in neighbor ebgp prefix-list outfilter out neighbor ebgp maximum-prefix 100 neighbor ebgp filter-list 2 out neighbor ibgp peer-group neighbor ibgp remote-as 60055 neighbor 192.0.2.68 peer-group ibgp neighbor 192.0.2.69 peer-group ibgp neighbor 192.0.2.254 peer-group ibgp neighbor 220.14.15.6 remote-as 1000 neighbor 220.14.15.6 peer-group ebgp neighbor 220.14.15.6 description Net1000 noc@net1000.net neighbor 220.14.15.6 password abc def ghi neighbor 220.14.15.13 remote-as 2000 neighbor 220.14.15.13 peer-group ebgp neighbor 220.14.15.13 description 2000net ...
Get BGP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.