Q-Logic SANBOX, SANBOX2 User Manual

A
Simplify
SANbox/SANbox2
Simple Network Management Protocol
Reference Guide
59047-03 B Page i
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 Changes Document Sections Affected
Updated logos and page formats All Updated Contact Information 1.3.3
© 2000–2006 QLogic Corporation All Rights Reserved Worldwide.
QLogic Corporation, 26650 Aliso Viejo Parkway, Aliso Viejo, CA 92656, (800) 662-4471 or (949) 389-6000
Page ii 59047-03 B
First Published: May 2001

Table of Contents

Section 1 Introduction
1.1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.2 Related Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.3 Technical Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.3.1 Availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.3.2 Training . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.3.3 Contact Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Section 2 SNMP Overview
2.1 SNMP Interface Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
2.2 Manager and Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
2.3 Traps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.4 Management Information Base . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.5 User Datagram Protocol. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.6 Numbering System Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Section 3 Configuring a Switch
3.1 System Specifications and Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
3.2 Configuring a Switch Using the Command Line Interface . . . . . . . . . . . . . . 3-1
3.3 Configuring a Switch Using SANsurfer Switch Manager . . . . . . . . . . . . . . . 3-3
Section 4 MIB-II Objects
4.1 Groups in MIB-II. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
4.2 System Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
4.3 The Interfaces Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
4.4 The Interfaces Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
4.5 The Address Translation Group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
4.6 The IP Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-15
4.7 The IP Address Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-21
4.8 The IP Routing Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-23
4.9 The IP Address Translation Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-30
4.10 Additional IP Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-32
4.11 The ICMP Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-32
4.12 The TCP Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-40
4.13 The TCP Connection Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-45
4.14 Additional TCP Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-47
4.15 The UDP Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-48
59047-03 B Page iii
4.16 The UDP Listener Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-49
4.17 The EGP Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-50
4.18 The EGP Neighbor Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-51
4.19 The Transmission Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-56
4.20 The SNMP Group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-56
A
Section 5 Fibre Alliance MIB Objects
5.1 FA MIB Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
5.2 Connectivity Unit Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4
5.3 Connectivity Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6
5.4 Revision Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-22
5.5 Sensor Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-26
5.6 Port Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-34
5.7 Event Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-49
5.8 Link Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-54
5.9 Zone Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-61
5.10 Zoning Alias Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-66
5.11 Port Statistics Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-69
5.12 Simple Name Server Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-91
5.13 Platform Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-98
5.14 Trap Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-103
5.15 Related Traps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-107
Section 6 Fabric Element MIB Objects
6.1 Fibre Channel FE MIB Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
6.2 Configuration Group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
6.3 Module Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
6.4 FxPort Configuration Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-7
6.5 The Status Group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-12
6.6 FxPort Physical Level Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-14
6.7 Fx Port Fabric Login Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-17
6.8 The Error Group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-22
6.9 Accounting Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-26
6.10 Class 2 Accounting Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-30
6.11 Class 3 Accounting Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-33
6.12 Capability Group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-35
Section 7 QLOGIC MIB Objects
7.1 QLOGIC MIB Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
Glossary
Page iv 59047-03 B
Simple Network Management Protocol
A
Reference Guide
Index

List of Figures

Figure Page
2-1 SNMP Interface Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
5-1 connUnitEventDescr Variable Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-107

List of Tables

