CL Command Reference - CHGNWSD

CL Command List > CHGNWSD Reference

Description:

The Change Network Server Description (CHGNWSD) command changes a network server description. Parameters that can be changed include server software parameters and network protocol descriptions.

Restrictions:

. You must have input/output system configuration (*IOSYSCFG) special authority to use this command.


Examples:

Example 1: Changing the TCP/IP Route Configuration

CHGNWSD NWSD(REMODEL2) TCPRTE((*DFTROUTE *NONE กฏ9.5.5.1กฏ))

This command changes a server description named REMODEL2. The TCP/IP default route next hop address is changed to 9.5.5.1.



Example 2: Changing the Restricted Device Resources

CHGNWSD NWSD(WNTSVR4) RSTDDEVRSC(OPT02 *ALLTAPE)

This command changes a server description named WNTSVR4. Device resource OPT02 and all tape resources (*ALLTAPE) are changed to have their access restricted from the network server.



Example 3: Changing the Storage Path, Multi-path Group, Network Server Configuration and Shutdown TCP Port

CHGNWSD NWSD(WINISCSI) STGPTH((NWSH3) (NWSH4 (5 3 8 9)))
MLTPTHGRP(1 2)
NWSCFG(YOURREMOTE YOURSECURITY)
SHUTDPORT(8950)

This command changes a network server description named WINISCSI. Storage paths one and two are changed to use network server host adapters NWSH3 and NWSH4 and associated IP security rules. Multi-path group was changed to use storage paths 1 and 2. Network server configuration was changed to use YOURREMOTE for Remote system name and YOURSECURITY for Connection security name, and Shutdown TCP port was changed to 8950.