Cisco IOS XE ソフトウェア構造について
Cisco社は、ルータを動作させるために独自開発したOSとしてCisco IOSが長らく利用されていました。
Cisco IOS XEは、OSとしてはLinuxカーネルを採用、ハードウェアはLinux Kernelが制御、従来のIOSをLinuxカーネルプロセスの一つとしてIOSdと実行し、その他装置に関する(CMAN,FMAN,IMAN..)プロセスで動作するミドルウェアになります。
従来のIOSが動作しているため、設定方式などもCisco IOSと同じ設定コマンドが利用できるので利用者は通常Linuxを意識することはありません。
LinuxをOSを採用することで、Linuxの資産が活用でき開発期間の短縮などのメリットが得られます。また、ハードウェアを直接する制御するOSではなくなったため、個々のソフトウェアパッケージのISSUが実現したり、故障範囲の限定および再起動性が向上しています。
Cisco IOS XEのバージョンについて
Cisco IOS XE は内部でIOSが動作しているため、show version を実行すると IOS XEと IOSのバージョンが表記されています。
下記の例は IOS XE 3.16.10.S IOS 15.5(3)S10 となっている。
IOS XE と IOSのバージョンは一対一の関係がある。
1 2 3 4 5 6 |
Router#show version Cisco IOS XE Software, Version 03.16.10.S - Extended Support Release Cisco IOS Software, ASR1000 Software (PPC_LINUX_IOSD-ADVENTERPRISEK9-M), Version 15.5(3)S10, RELEASE SOFTWARE (fc3) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2019 by Cisco Systems, Inc. Compiled Thu 19-Sep-19 10:50 by mcpre |
Cisco IOS XE Linux シェル
Linuxに関しては通常意識する必要がないが、下記のようにLinuxシェルが起動できます。(TACからの指示がない限り通常は利用しない)
下記の結果から Linux カーネル 2.6.32.59 が動いているのがわかる。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)# Router(config)#platform shell Router(config)#end Router# *Feb 19 04:24:30.958: %SYS-5-CONFIG_I: Configured from console by consolereq Router# Router#request platform software system shell Activity within this shell can jeopardize the functioning of the system. Are you sure you want to continue? [y/n] y 2022/02/19 04:25:07 : Shell access was granted to user <anon>; Trace file: , /harddisk/tracelogs/system_shell_R0.log.20220219042507 ********************************************************************** Activity within this shell can jeopardize the functioning of the system. Use this functionality only under supervision of Cisco Support. Session will be logged to: harddisk:tracelogs/system_shell_R0.log.20220219042507 ********************************************************************** Terminal type 'network' unknown. Assuming vt100 [Router_RP_0:/]$ *Feb 19 04:25:08.703: %SYSTEM-3-SYSTEM_SHELL_LOG: R0/0: Shell started: con 0 *Feb 19 04:25:08.713: %SYSTEM-3-SYSTEM_SHELL_LOG: R0/0: 2022/02/19 04:25:07 : Shell access was granted to user <anon>; Trace file: , /harddisk/tracelogs/system_shell_R0.log.20220219042507 [Router_RP_0:/]$ uname -a Linux Router_RP_0 2.6.32.59 #14 Thu Sep 19 11:52:51 PDT 2019 ppc ppc ppc GNU/Linux [Router_RP_0:/]$ exitSession log harddisk:tracelogs/system_shell_R0.log.20220219042507 closed. Router# |