Full Internet View on “Base” NCS 5500 Systems (S01E04)

18 minutes read

You can find more content related to NCS5500 including routing in VRF, URPF, ACLs, Netflow following this link.

S01E04 Full Internet View on “Base” NCS 5500 Systems

Disclaimer: In the following page and video, you’ll find a demo of the internet-optimized mode on NCS5500 routers based on Jericho (or Jericho+). This demo ran in late 2017 is still accurate. With recent internet distribution you should still be able to store a full view v4 and v6 in the internal memories (LEM and LPM). Does it mean it’s recommended? Probably not: it will occupy 80% or more of the LEM which doesn’t give more room for growth and potential routing incident. In September 2019, we recommend you select devices with eTCAM for internet peering roles unless you are running a smart system of route filtering to contain the table size.

Previously on “Understanding NCS5500 Resources”

In previous posts, we presented:

Let’s illustrate how we can handle a full IPv4 and IPv6 Internet view on base systems and line cards (i.e. without external TCAM, only using the LEM and LPM internal to the forwarding ASIC).

The demo

Following YouTube video will demonstrate we can handle multiple internet peers in the global routing table (15 full views on our demo) on base systems with the appropriate optimizatios.
We will demo how we can monitor the important resources used to store routing information and finally we will project what could be the internet size if it follows 2017 trends and how long the systems will be handle the full v4/v6 views.

https://www.youtube.com/watch?v=8Tq4nyP2wuA

This video shows NCS5500 using Jericho-based line cards without external TCAM (also valid for fixed-form systems) handling the current internet table with still significant growth margin.

Config and CLI

On this line card we have:


RP/0/RP0/CPU0:NCS5508#sh route sum

Route Source                     Routes     Backup     Deleted     Memory(bytes)
connected                        9          1          0           2400
local                            10         0          0           2400
static                           2          0          0           480
ospf 100                         0          0          0           0
bgp 100                          698440     0          0           167625600
isis 1                           0          0          0           0
dagr                             0          0          0           0
Total                            698461     1          0           167630880
  
RP/0/RP0/CPU0:NCS5508#sh route ipv6 un sum
  
Route Source                     Routes     Backup     Deleted     Memory(bytes)
connected                        5          0          0           1320
connected l2tpv3_xconnect        0          0          0           0
local                            5          0          0           1320
static                           0          0          0           0
bgp 100                          61527      0          0           16243128
Total                            61537      0          0           16245768

RP/0/RP0/CPU0:NCS5508#sh bgp sum

BGP router identifier 1.1.1.1, local AS number 100
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0000000   RD version: 1000324
BGP main routing table version 1000324
BGP NSR Initial initsync version 624605 (Reached)
BGP NSR/ISSU Sync-Group versions 1000324/0
BGP scan interval 60 secs

BGP is operating in STANDALONE mode.

Process       RcvTblVer   bRIB/RIB   LabelVer  ImportVer  SendTblVer  StandbyVer
Speaker         1000324    1000324    1000324    1000324     1000324     1000324

Neighbor        Spk    AS MsgRcvd MsgSent   TblVer  InQ OutQ  Up/Down  St/PfxRcd
192.168.100.151   0  1000  665841  210331  1000324    0    0    6d23h     655487
192.168.100.152   0 45896  666232  210331  1000324    0    0    6d23h     656126
192.168.100.153   0  7018  664430  210331  1000324    0    0    6d23h     654330
192.168.100.154   0  1836  669052  210331  1000324    0    0    6d23h     658948
192.168.100.155   0 50300  646305  210331  1000324    0    0    6d23h     636208
192.168.100.156   0 50304  667405  210331  1000324    0    0    6d23h     657301
192.168.100.157   0 57381  667411  210331  1000324    0    0    6d23h     657307
192.168.100.158   0  4608  687673  276201  1000324    0    0    6d23h     677487
192.168.100.159   0  4777  676317  210331  1000324    0    0    6d23h     666213
192.168.100.160   0 37989  298774  210331  1000324    0    0    6d23h     288706
192.168.100.161   0  3549  664480  210331  1000324    0    0    6d23h     654376
192.168.100.163   0  8757  642587  210331  1000324    0    0    6d23h     632483
192.168.100.164   0  3257 1319462  360784  1000324    0    0    6d22h     654661
192.168.100.165   0  3258  664741  262418  1000324    0    0    6d22h     654661
192.168.100.166   0  4609  687524  163237  1000324    0    0    6d22h     677487

