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 web-filter statistics profile

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show services web-filter statistics profile profile-name
<dns-filter-template template-name>
<dns-filter-term term-name>
<fpc-slot fpc-slot pic-slot pic-slot>
<url-filter-template template-name>

Description

Display statistics for DNS request filtering and URL filtering for the specified filter profile.

Options

dns-filter-template template-name

(Optional) Display statistics for the specified DNS filter template.

dns-filter-term term-name

(Optional) Display statistics for the specified term in the DNS filter template.

fpc-slot fpc-slot pic-slot pic-slot

(Optional) Display statistics for the specified services PIC.

profile profile-name

Display statistics for the specified filter profile.

url-filter-template template-name

(Optional) Display statistics for the specified URL filter template.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show services web-filter statistics profile command. Output fields are listed in the approximate order in which they appear.

Table 1: show services web-filter statistics profile Output Fields

Field Name

Field Description

UDP Counters

Number of UDP DNS requests, responses, and log only responses for DNS request filtering for queries of types A, AAAA, MX, CNAME, SRV, TXT, and MISC.

TCP Counters

Number of TCP DNS requests, responses, and log only responses for DNS request filtering for queries of types A, AAAA, MX, CNAME, SRV, TXT, and MISC.

Accept

Action counters for accepted packets for URL filtering.

Custom page

Action counters for custom page sent to recipient for URL filtering.

Http scode

Action counters for HTTP status code response for URL filtering.

Redirect url

Action counters for redirect URL response for URL filtering.

TCP reset

Action counters for TCP reset for URL filtering. Connection is closed.

Bypass session count

Number of sessions not blocked by URL filtering because the match criteria was not met for URL filtering.

IPV4 Disable IP Blocking

Action counters for IPv4 packets that were accepted because filtering is disabled for HTTP traffic that contains an embedded IP address belonging to a disallowed domain name in the URL filter database.

IPV6 Disable IP Blocking

Action counters for IPv6 packets that were accepted because filtering is disabled for HTTP traffic that contains an embedded IP address belonging to a disallowed domain name in the URL filter database.

session count

The session of activity that a user with a unique IP address spends on a website during a specified period of time for URL filtering. A session, in this case, would be the packets going to the service PIC from the Packet Forwarding Engine and then back to the service PIC.

uplink packet count

Number of packets going from the Packet Forwarding Engine to the service PIC for URL filtering.

uplink bytes

Number of bytes passing uplink for URL filtering.

downlink packet count

Number of packets going from the service PIC to the service Packet Forwarding Engine for URL filtering.

downlink bytes

Number of bytes passing downlink for URL filtering.

UDP DNS

Number of UDP DNS requests, responses, and log only responses for DNS request filtering for queries of types A, AAAA, MX, CNAME, SRV, TXT, and MISC.

TCP DNS

Number of TCP DNS requests, responses, and log only responses for DNS request filtering for queries of types A, AAAA, MX, CNAME, SRV, TXT, and MISC.

Sample Output

show services web-filter statistics profile dns-filter-template

content_copy zoom_out_map
user@host> show services web-filter statistics profile pdns dns-filter-template tdns
    Query   Requests         Responses        Log
    Type                                      only
     
    UDP Counters:
     
     A      0                0                0
     AAAA   0                0                0
     MX     0                0                0
     CNAME  0                0                0
     SRV    0                0                0
     TXT    0                0                0
     MISC   0                0                0
     
    TCP Counters:
     
     A      0                0                0
     AAAA   0                0                0
     MX     0                0                0
     CNAME  0                0                0
     SRV    0                0                0
     TXT    0                0                0
     MISC   0                0                0

Sample Output

show services web-filter statistics profile

