[Digital logo]
[HR]

DECnet-Plus for OpenVMS
Network Management


Previous | Contents

Using information obtained from the starting node and from the routers in the path, show path dynamically determines what nodes might be traversed when a packet is sent from a source node to a destination node. The command then displays the identified list or lists of nodes, as more than one possible path might be displayed.

All the nodes in the path must be able to respond to either NICE or DNA CMIP network management requests.

You must have network management privileges that allow you to display information about remote systems.


Syntax

show path {from=start_node | to=terminating_node} [format=format_type | output_file=file_name]


ARGUMENTS

from=start_node

Specifies the starting node for when the command determines paths. As start_node, you can specify one of the following:
1. The name of the node. You can specify either the node's full DECdns name or its Phase IV synonym name, for example:

.usa.boston

boston

2. One of the node's network entity titles (NETs), entered in the format: afi:idi:predsp-locarea:node-id:sel.

Example: 43:15084745192:00-0C:aa-00-04-00-50-30:00

3. One of the node's network areas. The first node found in the area becomes the starting node. Enter the area in the format: afi:idi:predsp-locarea.

Example: 43:15084745192:00-0C

4. The node's Phase IV network address, entered in the format: area.node-id.

Example: 12.102

5. The node's Phase IV network area. The first node that the command finds in the area becomes the starting node. Use this format: area.*.

Example: 12.*

If you do not specify from, show path uses the local node as the starting node. You must specify at least from or to; you can specify both.

to=terminating_node

Specifies the terminating node for when the command determines paths. As the terminating node, you can specify one of the following:
1. The name of the node. You can specify either the node's full DECdns name or its Phase IV synonym name, for example:

.usa.boston

boston

2. One of the node's network entity titles (NETs), entered in the format: afi:idi:predsp-locarea:node-id:sel.

Example: 43:15084745192:00-0C:aa-00-04-00-50-30:00

3. One of the node's network areas. The first node found in the area becomes the starting node. Enter the area in the format: afi:idi:predsp-locarea.

Example: 43:15084745192:00-0C

4. The node's Phase IV network address, entered in the format: area.node-id.

Example: 12.102

5. The node's Phase IV network area. The first node that the command finds in the area becomes the starting node. Use this format: area.*.

Example: 12.*

If you do not specify to, the command uses the local node as the terminating node. You must specify at least from or to; you can specify both.

format=format_type

Optional. Specifies the format of the output. You can specify one of these:
brief Displays only the names of the nodes in the path (the default).
full Displays the node type and the NETs for each node in the path.

output_file=file_name

Optional. Specifies a file in which to output the path information, in place of a terminal display.

