こんにちは。ccieojisan です。
VIRL の購入を考えている人には、実際にインストールしたら仮想ルータ(IOSv, IOS-XRv, NX-OSv等)のバージョンが気になる人もいると思います。今回はバージョン情報と show platform/show module などでどう見えるかというのを紹介したいと思います。
本情報は virl.0.9.17 でログを取得したものです。バージョンにより仮想ルータのバージョンも異なる可能性があります。
IOSv
Cisco ISR 29xx/39xx などに対応する IOS ルータの仮想ルータです。
Router#show ver Cisco IOS Software, IOSv Software (VIOS-ADVENTERPRISEK9-M), Experimental Version 15.4(20141119:013030) [jsfeng-V154_3_M 107] Copyright (c) 1986-2014 by Cisco Systems, Inc. Compiled Tue 18-Nov-14 20:30 by jsfeng ROM: Bootstrap program is IOSv Router uptime is 1 minute System returned to ROM by reload System image file is "flash0:/vios-adventerprisek9-m" Last reload reason: Unknown reason This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately. A summary of U.S. laws governing Cisco cryptographic products may be found at: http://www.cisco.com/wwl/export/crypto/tool/stqrg.html If you require further assistance please contact us by sending email to export@cisco.com. Cisco IOSv (revision 1.0) with with 472441K/50176K bytes of memory. Processor board ID 9K0KGSAFOP8JW5T5WRTHU 3 Gigabit Ethernet interfaces DRAM configuration is 72 bits wide with parity disabled. 256K bytes of non-volatile configuration memory. 2097152K bytes of ATA System CompactFlash 0 (Read/Write) 0K bytes of ATA CompactFlash 1 (Read/Write) 0K bytes of ATA CompactFlash 2 (Read/Write) 1008K bytes of ATA CompactFlash 3 (Read/Write) Configuration register is 0x0
機種は IOSv と表示され、バージョンは 15.4(3)M です。”Experimental Version” と書いてあるので、正式リリースの 15.4(3)M とは若干異なる可能性があります。Cisco.comで確認したところ、現在(2015/4/15)では 15.4(3)M2 が最新バージョンのようなので比較的新しいバージョンを使えるということになります。
CSR1000v
Cisco ASR1000 シリーズの IOS-XE の仮想ルータです。
Router#sh ver
Cisco IOS XE Software, Version 03.14.00.S - Standard Support Release
Cisco IOS Software, CSR1000V Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.5(1)S, RELEASE SOFTWAR E (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2014 by Cisco Systems, Inc.
Compiled Thu 20-Nov-14 17:11 by mcpre
Cisco IOS-XE software, Copyright (c) 2005-2014 by cisco Systems, Inc.
All rights reserved. Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0. The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0. For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.
ROM: IOS-XE ROMMON
Router uptime is 2 minutes
Uptime for this control processor is 8 minutes
System returned to ROM by reload
System image file is "bootflash:packages.conf"
Last reload reason: <NULL>
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
License Level: ax
License Type: Default. No valid license found.
Next reload license Level: ax
cisco CSR1000V (VXE) processor (revision VXE) with 1185828K/6147K bytes of memory.
Processor board ID 9MUZO8CGBVS
4 Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
3022436K bytes of physical memory.
7774207K bytes of virtual hard disk at bootflash:.
Configuration register is 0x2102
CSR1000v では、皆さんご存知の通り同じ名前の仮想ルータの製品があります。そのため、それと同じものに近いものが入っているのでしょうか。機種名としては CSR1000V と表示されており、バージョンも “Cisco IOS XE Software, Version 03.14.00.S – Standard Support Release” と表示されています。
バージョンは IOS-XE 15.5(1)S ですね。えっ。。。Cisco.com上では 15.4(3)S1 が最新のようですが、、VIRL ではより最新版が使えてしまうようです。笑
Router#show platform Chassis type: CSR1000V Slot Type State Insert time (ago) --------- ------------------- --------------------- ----------------- R0 CSR1000V ok, active 00:20:45 F0 CSR1000V ok, active 00:20:45
show platform では R0/F0 のみ表示されました。
IOS-XRv
CSR-1/3 や ASR9000 シリーズに対応する IOS-XR の仮想ルータです。
RP/0/0/CPU0:ios#show ver
Wed Apr 15 10:45:48.424 UTC
Cisco IOS XR Software, Version 5.3.0[Default]
Copyright (c) 2015 by Cisco Systems, Inc.
ROM: GRUB, Version 1.99(0), DEV RELEASE
ios uptime is 25 minutes
System image file is "bootflash:disk0/xrvr-os-mbi-5.3.0/mbixrvr-rp.vm"
cisco IOS XRv Series (Pentium Celeron Stepping 3) processor with 3169911K bytes of memory.
Pentium Celeron Stepping 3 processor at 2560MHz, Revision 2.174
IOS XRv Chassis
3 GigabitEthernet
1 Management Ethernet
97070k bytes of non-volatile configuration memory.
866M bytes of hard disk.
2321392k bytes of disk0: (Sector size 512 bytes).
Configuration register on node 0/0/CPU0 is 0x2102
Boot device on node 0/0/CPU0 is disk0:
Package active on node 0/0/CPU0:
iosxr-infra, V 5.3.0[Default], Cisco Systems, at disk0:iosxr-infra-5.3.0
Built on Sun Jan 18 17:35:11 UTC 2015
By iox-lnx-003 in /auto/srcarchive11/production/5.3.0/all/workspace for pie
iosxr-fwding, V 5.3.0[Default], Cisco Systems, at disk0:iosxr-fwding-5.3.0
Built on Sun Jan 18 17:35:11 UTC 2015
By iox-lnx-003 in /auto/srcarchive11/production/5.3.0/all/workspace for pie
iosxr-routing, V 5.3.0[Default], Cisco Systems, at disk0:iosxr-routing-5.3.0
Built on Sun Jan 18 17:35:11 UTC 2015
By iox-lnx-003 in /auto/srcarchive11/production/5.3.0/all/workspace for pie
iosxr-ce, V 5.3.0[Default], Cisco Systems, at disk0:iosxr-ce-5.3.0
Built on Sun Jan 18 17:35:11 UTC 2015
By iox-lnx-003 in /auto/srcarchive11/production/5.3.0/all/workspace for pie
xrvr-os-mbi, V 5.3.0[Default], Cisco Systems, at disk0:xrvr-os-mbi-5.3.0
Built on Sun Jan 18 17:36:08 UTC 2015
By iox-lnx-003 in /auto/srcarchive11/production/5.3.0/all/workspace for pie
xrvr-base, V 5.3.0[Default], Cisco Systems, at disk0:xrvr-base-5.3.0
Built on Sun Jan 18 17:35:11 UTC 2015
By iox-lnx-003 in /auto/srcarchive11/production/5.3.0/all/workspace for pie
xrvr-fwding, V 5.3.0[Default], Cisco Systems, at disk0:xrvr-fwding-5.3.0
Built on Sun Jan 18 17:35:11 UTC 2015
By iox-lnx-003 in /auto/srcarchive11/production/5.3.0/all/workspace for pie
xrvr-mgbl-x, V 5.3.0[Default], Cisco Systems, at disk0:xrvr-mgbl-x-5.3.0
Built on Sun Jan 18 17:35:21 UTC 2015
By iox-lnx-003 in /auto/srcarchive11/production/5.3.0/all/workspace for pie
iosxr-mpls, V 5.3.0[Default], Cisco Systems, at disk0:iosxr-mpls-5.3.0
Built on Sun Jan 18 17:35:11 UTC 2015
By iox-lnx-003 in /auto/srcarchive11/production/5.3.0/all/workspace for pie
iosxr-mgbl, V 5.3.0[Default], Cisco Systems, at disk0:iosxr-mgbl-5.3.0
Built on Sun Jan 18 17:35:11 UTC 2015
By iox-lnx-003 in /auto/srcarchive11/production/5.3.0/all/workspace for pie
iosxr-mcast, V 5.3.0[Default], Cisco Systems, at disk0:iosxr-mcast-5.3.0
Built on Sun Jan 18 17:35:11 UTC 2015
By iox-lnx-003 in /auto/srcarchive11/production/5.3.0/all/workspace for pie
xrvr-mcast-supp, V 5.3.0[Default], Cisco Systems, at disk0:xrvr-mcast-supp-5.3.0
Built on Sun Jan 18 17:35:11 UTC 2015
By iox-lnx-003 in /auto/srcarchive11/production/5.3.0/all/workspace for pie
iosxr-bng, V 5.3.0[Default], Cisco Systems, at disk0:iosxr-bng-5.3.0
Built on Sun Jan 18 17:35:09 UTC 2015
By iox-lnx-003 in /auto/srcarchive11/production/5.3.0/all/workspace for pie
xrvr-bng-supp, V 5.3.0[Default], Cisco Systems, at disk0:xrvr-bng-supp-5.3.0
Built on Sun Jan 18 17:35:09 UTC 2015
By iox-lnx-003 in /auto/srcarchive11/production/5.3.0/all/workspace for pie
iosxr-security, V 5.3.0[Default], Cisco Systems, at disk0:iosxr-security-5.3.0
Built on Sun Jan 18 17:35:06 UTC 2015
By iox-lnx-003 in /auto/srcarchive11/production/5.3.0/all/workspace for pie
xrvr-fullk9-x, V 5.3.0[Default], Cisco Systems, at disk0:xrvr-fullk9-x-5.3.0
Built on Sun Jan 18 17:36:17 UTC 2015
By iox-lnx-003 in /auto/srcarchive11/production/5.3.0/all/workspace for pie
バージョンは IOS XR 5.3.0 です。”DEV RELEASE” とあるので、開発版なんでしょうか。上記を見てもらうと分かりますが、mpls や mcast などもデフォルトで使える状態になっています。IOS-XR は Cisco.com 上での最新バージョンも同じでした。
RP/0/0/CPU0:ios#show platform Wed Apr 15 10:47:56.725 UTC Node Type PLIM State Config State ----------------------------------------------------------------------------- 0/0/CPU0 RP N/A IOS XR RUN PWR,NSHUT,MON
show platform では CPU0 のみ表示されました。
NX-OSv
Nexus7000 シリーズの NX-OS に対応する仮想ルータです。
switch# show ver
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_serie
s_home.html
Copyright (c) 2002-2014, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained herein are owned by
other third parties and are used and distributed under license.
Some parts of this software are covered under the GNU Public
License. A copy of the license is available at
http://www.gnu.org/licenses/gpl.html.
NX-OSv is a demo version of the Nexus Operating System
Software
loader: version N/A
kickstart: version 7.1(0)D1(1) [build 7.1(0)ZD(0.363)]
system: version 7.1(0)D1(1) [build 7.1(0)ZD(0.363)]
kickstart image file is: bootflash:///titanium-d1-kickstart.7.1.0.ZD.0.363.bin
kickstart compile time: 11/11/2014 22:00:00 [11/12/2014 08:46:49]
system image file is: bootflash:///titanium-d1.7.1.0.ZD.0.363.bin
system compile time: 11/11/2014 22:00:00 [11/12/2014 13:35:22]
Hardware
cisco NX-OSv Chassis ("NX-OSv Supervisor Module")
QEMU Virtual CPU version 2.0 with 2042084 kB of memory.
Processor Board ID TM3E284F7DB
Device name: switch
bootflash: 6353707 kB
Kernel uptime is 0 day(s), 0 hour(s), 32 minute(s), 30 second(s)
plugin
Core Plugin, Ethernet Plugin
機種は NX-OSv と表示され、バージョンは 7.1(0)D1 です。IOS-XE と同じく Cisco.com のバージョンよりも新しいものが使えてしまいます。。
switch# show module Mod Ports Module-Type Model Status --- ----- ----------------------------------- ------------------ ---------- 1 0 NX-OSv Supervisor Module N7K-SUP1 active * 2 48 NX-OSv Ethernet Module N7K-F248XP-25 ok 3 48 NX-OSv Ethernet Module N7K-F248XP-25 ok 4 48 NX-OSv Ethernet Module N7K-F248XP-25 ok Mod Sw Hw World-Wide-Name(s) (WWN) --- --------------- ------ -------------------------------------------------- 1 7.1(0)ZD(0.363) 0.0 -- 2 NA 0.0 -- 3 NA 0.0 -- 4 NA 0.0 -- Mod MAC-Address(es) Serial-Num --- -------------------------------------- ---------- 1 fa-16-3e-28-4f-7d to fa-16-3e-28-57-7c TM3E284F7DB 2 02-00-0c-00-02-00 to 02-00-0c-00-02-7f TM3E284F7DC 3 02-00-0c-00-03-00 to 02-00-0c-00-03-7f TM3E284F7DD 4 02-00-0c-00-04-00 to 02-00-0c-00-04-7f TM3E284F7DE * this terminal session
show module では Nexus7000 をシミュレートしているのが確認できました。
Server
サーバマシンとして用意されている仮想サーバです。Ubuntu 14.04 LTS になっています。
上記より、VIRL の最新バージョンのリリースタイミングにもよると思いますが、VIRL にインストールされているバージョンは比較的新しいものとなります。
ひょっとすると新機能などが公開前に使えてしまったり、新コマンドがリリースされる前に見つけてしまったりできるかもしれませんね。