z/os v2r3.0 communications server: ip system · pdf filesnmp generic trap types ... mib...

1172
z/OS Communications Server IP System Administrator's Commands Version 2 Release 3 SC27-3661-30 IBM

Upload: doanthuan

Post on 18-Mar-2018

347 views

Category:

Documents


18 download

TRANSCRIPT

  • z/OS Communications Server

    IP System Administrator's CommandsVersion 2 Release 3

    SC27-3661-30

    IBM

  • Note:Before using this information and the product it supports, be sure to read the general information under Notices on page1125.

    This edition applies to Version 2 Release 3 of z/OS (5650-ZOS), and to subsequent releases and modifications untilotherwise indicated in new editions.

    Last updated: March 21, 2018

    Copyright IBM Corporation 2000, 2018.US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contractwith IBM Corp.

  • Contents

    Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii

    Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix

    About this document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiWho should read this document . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiHow this document is organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiHow to use this document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii

    How to contact IBM service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiiConventions and terminology that are used in this information . . . . . . . . . . . . . . . . . . xiiiHow to read a syntax diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . xivPrerequisite and related information . . . . . . . . . . . . . . . . . . . . . . . . . . xvii

    Summary of changes for IP System Administrator's Commands . . . . . . . . . . xxiiiChanges made in z/OS Communications Server Version 2 Release 3. . . . . . . . . . . . . . . . xxiiiChanges made in z/OS Communications Server Version 2 Release 2, as updated June 2017 . . . . . . . . xxivChanges made in z/OS Version 2 Release 2, as updated September 2016 . . . . . . . . . . . . . . xxivChanges made in z/OS Version 2 Release 2, as updated March 2016. . . . . . . . . . . . . . . . xxivChanges made in z/OS Version 2 Release 2 . . . . . . . . . . . . . . . . . . . . . . . . xxvChanges made in z/OS Version 2 Release 1, as updated February 2015 . . . . . . . . . . . . . . . xxviChanges made in z/OS Version 2 Release 1, as updated December 2013 . . . . . . . . . . . . . . xxviz/OS Version 2 Release 1 summary of changes . . . . . . . . . . . . . . . . . . . . . . xxvii

    Chapter 1. Operator commands and system administration . . . . . . . . . . . . . 1MVS commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1START command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1STOP command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

    For each server with outstanding calls to TCP/IP . . . . . . . . . . . . . . . . . . . . . . 2For each connected server that does not have outstanding calls . . . . . . . . . . . . . . . . . 2

    DISPLAY TCPIP command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2DISPLAY TCPIP command examples . . . . . . . . . . . . . . . . . . . . . . . . . . 3DISPLAY command: TCP/IP address space . . . . . . . . . . . . . . . . . . . . . . . . 3DISPLAY command: TN3270E Telnet server address space . . . . . . . . . . . . . . . . . . 125

    MODIFY command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149MODIFY command: Automated domain name registration application (EZBADNR) . . . . . . . . . . 151MODIFY command: Communications Server SMTP application (CSSMTP) . . . . . . . . . . . . . 168MODIFY command: DCAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181MODIFY command: Defense Manager daemon . . . . . . . . . . . . . . . . . . . . . . 182MODIFY command: FTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183MODIFY command: IKE server . . . . . . . . . . . . . . . . . . . . . . . . . . . 188MODIFY command: NCPROUTE. . . . . . . . . . . . . . . . . . . . . . . . . . . 189MODIFY command: Network security services server . . . . . . . . . . . . . . . . . . . . 191MODIFY command: OMPROUTE . . . . . . . . . . . . . . . . . . . . . . . . . . 193MODIFY command: Policy Agent . . . . . . . . . . . . . . . . . . . . . . . . . . 205MODIFY command: Resolver address space . . . . . . . . . . . . . . . . . . . . . . . 209MODIFY command: REXEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213MODIFY command: RPCBIND . . . . . . . . . . . . . . . . . . . . . . . . . . . 214MODIFY command: SNALINK LU0 . . . . . . . . . . . . . . . . . . . . . . . . . . 215MODIFY command: SNALINK LU 6.2 . . . . . . . . . . . . . . . . . . . . . . . . . 215MODIFY command: SNMP agent. . . . . . . . . . . . . . . . . . . . . . . . . . . 218MODIFY command: SNMP Network SLAPM2 subagent . . . . . . . . . . . . . . . . . . . 219MODIFY command: Syslog Daemon. . . . . . . . . . . . . . . . . . . . . . . . . . 219MODIFY command: Trap forwarder daemon (TRAPFWD) . . . . . . . . . . . . . . . . . . 221MODIFY command: VMCF and TNF . . . . . . . . . . . . . . . . . . . . . . . . . 222

    Copyright IBM Corp. 2000, 2018 iii

  • MODIFY command: X.25 NPSI server . . . . . . . . . . . . . . . . . . . . . . . . . 222MODIFY command: z/OS Load Balancing Advisor. . . . . . . . . . . . . . . . . . . . . 224MODIFY command: z/OS Load Balancing Agent . . . . . . . . . . . . . . . . . . . . . 231

    VARY TCPIP command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234Security considerations for the VARY command . . . . . . . . . . . . . . . . . . . . . . 235VARY command: TCP/IP address space . . . . . . . . . . . . . . . . . . . . . . . . 236VARY command: TN3270E Telnet server address space . . . . . . . . . . . . . . . . . . . 282

    EZACMD command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294EZACMD command installation . . . . . . . . . . . . . . . . . . . . . . . . . . . 294MVS console invocation of the EZACMD command . . . . . . . . . . . . . . . . . . . . 295TSO invocation of the EZACMD command . . . . . . . . . . . . . . . . . . . . . . . 296NetView invocation of the EZACMD command . . . . . . . . . . . . . . . . . . . . . . 297

    TSO commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298Using the SMSG interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298MAKESITE command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299TESTSITE command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303HOMETEST command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304MVPXDIS command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304

    UNIX command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304

    Chapter 2. Monitoring the TCP/IP network . . . . . . . . . . . . . . . . . . . . 305Netstat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305

    TSO NETSTAT command output parsing considerations . . . . . . . . . . . . . . . . . . . 305Provide security product access to Netstat command . . . . . . . . . . . . . . . . . . . . 307The TSO NETSTAT command syntax . . . . . . . . . . . . . . . . . . . . . . . . . 308The z/OS UNIX netstat command syntax . . . . . . . . . . . . . . . . . . . . . . . . 312The Netstat parameter overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 316Netstat report details and examples . . . . . . . . . . . . . . . . . . . . . . . . . . 326z/OS UNIX and TSO Netstat option comparison . . . . . . . . . . . . . . . . . . . . . 685

    Ping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687The TSO PING command: Send an echo request. . . . . . . . . . . . . . . . . . . . . . 687The z/OS UNIX ping command: Send an echo request . . . . . . . . . . . . . . . . . . . 696TSO PING and z/OS UNIX ping command return codes . . . . . . . . . . . . . . . . . . . 704Resolving TSO PING and z/OS UNIX ping command problems . . . . . . . . . . . . . . . . 704

    Rpcinfo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 705The TSO RPCINFO command: Display server information . . . . . . . . . . . . . . . . . . 705The z/OS UNIX orpcinfo/rpcinfo command: Display server information . . . . . . . . . . . . . 707

    Traceroute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710The TSO TRACERTE command: Debug network problems . . . . . . . . . . . . . . . . . . 710The z/OS UNIX traceroute command: Debug network problems . . . . . . . . . . . . . . . . 717

    Chapter 3. Managing network security. . . . . . . . . . . . . . . . . . . . . . 725ipsec command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 725

    ipsec command security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 726The z/OS UNIX ipsec command syntax . . . . . . . . . . . . . . . . . . . . . . . . 730The z/OS UNIX ipsec command parameter descriptions . . . . . . . . . . . . . . . . . . . 736The ipsec command report details and examples . . . . . . . . . . . . . . . . . . . . . 753

    nssctl command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 838nssctl command security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 838The z/OS UNIX nssctl command syntax . . . . . . . . . . . . . . . . . . . . . . . . 838The z/OS UNIX nssctl command parameter descriptions . . . . . . . . . . . . . . . . . . . 839The nssctl command report details and examples . . . . . . . . . . . . . . . . . . . . . 840

    certbundle command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 844The z/OS UNIX certbundle command syntax . . . . . . . . . . . . . . . . . . . . . . 844The z/OS UNIX certbundle command parameter descriptions . . . . . . . . . . . . . . . . . 845CertBundleOptions statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . 845

    Chapter 4. Displaying polic