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 Gen 1 7250 IXR nodes, the NSP deployment requires the Flow Collector function for statistics collection. The Estimated Bitrate parameter for flow collection in this case must be set to a value of '5 min'. RSVP and SR-TE LSPs that originate on Gen 2 7250 IXR nodes do not require the use of the Flow Collector function for statistics collection.
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
1 |
Using the PATCH /sdn/api/v4/nsp/configuration/traffic-data-collection API call, set 'enabled' to true. |
2 |
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:
Note: Enabling MIB entry policies for other nodes - even those that support GRPC - will allow them to have their statistics collected using SNMP. |
3 |
If collecting LSP statistics, perform the following:
Note: An LSP with both primary and standby paths must have at least one active path in order to register for telemetry statistics, however, a single-path LSP can register for telemetry statistics regardless of whether it is active or inactive. When an inactive, single-path LSP is registered for telemetry statistics, the following scenarios can occur:
End of steps |