Banner
HomeTOCPrevNextGlossSearchHelp

PDF

Table of Contents

Sample Configuration Files

Sample Configuration Files

Sample Configuration Files

This appendix contains the following sample files:


IBM SNA Configuration File

The Virtual Telecommunications Access Method (VTAM) definition file is one of the IBM SNA configuration files you can use to establish and maintain a connection from the IBM host mainframe to the Peer-to-Peer gateway.

Figure A-1 is a section of the NCP/VTAM generation file for the IBM host configuration. Since there are many versions of VTAM in existence, it is important that you are aware of which VTAM is running on your system. Refer to your IBM manuals, including the IBM Advanced Communications Function for Network Control Program and System Support Programs Installation and Resource Definition for correct identification of your VTAM version and level.

Refer to the 7.0 SunLink SNA Peer-to-Peer Administrator's Guide, Chapter 4, for details on VTAM Definition Statement Tables, and Chapter 3 for tables detailing the matching p2pconf and VTAM parameters.


** GROUP macro **************************************************
GRPCW01  GROUP  DIAL=NO,
    LNCTL=SDLC,
    TYPE=NCP,
    ISTATUS=ACTIVE,
** LINE operands moved up to GROUP macro ************************
    CLOCKING=EXT,
    DISCNT=NO,
    SERVLIM=5,
    TRANSFER=9,
    SPDSEL=NO,
** PU operands moved up to GROUP macro **************************
    IRETRY=YES,
    MAXDATA=521,
    MAXOUT=7,
    PASSSLIM=11,
** LU operands moved up to GROUP macro ***************************
    MODETAB=ISTINCLM,
    SSCPFM=USSSCS,
    USSTAB=HIS3270,
    PACING=1,
    VPACING=1
** LINE macro ****************************************************
CWLIN01  LINE  ADDRESS=(01,FULL),
    SPEED=9600
    NRZI=NO,
    DUPLEX=FULL
** PU macro ******************************************************
CWPU01  PU  ADDR=C1
    PUTYPE=2
    IDNUM=017
    TERMID=12345
** LU macros ******************************************************
* None
******************************************************************

Figure A-1 : NCP/VTAM Generation File for IBM Host Configuration


SNA Peer-to-Peer RunTime Environment Files

This section contains a brief description of the configuration files that must be edited to enable the communication to the IBM NetView product.

This section refers you to the SunLink documentation manuals for most of the information involved in the editing procedure.


SNA Peer-to-Peer Configuration File

Refer to Chapter 3 in your 7.0 SunLink SNA Peer-to-Peer Administrator's Guide for detailed instructions on editing your snap2p.conf file.


PCA Schema File

The PCA schema file that is documented in the SunLink manual has been revised. The updated file is copied to the appropriate directory during the installation procedure. It appears in Figure A-2.

This file is used by SunNet Manager and SunOS to run the Peer-to-Peer gateway.

#
# PCA schema to work with 4.x SunOS and SNM 2.x
#
# Changes that occurred in the schema syntax:
#
#       o $SNMHOME instead of %*bins
#       o $$<awk column> instead of $<awk column>
#
#       The second change is required because all $variables are
#       interpreted by SNM.
#
# %W% %G%
# PCA component definition
##################
# NetView Interface
#

record component.PCA (          # SNM-NetView Protocol Converter Appli
cation
        string[32]      Name
        string[40]      IP_Address
        string[40]      Gateway
        string[128]     Machine_tb
        string[128]     Event_tb
        string[40]      Options
        string[40]      User
        string[40]      Location
        string[80]      Description
        string[40]      SNMP_RdCommunity
        string[40]      SNMP_WrCommunity
        string[40]      SNMP_Vendor_Proxy
        string[40]      SNMP_Timeout
)

