hp.com home products and services support and drivers solutions how to buy
cd-rom home
End of Jump to page title
HP OpenVMS systems
documentation

Jump to content


HP TCP/IP Services for OpenVMS

HP TCP/IP Services for OpenVMS
Management Command Reference


Previous Contents Index


SHOW INTERFACE

Displays information from the running system for Internet interfaces and pseudointerfaces.

The flags that can appear in the display include:

Related commands: SHOW CONFIGURATION INTERFACE, SET INTERFACE


Format

SHOW INTERFACE [ interface ]
[ /CLUSTER ]
[ /FULL ]


Parameters

interface

Optional. Default: All interfaces.

Specifies the name of an Internet interface or pseudointerface. Examples include ZE0, LO0, QE2, QE3.


Qualifiers

/CLUSTER

Optional. Default: None.

Displays information about the cluster of which the interface is a member.

/FULL

Optional. Default: Brief description is displayed.

Displays full information.


Examples

#1

TCPIP> SHOW INTERFACE WE0 /FULL
 
Interface: WE0  
   IP_Addr: 126.65.100.102   NETWRK: 255.255.255.0   BRDCST: 126.65.100.255  
               Ethernet_Addr:AA-00-05-CC-2D-2B       MTU: 65535  
     Flags: UP BRDCST RUN  
                                  RECEIVE        SEND  
   Packets                        3817269      595744  
      Errors                            0             
   Collisions:                          0 
                                          
 
      

Displays information about interface WE0.


SHOW MAIL

Displays SMTP queue information.

Related commands: REMOVE MAIL, SEND MAIL


Format

SHOW MAIL [ user ]
[ /FULL ]
[ /RECIPIENT[=options] ]
[ /ENTRY=n ]

restrictions

Requires SYSPRV or BYPASS privilege to display information for other users.

Parameters

user

Optional. Default: All users.

Displays SMTP process information of the specified user.


Qualifiers

/FULL

Optional. Default: Brief description is displayed.

Displays detailed information.

/RECIPIENT[=options]

Optional. Default: ALL.

Used with /FULL, displays selected recipient classes. Available options include the following:
ALL Shows failed, sent, and unsent mail messages.
FAILED Shows messages that could not be read for a particular recipient.
SENT Shows successful deliveries to a particular recipient.
UNSENT Shows messages that are as yet unsent.

/ENTRY=n

Optional. Default: Your queue entries.

Displays information about the specified queue entry number.


Examples

#1

TCPIP> SHOW MAIL  
      

Displays information about mail messages queued to your process's user name.

#2

TCPIP> SHOW MAIL /ENTRY=1234  
      

Displays information about the mail message 1234 in the queue.

#3

TCPIP> SHOW MAIL /FULL /RECIPIENT=ALL  
      

Displays detailed information about all mail messages sent by the user of your process's user name.


SHOW MAP

Displays the names of mapped (logically linked) file systems, also called NFS file systems.

Applies to: NFS server

Related commands: MAP, UNMAP, ADD EXPORT, SHOW EXPORT, REMOVE EXPORT, SET CONFIGURATION MAP, SET CONFIGURATION NOMAP, SHOW CONFIGURATION MAP


Format

SHOW MAP [ /path/name ]


Parameters

/path/name

Optional.

Name of the file system (the first element of the UNIX file specification).


Examples

#1

TCPIP> SHOW MAP  
  
            Dynamic Filesystem Map  
Pathname                                Logical File System  
  
/water     USER$DKC100: 
/water                                  USER$DKC100:[WATER] 
/duck/pond                              USER$DKC100:[DUCK.POND.TEAL]  
 
TCPIP>  
  
      

Displays all mapped file systems.

#2

TCPIP> SHOW MAP "/bird"  
  
            Dynamic Filesystem Map  
Pathname                                Logical File System  
  
/bird                                   $1$DUA7:  
TCPIP>  
  
      

Lists mapped file system /bird .


SHOW MOUNT

Displays a list of mounted directories at all mount points or at a particular mount point.

Related commands: MOUNT, DISMOUNT


Format

SHOW MOUNT [ device ]
[ /ALL ]
[ /FULL ]
[ /HOST=host ]


Parameters

device

Optional. Default: All mounted file systems.

Local device for which to display mount information. Specify one of the following:

You can use abbreviations and wildcards.


Qualifiers

/ALL

Optional.

If you also specify device, displays information for all NFS server hosts with mounted file systems on this device.

