DIGITAL TCP/IP Services for OpenVMS
Management Command Reference


Previous Contents Index


SHOW NETWORK

Displays information about the networks database.

Related command: SET NETWORK


Format

SHOW NETWORK [ network ]
[ /ADDRESS=address ]
[ /OUTPUT=file ]

restrictions

Requires read access to the networks database.

Parameters

network

Optional. Default: All known networks.

Network about which to display information.


Qualifiers

/ADDRESS=address

Optional. Default: None.

Selects networks by address.

Not valid with the network parameter.

/OUTPUT=file

Optional. Default: Screen display.

Output is written to the specified file.


Examples

#1

TCPIP> SHOW NETWORK COBNET   
  
Network address    Network name  
  
4.0.0.0            COBNET  
  
      

Displays the entry for COBNET in the networks database.

#2

TCPIP> SHOW NETWORK Z*   
Network address    Network name  
  
138.180.4.0        zznet, ZZNET  
120.45.30.0        zzo-net, ZZO-NET, zz01-net  
  
      

From the networks database, displays the entries for all the networks with names or aliases beginning with the letter Z.


SHOW NFS_SERVER

Displays NFS server performance counters and current parameter settings.

Related commands: SET NFS_SERVER, ZERO NFS_SERVER


Format

SHOW NFS_SERVER [ /CONTINUOUS[=n] ]
[ /HOST=host ]
[ /IDENTIFICATION ]
[ /PARAMETERS ]
[ /SERVICES ]
[ /USER_NAME=vms_user_name ]

restrictions

Requires SYSNAM and WORLD privileges.

Qualifiers

/CONTINUOUS[=n]

Optional. Defaults: Static display; /CONTINUOUS=4.

Dynamic display, with optional screen-update interval.

Not valid with /PARAMETERS.

To terminate the display, type Ctrl/Z.

/HOST=host

Optional. Default: All hosts, all users.

Used with /USER_NAME, displays NFS server-related information about the specified OpenVMS user names accessing NFS server from the specified hosts.

Not valid: A list of hosts.

/IDENTIFICATION

Optional. Default: Only counters are displayed.

Provides identification information, such as program number, account number, and RPC version.

/PARAMETERS

Optional. Default: Displays counters.

Displays NFS server parameter settings (set with SET NFS_SERVER command).

/SERVICES

Optional. Default: Gives information only for NFS server.

Displays counters for the NFS server, MOUNT, and Portmapper services.

/USER_NAME=vms_user_name

Optional. Default: All hosts, all users.

Used with /HOST, displays NFS server-related information about the specified OpenVMS user names accessing NFS server from the specified hosts.

Do not specify a list of names.


Examples

#1

TCPIP> SHOW NFS_SERVER  
  
  
Server: NFS$SERVER                    Loaded: 26-OCT-1998 15:20:19.23 
Status: ACTIVE                        Running:          0 20:28:44.23 
 
Memory allocated            429008  RPC errors 
Message processing:                   Authentication              47 
  Threads busy                   0    Others                       0 
  Threads free                  40  Mount data base: 
  Max. threads busy              0    Mounted File Systems         0 
  Duplicate cache xid            0    Current users                0 
  Duplicate active xid           0    Maximum mounted              0 
  Dropped                        0    Maximum users                0 
Data exchange:                      NFS operations: 
  Bytes sent                 46516    null          0  getattr           0 
  Bytes rcvd                133188    setattr       0  lookup            0 
  Messages sent               1946    readlink      0  rename            0 
  Messages rcvd               1946    read          0  write             0 
  Max. message sent             24    statfs        0  create            0 
  Max. message rcvd            116    remove        0  link              0 
Open files:                           symlink       0  mkdir             0 
  Maximum opened                 0    rmdir         0  readdir           0 
  Closed per interval            0  Total NFS operations                 0 
  Currently opened               0  Error messages                       6 
  
  
      

Displays counters from the NFS server process.

#2

