Amending TCPIP service entries (181 Views)
Reply
Valued Contributor
Brian Reiter
Posts: 303
Registered: ‎03-04-2004
Message 1 of 1 (181 Views)

Amending TCPIP service entries

Hi again,

 

I'm considering restricting one or more TCPIP services to a couple of interfaces (out of 8). The TCPIP SET SERVICE command seems to be arcane to say the least. For example to reconfigure the MOUNT service:

 

TCPIP SET NOSER MOUNT

 

and then create the service entries as follows:

 

$ TCPIP set serv mount  /port=10 -
                        /prot=tcp -
                        /address=10.51.3.33 -
                        /flag=TCPIP -
                        /user=TCPIP$nfs -
                        /limi=10 -
                        /proc=tcpip$mountd_1 -
                        /sock=(r:64000,s:64000) -
                        /inac=0 -
                        /file=TCPIP$SYSTEM:TCPIP$MOUNTD_RUN.COM -
                        /log=(f:sys$sysdevice:[tcpip$nfs]tcpip$mountd_1_run.log,all) -
                        /RPC=(P=100005,V=(L=1,H=3))
$ TCPIP SET SERVICE MOUNT /protocol=udp/flag=TCPIP
$ TCPIP set serv mount  /port=10 -
                        /prot=tcp -
                        /address=10.51.1.1 -
                        /flag=TCPIP -
                        /user=TCPIP$nfs -
                        /limi=10 -
                        /proc=tcpip$mountd_2 -
                        /sock=(r:64000,s:64000) -
                        /inac=0 -
                        /file=TCPIP$SYSTEM:TCPIP$MOUNTD_RUN.COM -
                        /log=(f:sys$sysdevice:[tcpip$nfs]tcpip$mountd_2_run.log,all) -
                        /RPC=(P=100005,V=(L=1,H=3))
$ TCPIP SET SERVICE MOUNT /protocol=udp/flag=TCPIP

Which gives from a SHOW SERVICE MOINT command

 

 

tcpip sho serv mount

Service             Port  Proto    Process          Address            State

MOUNT                 10  TCP      TCPIP$MOUNTD_2   10.51.1.1           Disabled
MOUNT                 10  TCP,UDP  TCPIP$MOUNTD_2   10.51.1.1           Disabled
MOUNT                 10  TCP,UDP  TCPIP$MOUNTD_1   10.51.3.33          Disabled
(CATA4)SYSTEM>tcpip sho serv mount/full

Service: MOUNT
                           State:     Disabled
Port:               10     Protocol:  TCP             Address:  10.51.1.1
                           User_name: not defined     Process:  TCPIP$MOUNTD_2

Service: MOUNT
                           State:     Disabled
Port:               10     Protocol:  TCP,UDP         Address:  10.51.1.1
                           User_name: not defined     Process:  TCPIP$MOUNTD_2

Service: MOUNT
                           State:     Disabled
Port:               10     Protocol:  TCP,UDP         Address:  10.51.3.33
                           User_name: not defined     Process:  TCPIP$MOUNTD_1

 

The user name is shown as undefined even though it should be  TCPIP$NFS. The rest of the configuration is taken straight from the commands executed by the TCPIP$CONFIG routine. Presumably the process names should be unique.

 

Any thoughts on  how to do this would be much appreciated.

 

 

Regards

 

Brian

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.