If you do not specify device, displays information for all NFS server hosts with mounted file systems on any device.

Not valid with /HOST.

/FULL

Optional. Default: Brief description is displayed.

Displays the full, current operating parameters related to each mount.

/HOST=host

Optional. Default: All NFS servers with file systems currently mounted.

NFS server on which the physical files reside.

Not valid with /ALL.


Examples

#1

TCPIP> SHOW MOUNT  
  
_DNFS1:[000000]  automount (inactivity timer  0 00:23:00.00), mounted  
        SIGMA.PROCESS.COM:/usr  
_DNFS2:[000000]  mounted  
        IRIS.PROCESS.COM:/usr/users  
  
      

Shows the characteristics of all mounted file systems on all local NFS devices.

#2

TCPIP> SHOW MOUNT DNFS3: /ALL  
  
_DNFS3:[A.B]  mounted  
        SIGMA.PROCESS.COM:/usr  
_DNFS3:[A.C]  mounted  
        SIGMA.PROCESS.COM:/work  
      

Shows the characteristics of all mounted file systems on local device DNFS3:.


SHOW MX_RECORD

Displays SMTP routing information. If you omit destination, you see the entries in the local Mail Exchange (MX) database. If you specify destination, you see all the entries in all the databases that TCP/IP Services would look at, if necessary, to resolve the address.

To send mail, SMTP looks up addresses in one or more databases (if necessary) in the following order:

  1. Local MX databse
  2. Remote MX database
  3. BIND server database
  4. Local hosts database

Related command: SET MX_RECORD


Format

SHOW MX_RECORD [ destination ]
[ /GATEWAY=host ]
[ /OUTPUT=file ]


Parameters

destination

Optional. Default: All entries in the local MX database.

Final destination host name.


Qualifiers

/GATEWAY=host

Optional. Default: All destinations.

Displays the destinations that are accessed through the specified gateway.

/OUTPUT=file

Optional. Default: Screen display.

Sends the output to the specified file.


Examples

#1

TCPIP> SHOW MX_RECORD SWAN  
  
                              BIND MX database  
  
Server:          18.18.218.10     GREAT.HORNED.OWL.COM  
  
Gate address     Preference       Gate name  
  
18.18.218.10     50               WATER.PIPIT.WEBBED.FEET.COM  
18.1.218.16      100              bd-gw.purple.martin.com  
188.88.206.2     200              great.horned.owl.com  
199.9.214.1      300              bird.food.seeds.worms.com  
  
  
                              BIND database  
  
Server:          18.18.218.10     WATER.PIPIT.WEBBED.FEET.COM  
  
Host address                      Host name  
  
18.18.100.10                      SWAN.WEBBED.FEET.COM  
  
      

Displays, in order of preference, the routing hops to reach host SWAN if an attempt fails. The local host tries to route through:

  1. WATER.PIPIT.WEBBED.FEET.COM
  2. bd-gw.purple.martin.com
  3. great.horned.owl.com
  4. bird.food.seeds.worms.com

Both the alternate gateway and the zone affect how SMTP determines where to relay nonlocal mail.

MX records tell mailers where to relay mail that is destined for a given host. In the display:

#2

TCPIP> SHOW MX_RECORD CROW.COM  
  
                             BIND MX database  
  
Server:          18.18.218.10     WATER.PIPIT.WEBBED.FEET.COM  
  
Gate address     Preference       Gate name  
  
159.228.12.253   1                cawcaw.crow.com  
159.228.12.254   2                scare.crow.com  
TCPIP>  
  
      

Displays the MX record for destination host crow.com . In the display:

In this example, the local host name is WATER, the alternate gateway is scare.crow.com , and the zone is crow.com . The first preference for delivering mail to crow.com is to send to cawcaw.crow.com .

If you have not defined an alternate gateway, SMTP tries to relay the mail to scare.crow at IP address 158.228.12.253. It uses the MX records to determine the host to which to relay mail. SMTP tries to relay the mail to each gateway host, in order of preference, until it either successfully transfers the mail or runs out of MX records to try. If there is no alternate gateway, the zone is not used.

If you have defined an alternate gateway, SMTP goes through the list of MX records, but it does not automatically try to relay the mail directly to the gateway. SMTP checks whether the gateway host name is outside or inside the SMTP zone (as defined with SET SMTP CONFIGURATION). If the gateway is inside the SMTP zone, SMTP tries to relay the mail directly to the gateway host. If the gateway is outside the zone, SMTP sends the mail to the alternate gateway.


