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.

aviva@router1> show snmp mib get "jnxBoxClass.0 jnxBoxClass.0"<br />

jnxBoxClass.0 = jnxProductLineM20.0<br />

jnxBoxClass.0 = jnxProductLineM20.0<br />

To get information about all the router components:<br />

aviva@router1> show snmp mib walk jnxBoxAnatomy<br />

jnxBoxClass.0 = jnxProductLineM20.0<br />

jnxBoxDescr.0 = Juniper m20 Internet Backbone Router<br />

jnxBoxSerialNo.0 = 25708<br />

...<br />

jnxContainersType.1 = jnxChassisM20.0<br />

jnxContainersType.2 = jnxM20SlotPower.0<br />

jnxContainersType.4 = jnxM20SlotFan.0<br />

jnxContainersType.6 = jnxM20SlotSSB.0<br />

jnxContainersType.7 = jnxM20SlotFPC.0<br />

jnxContainersType.8 = jnxM20MediaCardSpacePIC.0<br />

jnxContainersType.9 = jnxM20SlotRE.0<br />

jnxContainersType.10 = jnxM20SlotFrontPanel.0<br />

jnxContainersDescr.1 = chassis frame<br />

jnxContainersDescr.2 = Power Supply slot<br />

jnxContainersDescr.4 = Fan slot<br />

jnxContainersDescr.6 = SSB slot<br />

jnxContainersDescr.7 = FPC slot<br />

jnxContainersDescr.8 = PIC slot<br />

jnxContainersDescr.9 = Routing Engine slot<br />

jnxContainersDescr.10 = Front Panel Display slot<br />

...<br />

To get information about the FRUs, walk through the jnxContentsTable object:<br />

aviva@router1> show snmp mib walk jnxContentsTable<br />

...<br />

jnxContentsType.1.1.0.0 = jnxBackplaneM20.0<br />

jnxContentsType.2.1.0.0 = jnxM20Power.0<br />

jnxContentsType.4.1.0.0 = jnxM20Fan.0<br />

jnxContentsType.4.2.0.0 = jnxM20Fan.0<br />

jnxContentsType.4.3.0.0 = jnxM20Fan.0<br />

jnxContentsType.4.4.0.0 = jnxM20Fan.0<br />

jnxContentsType.6.1.0.0 = jnxM20SSB.0<br />

jnxContentsType.6.2.0.0 = jnxM20SSB.0<br />

jnxContentsType.7.1.0.0 = jnxM20FPC.0<br />

jnxContentsType.7.2.0.0 = jnxM20FPC.0<br />

jnxContentsType.8.1.1.0 = jnxM20QuadEther.0<br />

jnxContentsType.8.1.2.0 = jnxM20DualChDs3toDs0.0<br />

jnxContentsType.8.1.3.0 = jnxM20QuadChT3.0<br />

jnxContentsType.8.2.1.0 = jnxM20DualAtmOc3.0<br />

jnxContentsType.9.1.0.0 = jnxM20RE.0<br />

jnxContentsType.9.1.1.0 = jnxPCMCIACard.0<br />

jnxContentsType.9.2.0.0 = jnxM20RE.0<br />

jnxContentsType.9.2.1.0 = jnxPCMCIACard.0<br />

jnxContentsType.10.1.0.0 = jnxM20FrontPanel.0<br />

Extracting Hardware Inventory Information with SNMP | 143<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!