Table Page
2-1 Trap Severity Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
4-1 MIB-II Groups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
5-1 FA-MIB Textual Substitutions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
5-2 Switch Operational States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8
5-3 Connectivity Unit Return Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9
5-4 connUnitContol Read Return Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17
5-5 connUnitContol Write Control Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17
5-6 connUnitEventFilter Read Return Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-19
5-7 connUnitEventFilter Control Write Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-19
5-8 SANbox2-8/16 and SANbox 3050/3100/5200
ConnUnitRevsRevId Return Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-24
5-9 SANbox2-64 ConnUnitRevsRevId Return Values . . . . . . . . . . . . . . . . . . . . . . . . . . 5-24
5-10 SANbox2-8/16 and SANbox 3050/3100/5200
ConnUnitRevsDescription Return Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-25
5-11 SANbox2-64 ConnUnitRevsDescription Return Values. . . . . . . . . . . . . . . . . . . . . . 5-25
5-12 SANbox2-8 ConnUnitSensorName Return Values . . . . . . . . . . . . . . . . . . . . . . . . . 5-27
5-13 SANbox 3050/3100/5200 ConnUnitSensorName Return Values . . . . . . . . . . . . . . 5-27
5-14 SANbox2-16 ConnUnitSensorName Return Values . . . . . . . . . . . . . . . . . . . . . . . . 5-28
5-15 SANbox2-64 ConnUnitSensorName Return Values . . . . . . . . . . . . . . . . . . . . . . . . 5-28
5-16 ConnUnitSensorStatus Return Values for Board Temperature . . . . . . . . . . . . . . . . 5-29
5-17 ConnUnitSensorStatus Return Values for Fan Status. . . . . . . . . . . . . . . . . . . . . . . 5-29
5-18 ConnUnitSensorStatus Return Values for Voltage Status. . . . . . . . . . . . . . . . . . . . 5-30
5-19 ConnUnitSensorStatus Return Values for Fan Status. . . . . . . . . . . . . . . . . . . . . . . 5-30
5-20 SANbox2-8/16 and SANbox 3050/3100/5200 ConnUnitSensorMessage Values . . 5-31
5-21 SANbox2-64 ConnUnitSensorMessage Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-31
5-22 ConnUnitSensorType Return Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-32
5-23 ConnUnitSensorCharacteristic Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-33
5-24 ConnUnitPortType Return Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-35
5-25 ConnUnitPortState Return Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-37
5-26 ConnUnitPortTransmitterType Return Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-39
5-27 ConnUnitPortModuleType Return Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-40
5-28 ConnUnitPortControl Read Return Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-44
5-29 ConnUnitPortControl Write Command Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-44
5-30 ConnUnitPortHWState Port State Return Values . . . . . . . . . . . . . . . . . . . . . . . . . . 5-48
5-31 ConnUnitPortType State Return Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-95
59047-03 B Page v
5-32 Trap Severity Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-103
5-33 connUnitEventDescr Variable Field Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . 5-108
5-34 connUnitEventDescr Trap List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-108
6-1 FA-MIB Textual Substitutions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
6-2 Module Operational Status Return Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5
6-3 Port Operational Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-13
6-4 fcFxPortPhysAdminStatus Read Return Values . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-14
6-5 fcFxPortPhysAdminStatus Write Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-15
7-1 fcQxPortPhysAdminStatus Read Return Values . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
7-2 fcQxPortPhysAdminStatus Write Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
7-3 fcFxPortPHysOperStatus Return Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3
A
Page vi 59047-03 B
Section 1
Introduction
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 B 1-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-2 59047-03 B
A
1.3.3

Contact Information

Support Headquarters QLogic Corporation
QLogic Web Site www.qlogic.com Technical Support Web Site support.qlogic.com Technical Support Email support@qlogic.com Technical Training Email tech.training@qlogic.com
North American Region
Email support@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
Email emeasupport@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
Email apacsupport@qlogic.com Phone Numbers by Language +63-2-885-6712 - English
+63-2-885-6713 - (Mandarin) +63-2-885-6714 - (Japanese) +63-2-885-6715 - (Korean)
Latin and South America Region
Email calasupport@qlogic.com Phone Numbers by Language +52 55 5278 7016 - English
+52 55 5278 7017 - Español +52 55 5278 7015 - Português
59047-03 B 1-3
1 – Introduction
A
Notes
1-4 59047-03 B
SNMP Overview
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 B 2-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.
2-2 59047-03 B
A
2 – SNMP Overview
Table 2-1. Trap Severity Levels
Event Type Severity Level
Unknown 1 Emergency 2 Alert 3 Critical 4 Error 5 Warning 6 Notify 7 Info 8 Debug 9 Mark 10
2.4

