HP OpenVMS Systems Documentation

Content starts here

DECnet-Plus for OpenVMS
Network Management


Previous Contents Index

8.2 Managing Physical Layer Devices and Modem Connect Lines

You can configure the device and modem control entities using WANDD$STARTUP on OpenVMS systems (X25$CONFIGURE and NET$CONFIGURE automatically invokes WANDD$STARTUP if needed). For more information on running wansetup, refer to the X.25 documentation.

8.2.1 Managing WAN Communications Device Firmware

On OpenVMS systems, you can load microcode into the DSB, DSF, DSV, and DSW communications devices and dump microcode from these devices back to the host system by using the device entity. If you use the WANDD$STARTUP.COM procedure, the information discussed in this section is set up automatically.

The following example creates and enables the device unit. Characteristics associated with the device unit, such as load and dump file specifications, are created by default as part of the create command. You can specify these characteristics manually with the set command.


ncl> create device unit device-name name dsv-0

ncl> enable device unit device-name

If the communications device fails, you will need to reload it manually, unless you have set the auto load attribute for device unit to true. Use the following command:


ncl> load device unit device-name

If you have set auto load to true, the communications device tries to load its microcode automatically.

The WANDD$STARTUP procedure sets the auto load attribute to false for the DSB, DSV, and the DSW. It sets it to true for the DSF. Therefore, if you want autoloading, you must manually specify true as in the following example:


ncl> set device unit device-name auto load true

8.2.2 Managing Modem Connect Lines

To configure any synchronous link, you must first create the Modem Connect module to set up the underlying physical lines.

You can find additional information about synchronous links and about writing your own data link protocols that make calls to the Frame module in DECnet/OSI for VMS VAX WANDD Programming. Note that the QIO programming interface for WANDD exists on OpenVMS VAX systems only.

If you use the NET$CONFIGURE.COM, NET$STARTUP.COM, X25$STARTUP.COM, PSI$STARTUP.COM, and WANDD$STARTUP.COM procedures, then modem connect lines for HDLC links, DDCMP links, and X.25 links are set up automatically.

8.2.2.1 Entities Created Automatically That Might Compete for Needed Resources

Note that data linkand other entities are created automatically by certain scripts or procedures. On OpenVMS systems, for example, the NET$CONFIGURE.COM, NET$STARTUP.COM, and WANDD$STARTUP.COM procedures set up modem connect line and (hdlc data link) entities automatically. An automatically created entity can use resources needed for another entity. For instance, when you configure DECnet and X.25 together, the automatically created hdlc data link entity uses the Modem Connect line, preventing you from enabling your LAPB link, which needs the modem connect line. Tables 8-1 and 8-2 list scripts and procedures that automatically create entities on OpenVMS Alpha and VAX systems, respectively, and indicate how to delete these entities if they are not needed. All scripts and procedures listed here are located in SYS$STARTUP.

Table 8-1 Files That Automatically Create Data Links on OpenVMS Alpha Systems
Automatically Created Entity Source File How to Delete the Entity
csma-cd station NET$CONFIGURE Edit NET$CSMACD_STARTUP.NCL+
modem connect line X25$CONFIGURE Edit NET$HDLC_STARTUP.NCL+ and NET$MODEM_STARTUP.NCL+
hdlc NET$CONFIGURE Edit NET$HDLC_STARTUP.NCL+
lapb, llc2 X25$CONFIGURE @X25$CONFIGURE
lapb link, llc2 sap link X25$CONFIGURE @X25$CONFIGURE

+To prevent automatic creation of the entity, edit the .NCL file to comment out the create and enable commands for that entity.

Table 8-2 Files That Automatically Create Data Links on OpenVMS VAX Systems
Automatically Created Entity Source File How to Delete the Entity
csma-cd station NET$CONFIGURE Edit NET$CSMACD_STARTUP.NCL+
modem connect line PSI$CONFIGURE or NET$CONFIGURE Edit NET$HDLC_STARTUP.NCL+, NET$MODEM_STARTUP.NCL+, and NET$DDCMP_STARTUP.NCL+
ddcmp NET$CONFIGURE Edit NET$DDCMP_STARTUP.NCL+
hdlc NET$CONFIGURE Edit NET$HDLC_STARTUP.NCL+
lapb, llc2 X25$CONFIGURE, PSI$CONFIGURE Edit PSI$CONFIGURE.NCL+
lapb link, llc2 sap link X25$CONFIGURE, PSI$CONFIGURE Edit PSI$CONFIGURE.NCL+

+To prevent automatic creation of the entity, edit the .NCL file to comment out the enable and create commands for that entity.

8.2.2.2 Creating Modem Connect Lines

