Background Information
- Instead of specifying individual neighbors by IP address, you can specify a subnet to allow connections from.
- This reduces the amount of configuration required to peer up with a bunch of routers.
- Requires the use of peer groups.
Summary
- neighbor X peer-group to create a peer group.
- bgp listen range peer-group to specify the neighbor subnet and bind them to the peer group.
- bgp listen limit to set a limit on how many dynamic peers can connect.
- show ip bgp sum to view the listen range.
router bgp 6500
neighbor PEERS peer-group
neighbor PEERS remote-as 6500
neighbor PEERS update-source lo0
bgp listen range 10.0.0.0/28 peer-group PEERS
bgp listen limit 10
show ip bgp sum