RP/0/RP0/CPU0:NCS5508#sh bgp ipv6 un sum

BGP router identifier 1.1.1.1, local AS number 100
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0800000   RD version: 64373
BGP main routing table version 64373
BGP NSR Initial initsync version 61139 (Reached)
BGP NSR/ISSU Sync-Group versions 64373/0
BGP scan interval 60 secs
 
BGP is operating in STANDALONE mode.
 
Process       RcvTblVer   bRIB/RIB   LabelVer  ImportVer  SendTblVer  StandbyVer
Speaker           64373      64373      64373      64373       64373       64373
 
Neighbor        Spk    AS MsgRcvd MsgSent   TblVer  InQ OutQ  Up/Down  St/PfxRcd
2001:111::151     0   100   68925   10070    64373    0    0    6d23h      58860
2001:111::152     0   100   51103   10070    64373    0    0    6d23h      41038
2001:111::153     0   100   52945  109776    64373    0    0    6d23h      42880
2001:111::155     0   100   52754   10070    64373    0    0    6d23h      42689
2001:111::156     0   100   40481   10070    64373    0    0    6d23h      30417
2001:111::157     0   100   13997   10070    64373    0    0    6d23h       3932
2001:111::158     0   100   52944   10070    64373    0    0    6d23h      42879
2001:111::159     0   100   51465   10070    64373    0    0    6d23h      41400
2001:111::160     0   100   52737   10070    64373    0    0    6d23h      42672
2001:111::161     0   100   52918   10070    64373    0    0    6d23h      42853
2001:111::163     0   100   51428   10070    64373    0    0    6d23h      41364
 
RP/0/RP0/CPU0:NCS5508#sh bgp scale
 
VRF: default
 Neighbors Configured: 26     Established: 26
 
 Address-Family   Prefixes Paths    PathElem   Prefix     Path       PathElem
                                               Memory     Memory     Memory
  IPv4 Unicast    698440   9481781  698440     98.58MB    795.74MB   71.27MB
  IPv6 Unicast    61527    430984   61527      9.39MB     36.17MB    6.28MB
  ------------------------------------------------------------------------------
  Total           759967   9912765  759967     107.97MB   831.91MB   77.55MB
 
Total VRFs Configured: 0
 
RP/0/RP0/CPU0:NCS5508#sh bgp

BGP router identifier 1.1.1.1, local AS number 100
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0000000   RD version: 1000324
BGP main routing table version 1000324
BGP NSR Initial initsync version 624605 (Reached)
BGP NSR/ISSU Sync-Group versions 1000324/0
BGP scan interval 60 secs
 
Status codes: s suppressed, d damped, h history, * valid, > best
              i - internal, r RIB-failure, S stale, N Nexthop-discard
Origin codes: i - IGP, e - EGP, ? - incomplete
   Network            Next Hop            Metric LocPrf Weight Path