This section shows the commands to create the Modem Connect module to set up your lines. For the variables, substitute values appropriate to your configuration. DIGITAL, however, recommends that you accept the default settings for the various attributes and change these only if you need to. For more information about these attributes, refer to the DECnet-Plus Network Control Language Reference. Figure 8-1 shows the modem connect entity and subentities.

Figure 8-1 Modem Connect Entity


The following steps show the commands for creating the Modem Connect module to set up your lines:

  1. If the configuration procedures have not already created the Modem Connect module, create it manually before configuring the line. (The following example shows how to create the module; for more information on configuring the module, refer to the appropriate installation and configuration guides.)
  2. The following example creates, sets, and enables a modem connect line. Do this for each line:


    ncl> create modem connect line hdlc-0 -
    _ncl> communication port comm_port_device_name, - (1)
    _ncl> profile "normal", - (2)
    _ncl> duplex full (3)
    
    ncl> set modem connect line hdlc-0 modem control full (4)
    
    ncl> enable modem connect line hdlc-0
    
    1. For a synchronous line, the communication port attribute, (comm_port_device_name), has two formats:
      • The standard OpenVMS device format, such as sja0
      • The DECnet dev-c-u format, such as dsv-0-0

      where dev-c-u is defined as follows:
      dev The first three letters of the synchronous device controller name (such as the dsv in DSV11).
      c A decimal number (0 or a positive integer) designating a device's hardware controller. If the third letter of the device name is A, c equals 0. If the third letter of the device name is B, c equals 1, and so on. For example, SJB1: has a c value of 1.
      u The unit number of the device name; u is always equal to 0 or a positive integer. For example, SJB1: has a u value of 1.

      Therefore, the second line on the second DSV11 controller could be SJB2 or dsv-1-1.
    2. You can specify two profiles, "normal" or "datexp". (On OpenVMS systems, you must include the profile name within double quotes.) The profile defines the maximum, minimum, and defaults of attributes that control the way the device driver monitors and controls the physical interchange circuits connected to the local data circuit-terminating equipment (DCE). Generally, the "normal" profile is the only profile you will need.
    3. Specify the duplex mode of the line as either half or full.
    4. Specify modem control if you want to monitor and use the interchange circuits. You can specify values fullor none. A value of none means "data leads only" operation and is incompatible with a duplex value of half.

8.3 Managing Data Links

A data link connection allows DECnet Phase V systems to communicate with other nodes. If you want to create a new connection, or modify an existing one, you need to create, set up, and enable appropriate datalinkentities. DIGITAL recommends that you use your DECnet-Plus configuration procedure to configure data links. To modify the hdlc, ddcmp, csma-cd, and fddi data links, run NET$CONFIGURE ADVANCED. To modify lapb and llc2 data links, run X25$CONFIGURE.

DECnet-Plus supports the following local area network (LAN) data linkentities, as described in Section 8.3.1:

  • csma-cd
  • fddi
  • llc2 (with X.25, VAX P.S.I.)

