Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show services traffic-detection-function hcm statistics

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show services traffic-detection-function hcm statistics 
<ipv4-address v4-addr>
<ipv6-address v6-addr>
<routing-instance routing-instance>

Description

Display the statistics related to HTTP header enrichment for all the active HTTP sessions for the TDF subscriber.

Options

none

Display HTTP header enrichment statistics for all active HTTP sessions.

ipv4-address v4-addr

(Optional) Display HCM statistics for the specified IPv4 address of the subscriber’s user equipment (UE).

ipv6-address v6-addr

(Optional) Display HCM statistics for the specified IPv6 address of the subscriber’s user equipment.

routing-instance routing-instance

(Optional) Display HCM statistics for the specified routing instance of the subscriber’s user equipment.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show services traffic-detection-function hcm statistics command. Output fields are listed in the approximate order in which they appear.

Table 1: show services traffic-detection-function hcm statistics Output Fields

Field Name

Field Description

Interface Name

Name of the services PIC on which data sessions are being serviced. The HTTP header enrichment statistics sessions are displayed per services PIC.

Session id

Identifier for the session.

Subscriber-type

Type of subscriber:

  • ip—IP-based subscriber.

  • ifl—Interface-based subscriber.

IMSI

International Mobile Subscriber Identity (IMSI) of the subscriber’s user detail equipment (UE).

MSISDN

Mobile station ISDN of the subscriber’s user equipment.

Header inserted

Number of times that tags were successfully inserted into HTTP headers for the data session.

Header insert failed

Number of times that the insertion of tags into HTTP headers failed for the data session.

Header renamed

Number of times an HTTP header was renamed.

Header rename fail

Number of times an attempt to rename an HTTP header failed.

IPV4 mask modification

Number of times IPv4 address mask was inserted.

IPV6 mask modification

Number of times IPv6 address mask was inserted.

Tag too large

Number of tags that cannot be inserted into HTTP headers because the tag size was larger than the maximum configured size for the data session.

Tag encryption failed

Number of times that the encryption of HTTP tags used for header insertion failed for the data session.

Total Get request

Total number of HTTP Get Requests received for the data session.

Subscriber info unavailable

Number of times that subscriber attributes were missing during attempted header insertions for the data session.

Subscriber attribute missing

Number of times that tags were not inserted because subscriber attributes were missing.

IPV4 attribute missing

Number of times that tags were not inserted because subscriber IPv4 user address attributes were missing.

IPV6 attribute missing

Number of times that tags were not inserted because subscriber IPv6 user address attributes were missing.

IPV4 / IPV6 attribute

Number of times that IPv4 and IPv6 user address tags were successfully inserted into HTTP headers.

Sample Output

show services traffic-detection-function hcm statistics routing-instance

content_copy zoom_out_map
user@host> show services traffic-detection-function hcm statistics routing-instance r1
Interface Name: mams-2/3/0 (ams1)
Session id: 134217730, Subscriber-type: ip 
    Header inserted              : 6
    Header insert failed         : 0
    Header renamed               : 36
    Header rename fail           : 0
    IPV4 mask modification       : 3
    IPV6 mask modification       : 0
    Tag too large                : 0
    Tag encryption failed        : 0
    Total Get request            : 3
    Subscriber info unavailable  : 9
    Subscriber attribute missing : 9
    IPV4 attribute missing       : 0
    IPV6 attribute missing       : 3
    IPV4 / IPV6 attributes       : 0

Sample Output

show services traffic-detection-function hcm statistics ipv4-address routing-instance

content_copy zoom_out_map
user@host> show services traffic-detection-function hcm statistics ipv4-address 192.0.2.1 routing-instance default
Interface Name: mams-2/0/0 (ams1)
Session id: 67108865, Subscriber Type: IP, IMSI: 324234324, MSISDN: 0
    Header inserted              : 0
    Header insert failed         : 0
    Header renamed               : 0
    Header rename fail           : 0
    IPV4 mask modification       : 0
    IPV6 mask modification       : 0
    Tag too large                : 0
    Tag encryption failed        : 0
    Total Get request            : 0
    Subscriber info unavailable  : 0
    Subscriber attribute missing : 0
    IPV4 attribute missing       : 0
    IPV6 attribute missing       : 0
    IPV4 / IPV6 attributes       : 0

Release Information

Statement introduced in Junos OS Release 17.1.

This statement is not supported for Next Gen Services.

footer-navigation