Compaq 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[=seconds] ]
[ /RPC]
[ /SERVER=host_name ]
[ /VERSION=[V2|V3] ]

restrictions

Requires SYSNAM and WORLD privilege.

Qualifiers

/CONTINUOUS[=seconds]

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

Provides a dynamic display, with optional screen-update interval.

To terminate the display, press Ctrl/Z.

/RPC

Optional.

Displays statistics for the RPC server.

/SERVER=host_name

Optional.

Displays information about the host.

/VERSION=[V2|V3]

Optional. The default is to show statistics for both versions.

Displays version-specific NFS statistics. You can include either or both arguments.


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       56E0021D  PORTMAPPER  
000186A0 (   100000)       2  UDP         111       56E0021D  PORTMAPPER  
000186A3 (   100003)       3  UDP        2049       56E0021F  NFS  
000186A5 (   100005)       1  UDP          10       56E00220  MOUNT   
000249F1 (   150001)       1  UDP        5151       56E00222  PCNFS  
      

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 and configuration information for the specified protocol.

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


Format

SHOW PROTOCOL [ protocol ]
[ /PARAMETERS ]


Parameters

protocol

Optional. Default: All protocols.

Specify one of the following: ICMP, IP, TCP, UDP.


Qualifiers

/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 
 
      

Displays the TCP statistics.

The following abbreviations are used for the TCP counters display:

ack --- acknowledge
URG --- urgent
dup. --- duplicate
embryonic connections---connections not yet established
rtt --- retries
rexmt --- retransmit
#2

TCPIP> SHOW PROTOCOL TCP /PARAMETERS
TCP 
  Delay ACK:              enabled 
  Window scale:           enabled 
  Drop count:                   8 
  Probe timer:                150 
 
                          Receive                Send 
 
  Push:                  disabled            disabled 
  Quota:                    32768               32768 
      

Displays the TCP parameters.


SHOW PROXY

Displays entries in the proxy database.

Related commands: ADD PROXY, REMOVE PROXY

Applies to: NFS server, NFS client, PC-NFS, remote shell, LPR/LPD, and customer-developed services


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).

Specifies the local OpenVMS identity for the user of the NFS server, NFS client, PC-NFS, remote shell, or LPR/LPD.


Qualifiers

/COMMUNICATION

Optional. Default: Displays both communication and NFS proxies.

Displays communication proxies.

/GID=n

Optional. Default: Displays all NFS proxies.

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

/HOST=host

Optional. Default: Displays information for all hosts (same as /HOST=*).

Specifies the remote host from which information is to be displayed.

/NFS=option

Optional. Default:

Displays NFS proxies.

These entries might be for local clients, remote clients, or PC-NFS clients. You can include the following options:
/NFS=OUTGOING Proxy to use NFS client
/NFS=INCOMING Proxy to use NFS server
/NFS=(OUTGOING,INCOMING) Proxy to use both the NFS client and the NFS server

/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, use 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 the following routes and their types:

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; 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 
 
 
  
                             DYNAMIC 
  
Type           Destination                           Gateway 
  
AN    0.0.0.0                               16.20.0.173 
AN    16.20.0.0/16                          16.20.208.100 
AH    16.20.208.100                         16.20.208.100 
AH    127.0.0.1                             127.0.0.1 
                             
 
 
      

Displays all defined routes.

#2

TCPIP> SHOW ROUTE "robin"  
      

Displays the network route to host robin .


SHOW SERVICE

Displays the following information about configured services:
Service name
Port for listening
Protocol
Process name
IP address
State
RPC information

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 for only the services that use the specified address.

/FULL

Optional. Default: Brief description is displayed.

Provides a full display.

/PERMANENT

Optional.

Defaults:

You must include the /PERMANENT qualifier when you specify the /RPC qualifier.

/PORT=n

Optional. Default: All services.

Displays information only for services that use the specified port.

/PROCESS=process

Optional. Default: All services.

Displays information for only the 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 a brief summary of the services that are configured with RPC information. You must include the /PERMANENT qualifier when you specify the /RPC qualifier.


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  Lowest version:   2   Highest 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 the service 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   
  
      

Shows the full configuration in the permanent database for REXEC.


Previous Next Contents Index