nKB

nKB

シンプルにいこうよ

Ciscoスイッチの初期化

スイッチの電源を入れる

管理者権限

switch> enable 

startup-configの削除

switch# erase startup-config

vlan.datの確認

switch# dir flash:

vlan.datの削除

switch# delete flash:vlan.dat

スイッチの再起動

switch# reload

スタック設定の初期化

1. スタック状態を確認

例)自身がSwitch1のとき

Switch#show switch
Switch/Stack Mac Address : xxxx.xxxx.xxxx
                                           H/W   Current
Switch#  Role   Mac Address     Priority Version  State
----------------------------------------------------------
*1       Master xxxx.xxxx.xxxx     15     5       Ready
 2       Member 0000.0000.0000     0      0       Provisioned

例)自身がSwitch2のとき

Switch#show switch
Switch/Stack Mac Address : xxxx.xxxx.xxxx
                                           H/W   Current
Switch#  Role   Mac Address     Priority Version  State
----------------------------------------------------------
*2       Master xxxx.xxxx.xxxx     10     1       Ready


2. (自身がSwitch2のときのみ実施)スイッチNoを「1」に変更

Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#switch 2 renumber 1
WARNING: Changing the switch number may result in a
configuration change for that switch.
The interface configuration associated with the old switch
number will remain as a provisioned configuration.
Do you want to continue?[confirm]
Changing Switch Number 2 to Switch Number 1
New Switch Number will be effective after next reboot


3. 再起動

Switch#reload

System configuration has been modified. Save? [yes/no]: yes
Building configuration...
[OK]
Proceed with reload? [confirm]


4. 設定を削除

Switch#conf t
Switch(config)#no switch 2 provision
Switch(config)#end


5. スタック状態を確認。

Switch#show switch
Switch/Stack Mac Address : xxxx.xxxx.xxxx
                                           H/W   Current
Switch#  Role   Mac Address     Priority Version  State
----------------------------------------------------------
*1       Master xxxx.xxxx.xxxx    15     5       Ready

完了