Ciscoイーサネット・スイッチのパスワードの変更

Ciscoイーサネット・スイッチにはユーザー・アカウントがありません。パスワードはいわゆる有効化パスワードであり、ユーザー・アカウントに固有ではありません。

Ciscoイーサネット・スイッチのパスワードを変更するには、次のようにします。

  1. enableモードに変更します。
    Switch> enable
    
  2. 次のように、パスワードを設定します:
    rasw-ip# configure terminal
    Enter configuration commands, one per line. End with CNTL/Z.
    rasw-ip(config)# enable password password
    rasw-ip(config)# enable secret password
    rasw-ip(config)# end
    rasw-ip# write memory 
    *Sep 15 14:25:05.893:%SYS-5-CONFIG_I:Configured from console by console
    Building configuration...
    Compressed configuration from 2502 bytes to 1085 bytes [OK ]
    
  3. 現在の構成を保存します。
    rasw-ip# copy running-config startup-config
    
  4. セッションを終了します。
    rasw-ip# exit