[c-nsp] Designing Route-Reflector in an NSP network
Sami Joseph
sami.joseph at gmail.com
Wed May 24 10:22:29 EDT 2006
Hi,
I'd welcome your tips and help on the prof. design of a RR for Vpnv4 routes
in an mpls ISP network.
I've suggested Quagga but they dont trust linux machines here, so i want to
be able to get eductaed on how this should be done and size the needed
router.
We've have always had our RRs to be the same as PEs and that has always
caused problems, but no one cared to change this, i've decided to put it on
a separate router though,
My questions:
I am sure Network professionals on the list had this before, i assume you
would look at the number of routes currently in the vpnv4 table and add some
space for future additions and from there decide how much memory and CPU
should be enough and then look into the routers market for the best model.
I get confused with which memory holds the vpnv4 routes or the global
routes, vrf tables....blah, please advise.
I need support for the above, which commands will help me determine the size
of the memory needed.
The below PE is the internet-vrf-PE, and its also one of our
route-reflectors, we have our internet customers in an internet-vrf and this
PE1 router below holds the routes and its gateway of internet, it peers with
the internet-transit-gateway, configs below. (i'd appreciate if someone
could assist me here, i am trying to understand our network, i get the main
concepts but not the details)
PE1#sh ip bgp vpnv4 all summary
BGP router identifier 10.0.1.190, local AS number 65000
BGP table version is 5682700, main routing table version 5682700
10787 network entries using 1477819 bytes of memory
21444 path entries using 1372416 bytes of memory
224 multipath network entries and 449 multipath paths
538/536 BGP path/bestpath attribute entries using 62408 bytes of memory
20 BGP rrinfo entries using 480 bytes of memory
4 BGP AS-PATH entries using 112 bytes of memory
4 BGP community entries using 96 bytes of memory
423 BGP extended community entries using 12182 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 2925513 total bytes of memory
BGP activity 830361/819574 prefixes, 3414857/3393413 paths, scan interval 15
secs
PE1#sh run | b router bgp
router bgp 65000
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor RR peer-group
neighbor RR remote-as 65000
neighbor RR update-source Loopback0
neighbor Telecom-PEs peer-group
neighbor Telecom-PEs remote-as 65000
neighbor Telecom-PEs update-source Loopback0
neighbor 10.29.1.30 remote-as 65000
neighbor 10.29.1.30 update-source Loopback1
neighbor 10.29.1.41 remote-as 65000
neighbor 10.29.1.41 update-source Loopback1
neighbor 10.0.1.1 peer-group RR
neighbor 10.0.1.2 peer-group Telecom-PEs
neighbor 10.0.1.3 peer-group Telecom-PEs
neighbor 10.0.1.4 peer-group Telecom-PEs
neighbor 10.0.1.5 peer-group Telecom-PEs
neighbor 10.0.1.7 peer-group Telecom-PEs
neighbor 10.0.1.8 peer-group Telecom-PEs
neighbor 10.0.1.9 peer-group Telecom-PEs
neighbor 10.0.1.10 peer-group Telecom-PEs
neighbor 10.0.1.12 peer-group Telecom-PEs
neighbor 10.0.1.13 peer-group Telecom-PEs
neighbor 10.0.1.14 peer-group Telecom-PEs
neighbor 10.0.1.26 peer-group Telecom-PEs
neighbor 10.0.1.29 peer-group Telecom-PEs
neighbor 10.0.1.30 peer-group Telecom-PEs
neighbor 10.0.1.40 peer-group Telecom-PEs
neighbor 10.0.1.41 peer-group Telecom-PEs
neighbor 10.0.1.66 peer-group Telecom-PEs
neighbor 10.0.1.77 peer-group Telecom-PEs
neighbor 10.0.1.80 peer-group Telecom-PEs
neighbor 10.0.1.90 peer-group Telecom-PEs
neighbor 10.0.1.98 peer-group Telecom-PEs
neighbor 10.0.1.99 peer-group Telecom-PEs
neighbor 10.0.1.160 peer-group Telecom-PEs
neighbor 10.0.1.191 peer-group Telecom-PEs
maximum-paths ibgp 16
!
address-family ipv4
neighbor RR activate
neighbor RR send-community both
neighbor 10.0.1.1 peer-group RR /* the other route reflector */
maximum-paths ibgp 16
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4
neighbor RR activate
neighbor RR next-hop-self
neighbor RR send-community extended
neighbor Telecom-PEs activate
neighbor Telecom-PEs route-reflector-client
neighbor Telecom-PEs next-hop-self
neighbor Telecom-PEs send-community both
neighbor 10.29.1.30 activate
neighbor 10.29.1.30 next-hop-self
neighbor 10.29.1.30 send-community both
neighbor 10.29.1.30 route-map to_pe7_in in
neighbor 10.29.1.30 route-map to_pe7 out
neighbor 10.29.1.41 activate
neighbor 10.29.1.41 next-hop-self
neighbor 10.29.1.41 send-community both
neighbor 10.29.1.41 route-map to_pe7_in in
neighbor 10.29.1.41 route-map to_pe7 out
neighbor 10.0.1.1 peer-group RR
neighbor 10.0.1.2 peer-group Telecom-PEs
neighbor 10.0.1.3 peer-group Telecom-PEs
neighbor 10.0.1.4 peer-group Telecom-PEs
neighbor 10.0.1.5 peer-group Telecom-PEs
neighbor 10.0.1.7 peer-group Telecom-PEs
neighbor 10.0.1.8 peer-group Telecom-PEs
neighbor 10.0.1.9 peer-group Telecom-PEs
neighbor 10.0.1.10 peer-group Telecom-PEs
neighbor 10.0.1.12 peer-group Telecom-PEs
neighbor 10.0.1.13 peer-group Telecom-PEs
neighbor 10.0.1.14 peer-group Telecom-PEs
neighbor 10.0.1.26 peer-group Telecom-PEs
neighbor 10.0.1.29 peer-group Telecom-PEs
neighbor 10.0.1.30 peer-group Telecom-PEs
neighbor 10.0.1.40 peer-group Telecom-PEs /* PE-5 - Configs Below */
neighbor 10.0.1.41 peer-group Telecom-PEs
neighbor 10.0.1.66 peer-group Telecom-PEs
neighbor 10.0.1.77 peer-group Telecom-PEs
neighbor 10.0.1.80 peer-group Telecom-PEs
neighbor 10.0.1.90 peer-group Telecom-PEs
neighbor 10.0.1.98 peer-group Telecom-PEs
neighbor 10.0.1.99 peer-group Telecom-PEs
neighbor 10.0.1.160 peer-group Telecom-PEs
neighbor 10.0.1.191 peer-group Telecom-PEs
exit-address-family
!
address-family ipv4 vrf dialup /* a separate vrf for dial up traffic */
redistribute static route-map dialup-default
neighbor xx.xx.255.1 remote-as XXX35 /* peering with the international
internet gateway */
neighbor xx.xx.255.1 ebgp-multihop 3
neighbor xx.xx.255.1 activate
neighbor xx.xx.255.1 send-community
neighbor xx.xx.255.1 route-map dialin in
neighbor xx.xx.255.1 route-map dialout out
maximum-paths ibgp 2 import 2
default-information originate
no auto-summary
no synchronization
exit-address-family
!
address-family ipv4 vrf INTERNET
redistribute static
neighbor xx.xx.110.67 remote-as XXX35 /* peering with the multihomed
customers router/gw */
neighbor xx.xx.110.67 update-source Loopback3
neighbor xx.xx.110.67 activate
neighbor xx.xx.110.67 send-community
neighbor xx.xx.110.67 prefix-list gw2in in
neighbor xx.xx.110.67 route-map gw2out out
neighbor xx.xx.255.1 remote-as XXX35 /* peering with the international
internet gateway */
neighbor xx.xx.255.1 ebgp-multihop 3
neighbor xx.xx.255.1 update-source Loopback3
neighbor xx.xx.255.1 activate
neighbor xx.xx.255.1 send-community
neighbor xx.xx.255.1 route-map gwin in
neighbor xx.xx.255.1 route-map gw2out out
maximum-paths ibgp unequal-cost 6 import 6
default-information originate
no auto-summary
no synchronization
network xx.xx.255.25 mask 255.255.255.255
exit-address-family
PE-5#sh ip bgp vp al su
BGP router identifier 10.0.1.40, local AS number 65000
BGP table version is 2146339, main routing table version 2146339
8666 network entries using 1187242 bytes of memory
14216 path entries using 909824 bytes of memory
297/292 BGP path/bestpath attribute entries using 34452 bytes of memory
41 BGP rrinfo entries using 984 bytes of memory
3 BGP AS-PATH entries using 88 bytes of memory
3 BGP community entries using 72 bytes of memory
162 BGP extended community entries using 4866 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 2137528 total bytes of memory
BGP activity 227203/218464 prefixes, 864446/850157 paths, scan interval 30
secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
10.0.1.1 4 65000 1007048 213197 2146339 0 0 5d11h
5528 /* 2nd RR */
10.0.1.190 4 65000 934992 211389 2146339 0 0 4w6d
5528 /* 1st RR */
PE-5#sh run | b router bgp
router bgp 65000
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor Telecom-PEs peer-group
neighbor Telecom-PEs remote-as 65000
neighbor Telecom-PEs update-source Loopback0
neighbor 10.0.1.1 peer-group Telecom-PEs
neighbor 10.0.1.2 peer-group Telecom-PEs
neighbor 10.0.1.190 peer-group Telecom-PEs
!
address-family ipv4
redistribute connected
redistribute static
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4
neighbor Telecom-PEs activate
neighbor Telecom-PEs next-hop-self
neighbor Telecom-PEs send-community both
neighbor 10.0.1.1 peer-group Telecom-PEs
neighbor 10.0.1.2 peer-group Telecom-PEs
neighbor 10.0.1.190 peer-group Telecom-PEs
bgp scan-time 30
exit-address-family
address-family ipv4 vrf INTERNET
redistribute static
no auto-summary
no synchronization
exit-address-family
More information about the cisco-nsp
mailing list