[index] SwitchBlade x8100シリーズ コマンドリファレンス 5.5.5
NoteTelnet/SSHを使用するには、あらかじめコンソールターミナルからログインし、本製品にIPアドレス等を設定しておく必要があります。本製品のご購入時にはIPアドレスが設定されていないため、必ず一度はコンソールターミナルからログインすることとなります。
| 通信速度 | 115200bps |
| データビット | 8 |
| ストップビット | 1 |
| パリティー | なし |
| フロー制御 | なし |
| エミュレーション | VT100 または ANSI |
| Backspaceキーのコード | Delete |
Note端末画面の1画面当たり表示行数を0に設定(画面単位での一時停止を無効化)した場合、show logコマンドなどの画面出力が自動折り返しされません。
Note起動後ログインプロンプトが表示されるまでの時間は、機種やファームウェアのバージョンによって異なりますが、おおむね一分程度かかります。
Note起動メッセージの内容は機種やファームウェアのバージョンによって異なります。下記はあくまでも一例であり、内容も省略してありますので、ご了承ください。
Bootloader X.X.X loaded
Press <Ctrl+B> for the Boot Menu
Loading flash:SBx81CFC960-5.5.5-1.1.rel...
Verifying release... OK
Booting...
Starting base/first... [ OK ]
Mounting virtual filesystems... [ OK ]
______________ ____
/\ \ / /______\
/ \ \_ __/ /| ______ |
/ \ | | / | ______ |
/ \ \ / / \ ____ /
/______/\____\ \/ /____________/
Allied Telesis Inc.
AlliedWare Plus (TM) v5.5.5
Current release filename: SBx81CFC960-5.5.5-1.1.rel
Built: Xxx Xxx XX XX:XX:XX UTC XXXX
Mounting static filesystems... [ OK ]
Checking flash filesystem... [ OK ]
Mounting flash filesystem... [ OK ]
...
done!
awplus login:
awplus login: manager ↓ Password: friend ↓(実際には表示されません) AlliedWare Plus (TM) 5.5.5 xx/xx/xx xx:xx:xx % Default password needs to be changed. awplus>
Note「% Default password needs to be changed.」は初期パスワードでログインしたときに表示されます。
セキュリティリスク低減のため、初期パスワードの変更をおすすめします。パスワードの変更はusernameコマンドで行います。
Note一定回数(初期設定では5回)連続してログインに失敗すると、失敗したユーザーはロックアウトされ、一定時間(初期設定は5分)ログインすることができなくなります(失敗したユーザー以外ではログイン可能)。これらの設定は、aaa local authentication attempts max-failコマンド、aaa local authentication attempts lockout-timeコマンドで変更できます。
なお、初期設定ではコンソールログイン、リモートログインともにロックアウトの対象となりますが、aaa local authentication attempts max-fail remote-login-onlyコマンドを設定することにより、ロックアウトの対象をリモートログインに限定し、コンソールログインをロックアウトの対象外にすることも可能です。
NoteTelnet/SSH接続の場合、ログインプロンプトが表示されてから1分以内にログインしないと、Telnet/SSHセッションが切断されます。切断までの時間は、SSHの場合ssh server login-timeoutコマンドで変更できます。
awplus login: manager ↓ Password: friend ↓(実際には表示されません) AlliedWare Plus (TM) 5.5.5 xx/xx/xx xx:xx:xx awplus>
awplus> enable ↓ awplus#
awplus# configure terminal ↓ Enter configuration commands, one per line. End with CNTL/Z. awplus(config)#
awplus(config)# exit ↓ awplus#
awplus(config)# interface vlan1 ↓ awplus(config-if)#
awplus(config-if)# exit ↓ awplus(config)#
awplus(config-if)# end ↓ awplus#
awplus# disable ↓ awplus>
awplus# exit ↓ awplus login:
awplus> enable ↓ awplus# configure terminal ↓ Enter configuration commands, one per line. End with CNTL/Z.
awplus(config)# username manager password o10moDutch ↓
Noteパスワードの設定は保存しないと再起動によって失われます。設定を保存する方法については後述します。
Noteユーザー認証関連機能の詳細については、「運用・管理」の「ユーザー認証」をご覧ください。
awplus(config)# hostname myswitch ↓ myswitch(config)#
Noteホスト名の設定は保存しないと再起動によって失われます。設定を保存する方法については後述します。
Note本解説編の残りの部分では、説明の流れ上、ホスト名を「myswitch」に設定しているものと仮定します。他の解説編やコマンド編では、原則として初期設定のホスト名「awplus」を用いますが、複数のシステムを使用する構成例などでは、各システムを見分けやすいよう「RouterA」、「RouterB」のようなホスト名を仮定する場合もあります。
Notehostnameコマンドで設定したホスト名は、MIB-IIオブジェクトsysNameの値としても使われます。詳しくは、「運用・管理」の「SNMP」をご覧ください。
myswitch(config)# clock timezone JST plus 9 ↓
Noteタイムゾーンの設定は保存しないと再起動によって失われます。設定を保存する方法については後述します。
Note本コマンドによりタイムゾーンの設定を変更したときは、設定を保存した後システムを再起動してください。
(再起動を実行するまで一部のログにタイムゾーンの設定が反映されず、ログ時刻の不整合が生じるため)
myswitch(config)# exit ↓ myswitch# clock set 17:05:00 24 Dec 2012 ↓
Noteclock setコマンドは実行コマンドなので、実行後に設定保存の操作(後述)は必要ありません。コマンド実行とともに内蔵時計の時刻が変更され、以後保持されます。
Noteclock setコマンドで指定する時刻は、設定済みタイムゾーンにおける現地時刻です。タイムゾーンの設定に基づき、内蔵時計には協定世界時(UTC)換算の時刻が設定されます。本製品をUTC以外のタイムゾーンで使用する場合は、最初にタイムゾーンの設定を行い、その後時刻を設定してください。
| 1月(January) | Jan |
| 2月(February) | Feb |
| 3月(March) | Mar |
| 4月(April) | Apr |
| 5月(May) | May |
| 6月(June) | Jun |
| 7月(July) | Jul |
| 8月(August) | Aug |
| 9月(September) | Sep |
| 10月(October) | Oct |
| 11月(November) | Nov |
| 12月(December) | Dec |
myswitch# show clock ↓ Local Time: Mon, 24 Dec 2012 17:05:03 +0900 UTC Time: Mon, 24 Dec 2012 08:05:03 +0000 Timezone: JST Timezone Offset: +09:00 Summer time zone: None
myswitch# configure terminal ↓ Enter configuration commands, one per line. End with CNTL/Z. myswitch(config)#
myswitch(config)# interface eth0 ↓ myswitch(config-if)#
myswitch(config-if)# ip address 192.168.0.1/24 ↓ myswitch(config-if)# end ↓
NoteIPアドレスの設定は保存しないと再起動によって失われます。設定を保存する方法については後述します。
NoteSSHクライアントからCLIへのアクセスを可能にするには、IPアドレスの設定だけでなく、SSHサーバー有効化のための設定も必要です。設定方法については、「運用・管理」の「Secure Shell」をご覧ください。
NoteTelnetクライアントとeth0の間にルーターが介在している場合は、本製品とTelnetクライアントの双方にIP経路の設定が必要です。本製品の経路設定については、「IP」の「経路制御」をご覧ください。
myswitch# show ip interface eth0 ↓ Interface IP-Address Status Protocol eth0 192.168.0.1 admin up running
myswitch# show interface eth0 ↓ Interface eth0 ... IPv4 address 192.168.0.1/24 broadcast 192.168.0.255 ...
Note設定変更時はこまめにコンフィグを保存することをおすすめします。
| ランタイムメモリー上にある現在の設定内容。電源断や再起動によって失われる。show running-configコマンドで内容を確認できる。ファイル操作コマンドにおいては、仮想的なファイル「running-config」としてコピーなどの操作が可能 | |
| 起動時コンフィグ。システム起動の最終段階において自動的に復元される設定内容。フラッシュメモリー上にファイルとして保存されており、電源断や再起動を経ても失われない。show startup-configコマンドで内容を確認できる。ファイル操作コマンドにおいては、仮想的なファイル「startup-config」としてコピーなどの操作が可能。startup-configが実際にどのファイルを指しているかは、show bootコマンドで確認でき、boot config-fileコマンドで変更できる |
myswitch# show running-config ↓ ! service password-encryption ! hostname myswitch ... ! interface eth0 ip address 192.168.0.1/24 ... end
myswitch# copy running-config startup-config ↓ Building configuration... [OK]
myswitch# write memory ↓ Building configuration... [OK]
myswitch# show startup-config ↓ ! service password-encryption ! hostname myswitch ... ! interface eth0 ip address 192.168.0.1/24 ... end
Note再起動を実行する前に、現在の設定内容(ランニングコンフィグ)を保存したかどうかご確認ください。設定の保存については、前節および「運用・管理」の「コンフィグレーション」をご覧ください。
myswitch> enable ↓ myswitch# reload ↓ reboot system? (y/n): y ↓ URGENT: broadcast message: System going down IMMEDIATELY! ... Rebooting at user request ... Restarting system.
awplus(config)# boot system flash:/SBx81CFC960-5.5.5-1.2.rel ↓
awplus(config)# boot system usb:/SBx81CFC960-5.5.5-1.2.rel ↓
NoteUSBメモリー上のイメージファイルを起動用ファームウェアに指定するには、USB 2.0かつFAT32でフォーマットされている必要があります。ご使用の際には、お客様の使用環境で事前に検証を行った上で導入してください。
Note5.5.5-1.2は説明用の架空バージョンであり、実際には存在しない可能性があります。
Noteイメージファイルの設定は、コマンド実行時にシステムファイルに保存されるため、copyコマンドやwrite fileコマンド、write memoryコマンドなどでコンフィグに保存する必要はありません。
awplus(config)# boot system backup flash:/SBx81CFC960-5.5.5-1.1.rel ↓
awplus# show boot ↓
NoteVCS構成におけるファームウェア更新手順については、VCS運用編をご覧ください。
Noteファームウェアの更新は、ネットワークの実運用中に行わないでください。
Note5.5.5-1.2は説明用の架空バージョンであり、実際には存在しない可能性があります。
awplus# show boot ↓ Boot configuration -------------------------------------------------------------------------------- Current software : SBx81CFC960-5.5.5-1.1.rel Current boot image : flash:/SBx81CFC960-5.5.5-1.1.rel (file exists) Backup boot image : Not set Default boot config: flash:/default.cfg Current boot config: flash:/default.cfg (file exists) Backup boot config: Not setこの例では、通常用ファームウェアとしてflash:/SBx81CFC960-5.5.5-1.1.relが指定されており、バックアップ用ファームウェアは指定されていないことがわかります。
awplus# show file systems ↓ Card 5: Size(b) Free(b) Type Flags Prefixes S/D/V Lcl/Ntwk Avail ------------------------------------------------------------------- 126.0M 29.5M flash rw flash: static local Y ... Card 6: Size(b) Free(b) Type Flags Prefixes S/D/V Lcl/Ntwk Avail ------------------------------------------------------------------- 126.0M 64.9M flash rw flash: static local Y ...
awplus# dir awplus-6/flash: ↓ 2681 -rw- Aug 10 2012 17:59:29 snmp.cfg 87616 -rw- Aug 10 2012 15:40:19 02-x8100.cfg 126601 -rw- Aug 10 2012 16:52:24 fullcard.cfg 13947348 -rw- Apr 8 2013 17:55:22 SBx81CFC960-5.5.5-1.1.rel awplus# delete awplus-6/flash:fullcard.cfg ↓
awplus# pwd ↓ flash:/ awplus# copy tftp://10.100.10.70/SBx81CFC960-5.5.5-1.2.rel flash ↓ Enter destination file name [SBx81CFC960-5.5.5-1.2.rel]: ↓ Copying........................................ Successful operation
awplus# dir ↓ 12547211 -rw- May 10 2013 16:41:33 SBx81CFC960-5.5.5-1.2.rel 312 -rw- Nov 26 2011 09:11:19 default.cfg ...
awplus# configure terminal ↓ Enter configuration commands, one per line. End with CNTL/Z. awplus(config)# boot system flash:/SBx81CFC960-5.5.5-1.2.rel ↓
awplus(config)# boot system backup flash:/SBx81CFC960-5.5.5-1.1.rel ↓
awplus(config)# exit ↓ awplus# show boot ↓ Boot configuration -------------------------------------------------------------------------------- Current software : SBx81CFC960-5.5.5-1.1.rel Current boot image : flash:/SBx81CFC960-5.5.5-1.2.rel (file exists) Backup boot image : flash:/SBx81CFC960-5.5.5-1.1.rel (file exists) Default boot config: flash:/default.cfg Current boot config: flash:/default.cfg (file exists) Backup boot config: Not set
awplus# reload ↓ reboot system? (y/n): y ↓ ...
NoteUSBメモリー上のイメージファイルを起動用ファームウェアに指定するには、USB 2.0かつFAT32でフォーマットされている必要があります。ご使用の際には、お客様の使用環境で事前に検証を行った上で導入してください。また、USBメモリー上のイメージファイルを起動用ファームウェアに指定する場合は、すべてのコントロールファブリックカード(CFC)にUSBメモリーを装着してください。
NoteUSBメモリー上のイメージファイルを起動用ファームウェアに指定するには、あらかじめフラッシュメモリー上のイメージファイルをバックアップ用ファームウェアとして設定しておく必要があります。
awplus# configure terminal ↓ Enter configuration commands, one per line. End with CNTL/Z. awplus(config)# no boot system ↓ awplus(config)# boot system backup SBx81CFC960-5.5.5-1.1.rel ↓
awplus(config)# boot system usb:/SBx81CFC960-5.5.5-1.2.rel ↓ please wait....... File synchronization successfully completed
awplus# show boot ↓ Boot configuration -------------------------------------------------------------------------------- Current software : SBx81CFC960-5.5.5-1.1.rel Current boot image : usb:/SBx81CFC960-5.5.5-1.2.rel (file exists) Backup boot image : flash:/SBx81CFC960-5.5.5-1.1.rel (file exists) Default boot config: flash:/default.cfg Current boot config: flash:/default.cfg (file exists) Backup boot config: Not set Autoboot status : disabled
awplus# reload ↓ reboot system? (y/n): y ↓ ...
Note5.5.5-1.2は説明用の架空バージョンであり、実際には存在しない可能性があります。
NoteISSUはバージョン5.4.4-1.1以降のメンテナンスバージョン間(5.4.4-1.1から5.4.4-1.2など)でのみ使用可能です。また、メンテナンスバージョン間でも互換性のない場合があるため、各メンテナンスバージョンのリリースノートを参照してください。マイナーバージョン間(5.4.4-1.1から5.4.4-2.xなど)やメジャーバージョン間(5.4.4-1.1から5.4.5-x.xなど)でのファームウェア更新には使用できません。
awplus# dir awplus-1.6/flash:/*.rel ↓ ... 1401740 -rw- Jan 01 2011 00:00:00 awplus-1.6/flash:/SBx81CFC960-nolonger-used.rel ... awplus# delete awplus-1.6/flash:/SBx81CFC960-nolonger-used.rel ↓ Deleting.................................................... Successful operation
awplus# copy tftp://10.100.10.70/SBx81CFC960-5.5.5-1.2.rel flash ↓ Enter destination file name [SBx81CFC960-5.5.5-1.2.rel]: Copying.................................................... Successful operation
awplus# issu boot SBx81CFC960-5.5.5-1.2.rel ↓ This will update the preferred release file to SBx81CFC960-5.5.5-1.2.rel. The CFCs will then be rebooted one at a time and will rejoin running the new release. To complete ISSU, the line-cards must be manually rebooted at a later convenient time. Start the ISSU process now? (y/n): y ↓ Synchronizing file across the chassis, please wait... File synchronization with card 1.6 successfully completed [DONE]
Note現在動作しているファームウェアがフラッシュメモリー上に存在しない場合は、issu bootコマンドを実行できません。issu bootコマンドを実行する前に、show bootコマンドで「Current boot image」が「file exists」となっていることを確認してください。

