Tip

This is the documentation for the 19.02 version. Looking for the documentation of the latest version? Have a look here.

Working with Large BGP TablesΒΆ

When working with a large set of routes, roughly exceeding 30,000 route table entries, TNSR may require additional memory to be allocated for the VPP dataplane Forwarding Information Bases (FIB). Smaller routing tables do not require special configuration.

This memory allocation can be performed in configuration mode using one of the following commands:

For IPv4:

tnsr# configure
tnsr(config)# dataplane ip heap-size <size>

For IPv6:

tnsr# configure
tnsr(config)# dataplane ip6 heap-size <size>

The format of the size is <number>[KMG], for example: 512M or 1G for 512 Megabytes or 1 Gigabyte, respectively.

The VPP dataplane service requires a restart to enable this configuration. Restart VPP from the TNSR configuration mode CLI using the following command:

tnsr# configure
tnsr(config)# service dataplane restart