instance elementCommand (
        (component.PCA  "PCA Start"  "$SNMHOME/bin/snm_cmdtool -Wl 
SNM_NetView_PCA -WL PCA pca %Options -g%Gateway -m"":%Machine_tb"" 

-e"":%Event_tb""")
        (component.PCA  "PCA Tables"  "kill -1 `ps -ax|awk '$$5 == ""pca"" 

{ print $$1 }'`")
        (component.PCA  "PCA Terminate"  "kill `ps -ax|awk '$$5 == ""pca"" 

{ print $$1 }'`")

        (component.PCA        "Rlogin..."   "$SNMHOME/bin/snm_cmdtool 
$SNMHOME

/bin/snm_exec rlogin %Name")
        (component.PCA        "Telnet..."   "$SNMHOME/bin/snm_cmdtool 
$SNMHOME

/bin/snm_exec telnet %Name")
)
instance elementGlyph (
        ( component.PCA                 pca.icon )
)

Figure A-2 : Updated Sun PCA Schema File


Event Table Configuration

You can edit the event.table file to filter event information. Refer to 7.0 SunLink SNA Peer-to-Peer Administrator's Guide for more information on editing event tables. Figure A-3 is the file shipped with SunLink. Refer to Chapter 6 for a sample file detailing how you can add customized information to the CWevent.table file.

# Event Table
###################################
# Using the Default Translation Subvectors
###################################
* : GA = B00C(01) PC = FE00 UC = 7000 / 00b2 + 0E "'Refer to Event Detail 
for

     further action'";                                        
#Event not specified will
# translate with these 3 SV.

###################
# Entry STARTS here :
###################
trap    "Link-Up":
                        GA = B00C(01)           # Generic Alert SV

                        PC = 3200               # Probable Causes SV

                        FC = 3200,22A0 +
                                  FA "Link-Up"
                             /32A0 +
                                  0F "Link Restored";
trap    "Link-Down":
                        GA = 3300(01)           # Generic Alert SV

                        PC = 3200               # Probable Causes SV

                        FC = 3200,22A0 +
                                  FA "Link-Down"
                             /32C0 +
                               0E "for contacts:",
                               0E "RUNCMD SP=puname,APPL=SH,CONTACTS dev";
                               0E "RUNCMD SP=puname,APPL=SH,CONTACTS dev";
trap   "Warm-Start":
                        GA = B00C(01)           # Generic Alert SV

                        PC = 2100               # Probable Causes SV


                        FC = 1000,22A0 +
                                  FA "Warm-Start"
                             /32C0 +
                                  0E "for status:",
                                  0E "RUNCMD SP=puname,APPL=SH,NETSTATUS dev";
trap   "Cold-Start":
                        GA = B00C(01)           # Generic Alert SV

                        PC = 2100               # Probable Causes SV

                        FC = 1000,22A0 +
                                  FA "01"
                             /32C0 +
                                  0E "for status:",
                                  0E "RUNCMD SP=puname,APPL=SH,NETSTATUS dev";
trap   "Authentication":
                        GA = C007(01)           # Generic Alert SV

                        PC = 2100               # Probable Causes SV

                        FC = 2100,22A0 +
                                  FA "AuthenticationFailure"
                             /3100, 32A0 +
                                  0E "Check Community String";
trap   "EGP Neighbor Lost":
                        GA = B00C(01)           # Generic Alert SV

                        PC = 2100               # Probable Causes SV

                        FC = 2100,22A0 +
                                  FA "EGP Neighbor Lost"
                           /32C0 +
                                  0F "for status:",
                                  0F "Get the routing info on the border gateway
";
trap   "enterprise specific":
                        GA = B00C(01)           # Generic Alert SV

                        PC = 2100               # Probable Causes SV

                        FC = 2100,22A0 +
                                  F8 "enterprise specific"
                            /32C0 +
                                  0F "for status:",
                                  0F "RUNCMD SP=puname,APPL=SH,NETSTATUS dev";
###################
# And ENDS here
###################                                  

Figure A-3 : Sample Updated CWevent.table File


Machine Table Configuration

The machine.table file is documented in the 7.0 SunLink SNA Peer-to-Peer Administrator's Guide. Refer to Chapter 6 of this manual for information on editing this file.

Figure A-4 is the file shipped with CiscoWorks NetView Interface software:

#machine table
*;
*.MV;
*.* *;

Figure A-4 : Sample Updated CWmachine.table File


Note: Refer to the 7.0 SunLink SNA Peer-to-Peer Administrator's Guide to customize the machine table to allow you to filter machine events from appearing in NetView.

HomeTOCPrevNextGlossSearchHelp
-

Copyright 1988-1996 © Cisco Systems Inc.