Noteなんらかの原因で一定時間内(issu abort-timeout)にスタンバイCFCが復帰しなかった場合、ISSU処理は中断されます。このとき、CFC間でファームウェアバージョンの不一致が発生しますが、この状態での運用はサポート対象外であるため、手動で同一ファームウェアに設定しなおす必要があります。ISSU中断後は「Current boot image」が旧ファームウェアのままですので、reboot/reloadコマンドのcardパラメーターを利用して、更新済みのスタンバイCFCを再起動することにより、全CFCのファームウェアがISSU実行前のものに戻ります。その後、再度issu bootコマンドを実行することも可能ですし、通常のファームウェア更新手順(こちらを参照)にしたがいboot systemコマンドで新ファームウェアを指定し、reboot/reloadコマンドでシステムを再起動することもできます。
Noteissu bootコマンドでは、ラインカードは自動的に再起動されません。ラインカードを手動で再起動して、すべてのラインカードがCFCと同じファームウェアになるまでは、厳密な意味でのISSU完了とはなりません。そのため、show systemコマンドの「Current software」は新しいファームウェアバージョンとなりますが、以下のメッセージが表示されます。
Warning: ISSU is currently in progress. System may be running with different software versions
NoteISSUでは、アクティブCFCが最後に再起動するため、アクティブCFCの切り替えが発生します。show cardコマンドで、アクティブCFCが切り替わっていることを確認してください。なお、本構成では、シャーシに2枚ずつCFCが装着されているため、シャーシ内でアクティブCFCが切り替わるだけで、システムが完全停止することはありません。
awplus# reboot card 1.1 ↓
Note上記コマンド実行後は「Configuration update completed」のログメッセージが表示されるまで待ってから、次のラインカードを再起動してください。
awplus(config)# ecofriendly led ↓
Note省電力イーサネット機能は、アドバンスドラインカードAT-SBx81GT40(100/1000M接続時)、AT-SBx81XLEM/XT4(10G接続時)、AT-SBx81XLEM/GT8(100/1000M接続時)上のポートでのみサポートとなります。
awplus(config)# interface port1.1.2 ↓ awplus(config-if)# ecofriendly lpi ↓
Note各ライセンスの内容(利用条件等)はライセンス証書や案内文書でご確認ください。
awplus> show system serialnumber ↓ Chassis System Serial Number Information card Serial Number ------------------------------------------- 1.1 XXXXXXXXXXXXXXXX 1.3 XXXXXXXXXXXXXXXX 1.5 XXXXXXXXXXXXXXXX 1.6 XXXXXXXXXXXXXXXX ... Chassis Serial Number XXXXXXXXXXXXXXXX
awplus> show system ↓ ... Stack member 1 Board ID Bay Board Name Rev Serial number -------------------------------------------------------------------------------- Chassis 315 AT-SBx8112 E-0 XXXXXXXXXXXXXXXX Blade 317 Bay1 AT-SBx81GT24 D-0 XXXXXXXXXXXXXXXX Blade 353 Bay2 AT-SBx81XS16 X8-0 XXXXXXXXXXXXXXXX Blade 317 Bay3 AT-SBx81GT24 D-0 XXXXXXXXXXXXXXXX Controller 376 Bay5 AT-SBx81CFC960 F-0 XXXXXXXXXXXXXXXX Controller 376 Bay6 AT-SBx81CFC960 F-0 XXXXXXXXXXXXXXXX ...
Note本セクションはAlliedWare Plus製品共通の内容になっています。製品や時期によってサポートするライセンスの種類や形式は異なります。詳細は弊社ホームページ等でご確認ください。
Note各ライセンスの内容(利用条件等)はライセンス証書や案内文書でご確認ください。
Noteライセンスキーのインストールは、Web GUIの「ライセンス管理」画面からも行えます。
Noteライセンスファイルは製品によりメールまたはディスクで提供されます。また、製品にプリインストールされた状態で出荷される場合もあります。
awplus# copy tftp:/192.168.10.5/license.bin flash:/ ↓
awplus# license update file license.bin ↓
awplus# show license external ↓
Note有効期間切れのライセンスはshow license external storedコマンドで確認できます。
Note上記手順の実行後に再起動は不要です。
awplus# license LicenseName XXXXXXXXXXXXXXXX ↓
awplus# show license ↓
awplus# reload ↓
(C) 2012 - 2025 アライドテレシスホールディングス株式会社
PN: 613-001735 Rev.BJ