TCPIP> SHOW NFS_SERVER /SERVICES  
  
  
Server:   NFS$SERVER                           Loaded:  2-NOV-1997 10:57:05.67  
Status:     ACTIVE                             Running:          3 06:44:32.01  
  
Service:                              NFS           MOUNT        PORTMAPPER  
    Status:                          ACTIVE         ACTIVE       ACTIVE  
Multithreading  
    Number of threads:                   10              1            1  
    Size of i/o buffer                 8192           8192          400  
    Threads busy:                         0              0            0  
    Free:                                 0              0            0  
    Msg. overrun:                         0              0            0  
    Threads idle:               00:00:00.00    00:00:00.00  00:00:00.00  
Message processing  
    Verif failure:                        0              0            0  
    Messages rcvd:                       22             84            0  
    Messages sent:                       22             84            0  
    Bytes received:                    2640           6860            0  
    Bytes sent:                         772           2076            0  
    Max. size sent:                      96             60            0  
    Max. size rcvd:                     120            104            0  
  
  
  
      

Displays counters and other status from the NFS server, MOUNT, and Portmapper processes.


SHOW PORTMAPPER

Displays a list of all registered remote procedure call (RPC) programs. The Portmapper running on the specified host gets this list.

Format

SHOW PORTMAPPER [ host ]


Parameters

host

Optional. Default: Local host.

Host with the Portmapper you want to query.


Examples

#1

TCPIP> SHOW PORTMAPPER  
  
    Program Number    Version Protocol  Port-number Process   Service-name  
--------------------- ------- --------  ----------- --------  ------------  
000186A0 (   100000)       2  TCP         111       24800126  PORTMAPPER  
000186A0 (   100000)       2  UDP         111       24800126  PORTMAPPER  
000186A3 (   100003)       2  UDP        2049       24800125  NFS  
2C30B587 (741389703)       1  UDP        2049       24800125   
000186A5 (   100005)       1  UDP          10       24800125  MOUNT  
  
      

Lists information about all of the currently registered applications.

#2

TCPIP> SHOW PORTMAPPER PARROT
    Program Number    Version Protocol  Port-number Process   Service-name 
--------------------- ------- --------  ----------- --------  ------------ 
000186A0 (   100000)       2  TCP         111       24800126  PORTMAPPER 
000186A0 (   100000)       2  UDP         111       24800126  PORTMAPPER 
      

Queries host PARROT for a list of registered applications.


SHOW PROTOCOL

Displays statistics for ICMP, IP, TCP, and UDP.

To display configuration information, use the /PARAMETERS qualifier. With this qualifier, you can also get information about ARP and RAW_IP.

Related commands: SET PROTOCOL, ZERO PROTOCOL, SHOW CONFIGURATION PROTOCOL


Format

SHOW PROTOCOL [ protocol ]
[ /CONTINUOUS[=n] ]
[ /PARAMETERS ]


Parameters

protocol

Optional. Default: All protocols except ARP and RAW_IP.

Specify one: ICMP, IP, TCP, UDP.


Qualifiers

/CONTINUOUS[=n]

Optional. Default: Static display; /CONTINUOUS=4.

Display update interval in seconds. You must specify a protocol.

To terminate the display, type Ctrl/Z.

/PARAMETERS

Optional.

Shows parameter settings. You can specify any protocol.


Examples

#1

TCPIP> SHOW PROTOCOL TCP  
  
tcp: 
        64213 packets sent 
                56262 data packets (44164814 bytes) 
                49 data packets (39372 bytes) retransmitted 
                7792 ack-only packets (7923 delayed) 
                0 URG only packets 
                0 window probe packets 
                10 window update packets 
                100 control packets 
        50000 packets received 
                37102 acks (for 44165036 bytes) 
                381 duplicate acks 
                0 acks for unsent data 
                23176 packets (194520 bytes) received in-sequence 
                233 completely duplicate packets (290 bytes) 
                50 packets with some dup. data (65 bytes duped) 
                57 out-of-order packets (43 bytes) 
                4 packets (4294967292 bytes) of data after window 
                0 window probes 
                916 window update packets 
                0 packets received after close 
                0 discarded for bad checksums 
                0 discarded for bad header offset fields 
                0 discarded because packet too short 
        54 connection requests 
        35 connection accepts 
        89 connections established (including accepts) 
        91 connections closed (including 3 drops) 
        1 embryonic connection dropped 
        30253 segments updated rtt (of 30286 attempts) 
        14 retransmit timeouts 
                0 connections dropped by rexmit timeout 
        1 persist timeout 
        2 keepalive timeouts 
                2 keepalive probes sent 
                0 connections dropped by keepalive 
 
  
      

