TCP/IP (Parallel Library) Configuration and Management Manual

SCF Reference for Parallel Library TCP/IP
HP NonStop TCP/IP (Parallel Library) Configuration and Management Manual522271-006
5-32
ALTER SUBNET Command for TCPMAN
The following example links the two failover-enabled subnets, SN1 and SN2, together
as an adapter failover pair. The subnets SN1 and SN2 are configured to have different
subnet IP address.
-> ASSUME PROCESS $ZZTCP
-> ADD SUBNET SN1,TYPE ETHERNET, DEVICENAME LANLIF2, &
IPADDRESS 172.17.217.232, SUBNETMASK 255.255.255.0, &
FAILOVER NONSHAREDIP
-> ADD SUBNET SN2,TYPE ETHERNET, DEVICENAME LANLIF3, &
IPADDRESS 172.17.217.234, SUBNETMASK 255.255.255.0, &
FAILOVER NONSHAREDIP
-> ALTER SUBNET SN1, ASSOCIATESUB "SN2"
The following example links the two failover-enabled subnets, SN3 and SN4, together
as an adapter failover pair. The subnets SN3 and SN4 are configured to have the
same subnet IP address.
-> ASSUME PROCESS $ZZTCP
-> ADD SUBNET SN3,TYPE ETHERNET,DEVICENAME LANLIF4, &
IPADDRESS 172.17.217.44, SUBNETMASK 255.255.255.0, FAILOVER &
SHAREDIP
-> ADD SUBNET SN4,TYPE ETHERNET,DEVICENAME LANLIF5,&
IPADDRESS 172.17.217.44, SUBNETMASK 255.255.255.0, FAILOVER &
SHAREDIP
-> ALTER SUBNET SN3, ASSOCIATESUB "SN4", RESERVEDIP &
172.17.217.45
Considerations
You cannot ALTER a subnet attribute on only one TCPMON. ALTER SUBNET only
accepts the wild-card (*) notation for the process name on the TCPMON object;
hence, alterations to a subnet change all TCPMONs. The wild card, however, is
optional; if you do not specify it, the wild card is assumed.
See Table 5-2 on page 5-7 for naming conventions and reserved object names.
The object must be in the STOPPED summary state when the ALTER command is
issued.
When the ALTER command is completed, the object remains in the same
summary state that existed before you issued the command.
Use the INFO command to view the current attribute values.
Do not use the RESERVED IP address for data traffic because the RESERVED IP
address is not guaranteed to survive an adapter failure.
Note. The ADDALIAS and DELETEALIAS attributes are exceptions. Both these attributes
can also be altered when the subnet is in the STARTED state.