Professional Documents
Culture Documents
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 2
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 1
Session Overview
Introduction
Installation
Operation
Miscellaneous
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 3
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 4
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 2
Documentation Resources
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 5
Terminology Used in
this Presentation
• SNMP—Simple Network
Management Protocol
• TCP/IP—Transmission Control
Protocol/Internet Protocol
• MIB—Management Information Base
• ASN.1—Abstract Syntax Notation
One(1.3.6.1.2.1.1…)
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 6
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 3
Terminology Used in this
Presentation (Cont.)
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 7
8 3
Socket
SNMPIUCV Task Interface 6
Platform
MVS
4 5
Internet to
SNMP Agents
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 8
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 4
SNMP Installation
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 9
hlq.SEZAINST Procedures
Instructions
MIB Table
hlq.SEZADSIM SNMP Messages
hlq.SEZADSIP SNMPARMS
hlq.SEZANPNL Panels(122)
hlq.SEZADSIL Load Modules
hlq.SEZANCLS CLISTS (66)
Code Point Tables(4)
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 10
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 5
Steps to Configure SNMP
PROFILE.TCPIP
AUTOLOG
SNMPQE ; SNMP Query Engine
SNMPD ; SNMP Agent
ENDAUTOLOG
OBEY
IBMUSER SNMPD SNMPQE
ENDOBEY
PORT
161 UDP SNMPD ; SNMP Agent
162 UDP SNMPQE ; SNMPQE Agent
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 12
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 6
PROFILE.TCPIP (Cont.)
SYSCONTACT
Hal Liberty, extension 1234
ENDSYSCONTACT
SYSLOCATION
7025 Kit Creek Road, Edgewater
2nd floor, room 298
ENDSYSLOCATION
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 13
Update ETC.SERVICES
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 14
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 7
Configure the SNMP
Query Engine
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 15
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 8
Configure NetView as an
SNMP Monitor
• Add:
SNMP Task
SNMP Command
SNMPARMS
SNMP Messages
SNMP CLISTs
SNMP PANELS
SNMP Load Modules
SNMP Automation Table
SNMP Autotasks
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 17
NetView Updates
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 9
NetView Updates (Cont.)
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 20
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 10
Configure the SNMP
Agent (SNMPD)
SNMP Command
Operation
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 22
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 11
SNMP Command
Command:
netvasis SNMP GET 172.18.55.14 public 1.3.6.1.2.1.1.1.0
Response:
SNM040I SNMP Request 9405 from HAL2 Returned the
following response:
SNM042I Variable name: 1.3.6.1.2.1.1.1.0
SNM043I Variable value type: 9
SNM044I Variable value: Sysname: OS/390 Nodename:
MVSD Release: 05.00 Version:
SNM044I Variable value: 2 Machine: 9672
SNM049I SNMP Request 9405 End of response
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 24
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 12
SNMP Command Notes
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 25
REXX Coding
Considerations
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 26
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 13
Sample: SNMP PING
Command:
SNMP PING 172.18.55.14
Response:
SNM040I SNMP Request 9407 from HAL2 Returned the
following response:
SNM042I Variable name: 1.3.6.1.4.1.2.2.1.3.2.172.18.55.14
SNM043I Variable value type: 1
SNM044I Variable value: 2
SNM049I SNMP Request 9407 End of response
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 27
Comments on Samples
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 28
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 14
SNMPMGMT
Samples
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 29
SNMPMGMT Provides:
• PING function
• Group function
• Traps filters query/on/off
• Poll hosts
• Poll variables
• GET/GETN function
• SET function
• Trap to NPDA alert function
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 30
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 15
Output from TCP/IP
Samples (SNMPMGMT)
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 31
PF4—Groups
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 32
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 16
PF4 Groups—#1 Output
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 33
PF5—Trap Support
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 34
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 17
PF-7 Poll Hosts
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 35
Selected Host 3
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 36
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 18
Index 3—Interface Details
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 37
PF8—Poll Variables
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 38
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 19
PF9 Get/Getnext
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 39
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 40
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 20
Usability Changes (Suggestions)
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 41
PFK Usage
Change:
keys.panel01="PF1 PF12 ENTER"
rout.panel01="HLP RETURN GETINTF”
To:
keys.panel01="PF1 PF3 PF12 ENTER"
rout.panel01="HLP RETURN RETURN GETINTF"
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 42
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 21
Screen Color
Change:
interpret "$IX"||i '="FA IN CB HD UN"' /*
set disp attributes*/
To:
interpret "$IX"||i '="FA IN CT HD UN"' /*
set disp attributes*/
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 43
Message Processing
Change:
jan="SNMP GET" HOST COMMUN mibsys1 mibsys2 mibsys3
'GLOBALV PUTT JAN' /* put cmd in common global */
'TRAP AND SUPPRESS MESSAGES SNM040I' /* trap MLWTO
message */
'ISSCMD' /* preserve upper or lower case*/
To:
'TRAP AND SUPPRESS MESSAGES SNM040I' /* trap MLWTO
message
address netvasis 'SNMP GET' HOST COMMUN mibsys1 mibsys2
mibsys3
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 44
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 22
SNMP Monitoring
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 45
Performance Hints
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 23
Performance Experiences
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 47
Security Considerations
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 24
Conclusions
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 50
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 25
Questions?
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 51
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 52
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 26
702
0874_04F9_c1 © 1999, Cisco Systems, Inc. 53
Copyright © 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr 27