*> 1.0.4.0/22         192.168.100.151                        0 1000 1299 4826 38803 56203 i
*                     192.168.100.152                        0 45896 45896 4826 38803 56203 i
*                     192.168.100.153                        0 7018 7018 3257 4826 38803 56203 i
*                     192.168.100.154                        0 1836 1836 6939 4826 38803 56203 i
*                     192.168.100.155                        0 50300 50300 6939 4826 38803 56203 i
*                     192.168.100.156                        0 50304 50304 6939 4826 38803 56203 i
*                     192.168.100.157                        0 57381 57381 6939 4826 38803 56203 i
*                     192.168.100.158                        0 4608 4608 4826 38803 56203 i
*                     192.168.100.159                        0 4777 4777 2516 4713 2914 15412 4826 38803 56203 i
*                     192.168.100.160                        0 37989 37989 4844 4826 38803 56203 i
*                     192.168.100.161       2514             0 3549 3549 3356 1299 4826 38803 56203 i
*                     192.168.100.163                        0 8757 8758 6939 4826 38803 56203 i
*                     192.168.100.164         10             0 3257 3257 4826 38803 56203 i
*                     192.168.100.165         10             0 3258 3257 4826 38803 56203 i
*                     192.168.100.166                        0 4609 4608 4826 38803 56203 i
*> 1.0.4.0/24         192.168.100.151                        0 1000 1299 4826 38803 56203 i
*                     192.168.100.152                        0 45896 45896 4826 38803 56203 i
*                     192.168.100.153                        0 7018 7018 3257 4826 38803 56203 i
*                     192.168.100.154                        0 1836 1836 6939 4826 38803 56203 i
*                     192.168.100.155                        0 50300 50300 6939 4826 38803 56203 i
*                     192.168.100.156                        0 50304 50304 6939 4826 38803 56203 i
*                     192.168.100.157                        0 57381 57381 6939 4826 38803 56203 i
*                     192.168.100.158                        0 4608 4608 4826 38803 56203 i
*                     192.168.100.159                        0 4777 4777 2516 4713 2914 15412 4826 38803 56203 i
*                     192.168.100.161       2514             0 3549 3549 3356 1299 4826 38803 56203 i
*                     192.168.100.163                        0 8757 8758 6939 4826 38803 56203 i
*                     192.168.100.164         10             0 3257 3257 4826 38803 56203 i
*                     192.168.100.165         10             0 3258 3257 4826 38803 56203 i
*                     192.168.100.166                        0 4609 4608 4826 38803 56203 i
*> 1.0.5.0/24         192.168.100.151                        0 1000 1299 4826 38803 56203 i
*                     192.168.100.152                        0 45896 45896 4826 38803 56203 i
*                     192.168.100.153                        0 7018 7018 3257 4826 38803 56203 i
*                     192.168.100.154                        0 1836 1836 6939 4826 38803 56203 i
*                     192.168.100.155                        0 50300 50300 6939 4826 38803 56203 i
*                     192.168.100.156                        0 50304 50304 6939 4826 38803 56203 i
*                     192.168.100.157                        0 57381 57381 6939 4826 38803 56203 i
*                     192.168.100.158                        0 4608 4608 4826 38803 56203 i
*                     192.168.100.159                        0 4777 4777 2516 4713 2914 15412 4826 38803 56203 i
*                     192.168.100.161       2514             0 3549 3549 3356 1299 4826 38803 56203 i
*                     192.168.100.163                        0 8757 8758 6939 4826 38803 56203 i
*                     192.168.100.164         10             0 3257 3257 4826 38803 56203 i
*                     192.168.100.165         10             0 3258 3257 4826 38803 56203 i
*                     192.168.100.166                        0 4609 4608 4826 38803 56203 i
...
 
RP/0/RP0/CPU0:NCS5508#sh bgp ipv6 un

BGP router identifier 1.1.1.1, local AS number 100
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0800000   RD version: 64373
BGP main routing table version 64373
BGP NSR Initial initsync version 61139 (Reached)
BGP NSR/ISSU Sync-Group versions 64373/0
BGP scan interval 60 secs
 
Status codes: s suppressed, d damped, h history, * valid, > best
              i - internal, r RIB-failure, S stale, N Nexthop-discard
Origin codes: i - IGP, e - EGP, ? - incomplete
   Network            Next Hop            Metric LocPrf Weight Path