#2

TCPIP> SHOW PROTOCOL TCP /PARAMETERS  
  
  
inet: 
tcp_sendspace = 0 
tcp_recvspace = 0 
tcp_keepidle = 64 
tcp_keepcnt = 8 
tcp_mssdflt = 24 
tcp_dont_winscale = 0 
tcpnodelack = 0 
 
  
  
      

Displays the TCP parameters.


SHOW PROXY

Displays entries in the proxy database. Applies to the NFS server, NFS client, PC-NFS, Remote Shell, LPR/LPD, and customer-developed services.

Related commands: ADD PROXY, REMOVE PROXY


Format

SHOW PROXY [ user_name ]
[ /COMMUNICATION ]
[ /GID=n ]
[ /HOST=host ]
[ /NFS=[options] ]
[ /UID=n ]

restrictions

Requires read access to the proxy database.

Parameters

user_name

Optional. Default: SHOW PROXY * (all entries).

Local OpenVMS identity for the user of NFS server, NFS client, PC-NFS, Remote Shell, or LPR/LPD.


Qualifiers

/COMMUNICATION

Optional. Default: Both communication and NFS proxies.

Displays communication proxies.

/GID=n

Optional. Default: All NFS proxies.

Displays the database entries for all clients with the specified GID.

/HOST=host

Optional. Default: All hosts (/HOST=*).

Remote host from which information is to be displayed.

/NFS=INCOMING

/NFS=OUTGOING

Optional. Default:

Displays NFS proxies.

These entries might be for local clients, remote clients, or PC-NFS clients. Specify one:
/NFS=OUTGOING Proxy to use NFS client
/NFS=INCOMING Proxy to use NFS server
/NFS=(OUTGOING,INCOMING) Both

/UID=n

Optional. Default: All NFS proxies.

Displays the database entry for the client with the specified UID.


Examples

#1

TCPIP> SHOW PROXY /NFS  
  
VMS User_name     Type      User_ID    Group_ID   Host_name  
   
WEBSTER           OD            311          10   *  
SHERMAN           ND            115          10   *  
COHEN             OND           115          10   *  
SILK              ON            115          10   *  
  
      

Shows the NFS entries in the proxy database:

In the display, the values in the Type field mean:
N NFS server
O NFS client
ON NFS server and client
   
C Communication
   
OD, ND, OND Loaded in the NFS cache
CD Loaded in the communication cache

To set up N, O, or ON proxies, see ADD PROXY /NFS=INCOMING=OUTGOING.

#2

TCPIP> SHOW PROXY /COMMUNICATION  
  
  
VMS User_name     Type   Remote User_name         Host_name  
  
BLUEJAY           CD     JAY                      *  
QUETZAL           CD     quetzal                  central.america.com  
FALCON            CD     FALCON                   HAWK  
MYNA              C      MYNA                     PARROT,parrot  
CANVASBACK        CD     CBACK                    DUCK,duck  
  
      

Shows all the communication proxies.


SHOW ROUTE

Displays the permanent or volatile routes database. To display the permanent database, specify the /PERMANENT qualifier.

Looks up the destination you specify first in the hosts database and then, if this lookup fails, in the networks database.

Displays routes and their types, which can be:

Related command: SET ROUTE


Format

SHOW ROUTE [ destination ]
[ /FULL ]
[ /GATEWAY=host ]
[ /LOCAL ]
[ /OUTPUT=file ]
[ /PERMANENT ]

