[Name]
dsphanet - Displaying the operation status of virtual interfaces
[Synopsis]
/opt/FJSVhanet/usr/sbin/dsphanet [-n devicename1[,devicename2,...] | -o | -c]
[Feature description]
The dsphanet command displays the current operation status of virtual interfaces and logical virtual interfaces.
[Option]
You can specify the following options:
Specify the name of a virtual interface whose status should be displayed. You can specify more than one virtual interface by listing them delimited with a comma (,). If this option is not specified, this command displays all the virtual interfaces that are properly defined.
Displays all communication parties of virtual interfaces defined in Fast switching mode (operation mode "t"). This option does not display communication parties of virtual interfaces not yet activated using the strhanet command.
Displays the number of assigned connections defined in GS/SURE linkage mode (operation mode "c"). The number of connections is displayed as "-" if the concerned virtual interface is not activated. The number of connections is displayed as "-" also if the communication target monitoring function is not set or no connection is yet established.
[Display format]
The following shows the display formats used when no option is specified and when the -n option is specified.
Item | Explanation | |
---|---|---|
[IPv4,Patrol] | Displays virtual interface information of an IPv4 address and standby patrol form. | |
[IPv6] | Displays virtual interface information of an IPv6 address form. | |
Name | Outputs a virtual interface name. | |
Status | Outputs the status of a virtual interface. | |
Status | Active | Active status |
Inactive | Inactive status | |
Mode | Outputs the operation mode of a virtual interface. | |
Mode | t | Fast switching mode |
r | RIP mode | |
b | Fast switching/RIP mode | |
n | GS/SURE linkage mode (physical interface definition) | |
c | GS/SURE linkage mode (virtual interface definition) | |
d | NIC switching mode (logical IP address takeover function) | |
e | NIC switching mode (physical IP address takeover function) | |
p | Standby patrol function (automatic failback if a failure occurs) | |
q | Standby patrol function (immediate automatic failback) | |
CL | Cluster definition status | |
CL | ON | Cluster resource |
OFF | None cluster resource | |
Device | Outputs the physical interface names bundled by a virtual interface and, enclosed in parentheses, the statuses of the physical interfaces. | |
Device | ON | Enabled |
OFF | Disabled | |
STOP | Ready for use | |
FAIL | Error in one system | |
CUT | Unused | |
LOST | System unstable |
The following shows the display format used when the -o option is specified.
Item | Explanation | |
---|---|---|
NIC | Outputs a physical interface name. | |
Destination Host | Outputs the host name of the communication target. (If the target host does not exist, it will display "none".) | |
Status | Outputs the status of the communication target. | |
Status | Active | Active status |
Inactive | Inactive status |
The following shows the display format used when the -c option is specified.
Item | Explanation |
---|---|
Name | Outputs a virtual interface name in GS/SURE linkage mode (operation mode "c"). |
IFName | Outputs a virtual interface name in GS/SURE linkage mode (operation mode "n"). |
Connection | Outputs the number of connections. |
[Related commands]
strhanet stphanet
[Notes]
This command can be specified for any virtual interfaces.
Only one option can be specified at one time.
[Examples]
The following shows an example of displaying the active or inactive status of all virtual interfaces that are properly defined in the configuration information for Redundant Line Control function.
# /opt/FJSVhanet/usr/sbin/dsphanet |
The following shows an example of displaying all the communication parties of virtual interfaces in Fast switching mode (operation mode "t") properly defined in the configuration information for Redundant Line Control function.
# /opt/FJSVhanet/usr/sbin/dsphanet -o |
The following shows an example of displaying the number of assigned connections of virtual interfaces in GS/SURE linkage mode (operation mode "c") properly defined in the configuration information for Redundant Line Control function.
# /opt/FJSVhanet/usr/sbin/dsphanet -c |