Post date: Oct 4, 2011 11:50:56 PM
如果 指令下錯,發現網路斷線 無法回覆怎辦呢?
HP 部分交換器具備下列功能,請先備份startup.cfg 另存為其他檔名。下面個案另存成 base.cfg
當設定有調整發現 影響到網路運行時。可以下達下列指令。以快速回復設備之前設定狀態。
[BJ-0-4-S5120SI-01]configuration replace ?
file Specify the configuration file
[BJ-0-4-S5120SI-01]configuration replace file ?
base.cfg
startup.cfg
使用此法有些注意事項。
設定檔案,不能存在部分undo 指令。因為 一般的startup.cfg 完整的設定檔案。不會包含undo 之類的指令 。
另外因為undo 指令跟正常的指令不同 。正常指令會有完整參數,undo 指令最後面不需要搭配完整參數.
下列個案為例
[A5120-EI-77-GigabitEthernet1/0/2]undo mac-address max-mac-count 0
^
% Too many parameters found at '^' position.
正確的取消命令是
[A5120-EI-77-GigabitEthernet1/0/2]undo mac-address max-mac-count
所以使用上請特別注意
祝各位網路暢行無阻