Thursday, 25 September 2014

How to Get the Chassis Serial Number in IOS-XR

This caught me out the other day and I had to find the answer deep within a Cisco document. To hopefully save someone else having to wade through all that, the commands to find out chassis serial numbers on the ASR9k are as follows:

RP/0/RSP0/CPU0:nodename#admin
Thu Sep 25 14:15:16.645 BST
RP/0/RSP0/CPU0:nodename(admin)#show dsc
Thu Sep 25 14:15:27.080 BST
---------------------------------------------------------
           Node  (     Seq)     Role       Serial State
---------------------------------------------------------
    0/RSP0/CPU0  (       0)   ACTIVE  ABC2345X678 PRIMARY-DSC
RP/0/RSP0/CPU0:nodename(admin)#


Err.... simple?

13 comments:

  1. This is the serial number of the RSP and not the chassis !!

    ReplyDelete
    Replies
    1. No it's not. Verified using "show inventory" and additionally I have two RSPs in Chassis and using this command Serial number is the same on both lines..

      Delete
    2. The correct commands for this is:
      ASR9K#admin
      ASR9K(admin)#show inventory chassis

      Delete
  2. from admin
    show diag chassis
    http://www.cisco.com/c/en/us/td/docs/routers/crs/software/crs_r4-3/system_management/configuration/guide/b_sysman_cg43crs/b_sysman_cg43crs_chapter_0101.html#con_57192

    ReplyDelete
  3. You saved my day with this simple command! Thanks, Martin

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. RP/0/RSP0/CPU0:nodename#show inventory rack
    Wed Jun 7 15:19:00.305 WITA
    Rack Chassis PID S/N
    ---- ------------ ----------
    0 ASR-9010-DC-V2 ABC1234D5EF
    RP/0/RSP0/CPU0:nodename#

    ReplyDelete
  7. RP/0/RSP0/CPU0:nodename(admin)#show dsc
    will tell you the chassis serial number.
    If you have two RSPs you see two same serial numbers , the chassis serial number.

    ReplyDelete
  8. Somewhere the content of the blog surrounded by little arguments. Yes it is healthy for readers. They can include this kind of language in their writing skill as well as while group discussion in college.Cisco SG300

    ReplyDelete
  9. Summing it all up:

    show inventory rack
    admin show diag chassis
    admin show dsc

    All three commands provide the chassis serial number


    RP/0/RSP0/CPU0:nodename#show inventory rack
    Tue Dec 12 05:47:19.402 UTC
    Rack Chassis PID S/N
    ---- ------------ ----------
    0 ASR-9010-DC-V2 FOXabcdefgV


    RP/0/RSP0/CPU0:nodename#admin show diag chassis
    Tue Dec 12 05:46:39.648 UTC

    Rack 0 - ASR 9010 DC Chassis with PEM Version 2
    RACK NUM: 0
    S/N: FOXabcdefgV
    PID: ASR-9010-DC-V2
    VID: V01
    Desc: ASR 9010 DC Chassis with PEM Version 2
    CLEI: IPMUT00BRA
    Top Assy. Number: 68-4237-01


    RP/0/RSP0/CPU0:nodename#admin show dsc
    Tue Dec 12 05:45:33.009 UTC
    ---------------------------------------------------------
    Node ( Seq) Role Serial State
    ---------------------------------------------------------
    0/RSP0/CPU0 ( 0) ACTIVE FOXabcdefgV PRIMARY-DSC
    0/RSP1/CPU0 (359569832) STANDBY FOXabcdefgV BACKUP-DSC

    ReplyDelete
  10. Really good information to show through this blog. I really appreciate you for all the valuable information that you are providing us through your blog. ios app development online training Bangalore

    ReplyDelete