2: 2019-08-24 (土) 00:18:22 iseki |
現: 2020-08-20 (木) 17:37:27 iseki |
| * Cisco Switch [#r0f9dd8d] | | * Cisco Switch [#r0f9dd8d] |
- | *** パスワードの初期化 [#tdd39324] | + | ** OLD IOS [#lc3660b6] |
- | 起動時にブレーク信号を送信 | + | - [[Cisco 1800]] |
- | romon 1 > confreg 0x2142 | + | |
- | romon 2 > boot | + | |
- | ....... | + | |
- | Would you like to enter the initial configuration dialog? [yes/no] no | + | |
- | Router> enable | + | |
- | Router# | + | |
- | Router# config t | + | |
- | Router(config)# enable secret [password] | + | |
- | Router(config)# config-register 0x2102 | + | |
- | ^Z | + | |
- | Router# | + | |
- | Router# write | + | |
| #br | | #br |
| | | |
- | *** telnet ログイン時のパスワードの変更 [#eea68cdb] | + | ** Current IOS [#w291e987] |
- | (config)# line vty 0 15 [コンソールなら line console 0] | + | *** 便利コマンド [#hba335fc] |
- | (config)# password xxxxxxx | + | - show log |
- | (config)# login | + | - show processes cpu sorted 5sec |
- | (config)# ^Z | + | - show processes cpu history |
- | # write | + | |
| | | |
- | *** 特権モードのパスワードの変更 [#a30540da] | + | #br |
- | (config)# enable secret 0 zzzzzzzzz | + | |
| | | |
- | *** ssh の使用 [#v3ae086b] | + | *** ファイルのダウンロードとアップロード [#v9c05481] |
- | (config)# ip domain-name X.Y.Z | + | **** ダウンロード [#m6ff32d3] |
- | (config)# crypto key generate rsa | + | # copy flash:webauth_success.html ftp://iseki:passwd@202.26.159.140 |
- | (config)# ip ssh version 2 | + | #br |
- | (config)# username user_name password 0 xxxxx | + | |
- | (config)# line vty 0 15 | + | |
- | (config-line)# transport input telnet ssh [telnet を使用しないのなら telnetは省く] | + | |
- | (config-line)# login local | + | |
- | (config)# exit | + | |
- | (config)# ^Z | + | |
- | # write | + | |
| | | |
- | - もし特権モードで直接ログインするのなら | + | **** アップロード [#a0a41c52] |
- | (config)# username user_name privilege 15 password 0 xxxxxx | + | # copy ftp://iseki:passwd@202.26.159.140/webauth_fail.html flash: |
| #br | | #br |
| | | |
- | *** 便利コマンド [#hba335fc] | + | ** Trouble Shooting [#f7602435] |
- | - show log | + | |
- | - show processes cpu sorted 5sec | + | |
- | - show processes cpu history | + | |
| | | |
| + | ***Error on database apply 40: NV storage failure [#oe93fbfb] |
| + | - vlan database の書き込みでエラー |
| + | |
| + | #erase nvram: |
| + | #format flash: |
| + | #copy running-config startup-config |
| + | #vlan database |
| + | ...... |
| #br | | #br |
- | *** Error [#w425693d] | + | |
| + | *** errdisable [#tb6bcfb6] |
| + | - Link up/down(フラップ)が 10s間に 5回発生(デフォルト)するとポートが閉じる. |
| + | - その他の要因でも閉じる |
| + | - フラップ設定の確認は |
| + | show errdisable flap-values |
| + | - 回復は,手動で ''shutdown'' して ''no shutdown'' |
| + | #br |
| + | |
| + | **** 自動リカバリ [#ka3a8617] |
| + | - ''show errdisable recovery'' で状態を確認 |
| + | - ''errdisable recovery cause [上記コマンドの Reason]'' で自動復帰可能 |
| + | -- または ''errdisable recovery cause all'' |
| + | #br |
| + | |
| + | *** その他の Error, Bug [#w425693d] |
| **** ポートがシャットダウンする (2019/08/21) [#d6e1a684] | | **** ポートがシャットダウンする (2019/08/21) [#d6e1a684] |
| - Log | | - Log |
| 推奨処置 接続されているホストの数に対応するインターフェイスを再設定してください。shutdown インターフェイス コンフィギュレーション コマンドおよび no shutdown インターフェイス コンフィギュレーション コマンドを入力し、インターフェイスを再度イネーブルにします。 | | 推奨処置 接続されているホストの数に対応するインターフェイスを再設定してください。shutdown インターフェイス コンフィギュレーション コマンドおよび no shutdown インターフェイス コンフィギュレーション コマンドを入力し、インターフェイスを再度イネーブルにします。 |
| - 対策 | | - 対策 |
- | -- authentication host-mode multi-auth を追加 | + | -- ''authentication host-mode multi-auth'' を追加 |
| #br | | #br |