CL Command Reference - CRTNWSD
CL Command List > CRTNWSD Reference
Description:
The Create Network Server Description (CRTNWSD) command creates a description for a network server. The description includes server software parameters, network protocol descriptions and definition of attached communications equipment (for example, line descriptions).
This command should be run from the Configure Network Server (CFGNWS) menu, which includes all of the steps needed to create an initial server configuration.
Restrictions:
. You must have input/output system configuration (*IOSYSCFG) special authority to use this command.
Examples:
Example 1: Creating a *GUEST NWSD
CRTNWSD NWSD(LINUX1) RSRCNAME(*NONE) TYPE(*GUEST)
PARTITION(TEST)
VRYWAIT(*NOWAIT) CODEPAGE(437)
TCPPORTCFG((1 กฏ9.5.3.2กฏ กฏ255.255.255.0กฏ 2048))
TCPHOSTNAME(*NWSD) TCPDMNNAME(*SYS) TCPNAMSVR(*SYS)
This command creates a server description named LINUX1. LINUX1 has no associated resource name. LINUX1 is a network server description associated with a guest operating system running in the logical partition named TEST. The TCP/IP protocol stack will be activated when LINUX1 is varied on. Code page 437 (United States) will be used. Port 1 will have TCP/IP internet addresses assigned. The TCP/IP local host name is the same as the server description name. The TCP/IP local domain name is the same as the i5/OS system and the same name server will be used.
Example 2: Creating a Windows *ISCSI NWSD
CRTNWSD NWSD(WINISCSI) RSRCNAME(*NONE) TYPE(*ISCSI *WIN32)
STGPTH((NWSH1) (NWSH2 (1 1 1 1))) DFTSECRULE(3)
MLTPTHGRP(1 2) DFTSTGPTH(1) RMVMEDPTH(2) ACTTMR(120)
CMNMSGQ(MYLIB/MYMSGQ)
TCPPORTCFG((*VRTETHPTP กฏ9.5.5.5กฏ กฏ255.255.255.0กฏ))
VRTETHPTH((*VRTETHPTP NWSH1) (*VRTETH5 NWSH2))
NWSCFG(MYREMOTE MYSECURITY)
SHUTDPORT(8750) VRTETHCTLP(8850)
This command creates a server description named WINISCSI. WINISCSI has no resource name. WINISCSI is a network server description which has NWSH1 and NWSH2 network server host adapters and asociated IP security rules as its Storage paths, Default IP security rule 3, Multi-path group 1 and 2, Default storage path 1, Removable media path 2, Activation timer 120 seconds, Communications message queue MYMSGQ in MYLIB, Virtual Ethernet paths NWSH1 and NWSH2, Network server configuration MYREMOTE for Remote system name and MYSECURITY for Connection security name, Shutdown TCP port 8750, and Virtual Ethernet control TCP port 8850.