PRIMECLUSTER Global Link Services Configuration and Administration Guide: Redundant Line Control Function 4.2 (for Linux) |
Contents
Index
![]() ![]() |
Chapter 7 Command references |
strhanet - Activation of virtual interfaces
/opt/FJSVhanet/usr/sbin/strhanet [inet | inet6 | dual] [-n devicename1[,devicename2,...]]
The strhanet command activates virtual interfaces in accordance with the generated configuration information.
It is possible to specify the following options:
Specify an IP address form assigned to a virtual interface to be activated.
|
inet |
: IPv4 address |
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").
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.
hanetconfig
stphanet
dsphanet
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 |
Contents
Index
![]() ![]() |