Tuesday, April 16, 2019

IOS/ IOS-XE 路由器 SNMP相关OID

QoS 部分

 Service-policy output: BRANCH_4M_QOS

    Class-map: class-default (match-any) 
      446269 packets, 50984442 bytes
      5 minute offered rate 676000 bps, drop rate 0000 bps
      Match: any
      Queueing
      queue limit 64 packets
      (queue depth/total drops/no-buffer drops) 0/0/0
      (pkts output/bytes output) 445685/50806715
      shape (average) cir 4096000, bc 127488, be 127488
      target shape rate 4096000
      police:
         cir 4096000 bps, bc 4096000 bytes
        conformed 446269 packets, 50984442 bytes; actions:
          transmit
        exceeded 0 packets, 0 bytes; actions:
          drop

        conformed 676000 bps, exceeded 0000 bps

OID: 1.3.6.1.4.1.9.9.166.1.15.1.1.11 

Class-map: class-default (match-any) 
      446269 packets, 50984442 bytes
      5 minute offered rate 676000 bps, drop rate 0000 bps
      Match: any
      Queueing
      queue limit 64 packets
      (queue depth/total drops/no-buffer drops) 0/0/0
      (pkts output/bytes output) 445685/50806715
      shape (average) cir 4096000, bc 127488, be 127488
      target shape rate 4096000
      police:
         cir 4096000 bps, bc 4096000 bytes
        conformed 446269 packets, 50984442 bytes; actions:
          transmit
        exceeded 0 packets, 0 bytes; actions:
          drop

        conformed 676000 bps, exceeded 0000 bps

OID : 1.3.6.1.4.1.9.9.166.1.15.1.1.18


Class-map: class-default (match-any) 
      446269 packets, 50984442 bytes
      5 minute offered rate 676000 bps, drop rate 0000 bps
      Match: any
      Queueing
      queue limit 64 packets
      (queue depth/total drops/no-buffer drops) 0/0/0
      (pkts output/bytes output) 445685/50806715
      shape (average) cir 4096000, bc 127488, be 127488
      target shape rate 4096000
      police:
         cir 4096000 bps, bc 4096000 bytes
        conformed 446269 packets, 50984442 bytes; actions:
          transmit
        exceeded 0 packets, 0 bytes; actions:
          drop

        conformed 676000 bps, exceeded 0000 bps

OID : 1.3.6.1.4.1.9.9.166.1.15.1.1.14

接口部分

GigabitEthernet0/0/0 is up, line protocol is up 
  Hardware is ISR4331-3x1GE, address is 00bf.77c7.5690 (bia 00bf.77c7.5690)
  Description: --To SW2 G3/9--
  MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, 
     reliability 255/255, txload 2/255, rxload 2/255
  Encapsulation 802.1Q Virtual LAN, Vlan ID  1., loopback not set
  Keepalive not supported 
  Full Duplex, 1000Mbps, link type is auto, media type is RJ45
  output flow-control is off, input flow-control is off
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:00, output 00:00:09, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 11663378
  Queueing strategy: Class-based queueing
  Output queue: 0/40 (size/max)
  30 second input rate 9675000 bits/sec, 2017 packets/sec
  30 second output rate 7998000 bits/sec, 1591 packets/sec
     55706205 packets input, 33350296693 bytes, 0 no buffer
     Received 153 broadcasts (0 IP multicasts)
     0 runts, 0 giants, 0 throttles 
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 133490 multicast, 0 pause input
     43951129 packets output, 27595615755 bytes, 0 underruns
     0 output errors, 0 collisions, 2 interface resets
     0 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     2 lost carrier, 0 no carrier, 0 pause output

     0 output buffer failures, 0 output buffers swapped out

OID:1.3.6.1.4.1.9.2.2.1.1.8



GigabitEthernet0/0/0 is up, line protocol is up 
  Hardware is ISR4331-3x1GE, address is 00bf.77c7.5690 (bia 00bf.77c7.5690)
  Description: --To SW2 G3/9--
  MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, 
     reliability 255/255, txload 2/255, rxload 2/255
  Encapsulation 802.1Q Virtual LAN, Vlan ID  1., loopback not set
  Keepalive not supported 
  Full Duplex, 1000Mbps, link type is auto, media type is RJ45
  output flow-control is off, input flow-control is off
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:00, output 00:00:09, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 11663378
  Queueing strategy: Class-based queueing
  Output queue: 0/40 (size/max)
  30 second input rate 9675000 bits/sec, 2017 packets/sec
  30 second output rate 7998000 bits/sec, 1591 packets/sec
     55706205 packets input, 33350296693 bytes, 0 no buffer
     Received 153 broadcasts (0 IP multicasts)
     0 runts, 0 giants, 0 throttles 
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 133490 multicast, 0 pause input
     43951129 packets output, 27595615755 bytes, 0 underruns
     0 output errors, 0 collisions, 2 interface resets
     0 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     2 lost carrier, 0 no carrier, 0 pause output
     0 output buffer failures, 0 output buffers swapped out

OID : 1.3.6.1.4.1.9.2.2.1.1.6




Here is the ISR4451 OID for CPU,Memory,FAN,temperature,power asked by the Engineer Chen.

FAN,POWER,TEMPERATURE
sensor data type
1.3.6.1.4.1.9.9.91.1.1.1.1.1

senor name
1.3.6.1.2.1.47.1.1.1.1.2

value
1.3.6.1.4.1.9.9.91.1.1.1.1.4

status:
1.3.6.1.4.1.9.9.91.1.1.1.1.5


CPU:
CPU usage:
>> cpmCPUTotal5sec
>> 1.3.6.1.4.1.9.9.109.1.1.1.1.3
>> cpmCPUTotal1min
>> 1.3.6.1.4.1.9.9.109.1.1.1.1.4
>> cpmCPUTotal5min
>> 1.3.6.1.4.1.9.9.109.1.1.1.1.5

Memory:
Steven$ snmpwalk -v 2c -c cisco 10.124.36.43 1.3.6.1.4.1.9.9.48.1.1.1
SNMPv2-SMI::enterprises.9.9.48.1.1.1.2.1 = STRING: "Processor"
SNMPv2-SMI::enterprises.9.9.48.1.1.1.3.1 = INTEGER: 0
SNMPv2-SMI::enterprises.9.9.48.1.1.1.4.1 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.48.1.1.1.5.1 = Gauge32: 361894208     Used
SNMPv2-SMI::enterprises.9.9.48.1.1.1.6.1 = Gauge32: 1326466576   Free
SNMPv2-SMI::enterprises.9.9.48.1.1.1.7.1 = Gauge32: 1048575908   LargestFree















No comments:

Post a Comment