*>i::/0               2001:111::151            0    100      0 1299 i
* i2001::/32          2001:111::151            0    100      0 286 1103 1101 i
*>i                   2001:111::152                 100      0 7018 6939 i
* i                   2001:111::155                 100      0 57821 6939 i
* i                   2001:111::156                 100      0 8758 6939 i
* i                   2001:111::158                 100      0 50304 2603 1103 1101 i
* i                   2001:111::159                 100      0 22652 6939 i
* i                   2001:111::160                 100      0 6881 6939 i
* i                   2001:111::161                 100      0 50300 6939 i
* i                   2001:111::163                 100      0 1836 6939 i
*>i2001:4:112::/48    2001:111::151            0    100      0 6724 112 i
* i                   2001:111::152                 100      0 7018 6939 112 i
* i                   2001:111::153                 100      0 57381 42708 112 i
* i                   2001:111::155                 100      0 57821 6939 112 i
* i                   2001:111::156                 100      0 8758 9002 112 i
* i                   2001:111::158                 100      0 50304 2603 1103 112 i
* i                   2001:111::159                 100      0 22652 112 i
* i                   2001:111::160                 100      0 6881 112 i
* i                   2001:111::161                 100      0 50300 112 i
* i                   2001:111::163                 100      0 1836 112 i
*>i2001:5:5::/48      2001:111::151            0    100      0 174 48260 i
* i                   2001:111::152                 100      0 7018 174 48260 i
* i                   2001:111::153                 100      0 57381 42708 1299 174 48260 i
* i                   2001:111::155                 100      0 57821 12586 3257 174 48260 i
* i                   2001:111::158                 100      0 50304 1299 174 48260 i
* i                   2001:111::159                 100      0 22652 174 48260 i
* i                   2001:111::160                 100      0 6881 25512 174 48260 i
* i                   2001:111::161                 100      0 50300 174 48260 i
* i                   2001:111::163                 100      0 1836 174 48260 i
*>i2001:200::/32      2001:111::151            0    100      0 174 2914 2500 2500 i
* i                   2001:111::152                 100      0 7018 2914 2500 2500 i
* i                   2001:111::153                 100      0 57381 6939 2914 2500 2500 i
* i                   2001:111::155                 100      0 57821 6939 2914 2500 2500 i
* i                   2001:111::156                 100      0 8758 174 2914 2500 2500 i
* i                   2001:111::158                 100      0 50304 1299 2914 2500 2500 i
* i                   2001:111::159                 100      0 22652 3356 2914 2500 2500 i
* i                   2001:111::160                 100      0 6881 6939 2914 2500 2500 i
* i                   2001:111::161                 100      0 50300 2914 2500 2500 i
* i                   2001:111::163                 100      0 1836 174 2914 2500 2500 i
...
 
RP/0/RP0/CPU0:NCS5508#sh dpa resources iproute loc 0/2/CPU0

"iproute" DPA Table (Id: 21, Scope: Global)
--------------------------------------------------
IPv4 Prefix len distribution
Prefix   Actual       Prefix   Actual
 /0       3            /1       0
 /2       0            /3       0
 /4       3            /5       0
 /6       0            /7       0
 /8       16           /9       14
 /10      37           /11      107
 /12      288          /13      557
 /14      1071         /15      1909
 /16      13546        /17      7986
 /18      14000        /19      25861
 /20      40214        /21      44565
 /22      83070        /23      70129
 /24      388562       /25      1522
 /26      1338         /27      877
 /28      314          /29      510
 /30      782          /31      60
 /32      1170
                          NPU ID: NPU-0           NPU-1           NPU-2           NPU-3           NPU-4           NPU-5
                          In Use: 698511          698511          698511          698511          698511          698511
                 Create Requests
                           Total: 698546          698546          698546          698546          698546          698546
                         Success: 698546          698546          698546          698546          698546          698546
                 Delete Requests
                           Total: 35              35              35              35              35              35
                         Success: 35              35              35              35              35              35
                 Update Requests
                           Total: 141991          141991          141991          141991          141991          141991
                         Success: 141991          141991          141991          141991          141991          141991
                    EOD Requests
                           Total: 0               0               0               0               0               0
                         Success: 0               0               0               0               0               0
                          Errors
                     HW Failures: 0               0               0               0               0               0
                Resolve Failures: 0               0               0               0               0               0
                 No memory in DB: 0               0               0               0               0               0
                 Not found in DB: 0               0               0               0               0               0
                    Exists in DB: 0               0               0               0               0               0
 
RP/0/RP0/CPU0:NCS5508#sh dpa resources ip6route loc 0/2/CPU0
 