SHOW NAME_SERVICE

Logs information about the BIND resolver.

Related commands: SET NAME_SERVICE, SHOW CONFIGURATION NAME_SERVICE


Format

SHOW NAME_SERVICE

[ /STATISTICS ]

restrictions

The /STATISTICS qualifier requires BYPASS, READALL, or SYSPRV privilege.

Qualifiers

/STATISTICS

Optional.

Dumps statistics to SYS$SPECIFIC:[TCPIP$BIND]TCPIP$BIND.STATS.

Either TCPIP$ETC:RNDC.CONF or TCPIP$ETC:RNDC.KEY must be set up to allow for secure communication between the user and the BIND server. For more information, refer to the HP TCP/IP Services for OpenVMS Management manual.


Examples

#1

TCPIP> SHOW NAME_SERVICE      
  
BIND Resolver Parameters  
  
 Local domain: TCPIP.OWL.ROC.COM  
  
 System  
  
  State:     Started, Enabled  
  
  Transport: UDP  
  Domain:    tcpip.owl.roc.com  
  Retry:     4  
  Timeout:   4  
  Servers:   LOCALHOST, tcpip.owl.roc.com  
  
 Process  
  
  State:     Started, Enabled  
  
  Transport: UDP  
  Domain:    11.180.34.3  
  Retry:     4  
  Timeout:   4  
  Servers:   LOCALHOST, lark, crow.moa.awk.com    
TCPIP>   
  
 
  
      

Shows systemwide and process-specific parameter settings for the BIND resolver.

#2

TCPIP> SHOW NAME_SERVICE /STATISTICS  
  
      

Logs current BIND server statistics to the file TCPIP$BIND_SERVER_STATISTICS.LOG. The following sample shows such a log file.


 
+++ Statistics Dump +++ (922292822) Wed Mar 24 11:27:02 
34250   time since boot (secs) 
15670   time since reset (secs) 
12      Unknown query types 
20000   A queries 
540     SOA queries 
2399    MX queries 
867     ANY queries 
3       AXFR queries 
 
++ Name Server Statistics ++ 
(Legend) 
        RR      RNXD    RFwdR   RDupR   RFail 
        RFErr   RErr    RAXFR   RLame   ROpts 
        SSysQ   SAns    SFwdQ   SDupQ   SErr 
        RQ      RIQ     RFwdQ   RDupQ   RTCP 
        SFwdR   SFail   SFErr   SNaAns  SNXD 
(Global) 
        2 0 0 0 0  0 0 0 0 0  2 0 0 0 0  0 0 0 0 5  0 0 0 0 0 
-- Name Server Statistics -- 
++ Memory Statistics ++ 
      3:           9 gets,           2 rem 
      4:           7 gets,           0 rem (1 bl, 1022 
 
 
      5:          16 gets,           1 rem 
      6:           7 gets,           5 rem 
      7:          10 gets,           5 rem 
      8:          97 gets,          16 rem (1 bl, 485 ff) 
     13:           6 gets,           4 rem 
. 
. 
. 
    664:           5 gets,           1 rem (1 bl, 5 ff) 
    732:           2 gets,           0 rem (1 bl, 5 ff) 
   1040:           1 gets,           1 rem (1 bl, 2 ff) 
>= 1100:          23 gets,           9 rem 
-- Memory Statistics -- 
--- Statistics Dump --- (907337687) Fri Jan 2  10:14:47 2003 


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

Related commands: SET NFS_SERVER, ZERO NFS_SERVER


Format

SHOW NFS_SERVER [ /CONTINUOUS[=seconds] ]
[ /RPC]
[ /SERVER ]
[ /VERSION=versions ]

restrictions

Requires SYSNAM and WORLD privilege.

Qualifiers

/CONTINUOUS[=seconds]

Optional. Defaults: Static display; if you specify /CONTINUOUS without a value, the default is 4 seconds.

Provides a dynamic display with optional screen-update interval.

To terminate the display, press Ctrl/Y.

/RPC

Optional.

Displays only RPC-related performance counters and statistics.

/SERVER

Optional.

Displays NFS server-related performance counters and statistics.

/VERSION=versions

Optional. Default: Displays both Version 2 and Version 3.

Displays version-specific NFS server performance counters and statistics. You can specify versions as follows:
Qualifier Displays
/VERSION=V2 Only Version 2
/VERSION=V3 Only Version 3
/VERSION=(V2,V3) Both Version 2 and Version 3


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.


Previous Next Contents Index