Examples

  1. The following command produces a display of possible paths for packets, starting with node .USA.Boston and ending with node .FR.Cannes. These two nodes are specified by node name.
    decnet_migrate> show path from .USA.Boston to .FR.Cannes   
    
  2. The following command produces a display of possible paths for packets, starting with a specified node and, by default, ending with the local node. The start node is specified by using one of the node's network entity titles (NETs).
    decnet_migrate> show path from -   
    _decnet_migrate> 43:15084745192:00-0C:AA-00-04-00-50-30:00   
    
  3. The following command produces a display of possible paths for packets, starting with the local node and ending with the node specified by using one of the node's network areas. The first node found in the area becomes the terminating node.
    decnet_migrate> show path to 43:15084745192:00-0C   
    
  4. The following command produces a display of possible paths for packets, starting with the local node and ending with the node specified by using the node's Phase IV area. The first node found in the area becomes the terminating node.
    decnet_migrate> show path to 63.*   
    
  5. The following command produces a display of possible paths for packets, starting with node metrix and ending with node book. The format of the display (shown) is full.
    % /usr/bin/decnet_migrate   
    decnet_migrate> show path from metrix to book format full   
       
    Obtaining local Phase IV address prefix   
    Communication opened (node NET:.skg.book)   
    Communication opened (node NET:.skg.metrix)   
    Communication opened (node NET:.skg.phz5g8)   
    Communication opened (node NET:.skg.phz4g8)   
    Communication opened (node NET:.skg.lktnr7)   
    Communication opened (node NET:.skg.lktnr4)   
       
    Path Number 1 (path to last node is complete)   
       
    First node:  NET:.skg.metrix (METRIX)   
                 DECnet-Plus end node   
                 49::00-0C:AA-00-04-00-50-30:00    (12.80)   
                 41:45418715:00-41:08-00-2B-16-A8-72:00   
       
    Next node:   NET:.skg.phz5g8   
                 DECnet-Plus router (level 2)   
                 41:45418715:00-41:08-00-2B-0F-31-8D:00   
                 49::00-0C:AA-00-04-00-05-30:00    (12.5)   
       
    Next node:   NET:.skg.phz4g8 (PHZ4G8)   
                 DECnet Phase IV router (level 2)   
                 49::00-04:AA-00-04-00-04-10:00    (4.4)   
       
    Last node:   NET:.skg.book (BOOK)   
                 DECnet Phase IV end node   
                 49::00-04:AA-00-04-00-3A-11:00    (4.314)   
       
    Path Number 2 (path to last node is complete)   
       
    First node:  NET:.skg.metrix (METRIX)   
                 DECnet-Plus end node   
                 49::00-0C:AA-00-04-00-50-30:00    (12.80)   
                 41:45418715:00-41:08-00-2B-16-A8-72:00   
       
    Next node:   NET:.skg.lktnr7   
                 DECnet-Plus router (level 1)   
                 41:45418715:00-41:08-00-2B-06-9E-D7:00   
                 49::00-0C:AA-00-04-00-62-30:00    (12.98)   
       
    Next node:   NET:.skg.lktnr4   
                 DECnet-Plus router (level 2)   
                 49::00-0C:AA-00-04-00-60-30:00    (12.96)   
                 41:45418715:00-41:08-00-2B-0D-CA-F4:00   
       
    Next node:   NET:.skg.phz5g8   
                 DECnet-Plus router (level 2)   
                 41:45418715:00-41:08-00-2B-0F-31-8D:00   
                 49::00-0C:AA-00-04-00-05-30:00    (12.5)   
       
    Next node:   NET:.skg.phz4g8 (PHZ4G8)   
                 DECnet Phase IV router (level 2)   
                 49::00-04:AA-00-04-00-04-10:00    (4.4)   
       
    Last node:   NET:.skg.book (BOOK)   
                 DECnet Phase IV end node   
                 49::00-04:AA-00-04-00-3A-11:00    (4.314)   
       
       
    Path Number 3 (path to last node is complete)   
       
    First node:  NET:.skg.metrix (METRIX)   
                 DECnet-Plus end node   
                 49::00-0C:AA-00-04-00-50-30:00    (12.80)   
                 41:45418715:00-41:08-00-2B-16-A8-72:00   
       
    Next node:   NET:.skg.lktnr4   
                 DECnet-Plus router (level 2)   
                 49::00-0C:AA-00-04-00-60-30:00    (12.96)   
                 41:45418715:00-41:08-00-2B-0D-CA-F4:00   
       
    Next node:   NET:.skg.phz5g8   
                 DECnet-Plus router (level 2)   
                 41:45418715:00-41:08-00-2B-0F-31-8D:00   
                 49::00-0C:AA-00-04-00-05-30:00    (12.5)   
       
    Next node:   NET:.skg.phz4g8 (PHZ4G8)   
                 DECnet Phase IV router (level 2)   
                 49::00-04:AA-00-04-00-04-10:00    (4.4)   
       
    Last node:   NET:.skg.book (BOOK)   
                 DECnet Phase IV end node   
                 49::00-04:AA-00-04-00-3A-11:00    (4.314)   
       
       
    decnet_migrate>  exit   
    %   
    
  6. The following command produces lists of possible paths for packets, starting with node metrix and ending with node book. The format is brief by default. Instead of a terminal display, the lists are placed in a text file called pages_path.txt.
    decnet_migrate> show path from metrix to book output=pages_path.txt    
       
    Communication opened (node NET:.skg.book)   
    Communication opened (node NET:.skg.metrix)   
    Communication opened (node NET:.skg.phz5g8)   
    Communication opened (node NET:.skg.phz4g8)   
    Communication opened (node NET:.skg.lktnr7)   
    Communication opened (node NET:.skg.lktnr4)   
       
       
    decnet_migrate>  exit   
    $ type pages_path.txt   
       
    Path Number 1 (path to last node is complete)   
       
    First node:  NET:.skg.metrix (METRIX)   
    Next node:   NET:.skg.phz5g8   
    Next node:   NET:.skg.phz4g8 (PHZ4G8)   
    Last node:   NET:.skg.book (BOOK)   
       
    Path Number 2 (path to last node is complete)   
       
    First node:  NET:.skg.metrix (METRIX)   
    Next node:   NET:.skg.lktnr7   
    Next node:   NET:.skg.lktnr4   
    Next node:   NET:.skg.phz5g8   
    Next node:   NET:.skg.phz4g8 (PHZ4G8)   
    Last node:   NET:.skg.book (BOOK)   
       
    Path Number 3 (path to last node is complete)   
       
    First node:  NET:.skg.metrix (METRIX)   
    Next node:   NET:.skg.lktnr4   
    Next node:   NET:.skg.phz5g8   
    Next node:   NET:.skg.phz4g8 (PHZ4G8)   
    Last node:   NET:.skg.book (BOOK)    
    


