はじめに
ASR9000シリーズで動作するIOS-XRソフトウェアは、32-bitアーキテクチャのClassic IOS XR(cXR) と 64-bitアーキテクチャのEvolved XR (eXR)の2種類のイメージが提供されています。
※画像は、2018年1月に実施した「IOS-XR 64-bit (eXR) の概要と基本アーキテクチャ紹介」の資料から抜粋

cXRとeXRでは、コマンドや内部動作などに変更が加えられています。
ASR9000シリーズにおいて、IOS-XRバージョン6.x.xではcXRとeXRが混在しており、IOS-XRバージョン7.x.xではeXRのみ提供されています。
本ドキュメントでは、IOS-XRで動作する製品が、cXRとeXRのどちらで動作中かを識別する方法を説明させていただきます。
最も簡単な判別方法は、『show version』コマンドの実行結果を確認することです。
ASR9000シリーズ『show version』コマンドののcXRとeXRの出力結果は、以下のようになります。
cXRの場合
RP/0/RSP0/CPU0:cXR-ASR9k#show version
Thu Nov 30 13:06:05.647 JST
Cisco IOS XR Software, Version 6.5.3[Default]
Copyright (c) 2019 by Cisco Systems, Inc.
ROM: System Bootstrap, Version 0.76(c) 1994-2012 by Cisco Systems, Inc.
ASR9006g uptime is 6 weeks, 1 day, 2 hours, 57 minutes
System image file is "disk0:asr9k-os-mbi-6.5.3/0x100305/mbiasr9k-rsp3.vm"
cisco ASR9K Series (Intel 686 F6M14S4) processor with 12582912K bytes of memory.
Intel 686 F6M14S4 processor at 2130MHz, Revision 2.174
ASR 9006 4 Line Card Slot Chassis with V2 AC PEM
1 FastEthernet
4 Management Ethernet
24 TenGigE
24 DWDM controller(s)
24 WANPHY controller(s)
503k bytes of non-volatile configuration memory.
6143M bytes of hard disk.
11817968k bytes of disk0: (Sector size 512 bytes).
11817968k bytes of disk1: (Sector size 512 bytes).
Configuration register on node 0/RSP0/CPU0 is 0x102
Boot device on node 0/RSP0/CPU0 is disk0:
Package active on node 0/RSP0/CPU0:
asr9k-9000v-nV-supp, V 6.5.3[Default], Cisco Systems, at disk0:asr9k-9000v-nV-supp-6.5.3
Built on Tue Mar 26 23:36:51 JST 2019
By iox-ucs-017 in /auto/srcarchive13/prod/6.5.3/asr9k-px/ws for pie
asr9k-9000v-nV-px, V 6.5.3[Default], Cisco Systems, at disk0:asr9k-9000v-nV-px-6.5.3
Built on Tue Mar 26 23:37:05 JST 2019
By iox-ucs-017 in /auto/srcarchive13/prod/6.5.3/asr9k-px/ws for pie
asr9K-doc-supp, V 6.5.3[Default], Cisco Systems, at disk0:asr9K-doc-supp-6.5.3
Built on Tue Mar 26 23:35:27 JST 2019
By iox-ucs-017 in /auto/srcarchive13/prod/6.5.3/asr9k-px/ws for pie
(ログ出力が続きます...)
また、cXRの場合『show version』コマンドの実行結果が非常に長いため、『brief』オプションが実装されています。
RP/0/RSP0/CPU0:cXR-ASR9k#show version brief
Thu Nov 30 13:09:56.950 JST
Cisco IOS XR Software, Version 6.5.3[Default]
Copyright (c) 2019 by Cisco Systems, Inc.
ROM: System Bootstrap, Version 0.76(c) 1994-2012 by Cisco Systems, Inc.
ASR9006g uptime is 6 weeks, 1 day, 3 hours, 1 minute
System image file is "disk0:asr9k-os-mbi-6.5.3/0x100305/mbiasr9k-rsp3.vm"
cisco ASR9K Series (Intel 686 F6M14S4) processor with 12582912K bytes of memory.
Intel 686 F6M14S4 processor at 2130MHz, Revision 2.174
ASR 9006 4 Line Card Slot Chassis with V2 AC PEM
1 FastEthernet
4 Management Ethernet
24 TenGigE
24 DWDM controller(s)
24 WANPHY controller(s)
503k bytes of non-volatile configuration memory.
6143M bytes of hard disk.
11817968k bytes of disk0: (Sector size 512 bytes).
11817968k bytes of disk1: (Sector size 512 bytes).
RP/0/RSP0/CPU0:cXR-ASR9k#
eXRの場合
RP/0/RSP0/CPU0:eXR-ASR9k#show version
Thu Nov 30 13:14:57.475 JST
Cisco IOS XR Software, Version 6.2.3
Copyright (c) 2013-2017 by Cisco Systems, Inc.
Build Information:
Built By : ahoang
Built On : Thu Dec 21 21:28:45 PST 2017
Build Host : iox-lnx-063
Workspace : /auto/srcarchive11/production/6.2.3/asr9k-x64/workspace
Version : 6.2.3
Location : /opt/cisco/XR/packages/
cisco ASR9K () processor
System uptime is 17 weeks, 6 days, 19 hours, 7 minutes
RP/0/RSP0/CPU0:eXR-ASR9k#show version
eXRの場合『show version』コマンドの『brief』オプションは実装されていません。
cXRの場合と比較して、eXRの表示結果はより簡潔になっています。
上記の例のように、『show version』コマンドの表示結果によってASR9000シリーズで使用されているIOS-XRが、cXRとeXRのどちらで動作しているか判別していただければと思います。