content_copy zoom_out_map
user@host> show services web-filter statistics profile Profile1
URL filtering action counters:
    
    
    Accept session count                : 0
    Accept uplink packet count          : 0
    Accept uplink bytes                 : 0
    Accept downlink packet count        : 0
    Accept downlink bytes               : 0
    
    Custom page session count           : 0
    Custom page uplink packet count     : 0
    Custom page uplink bytes            : 0
    Custom page downlink packet count   : 0
    Custom page downlink bytes          : 0
    
    Http scode session count            : 0
    Http scode uplink packet count      : 0
    Http scode uplink bytes             : 0
    Http scode dowlink packet count     : 0
    Http scode downlink bytes           : 0
    
    Redirect url session count          : 0
    Redirect url uplink packet count    : 0
    Redirect url uplink bytes           : 0
    Redirect url downlink packet count  : 0
    Redirect url downlink bytes         : 0
    
    Tcp reset session count             : 0
    Tcp reset uplink packet count       : 0
    Tcp reset uplink bytes              : 0
    Tcp reset downlink packet count     : 0
    Tcp reset downlink bytes            : 0
    
    Bypass session count                : 0
    
    IPV4 Disable IP Blocking Sessions          : 0
    IPV4 Disable IP Blocking uplink packets    : 0
    IPV4 Disable IP Blocking uplink bytes      : 0
    IPV4 Disable IP Blocking downlink packets  : 0
    IPV4 Disable IP Blocking downlink bytes    : 0
    IPV6 Disable IP Blocking Sessions          : 0
    IPV6 Disable IP Blocking uplink packets    : 0
    IPV6 Disable IP Blocking uplink bytes      : 0
    IPV6 Disable IP Blocking downlink packets  : 0
    IPV6 Disable IP Blocking downlink bytes    : 0
    
    DNS filtering counters:
    
    UDP DNS A req count                        : 0
    UDP DNS A resp count                       : 0
    UDP DNS A log only count                   : 0
    UDP DNS AAAA req count                     : 0
    UDP DNS AAAA resp count                    : 0
    UDP DNS AAAA log only count                : 0
    UDP DNS MX req count                       : 0
    UDP DNS MX resp count                      : 0
    UDP DNS MX log only count                  : 0
    UDP DNS CNAME req count                    : 0
    UDP DNS CNAME resp count                   : 0
    UDP DNS CNAME log only count               : 0
    UDP DNS SRV req count                      : 0
    UDP DNS SRV resp count                     : 0
    UDP DNS SRV log only count                 : 0
    UDP DNS TXT req count                      : 0
    UDP DNS TXT resp count                     : 0
    UDP DNS TXT log only count                 : 0
    UDP DNS ANY req count                      : 0
    UDP DNS ANY resp count                     : 0
    UDP DNS ANY log only count                 : 0
    UDP DNS MISC req count                     : 0
    UDP DNS MISC log only count                : 0
    TCP DNS A req count                        : 0
    TCP DNS A resp count                       : 0
    TCP DNS A log only count                   : 0
    TCP DNS AAAA req count                     : 0
    TCP DNS AAAA resp count                    : 0
    TCP DNS AAAA log only count                : 0
    TCP DNS MX req count                       : 0
    TCP DNS MX resp count                      : 0
    TCP DNS MX log only count                  : 0
    TCP DNS CNAME req count                    : 0
    TCP DNS CNAME resp count                   : 0
    TCP DNS CNAME log only count               : 0
    TCP DNS SRV req count                      : 0
    TCP DNS SRV resp count                     : 0
    TCP DNS SRV log only count                 : 0
    TCP DNS TXT req count                      : 0
    TCP DNS TXT resp count                     : 0
    TCP DNS TXT log only count                 : 0
    TCP DNS ANY req count                      : 0
    TCP DNS ANY resp count                     : 0
    TCP DNS ANY log only count                 : 0
    TCP DNS MISC req count                     : 0
    TCP DNS MISC log only count                : 0

Release Information

Command introduced in Junos OS Release 18.3R1.

Support added in Junos OS Release 19.3R2 for Next Gen Services on MX Series routers MX240, MX480 and MX960 with the MX-SPC3 services card.

footer-navigation