Finding out what WICs are in a router via telnet...

Discussion in 'Cisco' started by Jonathan, Jul 4, 2004.

  1. Jonathan

    Jonathan Guest

    Curious, what show command will tell you what WIC cards are in a router?

    (I got a new job, and it involves extensive remote troubleshooting... much
    of the time, I have to order replacements from Cisco, when the customer
    doesn't have the slightest clue...)

    Show version will tell you that there is a serial interface, but not which
    one... I need to find exact model numbers.... (e.g. WIC-1DSU-1T, or WIC-1T,
    etc...)



    Jonathan
     
    Jonathan, Jul 4, 2004
    #1
    1. Advertisements

  2. Does "show controllers" show the information you want?
     
    Barry Margolin, Jul 4, 2004
    #2
    1. Advertisements

  3. Jonathan

    chris Guest


    Or try "show tech" or "show hardware", depending on the IOS.

    -Chris
     
    chris, Jul 4, 2004
    #3
  4. Show diag is good for the modular routers. If you get a copy of that
    from the devices when you can get to them, then even if some box on the
    other side of the country is dead in the water, at least you, and
    Cisco, will know what it is and what's in it.

    At the bleeding edge of IOS is "show inventory";
    http://www.cisco.com/en/US/products...erence_chapter09186a00801a808a.html#wp1068299
     
    Martin Gallagher, Jul 4, 2004
    #4
  5. Jonathan

    Jonathan Guest

     
    Jonathan, Jul 4, 2004
    #5
  6. Jonathan

    AnyBody43 Guest

    This is kind of long and rambling, hopefully it will provide
    some clues:)

    You can definately do this with SNMP. I am out of date however RME
    (Resource Manager Essentials) used to do a good inventory via snmp.

    Once you figure out the OIDs it should be quite easy, even without
    RME.

    What you could do is to snmpwalk the whole mib and search
    for interesting text in the output. e.g. WIC-1T.
    Be aware that walking the whole mib tree could have a significant
    impact on the behaviour of the box. Don't do it on a production box
    unless it's out of hours.


    snmpwalk -c community 192.168.20.248 .1.3.6.1.4.1.9 > 4507r-walk.txt

    If you don't have snmp walk, download ucd-snmp-4.2.3-win32.zip.

    C:\>grep -i "ws-x" 4507r-walk.txt
    enterprises.9.9.92.1.1.1.3.12 = "WS-X4597"
    enterprises.9.9.92.1.1.1.3.20 = "WS-X4K-CLOCK"
    enterprises.9.9.92.1.1.1.3.21 = "WS-X4K-MUX"
    enterprises.9.9.92.1.1.1.3.22 = "WS-X4K-MUX"
    enterprises.9.9.92.1.1.1.3.23 = "WS-X4K-MUX"
    enterprises.9.9.92.1.1.1.3.24 = "WS-X4K-MUX"
    enterprises.9.9.92.1.1.1.3.25 = "WS-X4K-MUX"
    enterprises.9.9.92.1.1.1.3.1000 = "WS-X4515"
    enterprises.9.9.92.1.1.1.3.2000 = "WS-X4515"
    enterprises.9.9.92.1.1.1.3.3000 = "WS-X4424-GB-RJ45"
    enterprises.9.9.92.1.1.1.3.5000 = "WS-X4148-RJ"
    enterprises.9.9.92.1.1.1.3.6000 = "WS-X4148-RJ"


    My mibs are not properly installed and so I just get the numbers.

    ..iso.org.dod.internet.private.enterprises.cisco
    is
    ..1.3.6.1.4.1.9

    ###
    ..1.3.6.1.4.1.9.9.92.1.1.1.3
    ..iso.org.dod.internet.private.enterprises.9.9.92.1.1.1.3

    is

    ..iso.org.dod.internet.private.enterprises.cisco.ciscoMgmt
    .ciscoEntityAssetMIB.ciscoEntityAssetMIBObjects.ceAssetTable
    .ceAssetEntry.ceAssetOrderablePartNumber

    Which would appear to be JUST what you want.

    Also:-
    ..1.3.6.1.4.1.9.3.6.13.1.2
    ..iso.org.dod.internet.private.enterprises.cisco
    .temporary.chassis.cardTable
    does not work on 4507R

    ..iso.org.dod.internet.private.enterprises.cisco.temporary
    .chassis.processorRam
    does work on 4507R

    chassisNumSlots .1.3.6.1.4.1.9.5.1.2.14.0 CISCO-STACK-MIB
    does not work on 4507R

    These OLDER OIDs may work on some platforms. It seems that
    you need to have the mibs installed to allow some of the returned
    values to be translated into text.

    ..iso.org.dod.internet.private.enterprises.cisco
    .temporary.chassis.chassisType
    ..1.3.6.1.4.1.9.3.6.1

    Returns 119 which seems to get mapped locally to "ws-c3524-xl"


    God knows which platforms support what.


    GOOD LUCK.
     
    AnyBody43, Jul 5, 2004
    #6
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.