SNMP_TRAP

 

Description

Get or Set SNMP (Simple Network Management Protocol) Trap State.

When sets, it could disable the SNMP trap function or enable the SNMP Trap function with pre-defined trap message types. The SNMP device sends the trap message when its state matches the trap types.

The message format of the Trap is very from the SNMP version. That means the users have to select the correct SNMP version which matches the remote SNMP agent first.

If the CHANNEL=n was set with this URL to the Multi-Channel device, this URL is read-only command and the Router's SNMP_TRAP configurations will be returned.

Input Argument

Input Argument Trap Type Description
0 None Trap function is disabled
1 Cold Start Send the trap message when the device is powered up
2 Warm Start Send the trap message when the device is rebooted
3 Cold and Warm Start Send the trap message when the device is booted
4 Authentication fall Send the trap message when authentication fails in MIB access
5 Cold Start and Authentication fail Send the trap message when the device is powered up or authentication fails in MIB access
6 Warm Start and Authentication fail Send the trap message when device is rebooted or authentication fails in MIB access
7 All Send the trap message when the trap condition maches above cases

Attribute

Return of Message

SNMP_TRAP='3'
OK: SNMP_TRAP='3'
or
ERROR: SNMP_TRAP='3'

Applicability

Status

Valid

See Also

SNMP_STATE, SNMP_READ_COMMUNITY, SNMP_WRITE_COMMUNITY, SNMP_TRAP_NAME, SNMP_TRAP_ADDR, SNMP_TRAP_COMMUNITY, SNMP_PASSWORD

Example

http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&SNMP_TRAP
or
http://ip:port/cgi-bin/cmd/system?SNMP_TRAP
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&SNMP_TRAP=3
or
http://ip:port/cgi-bin/cmd/system?SNMP_TRAP=3

Back to

HOME, SYSTEM CGI