Management Information Base

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 B 2-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-4 59047-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 B 3-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
--------------------­unknown, emergency, alert, critical, error, warning, notify, info, debug, mark SnmpEnabled (string, max=32 chars) [True] Contact (string, max=32 chars) [<sysContact undefined> ] Location (string, max=32 chars) [<sysLocation undefined>] Trap1Address (dot-notated IP Address) [10.0.0.254 ] Trap1Port (decimal value) [162 ] Trap1Severity (see allowed options above) [warning ] Trap1Version (1 / 2) [2 ] Trap1Enabled (True / False) [False ] Trap2Address (dot-notated IP Address) [0.0.0.0 ] Trap2Port (decimal value) [162 ] Trap2Severity (see allowed options above) [warning ] Trap2Version (1 / 2) [2 ] Trap2Enabled (True / False) [False ] Trap3Address (dot-notated IP Address) [0.0.0.0 ] Trap3Port (decimal value) [162 ] Trap3Severity (see allowed options above) [warning ] Trap3Version (1 / 2) [2 ] Trap3Enabled (True / False) [False ] Trap4Address (dot-notated IP Address) [0.0.0.0 ] Trap4Port (decimal value) [162 ] Trap4Severity (see allowed options above) [warning ] Trap4Version (1 / 2) [2 ] Trap4Enabled (True / False) [False ] Trap5Address (dot-notated IP Address) [0.0.0.0 ] Trap5Port (decimal value) [162 ] Trap5Severity (see allowed options above) [warning ] Trap5Version (1 / 2) [2 ] Trap5Enabled (True / False) [False ] ReadCommunity (string, max=32 chars) [public ] WriteCommunity (string, max=32 chars) [private ] TrapCommunity (string, max=32 chars) [public ] AuthFailureTrap(True / False) [False ] ProxyEnabled (True / False) [True ]
A
Do you want to save and activate this snmp setup? (y/n) [n] y SNMP setup saved and activated.
3-2 59047-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 B 3-3
3 – Configuring a Switch
Notes
A
3-4 59047-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.
system OBJECT IDENTIFIER ::= { mib-2 1 } interfaces OBJECT IDENTIFIER ::= { mib-2 2 }
Section 4
MIB-II Objects
Table 4-1. MIB-II Groups
Group Syntax
at OBJECT IDENTIFIER ::= { mib-2 3 } ip OBJECT IDENTIFIER ::= { mib-2 4 } icmp OBJECT IDENTIFIER ::= { mib-2 5 } tcp OBJECT IDENTIFIER ::= { mib-2 6 } udp OBJECT IDENTIFIER ::= { mib-2 7 } snmp OBJECT IDENTIFIER ::= { mib-2 11 }
4.2

System Group

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 B 4-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.11, SANbox2.64 = 1.3.6.1.4.1.1663.1.1.1.1.12, SANbox 3050 = 1.3.6.1.4.1.1663.1.1.1.1.19, SANbox 3100 =
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-2 59047-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 B 4-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.
Syntax
DisplayString (SIZE (0..255))
Access
read-write
Status
mandatory
Return Value
The defaults are: SANbox2-8 = SANbox2-8, SANbox2-16 = SANbox2, SANbox2-64 = SANbox2-64, SANbox 3050 = SANbox, SANbox 3100 = SANbox, and SANbox 5200 = SANbox

sysLocation (1.3.6.1.2.1.1.6)

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-4 59047-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 appli­cation 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 B 4-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 re­initialization of the entity's network management system to the next re-initializa­tion.
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-6 59047-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 B 4-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 opera­tional 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-8 59047-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-multi­cast) packets delivered to a higher-layer protocol.
Syntax
Counter
Access
read-only
Status
mandatory
59047-03 B 4-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-10 59047-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 B 4-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-12 59047-03 B
Loading...
+ 222 hidden pages