VPP Metric Enhancement

Feature Summary and Revision History

Summary Data

Applicable Product(s) or Functional Area

  • P-GW

  • SAEGW

Applicable Platform(s)

  • ASR 5500

  • VPC-SI

Feature Default

  • Disabled - Configuration Required

  • Enabled - Configuration Required

Related Changes in This Release

Not Applicable

Related Documentation

  • Command Line Interface Reference

  • P-GW Administration Guide

  • Statistics and Counters Reference

  • SAEGW Administration Guide

Revision History

Revision Details

Release

The and show active-charging flows summary commands are enhanced to get the statistics from VPP. 21.26

The following enhancements were introduced:

  • Analyzer level statistics (TCP, UDP, P2P, HTTP, HTTPS)

  • VPP statistics collection using the CLI configuration

21.25

First introduced.

21.24

Feature Description

The Vector Packet Processing (VPP) metrics help to analyze and debug the VPP offloaded traffic. This feature applies only to platforms that support VPP.

Traffic flows are dealt in different ways based on how P-GW recognizes them. For example, some flows are managed with VPP and some are not. To enhance troubleshooting, statistics are added at rulebase, subscriber, and analyzer protocol levels for VPP flows. The supported analyzer protocols include Transmission Control Protocol (TCP), User Datagram Protocol (UDP), peer-to-peer (P2P) analyzer, Hypertext Transfer Protocol (HTTP), and Hypertext Transfer Protocol Secure (HTTPS). System level bulk statistics are supported for troubleshooting.

This feature is partially controlled through the active-charging service configuration. Only the subscriber-specific statistics related to VPP offload are controlled using CLI.

Configuring Metrics Collection

Use the following sample configuration to enable or disable metrics collection from VPP for subscriber and rulebase.


configure 
  active-charging service service_name 
    [ no ] statistics-collection { all | vpp } 
    end 

NOTES:

  • all : Configures both Ruledef and VPP statistics collection.

  • vpp : Configures VPP statistics collection.

  • no : Resets the seed-time value to the default value of 0.

  • By default, this CLI is disabled.

Monitoring and Troubleshooting

This section provides information on how to monitor and troubleshoot this feature using show commands and bulk statistics.

Show Commands and Outputs

This section provides information regarding show commands and their outputs for this feature.

show active-charging flows full debug-info all

Table 1. show active-charging flows full debug-info all Command Output Descriptions
Field Description

Last Active Tick Time

Specifies the last active tick time for the data packet.

Current Tick Time

Specifies the current system tick time.

show active-charging rulebase statistics name

The output of this command displays the following fields:

Table 2. show active-charging rulebase statistics name Command Output Descriptions
Field Description

VPP Offload Statistics:

Total Flows

Total number of flows.

Current Active Flows

Total number of active current flows.

IPv4:

Uplink Pkts

Total number of IPv4 packets uplinked.

Uplink Bytes

Total number of IPv4 bytes uplinked.

Downlink Pkts

Total number of IPv4 packets downlinked.

Downlink Bytes

Total number of IPv4 bytes downlinked.

Dropped Uplink Pkts

Total number of IPv4 uplink packets discarded.

Dropped Uplink Bytes

Total number of IPv4 uplink bytes discarded.

Dropped Downlink Pkts

Total number of IPv4 downlink packets discarded.

Dropped Downlink Bytes

Total number of IPv4 downlink bytes discarded.

IPv6:

Uplink Pkts

Total number of IPv6 packets uplinked.

Uplink Bytes

Total number of IPv6 bytes uplinked.

Downlink Pkts

Total number of IPv6 packets downlinked.

Downlink Bytes

Total number of IPv6 bytes downlinked.

Dropped Uplink Pkts

Total number of IPv6 uplink packets discarded.

Dropped Uplink Bytes

Total number of IPv6 uplink bytes discarded.

Dropped Downlink Pkts

Total number of IPv6 downlink packets discarded.

Dropped Downlink Bytes

Total number of IPv6 downlink bytes discarded.

show active-charging subscribers all

The output of this command displays the following fields.

Table 3. show active-charging subscribers all Command Output Descriptions
Field Description

