HP OpenVMS Systems Documentation
HP TCP/IP Services for OpenVMS
Displays statistics and configuration information for the specified protocol.
Related commands: SET PROTOCOL SET CONFIGURATION PROTOCOL
SHOW PROTOCOL [ protocol ]
[ /PARAMETERS ]
protocolOptional. Default: All protocols.
Specify one of the following: ICMP, IP, TCP, UDP.
Shows parameter settings. You can specify any protocol.
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
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.
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
SHOW PROXY [ user_name ]
[ /COMMUNICATION ]
[ /GID=n ]
[ /HOST=host ]
[ /NFS =[options] ]
[ /UID=n ]
Requires read access to the proxy database.
user_nameOptional. 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.
/COMMUNICATIONOptional. Default: Displays both communication and NFS proxies.
Displays communication proxies.
/GID=nOptional. Default: Displays all NFS proxies.
Displays the database entries for all clients with the specified GID.
/HOST=hostOptional. Default: Displays information for all hosts (same as /HOST=*).
Specifies the remote host from which information is to be displayed.
- 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=nOptional. Default: All NFS proxies.
Displays the database entry for the client with the specified UID.
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.
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.
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
SHOW ROUTE [ destination ]
[ /FULL ]
[ /GATEWAY=host ]
[ /LOCAL ]
[ /OUTPUT=file ]
[ /PERMANENT ]
Requires read access to the routes database.
destinationOptional. Default: Displays all routes.
/FULLOptional. Default: Displays routes as specified in the routes database.
Displays mapping between destination addresses and names and gateway addresses and names.
/GATEWAY=hostOptional. Default: All gateways.
Displays information for the specified host that performs as a gateway.
/LOCALOptional. 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=fileOptional. Default: Screen display.
Sends output to the specified file.
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.
TCPIP> SHOW ROUTE DYNAMIC Type Destination Gateway AN 0.0.0.0 22.214.171.124 AN 126.96.36.199/16 188.8.131.52 AH 184.108.40.206 220.127.116.11 AH 127.0.0.1 127.0.0.1
Displays all defined routes.
TCPIP> SHOW ROUTE "robin"
Displays the network route to host robin .
Displays the following information about configured services:Service name
Port for listening
Related commands: SET SERVICE, DISABLE SERVICE, ENABLE SERVICE
SHOW SERVICE [ service ]
[ /ADDRESS=address ]
[ /FULL ]
[ /PERMANENT ]
[ /PORT=n ]
[ /PROCESS=process ]
[ /PROTOCOL=protocol ]
[ /RPC ]
serviceOptional. Default: All services.
Service for which you want information.
/ADDRESS=addressOptional. Default: All services.
Displays information for only the services that use the specified address.
/FULLOptional. Default: Brief description is displayed.
Provides a full display.
- 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=nOptional. Default: All services.
Displays information only for services that use the specified port.
/PROCESS=processOptional. Default: All services.
Displays information for only the services that use the specified process.
/PROTOCOL=protocolOptional. Default: All services.
Displays information only for services that use the specified protocol.
/RPCOptional. 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.
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.
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.
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.
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.
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.
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.
Displays the version of the TCP/IP Services software that is currently running, including individual components.
SHOW VERSION [ /ALL ]
/ALLOptional. Default: TCP/IP Services version.
Displays the version of all running TCP/IP Services components.
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:
Manually starts the SMTP sender queues (not the receiver [server]).
Related commands: SHOW MAIL, ENABLE SERVICE SMTP, SHOW CONFIGURATION SMTP
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).
TCPIP> START MAIL
Starts the SMTP sender.
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
START ROUTING [/GATED ]
[ /LOG ]
[ /SUPPLY[=DEFAULT] ]
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.
/LOGOptional. Applies to ROUTED. Do not use with /GATED.
Logs routing activity to
Default: No logging.
TCPIP> START ROUTING /GATED
Starts GATED dynamic routing on the running system.
TCPIP> START ROUTING
Interactively starts ROUTED dynamic routing on the running system.
TCPIP> START ROUTING /SUPPLY
Immediately starts ROUTED dynamic routing. The local host both broadcasts and receives network routing information.