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 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'.
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:
-
To enable RSVP-TE LSP statistics collection on 7705 nodes, perform the following:
-
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.
-
Click on the MIB Entry Policies tab and configure the filters as follows:
-
Product Name: 7705 SAR
-
MIB Entry Name: Lsp
-
Enable the MIB entry policies that are returned.
-
To enable IP Interface statistics collection on 7705 nodes, perform the following:
-
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.
-
Click on the MIB Entry Policies tab and configure the filters as follows:
-
Enable the MIB entry policies that are returned.
-
To enable MPLS Interface statistics collection on 7705 nodes, perform the following:
-
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.
-
Click on the MIB Entry Policies tab and configure the filters as follows:
-
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.
|
3 |
If collecting LSP statistics, perform the following:
-
Create a path profile policy, as described in
How do I create a path profile policy?, ensuring that 'Bandwidth Strategy' is set to telemetry.
-
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.