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

7.2 strhanet Command

[Name]

strhanet - Activation of virtual interfaces

[Synopsis]

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

[Feature description]

The strhanet command activates virtual interfaces in accordance with the generated configuration information.

[Option]

It is possible to specify the following options:


[inet | inet6 | dual]

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

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 activated at the same time in a virtual interface of dual stack configuration. It is not possible to activate 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 activated. Multiple virtual interfaces can be specified by delimiting them with a comma (,). Configuration information for virtual interface names specified here must have been generated with the hanetconfig create command. If this option is not specified, all created virtual interfaces are activated.

[Related commands]

hanetconfig
stphanet
dsphanet

[Notes]

[Examples]

The following is an example in which all virtual interfaces defined in the configuration information for Redundant Line Control Function are activated.

# /opt/FJSVhanet/usr/sbin/strhanet

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

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

The following shows an example to activate all virtual interfaces of Fast switching mode or NIC switching mode and also in an IPv6 address form from virtual interfaces defined in the configuration information.

# /opt/FJSVhanet/usr/sbin/strhanet inet6