43.3. SNMP diagnostics and statistics

43.3.1. SNMP diagnostics

To display the diagnostics of the SNMP resource the following commands are used:

d d snmp

Shows the state of the resource.

d de snmp

Shows the state of the resource, and information about the last sent trap.

[15:53:04] ABILIS_CPX:d d snmp

RES:Snmp ----------------------------------------------------------------------
       Simple_Network_Management_Protocol                                      
       STATE:READY          UDP-LOCPORT:161              LSN:0010 (   16)
       CUR-COMMUNITY:public
       - Last sent trap: ------------------------------------------------------
       Local Date and Time | LocAdd-LocPort             | RemAdd-RemPort
                           | Trap
                           | Resource
       --------------------+----------------------------+----------------------
       16/04/2015 19:43:59   192.168.100.111-161          192.168.100.116-162
                             cxTrapIpUp
                             Ip-3 (PPP)
       ------------------------------------------------------------------------
[15:53:04] ABILIS_CPX:d de snmp

RES:Snmp ----------------------------------------------------------------------
       Simple_Network_Management_Protocol                                      
       STATE:READY          UDP-LOCPORT:161              LSN:0010 (   16)
       CUR-COMMUNITY:public
       - Last sent trap: ------------------------------------------------------
       Local Date and Time | LocAdd-LocPort             | RemAdd-RemPort
                           | Trap
                           | Resource
       --------------------+----------------------------+----------------------
       16/04/2015 19:43:59   192.168.100.111-161          192.168.100.116-162
                             cxTrapIpUp
                             Ip-3 (PPP)
       ------------------------------------------------------------------------

43.3.2. SNMP statistics

To display the statistics of the SNMP resource the following commands are used:

d s snmp

Shows the statistics of the SNMP resource, such as the number of sent/received packets, the number of GetRequest frames received, the number of GetNext frames received, the number of SetRequest frames received, the number of GetResponse frames sent, etc..

d se snmp

Shows the statistics of the SNMP resource, the Traps service statistics, the Standard traps statistics and the Enterprise specific traps statistics.

[15:53:05] ABILIS_CPX:d s snmp

RES:Snmp ----------------------------------------------------------------------
       Simple_Network_Management_Protocol                                      
       --- Cleared 10 days 18:51:57 ago, on 16/04/2015 at 19:42:52 ------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       PCK        |      51291|      51243|TRAP       |          0|          3|
       GET-REQ    |      51240|          0|           |           |           |
       GET-NEXT   |          0|          0|REQ-VAR    |      51240|           |
       GET-RESP   |          0|      51240|           |           |           |
       SET-REQ    |          0|          0|SET-VAR    |          0|           |
       ------------------------------------------------------------------------
       BAD-VER    |          0|           |DENIED-IP  |         51|           |
       BAD-COM-N  |          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 10 days 18:52:32 ago, on 16/04/2015 at 19:42:52 ------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       PCK        |      51292|      51244|TRAP       |          0|          3|
       GET-REQ    |      51241|          0|           |           |           |
       GET-NEXT   |          0|          0|REQ-VAR    |      51241|           |
       GET-RESP   |          0|      51241|           |           |           |
       SET-REQ    |          0|          0|SET-VAR    |          0|           |
       ------------------------------------------------------------------------
       Traps service statistics:
       -----------|--OUTPUT---|-----------|--OUTPUT---|-----------|--OUTPUT---|
       REQ        |          3|REQ-SUCC   |          3|REQ-FAIL   |          0|
       EVENT      |          3|EVENT-SUCC |          3|EVENT-FAIL |          0|
       SEND       |          3|SEND-SUCC  |          3|SEND-FAIL  |          0|
       ------------------------------------------------------------------------
       Standard traps statistics:
       -----------|--OUTPUT---|-----------|--OUTPUT---|-----------|--OUTPUT---|
       COLDSTART  |          1|LINKDOWN   |          0|AUTHFAIL   |          0|
       WARMSTART  |          0|LINKUP     |          0|EGPNL      |          0|
       ------------------------------------------------------------------------
       Enterprise specific traps statistics:
       -----------|--OUTPUT---|-----------|--OUTPUT---|-----------|--OUTPUT---|
       Sync       |          0|Eth        |          0|
       Dsl        |          0|Sntp       |          0|X25        |          0|
       Lapb       |          0|MlmPl      |          0|MlmSl      |          0|
       MlAllPl    |          0|MlSomePl   |          0|MlSl       |          0|
       MlPl       |          0|SdlcPu     |          0|Hdlct      |          0|
       PadL1      |          0|IpLan      |          0|Fr         |          0|
       FrDlci     |          0|Ppp        |          0|PriIsdn    |          0|
       PriLapdQ   |          0|PriLapdX   |          0|BriIsdn    |          0|
       BriLapdQ   |          0|BriLapdX   |          0|FtpSrv     |          0|
       Ip         |          2|CellPdn    |          0|CellVoice  |          0|
       SysLog     |          0|PoeAc      |          0|PoeCli     |          0|
       Npv        |          0|Opc        |          0|Rjs        |          0|
       Gps        |          0|Gpio       |          0|GpioPc     |          0|
       CtiVm      |          0|CtiSms     |          0|CtiMix     |          0|
       Vs         |          0|Pots       |          0|Tftp       |          0|
       Ipsh       |          0|Vrrp       |          0|VrrpRouters|          0|
       Trfa       |          0|Alarm      |          0|Ldap       |          0|
       Rip        |          0|Ddns       |          0|Dns        |          0|
       CtiVr      |          0|Tcp        |          0|Udp        |          0|
       Ike        |          0|
       ------------------------------------------------------------------------