DECnet-Plus supports the following wide area network (WAN) data linkentities, as described in Section 8.3.2:

  • hdlc (DIGITAL's HDLC)
  • ddcmp (OpenVMS VAX only)
  • lapb (with X.25, VAX P.S.I.)

For each type of data link you use, you need to manage a different group of entities. For example, for each HDLC data link, you must manage the hdlc data link entity plus the modem connect and device Physical layer entities (see Section 8.2). The type of data link you use on your node depends on the communication hardware on the system. The following sections provide examples and more detailed information about the supported data linkentities.

8.3.1 Creating LAN Data Links

This section explains how to manually create LAN data links. Figure 8-2 shows the LAN data link entities for DECnet-Plus for OpenVMS systems:

Figure 8-2 LAN Data Link Entities


8.3.1.1 Creating CSMA-CD Data Links

The following steps show the commands to create a CSMA-CD data link for an end system. DIGITAL, however, recommends that you accept the default settings (used in the example) for the various attributes and change these only if you need to. Refer to the DECnet-Plus Network Control Language Reference for more information about these attributes.

  1. Enter the following command to create and enable the csma-cd entity:


    ncl> create csma-cd
    
  2. Enter the following commands to create and enable a csma-cd station and communication port:


    ncl> create csma-cd station csmacd-0 -
    _ncl> communication port port-name (1)
    
    ncl> enable csma-cd station csmacd-0
    
    1. The port-name refers to the name assigned to the communication device by the operating system. The communication device is hardware that provides an interface between the system and network.

Note

The Routing layer uses only those CSMA-CD stations that have an associated routing circuit entity. See Section 8.4.2 for further details.

8.3.1.2 Creating FDDI Data Links

The following steps show the commands to create an FDDI data link for an end node. DIGITAL, however, recommends that you accept the default settings (used in the example) for the various attributes and change these only if you need to. Refer to the DECnet-Plus Network Control Language Reference for more information about these attributes.

  1. Enter the following command to create and enable the fddi entity:


    ncl> create fddi
    
  2. Enter the following commands to create and enable an fddi station (fddi-1) and communication port.


    ncl> create fddi station fddi-1 -
    _ncl> communication port port-name (1)
    
    ncl> enable fddi station fddi-1
    
    1. The port-name refers to the name assigned to the communication device by the operating system. It is not user settable.

Note

The Routing layer uses only those FDDI stations that have an associated routing circuit entity. See Section 8.4.2 for further details.

8.3.1.3 Creating LLC2 Data Links

For information about creating LLC2 data links, see the appropriate X.25 documentation.

8.3.2 Creating WAN Data Links

This section explains how to manually create WAN data links. Note that to configure any synchronous link, you must first create the Modem Connect module to set up the underlying physical lines. See Section 8.2 for more information. Figure 8-3 shows the WAN data link entities for DECnet-Plus for OpenVMS systems:

Figure 8-3 WAN Data Link Entities


8.3.2.1 Creating HDLC Data Links

The following steps show the commands to create an HDLC data link for an end system. (As implemented by DECnet-Plus, HDLC is DIGITAL's variant of the HDLC protocol. It interoperates with some implementations of HDLC from other vendors.) DIGITAL recommends that you accept the default settings for the various attributes and change these only if you need to. Refer to DECnet-Plus Network Control Language Reference for more information about these attributes. You can configure the device and modem control entities using WANTDD$STARTUP on OpenVMS systems (NET$CONFIGURE automatically invokes WANDD$STARTUP if needed). For further information on running wansetup, refer to the X.25 for OpenVMS documentation.

  1. If the configuration procedures have not already created the HDLC module, create it manually before configuring the link. (The following example shows how to create the module; for information on configuring the module, refer to your installation and configuration guides.)


    ncl> create node 0 hdlc
    
  2. Enter the following commands to create, set, and enable an hdlc link and logical station. Enter the following for each link that you want.


    ncl> create hdlc link hdlc-0 linktype balanced (1)
    
    ncl> create hdlc link hdlc-0 logical station hdlc-0 (2)
    
    ncl> set hdlc link hdlc-0 physical line -
    _ncl> modem connect line hdlc-0, - (3)
    
    _ncl> receive buffers 16, - (4)
    _ncl> preferred window size 16, -
    _ncl> acknowledge timer 3000, - (5)
    _ncl> preferred local station address 2 (6)
    
    ncl> enable hdlc link hdlc-0
    
    ncl> enable hdlc link hdlc-0 logical station hdlc-0
    
    1. The name of the link is user settable, and it usually corresponds to the modem connect line.
      linktype specifies the operational mode and the station's role on this link. Use a balanced link for full-duplex circuits. If you are using a half-duplex circuit, you need to specify a linktype of primary or secondary. Specify primary at one end of the link and secondary at the other.
    2. The name of the logical station is user settable, and it usually corresponds to the link.
    3. Associates the hdlc link with a modem connect line.
    4. Set the preferred window size , receive buffers, and acknowledge timer to account for transmission delay, line speed, line quality, and line utilization.
    5. The acknowledge timer measures (in milliseconds) the waiting time between sending a message and receiving a response before retransmitting the message. Increase the value if using a slow link, decrease the value if using a noisy or fast link. The acknowledge timer corresponds to the hdlc t1 timer.
    6. The preferred local station address is the address proposed for this station during xid negotiation. Any addressing conflict is resolved by the xid negotiation procedures.
      The preferred local station address is also the proposed address for this local station when it is not running in balanced mode.

8.3.2.2 Creating DDCMP Data Links

The following steps show the commands to create a DDCMP data link for an end system. DIGITAL, however, recommends that you accept the default settings for the various attributes and change these only if you need to. For more information about these attributes, refer to the DECnet-Plus Network Control Language Reference.

  1. If the configuration procedures have not already created the DDCMP module, create it manually before configuring the link. (The following example shows how to create the module; for information on configuring the module, refer to your installation and configuration guides.)


    NCL>create node 0 ddcmp
    
  2. Enter the following commands to create, set, and enable a ddcmp link and logical station. Enter the commands for each link that you want.


    ncl> create ddcmp link ddcmp-0 protocol point (1)
    
    ncl> create ddcmp link ddcmp-0 -
    _ncl> logical station ddcmp-0 (2)
    
    ncl> set ddcmp link ddcmp-0 -
    _ncl> physical line modem connect line ddcmp-0, - (3)
    
    ncl> receive buffers 16, -
    _ncl> retransmit timer 3000, -
    _ncl> transmit window 16 (4)
    
    ncl> enable ddcmp link ddcmp-0
    
    ncl> enable ddcmp link ddcmp-0 logical station ddcmp-0
    


    Previous Next Contents Index