"ip6route" DPA Table (Id: 22, Scope: Global)
--------------------------------------------------
IPv6 Prefix len distribution
Prefix   Actual       Prefix   Actual
 /0       3            /1       0
 /2       0            /3       0
 /4       0            /5       0
 /6       0            /7       0
 /8       0            /9       0
 /10      3            /11      0
 /12      0            /13      0
 /14      0            /15      0
 /16      10           /17      0
 /18      0            /19      2
 /20      9            /21      3
 /22      4            /23      4
 /24      20           /25      6
 /26      15           /27      17
 /28      79           /29      1899
 /30      156          /31      128
 /32      9773         /33      640
 /34      435          /35      410
 /36      1618         /37      284
 /38      680          /39      161
 /40      2285         /41      212
 /42      397          /43      117
 /44      2283         /45      180
 /46      1465         /47      371
 /48      20154        /49      13
 /50      12           /51      4
 /52      16           /53      0
 /54      1            /55      8
 /56      11621        /57      16
 /58      2            /59      0
 /60      3            /61      0
 /62      1            /63      0
 /64      5177         /65      0
 /66      0            /67      0
 /68      0            /69      0
 /70      0            /71      0
 /72      0            /73      0
 /74      0            /75      0
 /76      0            /77      0
 /78      0            /79      0
 /80      0            /81      0
 /82      0            /83      0
 /84      0            /85      0
 /86      0            /87      0
 /88      0            /89      0
 /90      0            /91      0
 /92      0            /93      0
 /94      0            /95      0
 /96      1            /97      0
 /98      0            /99      0
 /100     0            /101     0
 /102     0            /103     0
 /104     3            /105     0
 /106     0            /107     0
 /108     0            /109     0
 /110     0            /111     0
 /112     0            /113     0
 /114     0            /115     4
 /116     0            /117     0
 /118     0            /119     0
 /120     0            /121     0
 /122     71           /123     0
 /124     15           /125     0
 /126     24           /127     18
 /128     735
                          NPU ID: NPU-0           NPU-1           NPU-2           NPU-3           NPU-4           NPU-5
                          In Use: 61568           61568           61568           61568           61568           61568
                 Create Requests
                           Total: 61572           61572           61572           61572           61572           61572
                         Success: 61572           61572           61572           61572           61572           61572
                 Delete Requests
                           Total: 4               4               4               4               4               4
                         Success: 4               4               4               4               4               4
                 Update Requests
                           Total: 2629            2629            2629            2629            2629            2629
                         Success: 2628            2628            2628            2628            2628            2628
                    EOD Requests
                           Total: 0               0               0               0               0               0
                         Success: 0               0               0               0               0               0
                          Errors
                     HW Failures: 0               0               0               0               0               0
                Resolve Failures: 0               0               0               0               0               0
                 No memory in DB: 0               0               0               0               0               0
                 Not found in DB: 0               0               0               0               0               0
                    Exists in DB: 0               0               0               0               0               0
 
RP/0/RP0/CPU0:NCS5508#sh contr npu resources lem location 0/2/CPU0

HW Resource Information
    Name                            : lem
 
OOR Information
    NPU-0
        Estimated Max Entries       : 786432
        Red Threshold               : 95
        Yellow Threshold            : 80
        OOR State                   : Green
    NPU-1
        Estimated Max Entries       : 786432
        Red Threshold               : 95
        Yellow Threshold            : 80
        OOR State                   : Green
    NPU-2
        Estimated Max Entries       : 786432
        Red Threshold               : 95
        Yellow Threshold            : 80
        OOR State                   : Green
    NPU-3
        Estimated Max Entries       : 786432
        Red Threshold               : 95
        Yellow Threshold            : 80
        OOR State                   : Green
    NPU-4
        Estimated Max Entries       : 786432
        Red Threshold               : 95
        Yellow Threshold            : 80
        OOR State                   : Green
    NPU-5
        Estimated Max Entries       : 786432
        Red Threshold               : 95
        Yellow Threshold            : 80
        OOR State                   : Green
 
Current Usage
    NPU-0
        Total In-Use                : 409888   (52 %)
        iproute                     : 389732   (50 %)
        ip6route                    : 20154    (3 %)
        mplslabel                   : 2        (0 %)
    NPU-1
        Total In-Use                : 409888   (52 %)
        iproute                     : 389732   (50 %)
        ip6route                    : 20154    (3 %)
        mplslabel                   : 2        (0 %)
    NPU-2
        Total In-Use                : 409888   (52 %)
        iproute                     : 389732   (50 %)
        ip6route                    : 20154    (3 %)
        mplslabel                   : 2        (0 %)
    NPU-3
        Total In-Use                : 409888   (52 %)
        iproute                     : 389732   (50 %)
        ip6route                    : 20154    (3 %)
        mplslabel                   : 2        (0 %)
    NPU-4
        Total In-Use                : 409888   (52 %)
        iproute                     : 389732   (50 %)
        ip6route                    : 20154    (3 %)
        mplslabel                   : 2        (0 %)
    NPU-5
        Total In-Use                : 409888   (52 %)
        iproute                     : 389732   (50 %)
        ip6route                    : 20154    (3 %)
        mplslabel                   : 2        (0 %)
 
