Go to the table of contents Go to the previous page Go to the next page View or print as PDF
SNMP traps and queries
CLI Guide | Forcepoint Appliances | v8.5.x
show trap config
Display SNMP trap server on/off status and version information.
show trap config
Command modes
All products. Not supported in Azure.
Usage guidelines
SNMP monitor service and SNMP trap settings are independent, but SNMP monitor service must be enabled before you activate the SNMP trap configuration.
Related commands
 
show trap events
Display a table of SNMP trap events and settings.
show trap events
Command modes
All products. Not supported in Azure.
Related commands
 
save trap
Save SNMP trap events settings for editing or later use.
save trap [--location <filestore_alias> | --url <url>] [--save-path <filepath>] [--auth-required] [--default]
 
(Optional) Saves default settings. If the --default parameter is not included, current trap settings are saved.
Command modes
All products. Not supported in Azure.
Examples
(config)# save trap --location samba-fs
Related commands
 
set trap service
Enable or disable SNMP traps.
set trap service --status <enabled|disabled>
 
Command modes
All products. Not supported in Azure.
Usage guidelines
SNMP monitor service and SNMP trap settings are independent, but SNMP monitor service must be enabled to activate the SNMP trap configuration.
Examples
(config)# set trap service --status enabled
Related commands
 
load trap
Load SNMP trap events configuration from a file.
load trap [--location <filestore_alias>] [--url <url>]
[--file <name>] [--auth-required] [--no-cert-verification]
 
Command modes
All products. Not supported in Azure.
Examples
(config)# load trap --location samba-fs --file list123
Related commands
 
test trap event
Send a test trap to verify SNMP communication.
test trap event
Command modes
All products. Not supported in Azure.
Usage guidelines
If there is a problem sending the test trap, verify the ending ID and authentication settings and values, and verify that the network allows communication between the appliance and the SNMP manager.
Related commands
 
set trap v1
Configure SNMP v1 traps for alerting.
set trap v1 --community <name> --ip <ip_address> --port <port>
 
Command modes
All products. Not supported in Azure.
Examples
(config)# set trap v1 --community mycommunity --ip 10.0.0.14 --port 162
Related commands
 
set trap v2c
Configure SNMP v2c traps for alerting.
set trap v2c --community <name> --ip <ip_address> --port <port>
 
Command modes
All products. Not supported in Azure.
Examples
(config)# set trap v2c --community mycommunity --ip 10.0.0.13 --port 162
Related commands
 
set trap v3
Configure SNMP v3 traps for alerting.
set trap v3 --engineid <id> --ip <ip_address> --port <port> --securitylevel <noAuthNoPriv|authNoPriv|authPriv> --user <username> --authentication <md5|sha> --encrypt <des|aes>
 
See Examples below for sample commands.
(Used only with security levels authNoPriv and authPriv)
(Used only with security levels authNoPriv and authPriv)
Command modes
All products. Not supported in Azure.
Examples
*
(config)# set trap v3 --engineid 8000000001020304 --ip 10.0.0.13 --port 162 --securitylevel noAuthNoPriv --user trapuser
*
(config)# set trap v3 --engineid 0x802a0581 --ip 10.17.32.5 --port 162 --securitylevel authNoPriv --authentication sha --user test
Password: ********
*
(config)# set trap v3 --engineid 8000000001020304 ip 10.0.0.25 --port 162 --securitylevel authPriv --user trapuser --authentication sha --encrypt md5
Related commands
 

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Copyright 2020 Forcepoint. All rights reserved.