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

test security utm anti-spam

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
test security utm anti-spam ip-check <test-IP>
<test-IP> test security utm anti-spam.

Description

Use this command to check if the IP (Internet Protocol) is a spam source or it is a configuration problem when the device doesn't block the spam. The anti-spam feature requires internet connectivity with the Spam Block List (SBL) server. Domain Name Service (DNS) must be available to access the SBL server.

Options

test-IP

Supports both IPv4 and IPv6.

Required Privilege Level

view

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Table 1 lists the output fields for the test security utm anti-spam command. Output fields are listed in the approximate order in which they appear.

Table 1: test security utm anti-spam

Field Name

Field Description

SBL Server

Spam block list (SBL) contains the list of the disallowed IPs.

DNS Server

The firewall performs SBL lookups through the Domain Name Service (DNS) protocol.

Sample Output

test security utm anti-spam

The following examples test IP 1.0.0.1 in SBL server msgsecurity.juniper.net through DNS server 172.29.151.60:

content_copy zoom_out_map
user@host> test security utm anti-spam ip-check 1.0.0.1

UTM anti-spam IP-check result:

    SBL Server:
        msgsecurity.juniper.net

    DNS Server:
        172.29.151.60

	   Test result for IP check: 
        SPAM (Match sbl server blacklist)

command-name

The following examples test IP 1.0.0.2 in SBL server msgsecurity.juniper.net through DNS server 172.29.151.60:

content_copy zoom_out_map
user@host>test security utm anti-spam ip-check 1.0.0.2

	UTM anti-spam IP-check result:

    SBL Server:
        msgsecurity.juniper.net
    
    DNS Server:
        172.29.151.60

	   Test result for IP check: 
    	   NON SPAM (No match)

command-name

The following examples test IP 1.0.0.2 in SBL server msgsecurity.juniper.net through DNS server 172.29.151.60:

content_copy zoom_out_map
user@host>test security utm anti-spam ip-check 1.0.0.2

UTM anti-spam IP-check result:

    SBL Server:
        msgsecurity.juniper.net
    
    DNS Server:
        172.29.151.60

	   Test result for IP check: 
        NON SPAM (DNS error)

command-name

The following examples test IP 1.0.0.3 in SBL server msgsecurity.juniper.net through DNS server 172.29.151.66:

content_copy zoom_out_map
user@host>test security utm anti-spam ip-check 1.0.0.3

UTM anti-spam IP-check result:

    SBL Server:
        msgsecurity.juniper.net

    DNS Server:
        172.29.151.66

	   Test result for IP check: 
    	   NON SPAM (Timeout error)

command-name

The following examples test IP 1.0.0.4 in SBL server msgsecurity.juniper.net through DNS server 172.29.151.66:

content_copy zoom_out_map
user@host>test security utm anti-spam ip-check 1.0.0.4

UTM anti-spam IP-check result:

    SBL Server:
        msgsecurity.juniper.net

    DNS Server:
        172.29.151.66

	   Test result for IP check: 
    	   NON SPAM (Anti-Spam is not enable)

command-name

The following examples test IP 1.0.0.4 in SBL server msgsecurity.juniper.net through DNS server 172.29.151.66:

content_copy zoom_out_map
user@host>test security utm anti-spam ip-check 1.0.0.4

UTM anti-spam IP-check result:

    SBL Server:
        msgsecurity.juniper.net

    DNS Server:
        172.29.151.66

	   Test result for IP check: 
   	   No license

Release Information

Command introduced in Junos OS Release 20.2.

footer-navigation