VPP-PKTS-UP

Total number of packets detected in uplink direction through VPP.

VPP-PKTS-DOWN

Total number of packets detected in downlink direction through VPP.

show-active-charging subscribers full all

The output of this command is enhanced to display the following fields.

Table 4. show active-charging subscribers full all Command Output Descriptions
Field Description

VPP Offload Statistics: Enabled/Disabled

Total Flows

Total number of flows.

Current Active Flows

Total number of active current flows.

IPv4:

Uplink Pkts

Total number of IPv4 packets uplinked.

Uplink Bytes

Total number of IPv4 bytes uplinked.

Downlink Pkts

Total number of IPv4 packets downlinked.

Downlink Bytes

Total number of IPv4 bytes downlinked.

Dropped Uplink Pkts

Total number of IPv4 uplink packets discarded.

Dropped Uplink Bytes

Total number of IPv4 uplink bytes discarded.

Dropped Downlink Pkts

Total number of IPv4 downlink packets discarded.

Dropped Downlink Bytes

Total number of IPv4 downlink bytes discarded.

IPv6:

Uplink Pkts

Total number of IPv6 packets uplinked.

Uplink Bytes

Total number of IPv6 bytes uplinked.

Downlink Pkts

Total number of IPv6 packets downlinked.

Downlink Bytes

Total number of IPv6 bytes downlinked.

Dropped Uplink Pkts

Total number of IPv6 uplink packets discarded.

Dropped Uplink Bytes

Total number of IPv6 uplink bytes discarded.

Dropped Downlink Pkts

Total number of IPv6 downlink packets discarded.

Dropped Downlink Bytes

Total number of IPv6 downlink bytes discarded.

show active-charging analyzer statistics name

The output of this command displays the following fields. The fields are common for http, secure-http, p2p, tcp, udp.

Table 5. show active-charging analyzer statistics name Command Output Descriptions
Field Description

Total VPP FP Packets

Total number of Fast Path packets through VPP.

VPP Fastpath Statistics:

Total Flows

Total number of flows.

Current Active Flows

Total number of active current flows.

IPv4:

Uplink Pkts

Total number of IPv4 packets uplinked.

Uplink Bytes

Total number of IPv4 bytes uplinked.

Downlink Pkts

Total number of IPv4 packets downlinked.

Downlink Bytes

Total number of IPv4 bytes downlinked.

IPv6:

Uplink Pkts

Total number of IPv6 packets uplinked.

Uplink Bytes

Total number of IPv6 bytes uplinked.

Downlink Pkts

Total number of IPv6 packets downlinked.

Downlink Bytes

Total number of IPv6 bytes downlinked.

Bulk Statistics

The ECS schema includes the following bulk statistics.

ECS Schema

Table 6. Bulk Statistics Variables in the ECS Schema

Variables

Description

vpp-tot-flows

Indicates total number of flows through VPP.

vpp-cur-flows

Indicates total number of active current flows through VPP.

IPv4

vpp-IPv4-uplk-pkts

Indicates total number of IPv4 packets detected in uplink direction through VPP.

vpp-IPv4-dwnlk-pkts

Indicates total number of IPv4 packets detected in downlink direction through VPP.

vpp-IPv4-uplk-bytes

Indicates total number of IPv4 bytes detected in uplink direction through VPP.

vpp-IPv4-dwnlk-bytes

Indicates total number of IPv4 bytes detected in downlink direction through VPP.

vpp-IPv4-uplk-drop-pkts

Indicates the total number of dropped IPv4 packets detected in uplink direction through VPP.

vpp-IPv4-dwnlk-drop-pkts

Indicates the total number of dropped IPv4 packets detected in downlink direction through VPP.

vpp-IPv4-uplk-drop-bytes

Indicates the total number of dropped IPv4 bytes detected in uplink direction through VPP.

vpp-IPv4-dwnlk-drop-bytes

Indicates the total number of dropped IPv4 bytes detected in downlink direction through VPP.

IPv6

vpp-IPv6-uplk-pkts

Indicates total number of IPv6 packets detected in uplink direction through VPP.

vpp-IPv6-dwnlk-pkts

