[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

Content starts here HP TCP/IP Services for OpenVMS

HP TCP/IP Services for OpenVMS
Management Command Reference


Previous Contents Index


SHOW PROTOCOL

Displays statistics and configuration information for the specified protocol.

Related commands: SET 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:
  • If you omit this qualifier, displays both communication and NFS proxies.
  • If you omit option, displays both incoming and outgoing proxies.

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:

  • WEBSTER has authorization to use the local NFS client (outgoing rights).
  • SHERMAN can use the local NFS server (incoming rights).
  • COHEN can use both the NFS server and client.
  • SILK can use both the NFS server and client. This information is not currently known to NFS because SILK is not loaded in the dynamic 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:

  • A --- Active route (created manually or associated with an interface)
  • D --- Dynamic route (created by ROUTED or GATED routing daemon)
  • H --- Host route (a route to a host)
  • N --- Network route (a route to a network)
  • P --- Permanent (from the routes database)

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.

  • If TCP/IP Services is running and you omit /PERMANENT, the volatile database is displayed.
  • If TCP/IP Services is not running, the permanent database is displayed.

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:

  • If TCP/IP Services is running and you omit the /PERMANENT qualifier, the volatile database is displayed.
  • If TCP/IP Services is not running, the permanent database is displayed.

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.


SHOW VERSION

Displays the version of the TCP/IP Services software that is currently running, including individual components.

Format

SHOW VERSION [ /ALL ]


Qualifiers

/ALL

Optional. Default: TCP/IP Services version.

Displays the version of all running TCP/IP Services components.


Examples

#1

TCPIP> SHOW VERSION
HP TCP/IP Services for OpenVMS Alpha Version 5.4
    on an AlphaServer 1000 4/200 running OpenVMS V7.3-1

      

Displays the following information:

  • Version of TCP/IP Services that is running.
  • Model of hardware platform.
  • Version of OpenVMS that is running.

START MAIL

Manually starts the SMTP sender queues (not the receiver [server]).

Related commands: SHOW MAIL, ENABLE SERVICE SMTP, SHOW CONFIGURATION SMTP


Format

START MAIL

restrictions

Requires SYSPRV or BYPASS privilege.

SMTP consists of the sender and the receiver. Start the sender before you enable the receiver.

Do not issue this command unless SMTP has been configured (with the SET CONFIGURATION SMTP command).


Examples

#1

TCPIP> START MAIL
      

Starts the SMTP sender.

(To start the SMTP sender when TCP/IP Services starts up, see the SET CONFIGURATION ENABLE SERVICE command. To start the SMTP receiver, see the ENABLE SERVICE command.)


START ROUTING

Starts dynamic routing with ROUTED or GATED. If you want to change from one to the other, you must stop the current dynamic routing daemon then start the desired daemon. You cannot run both GATED and ROUTED at the same time.

Related commands: STOP ROUTING, SET GATED


Format

START ROUTING [/GATED ]
[ /LOG ]
[ /SUPPLY[=DEFAULT] ]


Qualifiers

/GATED

Optional.

Enables the gateway routing daemon (GATED).

If you enable dynamic GATED routing, you will be able to configure this host to use any combination of the following routing protocols to exchange dynamic routing information with other hosts on the network:

  • RIP (Routing Information Protocol), Versions 1 and 2
  • RDISC (Router Discovery Protocol)
  • OSPF (Open Shortest Path First)
  • EGP (Exterior Gateway Protocol)
  • BGP (Border Gateway Protocol), BGP-4
  • Static routes

/SUPPLY[=DEFAULT]

Optional. Applies only to ROUTED. Do not use with /GATED.

Broadcasts routing information to other hosts in 30-second intervals.

If you specify /SUPPLY=DEFAULT, the local host supplies the default network route.

/LOG

Optional. Applies to ROUTED. Do not use with /GATED.

Logs routing activity to
SYS$SYSDEVICE:[TCPIP$ROUTED]TCPIP$ROUTED.LOG.

Default: No logging.


Examples

#1

TCPIP> START ROUTING /GATED
      

Starts GATED dynamic routing on the running system.

#2

TCPIP> START ROUTING
      

Interactively starts ROUTED dynamic routing on the running system.

#3

TCPIP> START ROUTING /SUPPLY
      

Immediately starts ROUTED dynamic routing. The local host both broadcasts and receives network routing information.


Previous Next Contents Index