Appendix E
decnet_register Commands

This appendix describes decnet_register, the DECnet-Plus node registration tool, and its command line interface. Using decnet_register you can register and manage DECnet Phase V node names in the DECdns distributed name service, the local namespace, and the Phase IV node database. See Chapter 5 for information about using decnet_register to perform tasks and about the decnet_register forms interface.

E.1 The Command Line Interface

The decnet_register command line interface supports the following commands:

add
attach
deregister
do
exit
export
import
manage
modify
register
remove
rename
repair
reset
set
show
spawn
update

E.1.1 Running decnet_register on OpenVMS Systems

There are several ways to invoke decnet_register:

You can change this startup behavior in two ways:

To change the default behavior permanently, define one of the following logical names:

To change the default behavior for the current invocation only, use one of the following qualifiers:


Note

The decnet_register tool is not supported on a system booted MINIMUM.


add

The add command adds a new address tower to a node registration. When a new address tower is available for a node, this command adds the addressing information to the node registration in the specified name service.

Syntax

add node node-name towers {t-set} [directory_service dir-service | phaseIV_prefix addr-prefix | reverse_directory r-dir-name]


ARGUMENTS

node-name

Specifies the fully specified name (full name) of the node whose address towers are to be added. (The full name includes any directories.) The syntax for a full name depends on the name service used by the node:
Name Service Node Full Name
DECdns MyCo:.Sales.MailHub
Local file MailHub
Phase IV MLHUB

t-set

Specifies the set of one or more address towers to add to the node registration. Separate multiple address towers with commas. Include the set of address towers within braces.

Each address tower in the set has the following format: transport/address

You can omit fields from left to right, and assume a default value as follows:

Table E-1
Field Possible Values Default Value
transport TP4, TP4=tsel, or NSP For an N-Sel value of 20, the default is NSP. Otherwise, the default is TP4.
address NSAP value or Phase IV address value For a Phase IV address, an NSAP is constructed using the specified address and the Phase IV prefix value. The N-Sel value is always 20.

For a Phase IV address prefix value of 49::, example address towers follow:

Table E-2
Abbreviated Address Tower Fully Specified Address Tower
1.5
NSP/49::01:AA0004000504:20
1.5+39:840
NSP/39:840:01:AA0004000504:20
39:840:01:AA0004000504:20
NSP/39:840:01:AA0004000504:20
39:840:01:AA0004000504:21
TP4=DEC0/39:840:01:AA0004000504:21
TP4/39:840:01:AA0004000504:21
TP4=DEC0/39:840:01:AA0004000504:21
TP4=A1/39:840:01:AA0004000504:21
TP4=A1/39:840:01:AA0004000504:21

An example address tower for a DECnet Phase IV node using normal default values follows:
TOWERS={1.5}

An example address tower for a DECnet Phase V node using normal default values follows:
TOWERS={2.54, 39:840:01:080043A751F4:20, 39:840:01:080043A751F4:21}

dir-service

Optional. Specifies the name service that contains the node registration. The dir-service must be one of the following:
Name Service Keyword
DECdns decdns
Local file local
Phase IV phaseiv

If you do not specify a name service, the default name service specified with the set default command is used.

addr-prefix

Specifies the AFI, IDI, and preDSP to use when constructing an NSAP from a Phase IV address. The addr-prefix is used when a Phase IV address is specified in an address tower.

If you do not specify a phaseiv_prefix, the default Phase IV prefix specified with the set default command is used.

r-dir-name

Optional. Specifies the base directory or name entry to use when creating the reverse address mapping links to the node_name. (Reverse address mapping links are also referred to as backtranslation links.) The links created under this directory are used to map NSAP values to their respective node names (node-name). These directories are used only for the DECdns name service.

If you do not specify a reverse_directory, the default reverse directory specified with the set default command is used.


attach

The attach command attaches the terminal to another process. This transfers control from your current process (running decnet_register) to the specified process. Your current process is placed in a hibernation state.

Syntax

attach [process-name]


ARGUMENTS

process-name

Optional. Specifies a process to attach to. You can use the OpenVMS show process and show system commands to determine process names.