Indicates total number of IPv6 packets detected in downlink direction through VPP.

vpp-IPv6-uplk-bytes

Indicates total number of IPv6 bytes detected in uplink direction through VPP.

vpp-IPv6-dwnlk-bytes

Indicates total number of IPv6 bytes detected in downlink direction through VPP.

vpp-IPv6-uplk-drop-pkts

Indicates the total number of dropped IPv6 packets detected in uplink direction through VPP.

vpp-IPv6-dwnlk-drop-pkts

Indicates the total number of dropped IPv6 packets detected in downlink direction through VPP.

vpp-IPv6-uplk-drop-bytes

Indicates the total number of dropped IPv6 bytes detected in uplink direction through VPP.

vpp-IPv6-dwnlk-drop-bytes

Indicates the total number of dropped IPv6 bytes detected in downlink direction through VPP.

TCP

tcp-vpp-flows-cur Indicates the current number of flows through VPP for TCP analyzer.
tcp-vpp-flows Indicates the total number of flows through VPP for TCP analyzer.
tcp-vpp-pkts The total number of IP packets through VPP for TCP analyzer.
tcp-ipv4-vpp-dwnlk-pkts Indicates the total number of IP packets detected in downlink direction in IPv4 traffic through VPP for TCP analyzer.
tcp-ipv4-vpp-uplk-pkts Indicates the total number of IP packets detected in uplink direction in IPv4 traffic through VPP for TCP analyzer.
tcp-ipv4-vpp-dwnlk-bytes Indicates the total number of IP bytes detected in downlink direction in IPv4 traffic through VPP for TCP analyzer.
tcp-ipv4-vpp-uplk-bytes Indicates the total number of IP bytes detected in uplink direction in IPv4 traffic through VPP for TCP analyzer.
tcp-ipv6-vpp-dwnlk-pkts Indicates the total number of IP packets detected in downlink direction in IPv6 traffic through VPP for TCP analyzer.
tcp-ipv6-vpp-uplk-pkts Indicates the total number of IP packets detected in uplink direction in IPv6 traffic through VPP for TCP analyzer.
tcp-ipv6-vpp-dwnlk-bytes Indicates the total number of IP bytes detected in downlink direction in IPv6 traffic through VPP for TCP analyzer.
tcp-ipv6-vpp-uplk-bytes Indicates the total number of IP bytes detected in uplink direction in IPv6 traffic through VPP for TCP analyzer.

UDP

udp-vpp-flows-cur Indicates the current number of flows through VPP for UDP analyzer.
udp-vpp-flows Indicates the total number of flows through VPP for UDP analyzer.
udp-vpp-pkts Indicates the total number of IP packets through VPP for UDP analyzer.
udp-ipv4-vpp-dwnlk-pkts Indicates the total number of IPv4 packets detected in downlink direction through VPP for UDP analyzer.
udp-ipv4-vpp-uplk-pkts Indicates the total number of IPv4 packets detected in uplink direction through VPP for UDP analyzer.
udp-ipv4-vpp-dwnlk-bytes Indicates the total number of IPv4 bytes detected in downlink direction through VPP for UDP analyzer.
udp-ipv4-vpp-uplk-bytes Indicates the total number of IPv4 bytes detected in uplink direction through VPP for UDP analyzer.
udp-ipv6-vpp-dwnlk-pkts Indicates the total number of IPv6 packets detected in downlink direction through VPP for UDP analyzer.
udp-ipv6-vpp-uplk-pkts Indicates the total number of IPv6 packets detected in uplink direction through VPP for UDP analyzer.
udp-ipv6-vpp-dwnlk-bytes Indicates the total number of IPv6 bytes detected in downlink direction through VPP for UDP analyzer.
udp-ipv6-vpp-uplk-bytes Indicates the total number of IPv6 bytes detected in uplink direction through VPP for UDP analyzer.

HTTP

