You can use the dsphanet command to display the operational or monitoring status of virtual adapters.
Format
dsphanet [-r]
Description
Displays the operational status of virtual adapters. By adding the -r option, you can display the monitoring status.
Options
-r
Displays detailed information on the monitoring status of virtual adapters.
Output Format
The table below explains the output items.
Item | Details | ||
---|---|---|---|
Name | Virtual adapter name | ||
Status (*1) | Activity of virtual adapters | ||
Active | Denotes that the virtual adapter is active. | ||
Inactive | Denotes that the virtual adapter is inactive or paused (*4). | ||
Adapters | Physical adapter name (status) | ||
ON | Operational: | ||
STBY | Standby: | ||
OFF | Not in use: | ||
FAIL | Failed: | ||
Resources (*2) | Link status of physical adapters and status of monitored ping targets | ||
LINK | Monitors the link status of physical adapters. | ||
O | Denotes that the physical adapter is linked up. | ||
X | Denotes that the physical adapter is linked down. | ||
- | Denotes that the status monitor for physical adapters has stopped. | ||
PING | Denotes the ping monitor status of physical adapters. | ||
O | Denotes that ping monitoring is functioning normally. | ||
X | Denotes that ping monitoring is not functioning normally or that a failure has been detected in the ping monitor target before ping monitoring is stopped. (*3) | ||
- | Denotes that ping monitoring is not running or that the ping monitor target specified to "yes" with the -f option of the hanetpoll create command to switch the adapter is not set. | ||
IP address | Denotes the ping monitor status of IP addresses for ping monitor targets. The "!" mark is displayed at the beginning of a ping monitor target for which the adapter is not switched and only communication failure is detected. | ||
O | Denotes that ping monitoring for the IP address is functioning normally. | ||
X | Denotes that ping monitoring for the IP address is not functioning normally or that a failure has been detected in the ping monitor target before ping monitoring is stopped. (*3) | ||
- | Denotes that ping monitoring for the IP address is not running. |
Notes:
*1. Output when no options are specified.
*2. Output only when the -r option is specified.
*3. When the operational adapter has switched due to an error in the ping monitoring target, ping monitoring of the standby physical adapter is suspended; in order to indicate the error in the monitoring target causing this, the IP address status is displayed as an "X".
*4. When paused, virtual adapters displayed on the network connection window are in inactive state.
Examples
1
To display the operational status of all virtual adapters used in GLS:
> dsphanet Name Status Adapters +-------+--------+------------------------------------------------------------+ sha0 Active Ethernet 1(ON),Ethernet 2(STBY) sha1 Active Ethernet 3(STBY),Ethernet 4(ON) sha2 Active Ethernet 3(STBY),Ethernet 4(ON) sha3 Active Ethernet 5(FAIL),Ethernet 6(ON) sha4 Active Ethernet 7(FAIL),Ethernet 8(FAIL) |
2
To display detailed information on the monitoring status of all virtual adapters used in GLS:
When the ping monitoring target is the IPv4 address
> dsphanet -r [sha0] Adapters Resources +-------------------------------+---------------------------------------------+ Ethernet 1(ON) LINK(O) PING(O) 192.168.10.250(O),192.168.10.251(O) Ethernet 2(STBY) LINK(O) PING(-) 192.168.10.250(-),192.168.10.251(-) [sha1,sha2] Adapters Resources +-------------------------------+---------------------------------------------+ Ethernet 3(STBY) LINK(O) PING(-) 192.168.20.250(-) !192.168.20.100(-) Ethernet 4(ON) LINK(O) PING(O) 192.168.20.251(O) !192.168.20.100(O) [sha3] Adapters Resources +-------------------------------+---------------------------------------------+ Ethernet 5(FAIL) LINK(X) PING(X) 192.168.30.250(X) Ethernet 6(ON) LINK(O) PING(O) 192.168.30.251(O) [sha4] Adapters Resources +-------------------------------+---------------------------------------------+ Ethernet 7(FAIL) LINK(X) PING(X) 192.168.40.250(X) Ethernet 8(FAIL) LINK(X) PING(-) 192.168.40.251(-) |
When the ping monitoring target is the IPv6 address
> dsphanet -r [sha0] Adapters Resources +-------------------------------+---------------------------------------------+ Ethernet 1(ON) LINK(O) PING(O) 2001:db8:10:1::250(O),2001:db8:10:1::251(O) Ethernet 2(STBY) LINK(O) PING(-) 2001:db8:10:1::250(-),2001:db8:10:1::251(-) [sha1,sha2] Adapters Resources +-------------------------------+---------------------------------------------+ Ethernet 3(STBY) LINK(O) PING(-) 2001:db8:20:1::250(-) !2001:db8:20:1::100(-) Ethernet 4(ON) LINK(O) PING(O) 2001:db8:20:1::251(O) !2001:db8:20:1::100(O) [sha3] Adapters Resources +-------------------------------+---------------------------------------------+ Ethernet 5(FAIL) LINK(X) PING(X) 2001:db8:30:1::250(X) Ethernet 6(ON) LINK(O) PING(O) 2001:db8:30:1::251(O) [sha4] Adapters Resources +-------------------------------+---------------------------------------------+ Ethernet 7(FAIL) LINK(X) PING(X) 2001:db8:40:1::250(X) Ethernet 8(FAIL) LINK(X) PING(-) 2001:db8:40:1::251(-) |