This command reports the current situation of the SNMP resource:
[15:53:04] ABILIS_CPX:d d snmp
RES:Snmp ----------------------------------------------------------------------
Simple_Network_Management_Protocol
STATE:READY UDP-LOCPORT:161
CUR-COMMUNITY:public
- Last sent trap: ------------------------------------------------------
Local Date and Time | LocAdd-LocPort | RemAdd-RemPort
| Trap
| Resource
--------------------+----------------------------+----------------------
19/01/2018 12:20:09 192.168.029.254-161 192.168.020.200-162
cxTrapIpUp
Ip-1 (LAN)
------------------------------------------------------------------------The meaning:
STATESNMP port state:
INACTIVE - configuration parameter
ACT:NO.
READY - the driver is fully ready to
work.
UDP-LOCPORTUDP port number.
CUR-COMMUNITYCurrent SNMP Community.
Local Date and TimeLocal Date and Time of last successfully sent trap.
LocAdd-LocPortLocal source address and source UDP port.
RemAdd-RemPortDestination address and destination UDP port.
TrapEnterprise specific trap code.
ResourceResource index and subtype.
This command can help to understand what is happening, in case of troubles:
[15:53:05] ABILIS_CPX:d s snmp
RES:Snmp ----------------------------------------------------------------------
Simple_Network_Management_Protocol
--- Cleared 4 days 09:29:22 ago, on 16/03/2025 at 07:56:30 -------------
-----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
PCK | 20065| 20103|TRAP | 0| 38|
GET-REQ | 19005| 0| | | |
GET-NEXT | 1060| 0|REQ-VAR | 51710| |
GET-RESP | 0| 20065| | | |
SET-REQ | 0| 0|SET-VAR | 0| |
------------------------------------------------------------------------
BAD-VER | 0| |NOBUF | 0| |
BAD-COM-N | 0| |DENIED-IP | 0| |
BAD-COM-U | 0| | | | |
------------------------------------------------------------------------
ASN-ERR | 0| |NO-NAME | 0| 0|
TOO-BIG | 0| 0|GEN-ERR | 0| 0|
RONLY | 0| |BAD-VALUE | 0| 0|
------------------------------------------------------------------------
[15:59:02] ABILIS_CPX:d se snmp
RES:Snmp ----------------------------------------------------------------------
Simple_Network_Management_Protocol
--- Cleared 4 days 09:28:44 ago, on 16/03/2025 at 07:56:29 -------------
-----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
PCK | 20062| 20100|TRAP | 0| 38|
GET-REQ | 19002| 0| | | |
GET-NEXT | 1060| 0|REQ-VAR | 51702| |
GET-RESP | 0| 20062| | | |
SET-REQ | 0| 0|SET-VAR | 0| |
------------------------------------------------------------------------
BAD-VER | 0| |NOBUF | 0| |
BAD-COM-N | 0| |DENIED-IP | 0| |
BAD-COM-U | 0| | | | |
------------------------------------------------------------------------
ASN-ERR | 0| |NO-NAME | 0| 0|
TOO-BIG | 0| 0|GEN-ERR | 0| 0|
RONLY | 0| |BAD-VALUE | 0| 0|
------------------------------------------------------------------------
SNMPv1 traps sender statistics
-----------|--OUTPUT---|-----------|--OUTPUT---|-----------|--OUTPUT---|
REQ | 38|REQ-SUCC | 38|REQ-FAIL | 0|
SEND | 38|SEND-SUCC | 38|SEND-FAIL | 0|
COLDSTART | 1|LINKDOWN | 0|AUTHFAIL | 0|
WARMSTART | 0|LINKUP | 0|EGPNL | 0|
E-Specific | 37|
------------------------------------------------------------------------With reference to the shown interval of time («Cleared 3 days 16:16:20 ago») these counters show the number of:
PCK | Received/sent packets. |
TRAP | Outgoing Trap packets. |
GET-REQ | Incoming “GetRequest” packets. |
GET-NEXT | Incoming “GetNext” packets. |
GET-RESP | Incoming “GetRequest” packets. |
REQ-VAR | Received requests. |
SET-REQ | Incoming “SetRequest” packets. |
SET-VAR | Set variables. |
BAD-VER | Times that a packet with a bad SNMP version number is received. |
DENIED-IP | Denied IP addresses. |
BAD-COM-N | Received packets with Community name unknown. |
BAD-COM-U | Received packets with operation not allowed for that community name. |
ASN-ERR | Times that a packet with a bad ASN.1 fromat is received. |
NO-NAME | Number of 'no such name' errors responses sent. |
TOO-BIG | Number of 'too big' errors responses sent. |
GEN-ERR | Number of 'generic' errors responses sent. |
RONLY | Impossible for an Agent. This variable is present only for compatibility with the standard ‘snmp’ group of the MIB-II specification. |
BAD-VALUE | Times that the “BadValue” error is generated. |