restrictions

Requires read access to the routes database.

Parameters

destination

Optional. Default: Displays all routes.

Destination host.


Qualifiers

/FULL

Optional. Default: Displays routes as specified in the routes database.

Displays mapping between destination addresses and names and gateway addresses and names.

/GATEWAY=host

Optional. Default: All gateways.

Displays information for the specified host that performs as a gateway.

/LOCAL

Optional. Default: The command checks the hosts database and, if a lookup fails, it checks the BIND resolver.

Limits name-to-address lookups to the local hosts database.

/OUTPUT=file

Optional. Default: Screen display.

Sends output to the specified file.

/PERMANENT

Optional.

Displays only the permanent routes database.


Examples

#1

TCPIP> SHOW ROUTE /FULL  
  
                             DYNAMIC 
Type           Destination                      Gateway  
  
AN   * 150.111.0.0   destin_host1      * 150.110.5.118   gate_host  
AH     150.111.4.10  destin_host2        150.110.5.120   gate_host_2  
AH   * 127.0.0.1        LOCALHOST      * 127.0.0.1        LOCALHOST 
 
  
      

Displays all defined routes.

An asterisk (*) next to the destination IP address means it was specified with the /ADDRESS qualifier.

An asterisk next to the gateway IP address means it was specified with the /G_ADDRESS qualifier.

If the hosts database or networks database has a route that was entered by address, SHOW ROUTE does not display it if you specify a name. Display this route by specifying either its address or a wildcard.

No host name next to the IP address means there is no entry in the hosts database or networks database for this address.

#2

TCPIP> SHOW ROUTE "robin"  
      

Displays the network route to host robin.


SHOW SERVICE

Displays the following information about configured services:

Related commands: SET SERVICE, DISABLE SERVICE, ENABLE SERVICE


Format

SHOW SERVICE [ service ]
[ /ADDRESS=address ]
[ /FULL ]
[ /PERMANENT ]
[ /PORT=n ]
[ /PROCESS=process ]
[ /PROTOCOL=protocol ]
[ /RPC ]


Parameters

service

Optional. Default: All services.

Service for which you want information.


Qualifiers

/ADDRESS=address

Optional. Default: All services.

Displays information only for services that use the specified address.

/FULL

Optional. Default: Brief description is displayed.

Provides a full display.

/PERMANENT

Optional. Default: DIGITAL TCP/IP Services for OpenVMS not running: permanent; running: dynamic.

Displays information from the permanent database.

/PORT=n

Optional. Default: All services.

Displays information only for services that use the specified port.

/PROCESS=process

Optional. Default: All services.

Displays information only for services that use the specified process.

/PROTOCOL=protocol

Optional. Default: All services.

Displays information only for services that use the specified protocol.

/RPC

Optional. Default: No RPC information is displayed.

Displays RPC information for the service previously set with the /RPC qualifier of the SET SERVICE command. /RPC together with /PERMANENT displays a brief summary of the services that are configured with RPC information.


Examples

#1

TCPIP> SHOW SERVICE /RPC /PERMANENT  
  
                         RPC              Protocol Versions  
Service             Program Number         Lowest / Highest  
  
MOUNT                     100005                 1        1  
NFS                       100003                 2        2  
PCNFS                     150001                 1        2  
PORTMAPPER                100000                 2        2  
TCPIP>  
  
      

Displays all previously set RPC information.

#2

TCPIP> SHOW SERVICE NFS /FULL /PERMANENT  
  
Service: NFS  
  
Port:            2049     Protocol:  UDP            Address:  0.0.0.0  
Inactivity:         0     User_name: TCPIP$NFS      Process:  TCPIP$NFS  
Limit:              1  
  
File:        TCPIP$SYSTEM:TCPIP$NFS_RUN.COM  
Flags:       TCPIP  
  
Socket Opts: Rcheck Scheck  
 Receive:        64000     Send:           64000  
  
