To configure flow statistics aggregation

Steps
 

Log in to a station that has access to the NSP system.


Open a console window.


Issue the following RESTCONF API call to specify what data/aggregation types are enabled for collection:

Note: In order to issue a RESTCONF API call, you require a token; see the My First NSP API Client tutorial on the Network Developer Portal for information.

PATCH https://address:443/restconf/data/flowconf:config/policies/aggregation

where address is the NSP cluster advertised address

The message body is the following:

{

    "aggregation" : [

      {

            "enabled" : "true",

        }

    ]

}

The following table shows the data and aggregation types that can be enabled, as well as their default state. All of these data and aggregation types use the FLOW_INFO_10_NOKIAAA protocol.

Table 5-1: Data types and aggregation types

Data type

Aggregation type

Default

COMPREHENSIVE_BUS

AGG_COMP_BUS_APP_GRP_SUB_DEV

true

COMPREHENSIVE_BUS

AGG_COMP_BUS_APP_GRP_SUB_HOST

true

COMPREHENSIVE_BUS

AGG_COMP_BUS_APP_SUB_DEV

true

COMPREHENSIVE_BUS

AGG_COMP_BUS_APP_SUB_HOST

true

COMPREHENSIVE_RAW_BUS

AGG_BUS_RAW

false

COMPREHENSIVE_RAW_RES

AGG_RES_RAW

false

COMPREHENSIVE_RES

AGG_COMP_RES_APP_DEV

true

COMPREHENSIVE_RES

AGG_COMP_RES_APP_GRP_DEV

true

COMPREHENSIVE_RES

AGG_COMP_RES_APP_GRP_HOST

true

COMPREHENSIVE_RES

AGG_COMP_RES_APP_GRP_SUB_DEV

true

COMPREHENSIVE_RES

AGG_COMP_RES_APP_HOST

true

COMPREHENSIVE_RES

AGG_COMP_RES_APP_SUB_DEV

true

COMPREHENSIVE_RES

AGG_COMP_RES_GRP_APP_DEV

true

COMPREHENSIVE_RES

AGG_COMP_RES_GRP_APP_GRP_DEV

true

COMPREHENSIVE_SS_BUS

AGG_BUS_RAW

false

COMPREHENSIVE_SS_RES

AGG_RES_RAW

false

FLOW_CONGESTION

AGG_FLOW_RES_ANL_APP

false

FLOW_CONGESTION

AGG_FLOW_RES_ANL_APP_GRP

false

FLOW_CONGESTION

AGG_FLOW_RES_ANL

false

PGW_EDR

AGG_PGWEDR_RAW

false

RTP_AUDIO_BUS

AGG_BUS_RAW

true

RTP_AUDIO_RES

AGG_RES_RAW

true

RTP_VIDEO_BUS

AGG_BUS_RAW

true

RTP_VIDEO_RES

AGG_RES_RAW

true

RTP_VOICE_BUS

AGG_BUS_RAW

true

RTP_VOICE_RES

AGG_RES_RAW

true

SESSION_CONGESTION

AGG_SESSION_RES_ANL_APP

false

SESSION_CONGESTION

AGG_SESSION_RES_ANL_APP_GRP

false

SESSION_CONGESTION

AGG_SESSION_RES_ANL

false

TCP_PERF_BUS

AGG_TCPPERF_BUS_APP_GRP

true

TCP_PERF_BUS

AGG_TCPPERF_BUS_APP

true

TCP_PERF_BUS

AGG_TCPPERF_BUS_SUBNET_APP_GRP

true

TCP_PERF_BUS

AGG_TCPPERF_BUS_SUBNET_APP

true

TCP_PERF_RES

AGG_TCPPERF_RES_APP_GRP

true

TCP_PERF_RES

AGG_TCPPERF_RES_APP

true

TCP_PERF_RES

AGG_TCPPERF_RES_GRP_APP_GRP

true

TCP_PERF_RES

AGG_TCPPERF_RES_GRP_APP

true

TCP_PERF_SS_BUS

AGG_BUS_RAW

false

TCP_PERF_SS_RES

AGG_RES_RAW

false

UAPPS

AGG_UNKNOWN_APP

true

VOLUME_BUS

AGG_VOL_BUS_APP_GRP

true

VOLUME_BUS

AGG_VOL_BUS_APP

true

VOLUME_BUS

AGG_VOL_BUS_SUBNET_APP_GRP

true

VOLUME_BUS

AGG_VOL_BUS_SUBNET_APP

true

VOLUME_RES

AGG_VOL_RES_APP_GRP

true

VOLUME_RES

AGG_VOL_RES_APP

true

VOLUME_RES

AGG_VOL_RES_GRP_APP_GRP

true

VOLUME_RES

AGG_VOL_RES_GRP_APP

true

VOLUME_SS_BUS

AGG_BUS_RAW

false

VOLUME_SS_RES

AGG_RES_RAW

false


Issue the following RESTCONF API call to specify the length of the aggregation intervals for each data type:

Note: In order to issue a RESTCONF API call, you require a token; see the My First NSP API Client tutorial on the Network Developer Portal for information.

PATCH https://address:443/restconf/data/flowconf:config/policies/agg-interval

where address is the NSP cluster advertised address

The message body is the following:

{

    "agg-interval" : [

      {

            "duration" : "3",

        }

    ]

}

Note: The settings in the above example represent the default values.

Note: The statistics collection interval affects NSP Flow Collector performance. A larger interval results in proportionally larger files, which take longer to store and transfer.

The following table shows the aggregation intervals that can be configured, as well as their default state. All of these entries use the FLOW_INFO_10_NOKIAAA protocol.

Table 5-2: Aggregation intervals

Entry

Default

COMPREHENSIVE_BUS

60

COMPREHENSIVE_RAW_BUS

5

COMPREHENSIVE_RAW_RES

5

COMPREHENSIVE_RES

60

COMPREHENSIVE_SS_BUS

15

COMPREHENSIVE_SS_RES

15

FLOW_CONGESTION

15

PGW_EDR

5

RTP_AUDIO_BUS

15

RTP_AUDIO_RES

15

RTP_VIDEO_BUS

15

RTP_VIDEO_RES

15

RTP_VOICE_BUS

15

RTP_VOICE_RES

15

SESSION_CONGESTION

15

TCP_PERF_BUS

15

TCP_PERF_RES

15

TCP_PERF_SS_BUS

15

TCP_PERF_SS_RES

15

UAPPS

15

VOLUME_BUS

15

VOLUME_RES

15

VOLUME_SS_BUS

15

VOLUME_SS_RES

15


Close the console window.

End of steps