Top
PRIMECLUSTER Global Link Services Configuration and AdministrationGuide 4.3Redundant Line Control Function

7.3 stphanet Command

[Name]

stphanet - Inactivation of virtual interfaces

[Synopsis]

/opt/FJSVhanet/usr/sbin/stphanet [inet | inet6 | dual] [-n devicename1[,devicename2,...]]

[Feature description]

The stphanet command makes it possible to deactivate a virtual interface.

[Option]

It is possible to specify the following options:


[inet | inet6 | dual]

Specify an IP address form assigned to a virtual interface to be deactivated.

inet
inet6
dual

: IPv4 address
: IPv6 address
: IPv4/IPv6 dual stack configuration

When omitted, virtual interfaces of all forms are to be dealt with. IPv4 and IPv6 addresses are deactivated at the same time in a virtual interface of dual stack configuration. It is not possible to deactivate only an IPv4 address or only an IPv6 address respectively. Dual stack configuration in this case does not mean IPv4 and IPv6 addresses are set on each of the stacked physical interfaces, but they are set to one virtual interface defined in a Redundant Line Control Function. This option is valid only in Fast switching mode (operation mode is "t") or NIC switching mode (operation mode is "d").


-n devicename1[,devicename2,...]:

Specify a virtual interface name to be inactivated. Multiple virtual interfaces can be specified by delimiting them with a comma (,). Virtual interface names specified here must have been activated by using the strhanet command. If this option is not specified, all active virtual interfaces are inactivated.

[Related commands]

strhanet
dsphanet

[Notes]

[Examples]

The following is an example in which all virtual interfaces (excluding virtual interfaces in cluster operation) defined in the configuration information for Redundant Line Control Function are inactivated.

# /opt/FJSVhanet/usr/sbin/stphanet

The following is an example in which only the virtual interface sha2 defined in the configuration information for Redundant Line Control Function is inactivated.

# /opt/FJSVhanet/usr/sbin/stphanet -n sha2

The following shows an example to deactivate all virtual interfaces of Fast switching mode or NIC switching mode and also in dual stack configuration.

# /opt/FJSVhanet/usr/sbin/stphanet dual