RP/0/RP0/CPU0:NCS5508#sh contr npu resources lpm location 0/2/CPU0

HW Resource Information
    Name                            : lpm
 
OOR Information
    NPU-0
        Estimated Max Entries       : 430200
        Red Threshold               : 95
        Yellow Threshold            : 80
        OOR State                   : Yellow
        OOR State Change Time       : 2017.Dec.22 09:30:17 PST
    NPU-1
        Estimated Max Entries       : 430200
        Red Threshold               : 95
        Yellow Threshold            : 80
        OOR State                   : Yellow
        OOR State Change Time       : 2017.Dec.22 09:30:17 PST
    NPU-2
        Estimated Max Entries       : 430200
        Red Threshold               : 95
        Yellow Threshold            : 80
        OOR State                   : Yellow
        OOR State Change Time       : 2017.Dec.22 09:30:17 PST
    NPU-3
        Estimated Max Entries       : 430200
        Red Threshold               : 95
        Yellow Threshold            : 80
        OOR State                   : Yellow
        OOR State Change Time       : 2017.Dec.22 09:30:17 PST
    NPU-4
        Estimated Max Entries       : 430200
        Red Threshold               : 95
        Yellow Threshold            : 80
        OOR State                   : Yellow
        OOR State Change Time       : 2017.Dec.22 09:30:17 PST
    NPU-5
        Estimated Max Entries       : 430200
        Red Threshold               : 95
        Yellow Threshold            : 80
        OOR State                   : Yellow
        OOR State Change Time       : 2017.Dec.22 09:30:17 PST
 
Current Usage
    NPU-0
        Total In-Use                : 350206   (81 %)
        iproute                     : 308779   (72 %)
        ip6route                    : 41414    (10 %)
        ipmcroute                   : 0        (0 %)
    NPU-1
        Total In-Use                : 350206   (81 %)
        iproute                     : 308779   (72 %)
        ip6route                    : 41414    (10 %)
        ipmcroute                   : 0        (0 %)
    NPU-2
        Total In-Use                : 350206   (81 %)
        iproute                     : 308779   (72 %)
        ip6route                    : 41414    (10 %)
        ipmcroute                   : 0        (0 %)
    NPU-3
        Total In-Use                : 350206   (81 %)
        iproute                     : 308779   (72 %)
        ip6route                    : 41414    (10 %)
        ipmcroute                   : 0        (0 %)
    NPU-4
        Total In-Use                : 350206   (81 %)
        iproute                     : 308779   (72 %)
        ip6route                    : 41414    (10 %)
        ipmcroute                   : 0        (0 %)
    NPU-5
        Total In-Use                : 350206   (81 %)
        iproute                     : 308779   (72 %)
        ip6route                    : 41414    (10 %)
        ipmcroute                   : 0        (0 %)
 
RP/0/RP0/CPU0:NCS5508#

Configuration to enable the internet-optimized mode on non-eTCAM line cards:


RP/0/RP0/CPU0:NCS5508#sh run | i hw-

Building configuration...
hw-module fib ipv4 scale internet-optimized
RP/0/RP0/CPU0:NCS5508#

Configuration to enable streaming telemetry for the counters used for this video:


