Format
stphanet [-n vadapter] [-m]
Description
Deactivates virtual adapters set using the hanetconfig command and stops ping monitoring.
Options
-n vadapter
Specifies the names of the virtual adapters to be deactivated.
If this option is omitted, all virtual adapters in active state are deactivated.
Ping monitoring running on physical adapters bundled in the virtual adapter is also stopped.
-m
Pauses all virtual adapters set by the hanetconfig command. If ping monitoring is activated, ping monitoring is stopped. Use this option only for maintenance tasks for GLS drivers.
Notes
You must close all higher level applications before deactivating virtual adapters. If a virtual adapter is set for higher level applications, delete the virtual adapter.
You must close all higher level applications before pausing virtual adapters.
Once you have deactivated or paused a virtual adapter, it remains deactivated or paused even when you restart the system. Use the strhanet command to activate the virtual adapter. For more details, refer to "6.2.7 strhanet."
Make sure that the network properties screen is closed before running this command. Otherwise, an error may occur in executing the command.
It may take about 30 seconds for each virtual adapter to be deactivated.
This command is not available in safe mode.
Do not force termination of the stphanet command while it is running. If you do so, you cannot activate a virtual adapter with the name at the termination. In this case, execute the stphanet command again and delete the virtual adapter setting, and then create a virtual adapter with another virtual adapter name.
Do not execute the following commands at the same time, because the configuration information of virtual adapter may not be changed.
Make sure the configuration information of virtual adapter is changed if the following commands have been executed at the same time. If not, execute the following commands again one by one.
hanetnic command
strhanet command
stphanet command
If any virtual adapter is paused, you cannot specify the -n option.
You cannot specify the -m option and the -n option together.
If virtual adapters to be deactivated specified by the -n option share NIC and their IP addresses are used for ping monitoring, the following operations may result in a failure of ping monitoring:
After starting ping monitoring (after the execution of the -on subcommand of the hanetpoll command)
After restarting the server
After restarting the GLS service
If ping monitoring fails, change the ping monitor target or activate virtual adapters, which have been deactivated, again.
Examples
1
To deactivate all virtual adapters in active state:
> stphanet |
2
To deactivate the specified virtual adapter:
> stphanet -n sha0 |
3
To pause all virtual adapters:
> stphanet -m |