Log Opts:    Acpt Actv Dactv Conn Error Exit Logi Mdfy Rjct TimO Addr  
 File:       SYS$SYSDEVICE:[TCPIP$NFS]TCPIP$NFS_RUN.LOG  
  
RPC Opts  
 Program number:   100003  Low version:      2   High version:      2  
  
Security  
 Reject msg:  not defined  
 Accept host: 0.0.0.0  
 Accept netw: 0.0.0.0  
TCPIP>  
  
      

The /FULL and /PERMANENT qualifiers display RPC information for the NFS server, whose program number is 100003, lowest version is 2, and highest version is 2. This information is required for the NFS server to run.

#3

TCPIP> SHOW SERVICE PCNFS /FULL /PERMANENT  
   
  
Service: PCNFS  
                                         
Port:             5151  Protocol:  TCP,UDP         Address:  0.0.0.0  
Inactivity:          0  User_name: TCPIP$PCNFS     Process:  TCPIP$PCNFSD  
Limit:               1  
   
File:         TCPIP$SYSTEM:TCPIP$PCNFSD_RUN.COM 
Flags:        TCPIP Prot  
   
Socket Opts:  Rcheck Scheck  
 Receive:            0     Send:               0  
   
Log Opts:     Acpt Actv Dactv Conn Error Exit Logi Mdfy Rjct TimO Addr  
 File:        SYS$SYSDEVICE:[TCPIP$PCNFS]TCPIP$PCNFSD_STARTUP.LOG  
   
RPC Opts  
 Program number: 150001  Lowest version:     1    Highest version:     2  
   
Security  
 Reject msg:  not defined  
 Accept host: 0.0.0.0  
 Accept netw: 0.0.0.0  
  
   
      

Shows the full configuration in the permanent database for PC-NFS. The RPC information shows that PC-NFS runs as Program 150001, its lowest version number is 1, and its highest version number is 2.

#4

TCPIP> SHOW SERVICE PORTMAPPER  
  
Service     Port      Protocol        Process     Address     State  
  
PORTMAPPER   111       TCP,UDP      TCPIP$PORTM     0.0.0.0     Enabled  
  
      

Monitors the Portmapper service process, showing that it is enabled.

#5

TCPIP> SHOW SERVICE LBROKER /FULL /PERMANENT  
  
Service: LBROKER 
 
Port:             6570     Protocol:  UDP             Address:  0.0.0.0 
Inactivity:          0     User_name: TCPIP$LD_BKR    Process:  TCPIP$LBROKER 
Limit:               1 
 
File:         TCPIP$SYSTEM:TCPIP$LBROKER_RUN.COM 
Flags:        None 
 
Socket Opts:  Rcheck Scheck 
 Receive:            0     Send:               0 
 
Log Opts:     Acpt Actv Dactv Conn Error Exit Logi Logo Mdfy Rjct TimO Addr 
 File:        SYS$SYSDEVICE:[TCPIP$LD_BKR]TCPIP$LBROKER_RUN.LOG 
 
Security 
 Reject msg:  not defined 
 Accept host: 0.0.0.0 
 Accept netw: 0.0.0.0 
  
      

Displays the settings for cluster load balancing.

#6

TCPIP> SHOW SERVICE REXEC /FULL /PERMANENT  
  
Service: REXEC  
  
Port:           512  Protocol:  TCP              Address: 0.0.0.0  
Inactivity:       5  User_name: not defined      Process: TCPIP$REXECD  
Limit:            3  
  
File:         TCPIP$SYSTEM:TCPIP$REXEC_RUN.COM 
Flags:        Case Listen Rexe TCPIP  
  
Socket Opts:  Rcheck Scheck  
 Receive:         0     Send:               0  
  
Log Opts:     Acpt Actv Dactv Error Exit Mdfy Rjct TimO Addr  
 File:        TCPIP$REXEC.LOG  
  
Separators:  
 Port:   0    User_name: 0    Password:  0    Command:  0  
  
Security  
 Reject msg:  not defined  
 Accept host: 0.0.0.0  
 Accept netw: 0.0.0.0   
  
      


Previous Next Contents Index