Information furnished in this guide is believed to be accurate and reliable. However, QLogic Corporation assumes no
responsibility for its use, nor for any infringements of patents or other rights of third parties which may result from its
use. QLogic Corporation reserves the right to change product specifications at any time without notice. Applications
described in this document for any of these products are for illustrative purposes only. QLogic Corporation makes no
representation nor warranty that such applications are suitable for the specified use without further testing or
modification. QLogic Corporation assumes no responsibility for any errors that may appear in this document.
QLogic, SANbox, SANbox2, and SANblade are trademarks or registered trademarks of QLogic Corporation.
All other brand and product names are trademarks or registered trademarks of their respective owners.
A
Document Revision History
Release, Revision A, May 2004
Update, Revision B, December 22, 2006
Revision B ChangesDocument Sections Affected
Updated logos and page formatsAll
Updated Contact Information1.3.3
This guide describes the support for Simple Network Management Protocol
(SNMP) used with SANbox/SANbox2 switch products. This Simple Network
Management Protocol (SNMP) Reference Guide describes how to use SNMP to
manage and monitor the SANbox/SANbox2 switch products.
This guide is organized as follows:
Section 2 provides an overview of SNMP objectives, managers and agents,
traps, Management Information Bases (MIB), and User Datagram Protocol.
Section 3 describes how to configure a SANbox/SANbox2 switch using
Telnet and the SANsurfer Switch Manager graphical user interface.
Section 4 describes the Management Information Database (MIB-II).
Section 5 describes the Fibre Alliance - Management Information Database
(FA-MIB version 4.0).
Section 6 describes the Fabric Element - Management Information
Database (FE-MIB).
1.1
Intended Audience
This guide is intended for users responsible for the support of SNMP and
SANbox/SANbox2 switch configurations.
59047-03 B1-1
1 – Introduction
1.2
Related Materials
Refer to the following guide for switch hardware and installation information:
SANbox2-16 Fibre Channel Switch Installation Guide, publication number
59021-09.
SANbox2-8/16 Switch Management User’s Guide, publication number
59022-09.
SANbox2-8 Fibre Channel Switch Installation Guide, publication number
59042-06.
SANbox2-64 Fibre Channel Switch Installation Guide, publication number
59043-05
SANbox2-64 Switch Management User’s Guide, publication number
59048-05
SANbox 5200 Switch Management User’s Guide, publication number
59056-01
A
SANbox 5200 Fibre Channel Switch Installation Guide, publication number
59055-01
1.3
Technical Support
Customers should contact their authorized maintenance provider for technical
support of their QLogic switch products. QLogic-direct customers may contact
QLogic Technical Support; others will be redirected to their authorized
maintenance provider.
Visit the QLogic switch support Web site listed in “Contact Information” for the
latest firmware and software updates.
1.3.1
Availability
QLogic Technical Support for products under warranty is available during local
standard working hours excluding QLogic Observed Holidays.
1.3.2
Training
QLogic offers certification training for the technical professional for both the
SANblade HBAs and the SANbox/SANbox2 switches. From the training link at
www.qlogic.com, you may choose Electronic-Based Training or schedule an
intensive "hands-on" Certification course.
1-259047-03 B
A
1.3.3
Contact Information
Support HeadquartersQLogic Corporation
QLogic Web Sitewww.qlogic.com
Technical Support Web Sitesupport.qlogic.com
Technical Support Emailsupport@qlogic.com
Technical Training Emailtech.training@qlogic.com
North American Region
Emailsupport@qlogic.com
Phone+1-952-932-4040
1 – Introduction
12984 Valley View Road
Eden Prairie, MN 55344-3657
USA
Fax+1 952-932-4018
Europe, Middle East, and Africa Region
Emailemeasupport@qlogic.com
Phone Numbers by Language+353 1 6924960 - English
+353 1 6924961 - Français
+353 1 6924962 - Deutsch
+353 1 6924963 - Español
+353 1 6924964 - Português
+353 1 6924965 - Italiano
Asia Pacific Region
Emailapacsupport@qlogic.com
Phone Numbers by Language+63-2-885-6712 - English
Simple Network Management Protocol (SNMP) is the protocol governing network
management and monitoring of network devices. This Simple Network
Management Protocol Reference Guide describes how to use SNMP to manage
and monitor the SANbox/SANbox2 switch products. Specifically, this guide
describes the SNMP agent that resides on the switch.
The following topics are covered in this section:
SNMP interface objectives
Manager and agent
Traps
Management information bases (MIBs)
User datagram protocol (UDP)
Numbering system conventions
2.1
SNMP Interface Objectives
The objectives of the SNMP Interface are as follows:
Section 2
Connect to the SNMP agent that resides on the switch using a management
workstation.
Support of Fabric Element Management Information Bases (FE-MIB)
(rfc2837) and Fibre Alliance Management Information Bases (FA-MIB) draft.
Support of version 1 and 2 traps.
The SNMP agent supports SNMPv1and SNMPv2c.
2.2
Manager and Agent
The two primary elements of SNMP are:
Manager - the application that runs on the management workstation.
Agent - the daemon application that runs on the switch.
The Manager is the application through which the network administrator performs
network management functions. The SNMP agent is the direct interface on the
switch for any SNMP manager connecting to the switch using the SNMP protocol,
as shown in Figure 2-1. The agent will be started by the script file(s) responsible
for switch initialization when the switch powers up or when the switch is reset.
59047-03 B2-1
2 – SNMP Overview
When an SNMP request arrives at the agent, the agent will compose a message
and pass it on to Switch Management to process the message and provide a
response to the agent. The agent then provides a response to the originator of the
SNMP request. The SNMP agent does not have direct access to the internal
database of the switch.
A
Workstation with SNMP Manager
Ethernet Connection
2.3
Traps
SANbox2 Switch with Agent and
Common User Interface API
Figure 2-1. SNMP Interface Architecture
Traps are notification messages sent from the switch to a registered manager
when a change of state occurs within the switch. A change of state can be an
alarm condition or simply a configuration change.
The Fibre Alliance MIB defines a trap table configurable through SNMP. A trap
table may have up to 5 entries, and can be configured using the SNMP Manager
or SANsurfer Switch Manager graphical user interface. The same trap table
information is available to both SNMP Manager and SANsurfer Switch Manager.
A trap event is reported when the incoming error has a severity level less than or
equal to the configured severity level. The trap event types and trap severity levels
are listed in Table 2-1. Refer to Table 5-1 for information on specific traps.
Management information bases (MIBs) define the properties of the managed
object within the device to be managed. Every managed de vice keeps a database
of values for each definition written in the MIB. It is not the actual database itself; it
is implementation dependant. Definition of the MIB conforms to the Structure of
Management Information (SMI) given in Request For Comment (RFC) 1155. The
latest Internet MIB is given in RFC 1213, and is sometimes called MIB-II.
2.5
User Datagram Protocol
SANbox/SANbox2 switches support the following User Datagram Protocol (UDP)
settings:
Agents “listen” on UDP port 161.
Responses are sent back to the originating Network Management S tation
(NMS) port from a dynamic port, although many agents use p ort 161 also for
this target.
The maximum SNMP message size is 65507 octets (maximum UDP
message size).
The minimum receive packet size for SNMP implementations is 484 octets
in length.
Agent and Network Monitoring Systems are responsible for determining
error recovery.
59047-03 B2-3
2 – SNMP Overview
2.6
Numbering System Conventions
The conventions for numbering systems in this guide are as follows:
Decimal= 101
Hexadecimal= 0x101
Binary= 101b
A
2-459047-03 B
Section 3
Configuring a Switch
This section describes how to configure a SANbox/SANbox2 switch to support
SNMP. The following topics are covered:
System specifications and requirements
Configuring a switch using the Telnet command line interface
Configuring a switch using the SANsurfer Switch Manager application
3.1
System Specifications and Requirements
SANbox/SANbox2 switches support SNMPv1 and SNMPv2c.
Version 1 and 2 traps are supported.
Hardware - one out-of-band Ethernet connection is required.
Software - one switch management software application allows you to:
Monitor and control the switch.
Read, write, and receive trap information, if supported.
Ports on the switch reserved for SNMP:
Port 161 is not configurable, and is used for the standard SNMP
commands.
Port 162 is configurable and is the default port used for traps.
One or more in-band switches can be managed by an out-of-band SANbox/
SANbox2 switch acting as a proxy switch.
SANbox/SANbox2 can only act as a proxy for other SANbox/SANbox2
switches.
SANbox/SANbox2 proxy capability can be disabled.
3.2
Configuring a Switch Using the Command Line Interface
The Telnet command line interface offers a convenient way to change SNMP
parameters. SNMP parameter defaults are preset during manufacturing. For
security purposes, these default values should be changed.
For specific information about SNMP parameters, refer to the SNMP
Configuration section in the corresponding SANbox/SANbox2 Switch
Management User’s Guide. To configure a switch using the command line
interface, do the following. Press the Enter key to accept the default value for
each parameter.
59047-03 B3-1
3 – Configuring a Switch
cli #> admin start
cli (admin) #> set setup snmp
A list of attributes with formatting and current values will
follow. Enter a new value or simply press the ENTER key to accept
the current value. If you wish to terminate this process before
reaching the end of the list press 'q' or 'Q' and the ENTER key to
do so.
Trap Severity Options
Do you want to save and activate this snmp setup? (y/n) [n] y
SNMP setup saved and activated.
3-259047-03 B
A
3.3
Configuring a Switch Using SANsurfer Switch Manager
To configure a SANbox/SANbox2 switch using SANsurfer Switch Manager, use
the Switch Properties and Network Properties windows. For specific information,
refer to the corresponding SANbox/SANbox2 Switch Management User’s Guide.
3 – Configuring a Switch
59047-03 B3-3
3 – Configuring a Switch
Notes
A
3-459047-03 B
This section covers the implementation details for the MIB-II on the SANbox/
SANbox2 switch. A MIB defines the properties of the managed object within the
device to be managed. Every managed device keeps a database of values for
each definition written in the MIB. It is not the actual database itself; it is
implementation dependant. Definition of the MIB conforms to the SMI given in
RFC 1155. The latest Internet MIB is given in RFC 1213, and is sometimes called
MIB-II.
4.1
Groups in MIB-II
Refer the Table 4-1 for the syntax for MIB-II Groups.
Implementation of the System group is mandatory for all systems. If an agent is
not configured to have a value for any of these variables, a string of length 0 is
returned.
59047-03 B4-1
4 – MIB-II Objects
sysDescr (1.3.6.1.2.1.1.1)
A textual description of the entity. This value should include the full name and
version identification of the system's hardware type, operating-system, and
networking software. It is mandatory that this only contain printable American
Standard Code for Information Interchange (ASCII) characters.
Syntax
DisplayString (SIZE (0..255))
Access
read-only
Status
Mandatory
Return Value
The defaults are: SANbox2-8 = SANbox2-8 FC Switch, SANbox2-16 = QLogic
SANbox2 FC Switch, SANbox2-64 = SANbox2-64 FC Switch, SANbox 3050 =
SANbox 3050 FC Switch, SANbox 3100 = SANbox 3100 FC Switch, and
SANbox 5200 = SANbox 5200 FC Switch
A
sysObjectID (1.3.6.1.2.1.1.2)
The vendor's authoritative identification of the network management subsystem
contained in the entity. This value is allocated within the SMI enterprise subtree
(1.3.6.1.4.1) and provides an easy and unambiguous means for determining
`what kind of box' is being managed. For example, if vendor `Flintstones, Inc.' was
assigned the subtree 1.3.6.1.4.1.4242, it could assign the identifier
1.3.6.1.4.1.4242.1.1 to its `Fred Router'.
Syntax
OBJECT IDENTIFIER
Access
read-only
Status
mandatory
Return Value
The values are: SANbox2-8 = 1.3.6.1.4.1.1663.1.1.1.1.14, SANbox2-16 =
1.3.6.1.4.1.1663.1.1.1.1.20, and SANbox 5200 = 1.3.6.1.4.1.1663.1.1.1.1.17
4-259047-03 B
A
sysUpTime (1.3.6.1.2.1.1.3)
The time, in hundredths of a second, since the network management portion of
the system was last re-initialized.
Syntax
TimeTicks
Access
read-only
Status
mandatory
Return Value
The time since the switch was powered on, or last reset (reset, hardreset, or
hotreset) was executed. For example, 3 days 21 hours, 5 minutes, and 26.84
seconds. The value will roll over after approximately 497 days of continuous
up time.
4 – MIB-II Objects
sysContact (1.3.6.1.2.1.1.4)
The textual identification of the contact person for this managed Node, together
with information on how to contact this person.
Syntax
DisplayString (SIZE (0..255))
Access
read-write
Status
mandatory
Return Value
The default is: <sysContact undefined>. The string size is limited to a
maximum of 64.
59047-03 B4-3
4 – MIB-II Objects
sysName (1.3.6.1.2.1.1.5)
An administratively-assigned name for this managed Node. By convention, this is
the Node's fully-qualified domain name.
The physical location of this Node, such as telephone closet and 3rd floor.
A
Syntax
DisplayString (SIZE (0..255))
Access
read-write
Status
mandatory
Return Value
The default is: <sysLocation undefined>. The string size is limited to a
maximum of 64.
4-459047-03 B
A
sysServices (1.3.6.1.2.1.1.7)
A value that indicates the set of services that this entity primarily offers.The value
is a sum. This sum initially takes the value zero. Then, for each layer L in the
range 1 through 7 that this Node performs transactions for, 2 raised to (L - 1) is
added to the sum. For example, a Node that performs primarily routing functions
would have a value of 4 (2^(3-1)). In contrast, a Node that is a host offering application services would have a value of 72 (2^(4-1) + 2^(7-1)).
Syntax
INTEGER (0..127)
Access
read-only
Status
mandatory
Return Value
The default is: 2
4 – MIB-II Objects
4.3
The Interfaces Group
Implementation of the Interfaces group is mandatory for all systems.
ifNumber (1.3.6.1.2.1.2.1)
The number of network interfaces (regardless of their current state) present on
this system.
Syntax
INTEGER
Access
read-only
Status
mandatory
Return Value
The default is: 2
59047-03 B4-5
4 – MIB-II Objects
4.4
The Interfaces Table
The Interfaces table contains information on the entity's interfaces. Each interface
is thought of as being attached to a `subnetwork'. This term should not be
confused with `subnet' which refers to an addressing partitioning scheme used in
the Internet suite of protocols.
ifIndex (1.3.6.1.2.1.2.2.1.1)
A unique value for each interface. Its value ranges between 1 and the value of
ifNumber. The value for each interface must remain constant at least from one reinitialization of the entity's network management system to the next re-initialization.
Syntax
INTEGER
Access
read-only
A
Status
mandatory
ifDescr (1.3.6.1.2.1.2.2.1.2)
A textual string containing information about the interface. This string should
include the name of the manufacturer, the product name, and the version of the
hardware interface.
Syntax
DisplayString (SIZE (0..255))
Access
read-only
Status
mandatory
ifT ype (1.3.6.1.2.1.2.2.1.3)
The type of interface distinguished according to the physical/link protocol(s)
immediately `below' the network layer in the protocol stack.
Syntax
INTEGER
Access
read-only
Status
mandatory
4-659047-03 B
A
ifMtu (1.3.6.1.2.1.2.2.1.4)
The size of the largest datagram which can be sent/received on the interface,
specified in octets. For interfaces that are used for transmitting network
datagrams, this is the size of the largest network datagram that can be sent on the
interface.
Syntax
INTEGER
Access
read-only
Status
mandatory
ifSpeed (1.3.6.1.2.1.2.2.1.5)
An estimate of the interface's current bandwidth in bits per second. For interfaces
that do not vary in bandwidth or for those where no accurate estimation can be
made, this object should contain the nominal bandwidth.
4 – MIB-II Objects
Syntax
Gauge
Access
read-only
Status
mandatory
ifPhysAddress (1.3.6.1.2.1.2.2.1.6)
The interface's address at the protocol layer immediately “below” the network
layer in the protocol stack. For interfaces that do not have such an address, such
as a serial line, this object should contain an octet string of zero length.
Syntax
PhysAddress
Access
read-only
Status
mandatory
59047-03 B4-7
4 – MIB-II Objects
ifAdminStatus (1.3.6.1.2.1.2.2.1.7)
The desired state of the interface. The testing(3) state indicates that no operational packets can be passed.
Syntax
INTEGER
Access
read-write
Status
mandatory
Return Value
Writes not supported.
ifOperSt atus (1.3.6.1.2.1.2.2.1.8)
The current operational state of the interface. The testing(3) state indicates that
no operational packets can be passed.
A
Syntax
INTEGER
Access
read-only
Status
mandatory
ifLastChange (1.3.6.1.2.1.2.2.1.9)
The value of sysUpTime at the time the interface entered its current operational
state. If the current state was entered prior to the last re-initialization of the local
network management subsystem, then this object contains a zero value.
Syntax
TimeTicks
Access
read-only
Status
mandatory
4-859047-03 B
A
ifInOctets (1.3.6.1.2.1.2.2.1.10)
The total number of octets received on the interface, including framing chara cters.
Syntax
Counter
Access
read-only
Status
mandatory
ifInUcastPkts (1.3.6.1.2.1.2.2.1.11)
The number of subnetwork-unicast packets delivered to a higher-layer protocol.
Syntax
Counter
Access
4 – MIB-II Objects
read-only
Status
mandatory
ifInNUcastPkts (1.3.6.1.2.1.2.2.1.12)
The number of non-unicast (that is, subnetwork- broadcast or subnetwork-multicast) packets delivered to a higher-layer protocol.
Syntax
Counter
Access
read-only
Status
mandatory
59047-03 B4-9
4 – MIB-II Objects
ifInDiscards (1.3.6.1.2.1.2.2.1.13)
The number of inbound packets that were chosen to be discarded even though no
errors had been detected to prevent their being deliverable to a higher-layer
protocol. One possible reason for discarding such a packet could be to free up
buffer space.
Syntax
Counter
Access
read-only
Status
mandatory
ifInErrors (1.3.6.1.2.1.2.2.1.14)
The number of inbound packets that cont a ined errors pr eventing them from being
deliverable to a higher-layer protocol.
A
Syntax
Counter
Access
read-only
Status
mandatory
ifInUnknownProtos (1.3.6.1.2.1.2.2.1.15)
The number of packets received from the interface that were discarded because
of an unknown or unsupported protocol.
Syntax
Counter
Access
read-only
Status
mandatory
4-1059047-03 B
A
ifOutOctets (1.3.6.1.2.1.2.2.1.16)
The total number of octets transmitted out of the interface, including framing
characters.
Syntax
Counter
Access
read-only
Status
mandatory
ifOutUcastPkts (1.3.6.1.2.1.2.2.1.17)
The total number of packets that higher level protocols requested be transmitted
to a subnetwork unicast address, including those that were discarded or not sent.
Syntax
Counter
4 – MIB-II Objects
Access
read-only
Status
mandatory
ifOutNUcastPkts (1.3.6.1.2.1.2.2.1.18)
The total number of packets that higher level protocols requested be transmitted
to a non-unicast (subnetwork broadcast or subnetwork multicast) address,
including those that were discarded or not sent.
Syntax
Counter
Access
read-only
Status
mandatory
59047-03 B4-11
4 – MIB-II Objects
ifOutDiscards (1.3.6.1.2.1.2.2.1.19)
The number of outbound packets that were chosen to be discarded even though
no errors had been detected to prevent their being transmitted. One possible
reason for discarding such a packet could be to free up buffer space.
Syntax
Counter
Access
read-only
Status
mandatory
ifOutErrors (1.3.6.1.2.1.2.2.1.20)
The number of outbound packets that could not be transmitted because of errors.
Syntax
Counter
A
Access
read-only
Status
mandatory
ifOutQLen (1.3.6.1.2.1.2.2.1.21)
The length (in packets) of the output packet queue.
Syntax
Gauge
Access
read-only
Status
mandatory
4-1259047-03 B
Loading...
+ 222 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.