退避された仮想アダプターの設定ファイルを復元するには、hanetrestoreコマンドを使用します。
以下に、退避された仮想アダプターの設定ファイルを復元する例を示します。
stphanetコマンドを使用して、すべての仮想アダプターを非活性化させます。
> stphanet FJSVhanet: INFO: 00000: The command ended normally (sha0). FJSVhanet: INFO: 00005: The ping monitor stopped. |
hanetrestoreコマンドを使用して、設定ファイルを復元します。
> hanetrestore -f C:\glsbackup |
strhanetコマンドを使用して、仮想アダプターを活性化させます。
> strhanet FJSVhanet: INFO: 00000: The command ended normally (sha0). FJSVhanet: INFO: 00007: Start the ping monitor using the hanetpoll command if needed. |
hanetrestoreコマンドの詳細は、“6.2.5 hanetrestore”を参照してください。
注意
IPアドレスの設定は退避されないため、ファイルの復元後、仮想アダプターにIPアドレスを設定してください。詳細は、“3.4.5 IPアドレスの設定(事後作業)”を参照してください。