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?

9 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