http-vpp-flows-cur Indicates the current number of flows through VPP for HTTP analyzer.
http-vpp-flows Indicates the total number of flows through VPP for HTTP analyzer.
http-vpp-pkts Indicates the total number of IP packets through VPP for HTTP analyzer.
http-ipv4-vpp-dwnlk-pkts Indicates the total number of IPv4 packets detected in downlink direction through VPP for HTTP analyzer.
http-ipv4-vpp-uplk-pkts Indicates the total number of IPv4 packets detected in uplink direction through VPP for HTTP analyzer.
http-ipv4-vpp-dwnlk-bytes Indicates the total number of IPv4 bytes detected in downlink direction through VPP for HTTP analyzer.
http-ipv4-vpp-uplk-bytes Indicates the total number of IPv4 bytes detected in uplink direction through VPP for HTTP analyzer.
http-ipv6-vpp-dwnlk-pkts Indicates the total number of IPv6 packets detected in downlink direction through VPP for HTTP analyzer.
http-ipv6-vpp-uplk-pkts Indicates the total number of IPv6 packets detected in uplink direction through VPP for HTTP analyzer.
http-ipv6-vpp-dwnlk-bytes Indicates the total number of IPv6 bytes detected in downlink direction through VPP for HTTP analyzer.
http-ipv6-vpp-uplk-bytes Indicates the total number of IPv6 bytes detected in uplink direction through VPP for HTTP analyzer.

Secure-HTTP

https-vpp-flows-cur Indicates the current number of flows through VPP for HTTPS analyzer.
https-vpp-flows Indicates the total number of flows through VPP for HTTPS analyzer.
https-vpp-pkts Indicates the total number of IP packets through VPP for HTTPS analyzer.
https-ipv4-vpp-dwnlk-pkts Indicates the total number of IPv4 packets detected in downlink direction through VPP for HTTPS analyzer.
https-ipv4-vpp-uplk-pkts Indicates the total number of IPv4 packets detected in uplink direction through VPP for HTTPS analyzer.
https-ipv4-vpp-dwnlk-bytes Indicates the total number of IPv4 bytes detected in downlink direction through VPP for HTTPS analyzer.
https-ipv4-vpp-uplk-bytes Indicates the total number of IPv4 bytes detected in uplink direction through VPP for HTTPS analyzer.
https-ipv6-vpp-dwnlk-pkts Indicates the total number of IPv6 packets detected in downlink direction through VPP for HTTPS analyzer.
https-ipv6-vpp-uplk-pkts Indicates the total number of IPv6 packets detected in uplink direction through VPP for HTTPS analyzer.
https-ipv6-vpp-dwnlk-bytes Indicates the total number of IPv6 bytes detected in downlink direction through VPP for HTTPS analyzer.
https-ipv6-vpp-uplk-bytes Indicates the total number of IPv6 bytes detected in uplink direction through VPP for HTTPS analyzer.

P2P

p2p-vpp-flows-cur Indicates the current number of flows through VPP for P2P analyzer.
p2p-vpp-flows Indicates the total number of flows through VPP for P2P analyzer.
p2p-vpp-pkts Indicates the total number of IP packets through VPP for P2P analyzer.
p2p-ipv4-vpp-dwnlk-pkts Indicates the total number of IPv4 packets detected in downlink direction through VPP for P2P analyzer.
p2p-ipv4-vpp-uplk-pkts Indicates the total number of IPv4 packets detected in uplink direction through VPP for P2P analyzer.
p2p-ipv4-vpp-dwnlk-bytes Indicates the total number of IPv4 bytes detected in downlink direction through VPP for P2P analyzer.
p2p-ipv4-vpp-uplk-bytes Indicates the total number of IPv4 bytes detected in uplink direction through VPP for P2P analyzer.
p2p-ipv6-vpp-dwnlk-pkts Indicates the total number of IPv6 packets detected in downlink direction through VPP for P2P analyzer.
p2p-ipv6-vpp-uplk-pkts Indicates the total number of IPv6 packets detected in uplink direction through VPP for P2P analyzer.
p2p-ipv6-vpp-dwnlk-bytes Indicates the total number of IPv6 bytes detected in downlink direction through VPP for P2P analyzer.
p2p-ipv6-vpp-uplk-bytes Indicates the total number of IPv6 bytes detected in uplink direction through VPP for P2P analyzer.