How do I collect statistics?

Purpose

NSP can collect LSP, LSP path, IP interface, and MPLS interface statistics. This is accomplished using GRPC from the node. NSP calculates a rolling average over a number of periods and uses data such as rising/falling thresholds and number of periods to determine when to trigger potential LSP reroute actions.

Note: For RSVP and SR-TE LSPs that originate on 7250 IXR nodes, the NSP Flow Collector must be configured for statistics collection. Using the Flow Collector GUI, the Estimated Bitrate parameter must be set to a value of '5 min'.

Note: When collecting LSP statistics on 7705 nodes, a 15 minute averaging period will be in effect. 7705 nodes only support the collection of RSVP LSP statistics. SR-TE LSP statistics collection is not supported.

Steps
 

Using the PATCH /sdn/api/v4/nsp/configuration/traffic-data-collection API call, set 'enabled' to true.


If collecting statistics on 7705 nodes - which do not support GRPC - you must perform one of more of the following to enable MIB entry policies, which will allow for statistics collection using SNMP:

  1. To enable RSVP-TE LSP statistics collection on 7705 nodes, perform the following:

    1. From the NFM-P GUI toolbar, click Tools and choose Statistics > MIB Policies > Default Stats Policy > Properties > MIB Entry Policies > Search from the contextual menu.

      The NE MIB Statistics Policy form opens.

    2. Click on the MIB Entry Policies tab and configure the filters as follows:

      • Product Name: 7705 SAR

      • MIB Entry Name: Lsp

    3. Enable the MIB entry policies that are returned.

  2. To enable IP Interface statistics collection on 7705 nodes, perform the following:

    1. From the NFM-P GUI toolbar, click Tools and choose Statistics > MIB Policies > Default Stats Policy > Properties > MIB Entry Policies > Search from the contextual menu.

      The NE MIB Statistics Policy form opens.

    2. Click on the MIB Entry Policies tab and configure the filters as follows:

      • Product Name: 7705 SAR

      • MIB Entry Name: vrtrifstatsentry

    3. Enable the MIB entry policies that are returned.

  3. To enable MPLS Interface statistics collection on 7705 nodes, perform the following:

    1. From the NFM-P GUI toolbar, click Tools and choose Statistics > MIB Policies > Default Stats Policy > Properties > MIB Entry Policies > Search from the contextual menu.

      The NE MIB Statistics Policy form opens.

    2. Click on the MIB Entry Policies tab and configure the filters as follows:

      • Product Name: 7705 SAR

      • MIB Entry Name: vrtrMplsIf

    3. Enable the MIB entry policies that are returned.

Note: Enabling MIB entry policies for other nodes - even those that support GRPC - will allow them to have their statistics collected using SNMP.


If collecting LSP statistics, perform the following:

  1. Create a path profile policy, as described in How do I create a path profile policy?, ensuring that 'Bandwidth Strategy' is set to telemetry.

  2. Create or modify an LSP, ensuring that the path profile policy created in the previous step is assigned to the LSP. See How do I create PCE-initiated LSPs? for more information.

End of steps

© 2024 Nokia. Nokia Confidential Information

Use subject to agreed restrictions on disclosure and use.