Sie sind auf Seite 1von 5

Juniper EX Items

x for the 'if' objects represents the #Interface Index.


Item

OID
.1.3.6.1.2.1.31.1.1.1.18.x

Description
ifAlias
Interface description
Interface description
ifDescr
.1.3.6.1.2.1.2.2.1.2.x
for port number x
Inbound interface
ifInDiscards x
.1.3.6.1.2.1.2.2.1.13.x
discards
Inbound packets
ifInErrors x
.1.3.6.1.2.1.2.2.1.14.x
containing errors
Total number of
ifInOctets x
.1.3.6.1.2.1.2.2.1.10.x
octets on the
interface
Name of the
ifName x
.1.3.6.1.2.1.2.2.1.2.x
interface such as
'ge-0/0/0'
ifOperStatus x
.1.3.6.1.2.1.2.2.1.8.x
See below
Outbound interface
ifOutDiscards x
.1.3.6.1.2.1.2.2.1.19.x
discards
Outbound packets
ifOutErrors x
.1.3.6.1.2.1.2.2.1.20.x
containing errors
Total number of
ifOutOctets x
.1.3.6.1.2.1.2.2.1.16.x
outbound octets on
an interface
Routing engine
jnxOperatingBuffer .1.3.6.1.4.1.2636.3.1.13.1.11.x.x.x.x
memory usage
Routing engine CPU
jnxOperatingCPU .1.3.6.1.4.1.2636.3.1.13.1.8.x.x.x.x
usage
Fans, see
jnxOperatingState .1.3.6.1.4.1.2636.3.1.13.1.6.4
#jnxOperatingState
FPC, see
jnxOperatingState .1.3.6.1.4.1.2636.3.1.13.1.6.7
#jnxOperatingState
PIC, see
jnxOperatingState .1.3.6.1.4.1.2636.3.1.13.1.6.8
#jnxOperatingState
PSU, see
jnxOperatingState .1.3.6.1.4.1.2636.3.1.13.1.6.2
#jnxOperatingState

Routing Engine, see


#jnxOperatingState
Routing engine
jnxOperatingTemp .1.3.6.1.4.1.2636.3.1.13.1.7.x.x.x.x temperature in
Celsius
System model and
sysDescr
.1.3.6.1.2.1.1.1.0
serial number
sysName
.1.3.6.1.2.1.1.1.5.0
System hostname
sysLocation
.1.3.6.1.2.1.1.6.0
System location
sysUpTimeInstance .1.3.6.1.2.1.1.3.0
System uptime
jnxOperatingState

Th
e
lin

.1.3.6.1.4.1.2636.3.1.13.1.6.9

x.x.x.x
You will need to run something like show snmp mib walk
jnxOperatingDescr from the switch or query .1.3.6.1.4.1.2636.3.1.13.1.5 to
determine the RE OID value. Append the last 4 numbers from the RE OID
to your query to get the appropriate value

Th
e
lin

VC Temperature
In a Virtual Chassis environment the OID .1.3.6.1.4.1.2636.3.1.13.1.7.9 will
give you the RE temperature for each VC member. The OID
.1.3.6.1.4.1.2636.3.1.13.1.7.9.1.0.0 will give you the RE temperature for
the master switch in the VC

jnxOperatingState

The base OID will require two additional items at the end of the OID.
The first number is the node number - 0 for the first node, 1 for the
second node, etc
The next number is the PSU number
o 1 is the primary PSU
o 2 is the secondary PSU
For example:
root@switch-station71> show
jnxOperatingDescr.1.1.0.0
jnxOperatingDescr.2.1.1.0 =
jnxOperatingDescr.4.1.1.1 =
jnxOperatingDescr.4.1.1.2 =
jnxOperatingDescr.7.1.0.0 =
jnxOperatingDescr.8.1.1.0 =
jnxOperatingDescr.8.1.2.0 =

snmp mib walk jnxOperatingDescr


Power Supply 0
Fan 1
Fan 2
FPC: EX2200-24P-4G, POE @ 0/*/*
PIC: 24x 10/100/1000 Base-T @ 0/0/*
PIC: 4x GE SFP @ 0/1/*

jnxOperatingDescr.9.1.0.0 = Routing Engine 0


root@switch-station71> show
jnxOperatingState.1.1.0.0 =
jnxOperatingState.2.1.1.0 =
jnxOperatingState.4.1.1.1 =
jnxOperatingState.4.1.1.2 =
jnxOperatingState.7.1.0.0 =
jnxOperatingState.8.1.1.0 =
jnxOperatingState.8.1.2.0 =
jnxOperatingState.9.1.0.0 =

snmp mib walk jnxOperatingState


2
2
2
2
2
2
2
2

This complete OID will return a value:


Value
Meaning
1
Unknown
2
Up and running
3
Ready to run, not running yet
4
Held in reset, not running yet
5
Running at full speed (for fans only)
6
Down or off
7
Running as a standby

EX Interface Index

For a 24 port switch where odd index values are the physical interface and
even interface values are the logical interface.
Index
Item
501 ge-0/0/0
502 ge-0/0/0.0
503 ge-0/0/1
504 ge-0/0/1.0
505 ge-0/0/10
506 ge-0/0/10.0
507 ge-0/0/11
508 ge-0/0/11.0
509 ge-0/0/12
510 ge-0/0/12.0
511 ge-0/0/13

512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549

ge-0/0/13.0
ge-0/0/14
ge-0/0/14.0
ge-0/0/15
ge-0/0/15.0
ge-0/0/16
ge-0/0/16.0
ge-0/0/17
ge-0/0/17.0
ge-0/0/18
ge-0/0/18.0
ge-0/0/19
ge-0/0/19.0
ge-0/0/2
ge-0/0/2.0
ge-0/0/20
ge-0/0/20.0
ge-0/0/21
ge-0/0/21.0
ge-0/0/22
ge-0/0/22.0
ge-0/0/23
ge-0/0/23.0
ge-0/0/3
ge-0/0/3.0
ge-0/0/4
ge-0/0/4.0
ge-0/0/5
ge-0/0/5.0
ge-0/0/6
ge-0/0/6.0
ge-0/0/7
ge-0/0/7.0
ge-0/0/8
ge-0/0/8.0
ge-0/9/9
ge-0/0/9.0
ge-0/1/0

550
551
552
553
554
555
556

ge-0/1/0.0
ge-0/1/1
ge-0/1/1.0
ge-0/1/2
ge-0/1/2.0
ge-0/1/3
ge-0/1/3.0

You should not be a slave to this chart.


For example, switch-<blah> is an EX2200-24P-4G running Junos 11.3R2.4:
Logical interface ge-0/1/3.0 (Index 94) (SNMP ifIndex 560)
Flags: SNMP-Traps 0x40004000 Encapsulation: ENET2
Input packets : 10266
Output packets: 901
Protocol eth-switch
Flags: Trunk-Mode

Our chart says that this interface should be 555 but it is 560 on the actual
switch.

Das könnte Ihnen auch gefallen