PDA

View Full Version : How to easily configure BGP for a vast neighbors?


David.C
07-16-2009, 12:33 AM
According to the topology above, use peer-group to configure BGP neighbor relationship shown in the map.

David.C
07-16-2009, 05:11 AM
neighbor external peer-group

To define the peer-group


neighbor external remote-as 10011

To define the attribute of the peer-group


neighbor 11.11.48.8 peer-group external

To apply a neighbor to the peer group
Verify via:

R4#show ip bgp summary
BGP router identifier 11.11.4.4, local AS number 30011
BGP table version is 4, main routing table version 4
3 network entries using 351 bytes of memory
4 path entries using 208 bytes of memory
5/3 BGP path/bestpath attribute entries using 620 bytes of memory
1 BGP AS-PATH entries using 24 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 1203 total bytes of memory
BGP activity 3/0 prefixes, 4/0 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
11.11.45.5 4 30011 9 9 4 0 0 00:04:50 2
11.11.48.8 4 10011 10 9 4 0 0 00:04:45 1

R5#show ip bgp peer-group
BGP peer-group is internal, remote AS 30011
BGP version 4
Default minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
BGP neighbor is internal, peer-group internal, members:
11.11.45.4
Index 0, Offset 0, Mask 0x0
Update messages formatted 0, replicated 0
Number of NLRIs in the update sent: max 0, min 0

BGP peer-group is external, remote AS 10011
BGP version 4
Default minimum time between advertisement runs is 30 seconds
For address family: IPv4 Unicast
BGP neighbor is external, peer-group external, members:
11.11.58.8
Index 0, Offset 0, Mask 0x0
Update messages formatted 0, replicated 0
Number of NLRIs in the update sent: max 0, min 0