[index] CentreCOM x510Lシリーズ コマンドリファレンス 5.4.8
awplus> show stack ↓ Virtual Chassis Stacking summary information ID Pending ID MAC address Priority Status Role 8 - 0015.77ad.f818 128 Ready Active Master Operational Status Standalone unit Stack MAC address 0015.77ad.f818
awplus> enable ↓ awplus# configure terminal ↓ Enter configuration commands, one per line. End with CNTL/Z. awplus(config)# stack 8 renumber 4 ↓ Warning: the new ID will not become effective until the stack-member reboots. Warning: the boot configuration may now be invalid.
awplus(config)# end ↓ awplus# reload ↓ reboot system? (y/n): y ↓
awplus> show stack ↓ Virtual Chassis Stacking summary information ID Pending ID MAC address Priority Status Role 4 - 0015.77ad.f818 128 Ready Active Master Operational Status Standalone unit Stack MAC address 0015.77ad.f818
awplus> enable ↓ awplus# configure terminal ↓ Enter configuration commands, one per line. End with CNTL/Z. awplus(config)# stack 4 priority 80 ↓
awplus> show stack ↓ Virtual Chassis Stacking summary information ID Pending ID MAC address Priority Status Role 4 - 0015.77ad.f818 80 Ready Active Master Operational Status Standalone unit Stack MAC address 0015.77ad.f818
Note同一ネットワーク上に複数のVCSグループが存在するときは、該当するVCSグループ間でバーチャルシャーシID(stack virtual-chassis-id)が重複しないよう注意して設定してください。バーチャルシャーシIDは、show stackコマンドをdetailオプション付きで実行したときに表示される「Virtual Chassis ID」欄で確認できます。
NoteバーチャルMACアドレス機能の有効化は、stack virtual-macコマンドで行います。バーチャルMACアドレス機能は初期設定では無効ですが、VCS使用時は必ずバーチャルMACアドレス機能を有効にした状態で運用してください。無効状態での運用はサポート対象外となります。
Note上記コマンド以外にも設定変更時に以下のメッセージが表示されるコマンドにつきましても同様に運用中のマスタースイッチと同一に設定してください。
% The device needs to be restarted for this change to take effect.
awplus> enable ↓ awplus# configure terminal ↓ Enter configuration commands, one per line. End with CNTL/Z. awplus(config)# stack management vlan 4000 ↓ awplus(config)# stack management subnet 172.21.255.64 ↓ awplus(config)# stack virtual-mac ↓ awplus(config)# stack virtual-chassis-id 127 ↓
awplus(config)# end ↓ awplus# show running-config ↓ ...(表示されるコンフィグに問題がないことを確認) ... awplus# copy running-config startup-config ↓ This will lose configuration for non-existent stack members, continue? (y/n): y Building configuration... [OK]
Note新メンバーの電源は切った状態でスタックモジュールを接続してください。電源オンの状態でVCSグループに接続するとマスター重複の状態となり、プライオリティーの低い機器でリブートが発生します。
vcg(config)# interface port4.0.1-4.0.2 ↓ vcg(config-if)# switchport resiliencylink ↓
vcg(config)# end ↓ vcg# show running-config ↓ ...(表示されるコンフィグに問題がないことを確認) ... vcg# copy running-config startup-config ↓ Building configuration... [OK] VCS synchronizing file across the stack, please wait.. File synchronization with stack member-2 successfully completed File synchronization with stack member-3 successfully completed File synchronization with stack member-4 successfully completed [DONE]
vcg> enable ↓ vcg# configure terminal ↓ Enter configuration commands, one per line. End with CNTL/Z. vcg(config)# interface port4.0.2 ↓ vcg(config-if)# no switchport resiliencylink ↓
vcg(config)# interface port4.0.3 ↓ vcg(config-if)# switchport resiliencylink ↓
vcg(config-if)# end ↓ vcg# copy running-config startup-config ↓ Building configuration... [OK]
Note5.4.8-0.3は説明上使用している架空のファームウェアです。5.4.8-0.2リリース時点では実在しませんのでご注意ください。
vcg# show stack ↓ Virtual Chassis Stacking summary information ID Pending ID MAC address Priority Status Role 1 - 0009.41fb.c7eb 128 Ready Active Master 2 - 0009.41fb.cfaf 128 Ready Backup Member Operational Status Normal operation Stack MAC address 0009.41fb.c7eb
vcg# show file systems ↓ Stack member 1: Size(b) Free(b) Type Flags Prefixes S/D/V Lcl/Ntwk Avail ------------------------------------------------------------------- 63.0M 47.2M flash rw flash: static local Y - - system rw system: virtual local - ... Stack member 2: Size(b) Free(b) Type Flags Prefixes S/D/V Lcl/Ntwk Avail ------------------------------------------------------------------- 63.0M 47.3M flash rw flash: static local Y - - system rw system: virtual local - ...
vcg# dir vcg-2/flash:/*.rel ↓ ... 1401740 -rw- Jan 01 2011 00:00:00 vcg-2/flash:/x510-nolonger-used.rel ... vcg# delete vcg-2/flash:/x510-nolonger-used.rel ↓ Deleting.................................................... Successful operation
vcg# copy tftp://10.100.10.70/x510-5.4.8-0.3.rel flash ↓ Enter destination file name [x510-5.4.8-0.3.rel]: Copying.................................................... Successful operation
vcg# configure terminal ↓ Enter configuration commands, one per line. End with CNTL/Z. vcg(config)# boot system x510-5.4.8-0.3.rel ↓ VCS synchronizing file across the stack, please wait........................ File synchronization with stack member-2 successfully completed [DONE]
vcg# show boot ↓ Boot configuration -------------------------------------------------------------------------------- Current software : x510-5.4.8-0.2.rel Current boot image : flash:/x510-5.4.8-0.3.rel Backup boot image : Not set Default boot config: flash:/default.cfg Current boot config: flash:/default.cfg (file exists) Backup boot config : Not set Autoboot status : disabled vcg# dir *.rel ↓ 14492851 -rw- May 11 2012 06:42:05 flash:/x510-5.4.8-0.3.rel ... vcg# dir vcg-2/flash:/*.rel ↓ 14492851 -rw- May 11 2012 06:42:05 vcg-2/flash:/x510-5.4.8-0.3.rel ...
Note再起動中は通信断が発生します。
vcg(config)# end ↓ vcg# reload ↓ Are you sure you want to reboot the whole stack? (y/n): y ↓ ...
Notereload rolling/reboot rollingコマンドを使用して、VCSグループの運用中にファームウェアをバージョンアップする場合は、次の手順にしたがってください。ここでは説明のため、次の環境を想定します。(以下の説明では、実際のバージョンや画面とは異なる場合があります。)reload rolling/reboot rollingコマンドは、メジャーバージョンアップには使用できません。
Note5.4.8-0.3は説明上使用している架空のファームウェアです。5.4.8-0.2リリース時点では実在しませんのでご注意ください。
vcg# show stack ↓ Virtual Chassis Stacking summary information ID Pending ID MAC address Priority Status Role 1 - 0009.41fb.c7eb 128 Ready Active Master 2 - 0009.41fb.cfaf 128 Ready Backup Member Operational Status Normal operation Stack MAC address 0009.41fb.c7eb
vcg# show file systems ↓ Stack member 1: Size(b) Free(b) Type Flags Prefixes S/D/V Lcl/Ntwk Avail ------------------------------------------------------------------- 63.0M 47.2M flash rw flash: static local Y - - system rw system: virtual local - ... Stack member 2: Size(b) Free(b) Type Flags Prefixes S/D/V Lcl/Ntwk Avail ------------------------------------------------------------------- 63.0M 47.3M flash rw flash: static local Y - - system rw system: virtual local - ...
vcg# dir vcg-2/flash:/*.rel ↓ ... 1401740 -rw- Jan 01 2011 00:00:00 vcg-2/flash:/x510-nolonger-used.rel ... vcg# delete vcg-2/flash:/x510-nolonger-used.rel ↓ Deleting.................................................... Successful operation
vcg# copy tftp://10.100.10.70/x510-5.4.8-0.3.rel flash ↓ Enter destination file name [x510-5.4.8-0.3.rel]: Copying.................................................... Successful operation
vcg# configure terminal ↓ Enter configuration commands, one per line. End with CNTL/Z. vcg(config)# boot system x510-5.4.8-0.3.rel ↓ VCS synchronizing file across the stack, please wait........................ File synchronization with stack member-2 successfully completed [DONE]
vcg# show boot ↓ Boot configuration -------------------------------------------------------------------------------- Current software : x510-5.4.8-0.2.rel Current boot image : flash:/x510-5.4.8-0.3.rel Backup boot image : Not set Default boot config: flash:/default.cfg Current boot config: flash:/default.cfg (file exists) Backup boot config : Not set Autoboot status : disabled vcg# dir *.rel ↓ 14492851 -rw- May 11 2012 06:42:05 flash:/x510-5.4.8-0.3.rel ... vcg# dir vcg-2/flash:/*.rel ↓ 14492851 -rw- May 11 2012 06:42:05 vcg-2/flash:/x510-5.4.8-0.3.rel ...
vcg# reboot rolling ↓ The stack master will reboot immediately and boot up with the configuration file settings. The remaining stack members will then reboot once the master has finished re-configuring. Continue the rolling reboot of the stack? (y/n): y 21:21:40 vcg VCS[1034]: Automatically rebooting stack member-1 (MAC: 0009.41fb. c7eb) due to Rolling reboot
Noteスレーブからマスターへ遷移するとき、リンクダウンはしません。
Noteマスター(ID=1)の正常起動後にポートがリンクアップして通信が可能な状態になりますが、通信が復旧するまでの時間は、ネットワーク環境と使用しているプロトコルの復旧時間に依存します。マスター(ID=1)は正常起動するまでポートをリンクアップしません。旧マスター(ID=2)も再起動中はリンクダウンするため、マスター(ID=1)がコンフィグを読み込んでから正常起動するまでの間、一時的にVCSグループの全ポートがリンクダウンしている状態になります。
Note5.4.8-0.3は説明上使用している架空のファームウェアです。5.4.8-0.2リリース時点では実在しませんのでご注意ください。
Note本手順を実行する場合は、各メンバーへの物理的アクセスと、レジリエンシーリンクの接続が必要です。
NoteUSBメモリー上のファームウェアへバージョンアップするには、USB 2.0である必要があります。ご使用の際には、お客様の使用環境で事前に検証を行った上で導入してください。
[AlliedWare Plus] Copy_from_external_media_enabled=yes Boot_Release=x510-5.4.8-0.3.rel
vcg# show file systems ↓ Stack member 1: Size(b) Free(b) Type Flags Prefixes S/D/V Lcl/Ntwk Avail ------------------------------------------------------------------- 63.0M 35.5M flash rw flash: static local Y - - system rw system: virtual local - ... Stack member 2: Size(b) Free(b) Type Flags Prefixes S/D/V Lcl/Ntwk Avail ------------------------------------------------------------------- 63.0M 38.5M flash rw flash: static local Y - - system rw system: virtual local - ...この例では、メンバー1 の空き容量が35.5MByte、メンバー2 の空き容量が38.5MByteであると確認できます。空き容量とイメージファイルのサイズを比較して、すべてのメンバーにイメージファイルを格納するのに充分な空きがあることを確認してください。
vcg# dir vcg-2/flash:/*.rel ↓ ... 1401740 -rw- Jan 01 2011 00:00:00 vcg-2/flash:/x510-nolonger-used.rel ... vcg# delete vcg-2/flash:/x510-nolonger-used.rel ↓ Deleting.................................................... Successful operation
vcg# configure terminal ↓ Enter configuration commands, one per line. End with CNTL/Z. vcg(config)# autoboot enable ↓
vcg(config)# exit ↓ vcg# copy running-config before-autoboot-upgrade.cfg ↓
vcg# reload ↓
09:28:21 awplus Autoboot: autoboot.txt file detected awplus login: 09:29:21 awplus Autoboot: Restoring release from usb:/x510-5.4.8-0.3.rel to flash:x510-5.4.8-0.3.rel. This may take several minutes to complete. 09:29:21 awplus Autoboot: Please wait until the device reboots. 09:30:21 awplus Autoboot: Release successfully restored 09:30:21 awplus Autoboot: Autoboot restore successful, rebooting device.
vcg# show boot ↓ Boot configuration -------------------------------------------------------------------------------- Current software : x510-5.4.8-0.3.rel Current boot image : flash:/x510-5.4.8-0.3.rel Backup boot image : flash:/x510-5.4.8-0.2.rel Default boot config: flash:/default.cfg Current boot config: flash:/default.cfg (file exists) Backup boot config: Not set Autoboot status : enabled
vcg# configure terminal ↓ Enter configuration commands, one per line. End with CNTL/Z. vcg(config)# no autoboot enable ↓
Note5.4.8-0.3は説明上使用している架空のファームウェアです。5.4.8-0.2リリース時点では実在しませんのでご注意ください。
vcg# show stack ↓ Virtual Chassis Stacking summary information ID Pending ID MAC address Priority Status Role 1 - 0015.7793.23cb 128 Ready Active Master 2 - 0015.77df.f59d 128 Ready Backup Member Operational Status Normal operation Stack MAC address 0000.cd37.03db (Virtual MAC)
vcg# configure terminal ↓ Enter configuration commands, one per line. End with CNTL/Z. vcg(config)# no boot system ↓ vcg(config)# boot system backup x510-5.4.8-0.2.rel ↓ VCS synchronizing file across the stack, please wait... File synchronization with stack member-2 successfully completed [DONE]
vcg(config)# boot system usb:/x510-5.4.8-0.3.rel ↓ VCS synchronizing file across the stack, please wait....... File synchronization with stack member-2 successfully completed [DONE]
vcg# show boot ↓ Boot configuration -------------------------------------------------------------------------------- Current software : x510-5.4.8-0.2.rel Current boot image : usb:/x510-5.4.8-0.3.rel Backup boot image : flash:/x510-5.4.8-0.2.rel Default boot config: flash:/default.cfg Current boot config: flash:/default.cfg (file exists) Backup boot config: Not set Autoboot status : disabled
Notereload rolling/reboot rollingコマンドは、メジャーバージョンアップには使用できません。
vcg# reload ↓ Are you sure you want to reboot the whole stack? (y/n): y ↓
(C) 2015 - 2018 アライドテレシスホールディングス株式会社
PN: 613-002106 Rev.N