28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Discussion</strong><br />

In the Juniper Networks chassis MIB, router family information is in the jnxBoxAnatomy<br />

object and FRU information is in the jnxContentsTable object. On the router, you<br />

use the show snmp mib commands to collect data from these objects.<br />

The three variations, show snmp mib get, show snmp mib get-next, and show snmp mib<br />

walk, are identical to the snmpget, snmpgetnext, and snmpwalk commands, respectively.<br />

For the NMS system to extract this data, it needs to access the Juniper Networks<br />

chassis MIBto parse the MIBobjects in the jnxBoxAnatomy and jnxContentsTable<br />

objects.<br />

You can collect a range of information for each FRU. Here, we show data about the<br />

Routing Engine in slot 0:<br />

aviva@router1> show snmp mib get jnxContentsType.9.1.0.0<br />

jnxContentsType.9.1.0.0 = jnxM20RE.0<br />

aviva@router1> show snmp mib get jnxContentsDescr.9.1.0.0<br />

jnxContentsDescr.9.1.0.0 = Routing Engine 0<br />

aviva@router1> show snmp mib get jnxContentsSerialNo.9.1.0.0<br />

jnxContentsSerialNo.9.1.0.0 = 58000007348d9a01<br />

aviva@router1> show snmp mib get jnxContentsRevision.9.1.0.0<br />

jnxContentsRevision.9.1.0.0 = REV 06<br />

If you are gathering hardware inventory information on the router, you use the show<br />

chassis hardware command (see Recipe 1.26):<br />

aviva@router1> show chassis hardware<br />

Hardware inventory:<br />

Item Version Part number Serial number Description<br />

Chassis 25708 M20<br />

Backplane REV 03 710-002334 BB9738 M20 Backplane<br />

Power Supply A REV 06 740-001465 005234 AC Power Supply<br />

Display REV 04 710-001519 BA4681 M20 FPM Board<br />

Routing Engine 0 REV 06 740-003239 1000224893 RE-2.0<br />

Routing Engine 1 REV 06 740-003239 9000022146 RE-2.0<br />

SSB slot 0 REV 02 710-001951 AZ8112 Internet Processor IIv1<br />

SSB slot 1 N/A N/A N/A Backup<br />

FPC 0 REV 03 710-003308 BD8455 E-FPC<br />

PIC 0 REV 08 750-002303 AZ5310 4x F/E, 100 BASE-TX<br />

PIC 1 REV 07 750-004745 BC9368 2x CT3-NxDS0<br />

PIC 2 REV 03 750-002965 HC9279 4x CT3<br />

FPC 1 REV 03 710-003308 BB9032 E-FPC<br />

PIC 0 REV 03 750-002914 BC0131 2x OC-3 ATM, MM<br />

144 | Chapter 4: SNMP<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!