RP/0/RP0/CPU0:NCS5508#sh run telemetry model-driven
    telemetry model-driven
     destination-group DGroup1
      vrf default
      address-family ipv4 192.168.100.141 port 5432
   encoding self-describing-gpb
   protocol tcp
  !
 !
 sensor-group fib
  sensor-path Cisco-IOS-XR-fib-common-oper:fib/nodes/node/protocols/protocol/vrfs/vrf/summary
 !
 sensor-group brcm
  sensor-path Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper:dpa/stats/nodes/node/hw-resources-datas/hw-resources-data
 !
 sensor-group routing
  sensor-path Cisco-IOS-XR-ipv4-bgp-oper:bgp/instances/instance/instance-active/default-vrf/process-info
  sensor-path Cisco-IOS-XR-ip-rib-ipv4-oper:rib/vrfs/vrf/afs/af/safs/saf/ip-rib-route-table-names/ip-rib-route-table-name/protocol/bgp/as/information
  sensor-path Cisco-IOS-XR-ip-rib-ipv6-oper:ipv6-rib/vrfs/vrf/afs/af/safs/saf/ip-rib-route-table-names/ip-rib-route-table-name/protocol/bgp/as/information
 !
 subscription fib
  sensor-group-id fib strict-timer
  sensor-group-id fib sample-interval 1000
  destination-id DGroup1
 !
 subscription brcm
  sensor-group-id brcm strict-timer
  sensor-group-id brcm sample-interval 1000
  destination-id DGroup1
 !
 subscription routing
  sensor-group-id routing strict-timer
  sensor-group-id routing sample-interval 1000
  destination-id DGroup1
 !
!
RP/0/RP0/CPU0:NCS5508#

“Wet-finger” Internet Growth Projection

We take the data graciously provided by Darren’s (https://twitter.com/mellowdrifter) twitter pages:

Date%/24%/23%/22%/21-/19%18-16
15/12/201656,11011,716,85,4
18/01/201756,21011,716,75,4
15/02/201756,410,111,716,55,3
15/03/201756,41011,816,45,4
12/04/201756,51011,816,35,4
17/05/201756,61011,816,25,3
14/06/201756,510,111,916,25,3
12/07/201756,510,111,916,15,3
16/08/201756,610,11216,15,3
13/09/201756,710,112,115,95,2
10/10/201756,610,112,115,95,2
15/11/201756,610,112,115,95,2

Which can be converted in numbers of prefixes per prefix-length:

DateTotal v4/24/23/22/21-/19/18-/16
15/12/2016638707358315638717472910730334491
18/01/2017643504361650643517529010746634750
15/02/2017650916367117657437615810740234499
15/03/2017652062367763652077694410693935212
12/04/2017658828372238658837774210738935577
17/05/2017663357375461663367827710746435158
14/06/2017666765376723673447934610801635339
12/07/2017669699378380676407969510782235495
16/08/2017673374381130680118080510841435689
13/09/2017677348384057684138196010769935223
10/10/2017679210384433686018218510799535319
15/11/2017684059387178690908277210876635572

Same approach for IPv6:

Date%/48%/32%/44%/40%/36%/29
15/12/201646,9244,64,83,94,1
18/01/201746,523,84,64,83,84,2
15/02/201745,823,64,65,43,64,2
15/03/201745,523,34,85,43,64,2
12/04/201745,822,74,75,33,64,2
17/05/201745,822,84,75,33,64,2
14/06/201746,222,74,75,33,54,3
12/07/201745,922,84,85,23,64,3
16/08/201746,522,14,85,33,64,2
13/09/201746,621,94,85,23,64,2
18/10/201746,522,155,13,64,3
15/11/201746,322,15,25,33,74,3
DateTotal v6/48/32/44/40/36/29Rest
15/12/20163511816471842916161686137014404144
18/01/20173597016727856116551727136715114425
15/02/20173680116855868616931988132515464674
15/03/20173782617211881418162043136215895031
12/04/20173915217932888818412076141016455403
17/05/20174014718388915418872128144616875460
14/06/20174073718821924819152160142617525459
12/07/20174086018755931719622125147117575517
16/08/20174291119954948420602275154518035879
13/09/20174354020290953620902265156818295965
18/10/20174338920176958921702213156318665771
15/11/20174402520384973022902334162918945812

Which gives us the following graphs:

2017-v4-growth

2017-v6-growth

We can extrapolate the route count in LEM and LPM now.

YearLEMLPM
2017545742274488
2018592543296045
2019639344317602
2020686145339159
2021732946360717
2022779747382274
2023826548403832
2024873349425389
2025920150446947

LEM and LPM utilization projection

It’s certainly a very simplistic approach, feel free to provide other sources or your own growth projection in the comments, we will re-do the math with it.

Leave a Comment