If you do not specify a process-name, the terminal is attached to the parent (owner) process for the current process.


deregister

The deregister command removes a node registration from a name service. When a node is no longer available on the network, use the deregister command to remove the node registration from the name service.

Syntax

deregister node node-id [directory_service dir-service | phaseiv_prefixaddr-prefix | reverse_directory r-dir-name | synonym_directory s-dir-name]


ARGUMENTS

node-id

Identifies the node to deregister. The node-id can be one of the following:

The syntax for a fully specified name (full name) depends on the name service where the node is registered:
Name Service Node Full Name
DECdns MyCo:.Sales.MailHub
Local file MailHub
Phase IV MLHUB

An example Phase IV synonym for all the previously mentioned full names follows: MLHUB.

You can use a single asterisk (*) wildcard character anywhere in the last part of the name as follows:
Name Service Node Full Name with Wildcard Character
DECdns MyCo:.Sales.Mail*
Local file node Mail*
Phase IV node ML*

You can specify a node's address by using one of its NETs or NSAPs, or its Phase IV address.

A NET is an NSAP address value with an N-Sel value of "00" (indicating that it is independent of the type of transport service in use on the node). If you specify an NSAP instead of a NET, it is converted to an NET before it is used.
DNA format: <afi>:<idi>:<predsp>-<locarea>:<nodeid>:00
OSI format: <afi><idi>+<predsp><locarea><nodeid>00

If the node has a Phase IV address, you can use it instead of a NET:
Format: <area>.<nodeid>
<area>.<nodeid>+<prefix>

The Phase IV address is internally converted to a NET, using the Phase IV prefix value. The Phase IV prefix value can be specified with the Phase IV address or the PhaseIV_prefix parameter, or set using the set default command.

You can use the asterisk (*) wildcard character in the NET or Phase IV address. The wildcard character must replace either the node-id or the local area and the node-id. If you specify a NET containing a wildcard character, do not also specify an N-Sel value.
NET Wildcard the node-id: 39:840:0001:*
Wildcard the local area and node-id: 39:840:*
Phase IV Wildcard the node-id: 1.*
Wildcard the area and node-id: *.*

dir-service

Optional. Specifies the name service from which the node is to be removed.

The dir-service must be one of the following:
Name Service Keyword
DECdns decdns
Local file local
Phase IV phaseiv

If you do not specify dir-service, the default name service specified with the set default command is used.

addr-prefix

Optional. Specifies the AFI, IDI, and preDSP to use when constructing an NSAP from a Phase IV address. The addr-prefix is used only when a Phase IV address is specified for the node-id.

As an alternative, you can add the Phase IV prefix to the Phase IV address specification.

If you do not specify a phaseiv_prefix, the default Phase IV prefix specified with the set default command is used.

r-dir-name

Optional. Specifies the base directory or name entry to use when deleting the reverse address mapping links to the node name.

s-dir-name

Optional. Specifies the base directory or name entry to use when deleting the synonym mapping link to the node name.

If you do not specify a s-dir-name, the default synonym directory specified with the set default command is used.


do

The do command executes a named file containing decnet_register commands. Within the command file, the commands must appear as if entered at the decnet_register> prompt. One command file can reference another command file. Commands are processed in order until the end of the file is reached or until a command error occurs.

Syntax

do command-file-name

An alternative form of the do command is:

@command-file-name


ARGUMENTS

command-file-name

Specifies the name of the file containing decnet_register commands to execute.

exit

The exit command exits the decnet_register utility.

You can also use the quit command.


Syntax

exit

For an OpenVMS system, you can also use the following key sequence: Ctrl/Z


export

The export command extracts node registration information for a specified set of nodes and writes it to a text file, the export/import file.

Once the information has been extracted to the export/import file, it can be:


Syntax

export node node-id file file-name [directory_service dir-service | phaseiv_prefix addr-prefix | reverse_directory r-dir-name | synonym_directory s-dir-name | nsap_format addr-format]


ARGUMENTS

node-id

Identifies the nodes to export. The node-id can be one of the following:

The syntax for a fully specified name depends on the name service where the node is registered. Example formats for fully specified names follow:
Name Service Node Full Name
DECdns MyCo:.Sales.MailHub
Local file node MailHub
Phase IV node MLHUB


Previous | Next | Contents | [Home] | [Comments] | [Ordering info] | [Help]

[HR]

  PROFILE_VMS_022.HTML
  OSSG Documentation
   2-DEC-1996 12:35:22.30

Copyright © Digital Equipment Corporation 1996. All Rights Reserved.

Legal