process_mgmt_req_int: UDP packet being de-queued
*Aug 10 15:20:49.781: SNMP: Packet received via UDP from 192.168.1.2 on GigabitEthernet0/0
*Aug 10 15:20:49.786: SNMP: Get request, reqid 23865023, errstat 0, erridx 0
system.5.0 = NULL TYPE/VALUESrDoSnmp: received get pdu
CheckClassMIBView: all included
CheckMIBView: OID is in MIB view.
*Aug 10 15:20:49.790:
Incoming SNMP packet
*Aug 10 15:20:49.791: v2c packet
*Aug 10 15:20:49.792: community string: public
*Aug 10 15:20:49.792: SNMP: Response, reqid 23865023, errstat 0, erridx 0
system.5.0 = Router1
*Aug 10 15:20:49.798: SNMP: Packet sent via UDP to 192.168.1.2
process_mgmt_req_int: UDP packet being de-queued
*Aug 10 15:49:57.989: SNMP: Packet received via UDP from 192.168.1.2 on GigabitEthernet0/0
*Aug 10 15:49:57.992: SNMP: Get-bulk request, reqid 1089800465, nonrptr 0, maxreps 10
ifDescr = NULL TYPE/VALUESrDoSnmp: received get-bulk pdu
CheckClassMIBView: all included
CheckClassMIBView: all included
CheckClassMIBView: all included
CheckClassMIBView: all included
CheckClassMIBView: all included
CheckClassMIBView: all included
CheckClassMIBView: all included
CheckClassMIBView: all included
CheckClassMIBView: all included
CheckClassMIBView: all included
CheckClassMIBView: all included
*Aug 10 15:49:57.999:
Incoming SNMP packet
*Aug 10 15:49:58.000: v2c packet
*Aug 10 15:49:58.000: community string: public
*Aug 10 15:49:58.000: SNMP: Response, reqid 1089800465, errstat 0, erridx 0
ifDescr.1 = GigabitEthernet0/0
ifDescr.2 = GigabitEthernet0/1
ifDescr.3 = GigabitEthernet0/2
ifDescr.4 = GigabitEthernet0/3
ifDescr.5 = Null0
ifType.1 = 6
ifType.2 = 6
ifType.3 = 6
ifType.4 = 6
ifType.5 = 1
*Aug 10 15:49:58.012: SNMP: Packet sent via UDP to 192.168.1.2
process_mgmt_req_int: UDP packet being de-queued
*Aug 10 15:57:54.798: SNMP: Packet received via UDP from 192.168.1.2 on GigabitEthernet0/0
*Aug 10 15:57:54.801: SNMP: Set request, reqid 2022113954, errstat 0, erridx 0
ifAdminStatus.4 = 2SrDoSnmp: received set pdu
CheckMIBView: OID is in MIB view.
do_sets: pass 1 of set request processing done
do_sets: pass 2 of set request processing done
do_sets: pass 3 of set request processing done
*Aug 10 15:57:54.836:
Incoming SNMP packet
*Aug 10 15:57:54.836: v2c packet
*Aug 10 15:57:54.836: community string: private
*Aug 10 15:57:54.836: SNMP: Response, reqid 2022113954, errstat 0, erridx 0
ifAdminStatus.4 = 2
%SYS-5-CONFIG_I: Configured from 192.168.1.2 by snmp
*Aug 10 15:57:54.844: SNMP: Packet sent via UDP to 192.168.1.2
%LINK-5-CHANGED: Interface GigabitEthernet0/3, changed state to administratively down
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/3, changed state to down
Router1(config-if)#interface Gi0/3
Router1(config-if)#shutdown
Router1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/3, changed state to administratively down
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/3, changed state to down
デバッグ確認
SNMPエージェント(Cisco機器)のデバッグログを確認します。
クリックしてデバッグログを表示する
*Aug 10 16:42:41.547: SNMP: Queuing packet to 192.168.1.6Sr_send_trap: trap sent to 192.168.1.6:162
*Aug 10 16:42:41.548:
Outgoing SNMP packet
*Aug 10 16:42:41.548: v2c packet
*Aug 10 16:42:41.549: community string: public
*Aug 10 16:42:41.549: SNMP: V2 Trap, reqid 118, errstat 0, erridx 0
sysUpTime.0 = 6699240
snmpTrapOID.0 = snmpTraps.3
ifIndex.4 = 4
ifDescr.4 = GigabitEthernet0/3
ifType.4 = 6
lifEntry.20.4 = administratively down
SrV2GenerateNotification:Function has reached clean up routine.
*Aug 10 16:42:41.798: SNMP: Packet sent via UDP to 192.168.1.6
Router1(config-if)#interface Gi0/3
Router1(config-if)#shutdown
Router1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/3, changed state to administratively down
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/3, changed state to down
デバッグ確認
SNMPエージェント(Cisco機器)のデバッグログを確認します。
クリックしてデバッグログを表示する
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
SrCheckNotificationFilter: OID is included.
SrCheckNotificationFilter: OID is included.
SrCheckNotificationFilter: OID is included.
SrCheckNotificationFilter: OID is included.
SrCheckNotificationFilter: OID is included.
SrCheckNotificationFilter: OID is included.
SrCheckNotificationFilter: OID is included.
*Aug 10 16:58:32.168:
Outgoing SNMP packet
*Aug 10 16:58:32.169: v2c packet
*Aug 10 16:58:32.169: community string: public
*Aug 10 16:58:32.169: SNMP: Inform request, reqid 47, errstat 0, erridx 0
sysUpTime.0 = 6794302
snmpTrapOID.0 = snmpTraps.3
ifIndex.4 = 4
ifDescr.4 = GigabitEthernet0/3
ifType.4 = 6
lifEntry.20.4 = administratively down
*Aug 10 16:58:32.176: SNMP: Packet sent via UDP to 192.168.1.6.162
SrV2GenerateNotification:Function has reached clean up routine.
*Aug 10 16:58:32.192: SNMP: Packet received via UDP from 192.168.1.6 on GigabitEthernet0/0
*Aug 10 16:58:32.195: SNMP: Response, reqid 47, errstat 0, erridx 0
sysUpTime.0 = 6794302
snmpTrapOID.0 = snmpTraps.3
ifIndex.4 = 4
ifDescr.4 = GigabitEthernet0/3
ifType.4 = 6
lifEntry.20.4 = administratively down
*Aug 10 16:58:32.203:
Incoming SNMP packet
*Aug 10 16:58:32.203: v2c packet
*Aug 10 16:58:32.204: community string: public
*Aug 10 16:58:32.204: SNMP: Response, reqid 47, errstat 0, erridx 0
sysUpTime.0 = 6794302
snmpTrapOID.0 = snmpTraps.3
ifIndex.4 = 4
ifDescr.4 = GigabitEthernet0/3
ifType.4 = 6
lifEntry.20.4 = administratively down
Router1(config-if)#interface Gi0/3
Router1(config-if)#shutdown
Router1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/3, changed state to administratively down
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/3, changed state to down
デバッグ確認
SNMPエージェント(Cisco機器)のデバッグログを確認します。
クリックしてデバッグログを表示する
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
CheckMIBView: OID is in MIB view.
SrCheckNotificationFilter: OID is included.
SrCheckNotificationFilter: OID is included.
SrCheckNotificationFilter: OID is included.
SrCheckNotificationFilter: OID is included.
SrCheckNotificationFilter: OID is included.
SrCheckNotificationFilter: OID is included.
SrCheckNotificationFilter: OID is included.
*Aug 16 23:25:39.010:
Outgoing SNMP packet
*Aug 16 23:25:39.010: v2c packet
*Aug 16 23:25:39.010: community string: public
*Aug 16 23:25:39.011: SNMP: Inform request, reqid 37, errstat 0, erridx 0
sysUpTime.0 = 110712
snmpTrapOID.0 = snmpTraps.3
ifIndex.4 = 4
ifDescr.4 = GigabitEthernet0/3
ifType.4 = 6
lifEntry.20.4 = administratively down
*Aug 16 23:25:39.017: SNMP: Packet sent via UDP to 192.168.1.6.162
SrV2GenerateNotification:Function has reached clean up routine.
*Aug 16 23:25:54.018:
Outgoing SNMP packet
*Aug 16 23:25:54.019: v2c packet
*Aug 16 23:25:54.019: community string: public
*Aug 16 23:25:54.020: SNMP: Inform request, reqid 38, errstat 0, erridx 0
sysUpTime.0 = 110712
snmpTrapOID.0 = snmpTraps.3
ifIndex.4 = 4
ifDescr.4 = GigabitEthernet0/3
ifType.4 = 6
lifEntry.20.4 = administratively down
*Aug 16 23:25:54.029: SNMP: Packet sent via UDP to 192.168.1.6.162
*Aug 16 23:26:24.030:
Outgoing SNMP packet
*Aug 16 23:26:24.030: v2c packet
*Aug 16 23:26:24.031: community string: public
*Aug 16 23:26:24.031: SNMP: Inform request, reqid 39, errstat 0, erridx 0
sysUpTime.0 = 110712
snmpTrapOID.0 = snmpTraps.3
ifIndex.4 = 4
ifDescr.4 = GigabitEthernet0/3
ifType.4 = 6
lifEntry.20.4 = administratively down
*Aug 16 23:26:24.037: SNMP: Packet sent via UDP to 192.168.1.6.162
*Aug 16 23:27:24.039:
Outgoing SNMP packet
*Aug 16 23:27:24.039: v2c packet
*Aug 16 23:27:24.040: community string: public
*Aug 16 23:27:24.040: SNMP: Inform request, reqid 40, errstat 0, erridx 0
sysUpTime.0 = 110712
snmpTrapOID.0 = snmpTraps.3
ifIndex.4 = 4
ifDescr.4 = GigabitEthernet0/3
ifType.4 = 6
lifEntry.20.4 = administratively down
*Aug 16 23:27:24.046: SNMP: Packet sent via UDP to 192.168.1.6.162