You are on page 1of 69

HP Visual Panel Designer

User Manual

Software version: iMC VPD 5.10-E0201


Document version: 6PW100-20111008
Legal and notice information

© Copyright 2011 Hewlett-Packard Development Company, L.P.

No part of this documentation may be reproduced or transmitted in any


form or by any means without prior written consent of Hewlett-Packard
Development Company, L.P.

The information contained herein is subject to change without notice.

HEWLETT-PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND


WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. Hewlett-Packard shall not be liable for errors
contained herein or for incidental or consequential damages in connection
with the furnishing, performance, or use of this material.

The only warranties for HP products and services are set forth in the express
warranty statements accompanying such products and services. Nothing
herein should be construed as constituting an additional warranty. HP shall
not be liable for technical or editorial errors or omissions contained herein.

i
Contents
About This Manual ···························································································1 

HP VPD System Overview ················································································3 

HP VPD Installation ···························································································4 

HP VPD Uninstallation ··················································································· 11 

HP VPD Quick Start ······················································································· 14 


HP VPD Overview ··························································································14 
Managing HP VPD Projects ··········································································17 
Displaying the Device Panel ·········································································17 

HP VPD Configuration Guide ······································································· 19 


Using the VPD·································································································19 
Creating a Project ·················································································19 
Opening a Project ·················································································20 
Entity Categories ···················································································20 
SNMP Configuration·············································································22 
Status Configuration··············································································31 
Uploading Images·················································································35 
Compiling a MIB ···················································································36 
Exporting a Project················································································37 
Importing a Project ················································································37 
Configuring the Project Property··························································38 
Finding Entities·······················································································39 
Using VPD Projects in the iMC ·····································································40 
VPD Management ·················································································40 
Displaying the Device Panel·································································40 

ii
HP VPD Examples ·························································································· 41 
HP ProCurve J9019A Switch 2510-24 ·······················································41 
H3C S12518-S12508 IRF Virtual Device ···················································49 

FAQ ················································································································ 57 

iii
About This Manual

Organization
Visual Panel Designer User Manual is organized as follows:

Chapter Contents

Introduces the main functions and


1 HP VPD System Overview
applications of the HP VPD.
2 HP VPD Installation Introduces how to install the HP VPD.
Introduces how to uninstall the HP
3 HP VPD Uninstallation
VPD.
Helps you quickly get familiar with the
4 HP VPD Quick Start
HP VPD.
Elaborates all functions of the HP VPD
5 HP VPD Configuration Guide
in details.
Describes how to use the HP VPD by
6 HP VPD Examples
using examples.
Lists problems that you may encounter
7 FAQ when using the HP VPD, and provides
the corresponding solutions.

Conventions
The manual uses the following conventions:

1
GUI conventions

Convention Description
Window names, button names, field names, and menu items
Boldface are in bold text. For example, the New User window
appears; click OK.

Multi-level menus are separated by angle brackets. For


>
example, File > Create > Folder.

Symbols

Convention Description
An alert that contains additional or supplementary
NOTE
information.

2
HP VPD System Overview
The HP Visual Panel Designer (hereinafter referred to as HP VPD) allows you
to custom the device panel information displayed on the iMC. The HP VPD
provides a WYSIWYG (what you see is what you get) user interface,
through which you can visually configure a device’s vendor and model, as
well as the type and status of physical entities of the device, including the
device modules, sub-modules, ports, fans, and power supply. You can
make the iMC identify and display your customized device configuration
simply by dragging pictures and configuring device properties. With HP
VPD, if you are familiar with MIB, you can flexibly define entity status,
compile the MIB file of a third party, and configure the MIB SNMP
information of a third party, making the device panel displayed by the iMC
more suitable for your requirements.

3
HP VPD Installation
• Software installation CD (shipped in the product package)

This CD comprises the installation program, and the HP VPD user manual in
directory \manual.
• Installation procedure

Log in to your Windows operating system as Administrator. Enter directory


install, and then run installw.exe. A window appears for you to choose the
language.

Figure 1 Select a language

Select English and then click OK to enter the VPD introduction window.

4
Figure 2 Introduction

Click Next to enter the license agreement window.

5
Figure 3 License agreement

Read the license agreement carefully. Click I accept the terms of the License
Agreement to proceed.

6
Figure 4 Choose install folder

Select an installation folder and then click Next to enter the pre-installation
summary window.

7
Figure 5 Pre-installation summary

Click Install to enter the installing VPD window.

8
Figure 6 Installing Visual Panel Designer

Wait until the installation is complete.

9
Figure 7 Install complete

Click Done.

10
HP VPD Uninstallation
Select Start > All Programs > HP Visual Panel Designer > Uninstall Visual
Panel Designer. The VPD uninstall wizard appears.

Figure 8 Uninstall HP Visual Panel Designer

Click Uninstall to start the uninstallation process.

11
Figure 9 Uninstalling VPD

Wait until uninstallation is complete.

12
Figure 10 Uninstallation complete

Click Done.

13
HP VPD Quick Start

HP VPD Overview
Figure 11 HP VPD interface

Toolbar: Provides the commonly used buttons listed as follows.

New Project: Creates a new project.

Open Project: Opens an existing project.

14
Save Project: Saves modification to a project.

Export Project: Exports a project in a zip package.

Import Project: Imports a project in a zip package to the VPD.

SNMP Configuration: Configures the MIB definition. The system

interacts with the device according to the MIB definition.

Status Configuration: Configures the entity status rule. Different colors


indicate different statuses.

Find: Searches for entities in the device panel tree by vendor type
and/or name.

MIB Compiler: Compiles MIB files as JMIB files that can be

recognized by iMC.

Set Language: Sets the language of the VPD.

Device Panel Tree: In this area, you can create, delete, and customize
entities. The common entity types include chassis, module, port, power
supply, and fan. You can also customize new entity types as needed.

Preview area: Displays the entity selected from the device panel tree.

Property area: Allows you to view or edit the properties of the entity
selected in the device panel tree or in the editing area.

Editing/work area: You can drag an entity to this area to edit it. The editing
area provides the following buttons:

15
z Add Chassis: Adds a chassis.

z Add Module: Adds a module.

z Add Port: Adds a port.

z Add Fan: Adds a fan.

z Add Power Supply: Adds a power supply.

z Add Other Entity: Customizes an entity.

z Batch Add: Adds entities in batches.

z Rearrange: Rearranges the selected entities in the editing

area.

z Actual Size: Displays images in the actual size.

z Zoom In/Out: Zooms in or zooms out on

images. 1000 is the actual image size.

z Recover Data: Restores the data in the editing area to the

status before modification.

z Clear Workspace: Removes the entity from the editing area.

You must clear the editing area before editing a new entity.

Information area: Displays the operation result (successful or failed).

16
Managing HP VPD Projects
z Log in to the iMC as an administrator and enter the system

management page. Then click the icon to enter the panel


management page.
z The panel management page displays the enterprise IDs and
names of the existing projects in iMC. You can import to the iMC a
project exported from the VPD, or export an existing project from the
iMC and edit it by using the VPD.

Figure 12 Panel management page

Displaying the Device Panel


z Log in to the iMC, and enter the details page of a device. Then click
the icon to display the device panel.
z You can also display the device panel on the topology diagram.

17
Figure 13 Device panel

18
HP VPD Configuration Guide
Figure 14 Operation flow

View the
device MIB
information iMC server

Add Panel
chassis Upload project
project
Delete project parser

Add Download project


V
module
P
/power
D
supply/fan

Add
port/other The browser displays
entity the device panel

Using the VPD


This section describes the operations on the VPD.

Creating a Project
Shortcut key: Ctrl+N

Select Project > New Project to create a project.

Parameter description:

19
z Project name: You are recommended to specify a vendor name
(such as HP) as the project name to better identify the project.
z Enterprise ID: Unique identifier for a vendor’s device. For example,
the enterprise ID of an HP device is 11 and that of an H3C device is
25506.
z Dependent project: The VPD supports the dependence relationship
between a sub-project and its parent project. A sub-project can use
entities in the parent project. Typically a project is dependent on the
system-defined project with enterprise ID 0. You can customize the
dependence as needed.

Operation instruction: Select a project file suffixed with .prj.

Opening a Project
Shortcut key: Ctrl+O

Select Project > Open Project to open a project.

Operation instruction: All projects are stored in the workspace directory


preset by the VPD. Select a .prj file in this directory to open the project.

Entity Categories
The entities in the VPD have two categories, physical and logical. In Figure
15, S7503E is a physical entity, and the modules and power supplies listed
below are logical entities, which can be regarded as slots on the physical
entity. You may install physical module or power supply entities into the
slots. The physical vendor types are defined in the MIB.

20
Figure 15 S7503E in the device panel tree

In the property column of a physical entity, as shown in Figure 16, MIB


Table indicates where the sub-entity data of the entity is read. SubEntity
Status indicates the status rule of the sub-entities.

Figure 16 Properties of the physical entity

In the property column of a logical entity, as shown in Figure 17, MIB Table
indicates where the data of the entity in the device’s logical entity (slot) is
read. For example, the value shows whether the power supply entity in the

21
device’s slot 1 exists and where the entity is read. Entity Status indicates the
status rule of the entity in the device’s logical entity (slot).

Figure 17 Properties of the logical entity

In this example, MIB Table of S7503E shows where the data of modules
and power supplies is read, and SubEntity Status shows the status rule of
the modules and power supplies on the switch. MIB Table of power supply
1 shows where power supply 1’s information is read, and Entity Status
shows the status rule of power supply 1.

NOTE:
For an IRF virtual device, the MIB Table of a chassis shows where the
chassis entity belongs. The MIB Table also shows where the sub-entities
belong if they are in the same MIB table. In this case, you do not need to
specify the MIB tables for the sub-entities.

SNMP Configuration

Step1 Click the icon in the toolbar (or press the shortcut key Ctrl+M) to
enter the SNMP configuration page. The SNMP configuration tree is
displayed on the left part and the property area is displayed on the right
part of the page.

22
Figure 18 SNMP configuration page

Step2 Select SNMP Configuration Tree > snmpTable. Then right-click and select
Add to enter the Create SNMP Table page. Type the MIB table name.

23
Figure 19 Create SNMP table

Step3 Click Next to display the Entity Index tab. An entity index is usually
unique in the MIB table. MIB Node Name is an actual name defined in
the MIB file. By making a selection in Indexed drop-down box, you can
determine whether the node is to be indexed or not.

24
Figure 20 Entity Index tab

Step4 Select the Description tab. The description of an entity is displayed when
you place the cursor over the entity in iMC.

25
Figure 21 Description tab

Step5 Select the Vendor Type tab. The vendor type is unique to each entity.

Figure 22 Vendor Type tab

26
Step6 Select the Relative Position tab. Relative position indicates the sequence
of the entity on its parent entity.

Figure 23 Relative Position tab

Step7 Select the Parent Entity Index tab. The parent entity index refers to the
index of the current entity’s parent entity in the MIB table. You can
configure one or more parent entity indexes. Click Add or Del to add or
delete the parent entity index(es).

27
Figure 24 Parent Entity Index tab

Step8 Select the Class tab. Entity class refers to the type of the entity, such as
chassis, module, and port.

28
Figure 25 Class tab

Step9 Select the Other tab. Other provides an option for you to create a node
other than the above five nodes predefined in the MIB table.

29
Figure 26 Other tab

Step10 Click Next to enter the Index List page. You can arrange indexed nodes
on this page to determine the sequence of the indexes in the MIB table.

30
Figure 27 Index List page

Step11 Click OK.

Step12 You can right-click a table name from the SNMP configuration tree to
modify or delete the table.

Status Configuration

Step13 Click the icon in the toolbar (or press the shortcut key Ctrl+T) to enter
the status configuration page, and right-click Status to add a status rule.

31
Figure 28 Status configuration page

Step14 When configuring more than one nodes for a common status, separate
the node names with semicolons. The status is determined by the
specified nodes.

Figure 29 Common status properties

Step15 Right-click portCommonStatus from the status configuration tree to


add the status rule. The display color of a port is determined by the
ifAdminStatus and ifOperStatus nodes. If their values are both 1,
the port is displayed in green (management and running statuses). The
port can also be displayed in blue or cyan.

32
Figure 30 Complete portCommonStatus rule

Step16 A combo status comprises of multiple common statuses. The following


figure shows a combo status rule comprising a portCommonStatus rule
and a portRj45Status rule. For example, a port with both the
ifAdminStatus and ifOperStatus values being 1 is displayed in green. In
the portRj45Status rule, the ifJackType node value is 2, so the port status
is rj45. You get the green status with the portCommonStatus rule, and the
rj45 status with the portRj45Status rule. The combo status of green;rj45 is
green.

33
Figure 31 Combo status rule

Figure 32 PortRj45Status rule

34
Uploading Images
The Entity Image property allows you to upload the entity image by clicking
the … button.

Figure 33 Entity image property

As shown in the following figure, the base image is the image used by th
e entity. If you have configured a status for an entity, you may need to upl
oad multiple images. In this example, after configuring the portCommonS
tatus rule, upload three images according to the possible values green, bl
ue, and cyan defined in the status rule. The image name must be in the f
ormat of base image_status value. The base image in this example is gig
abitEthernet.gif. Therefore, the other three images are gigabitEthernet_gre
en.gif, gigabitEthernet_blue.gif, and gigabitEthernet_cyan.gif.

35
Figure 34 Upload images

Compiling a MIB
Select Tools > MIB Compiler to compile a MIB.

Operation instruction: MIB compiling depends on certain basic MIBs that


are predefined in the system. Before compiling a MIB, import all the MIB
files related to the MIB. The information area gives detailed prompt
information after you finish compiling the MIB.

36
Figure 35 Compile a MIB

Exporting a Project
Shortcut key: Ctrl+E

Select Project > Export Project to export a project.

Operation instruction: Select the directory you want to save the project, and
then click Select Directory to save it. The system automatically opens the
directory you selected.

Importing a Project
Shortcut key: Ctrl+I

Select Project > Import Project to import a project.

37
Figure 36 Import a project

Configuring the Project Property


Shortcut key: Ctrl+P

Select Project > Project Property to configure the project property.

Operation instruction: You can modify the project name, and view the
enterprise ID and dependent project. The project name helps you identify a
project. Therefore, if the enterprise ID is 11 (represents HP), you are
recommended to specify the vendor name HP as the project name.

38
Figure 37 Configure the project property

Finding Entities
Shortcut key: Ctrl+F

Select Edit > Find to enter the Search page.

Operation instruction: Search for entities by name and/or vendor type in


the device panel tree. You can set the match option (case-sensitive and/or
full match) and the search direction (forward or backward).

Figure 38 Find entities

39
Using VPD Projects in the iMC
This section describes the operations in the iMC. Suppose you have logged
in to the iMC as an administrator.

VPD Management
Enter the system management page, and click the device panel
management icon ( ).

Operation instruction: This function allows you to browse, import, export,


and delete VPD projects. Before deleting a project file, make sure no other
project files are dependent on it. If you delete the parent project, you will
encounter an error while parsing the relevant sub-projects.

Displaying the Device Panel


Select Resource > Device List > Operation > Open Device Panel.

Operation instruction: If the panel is not displayed as expected or is


different from that of the actual device, check the project settings in the VPD
according to the MIB.

40
HP VPD Examples

HP ProCurve J9019A Switch 2510-24


The HP VPD provides a simple support scheme for general low-end devices.
The following takes HP ProCurve J9019A Switch 2510-24 as an example to
describe how to configure the device panel information by using the HP
VPD.

Step17 Figure 39 is the device panel picture of a device 2510-24. Draw the
device panel picture as similar to the real device as possible (or just photo
it). Make sure you draw the port slots to help you add port entities. From
left to right on the panel, there is device model, a console port, LEDs, 24
Ethernet ports, two pairs of Combo ports, and a silkscreen print. This
device supports RFC 1213. You can manage the elements on the panel,
primarily the ports, by reading ifTable.

Figure 39 2510-24 device panel

Step18 Run VPD and then select Project > New Project from the menu bar. The
Create Project window appears. Type project name HP, enterprise ID 11,
and select dependent project 0_devicepanel. Then click OK.

41
Figure 40 Create HP project

Step19 Right-click Chassis from the Device Panel Tree and click Add to add a
device.

Step20 Edit the value of each property, as shown in Figure 41. You need to draw
or photo the entity image beforehand.

Figure 41 Edit device properties

42
Figure 42 Select the entity image

Step21 Select device 2510_24 from the device panel tree. The device image
appears at the preview area. Drag the image into the work area.

Step22 The device has 24 Ethernet ports. Click the Batch Add icon ( ) in the

work area to add port entities in a batch. Adjust the row space and
column space according to your image pixels. Click OK, and the added
24 Ethernet ports appear in the work area.

43
Figure 43 Add ports in a batch

Step23 Drag the ports together to the right places on the panel. In this example,
there is a gap between the first 12 ports and second 12 ports. Therefore,
first adjust the positions of port 1 through port 12, and then select ports 13
to 24 and drag them together to the right places. You can press and hold
down your left mouse button to select multiple ports. The selected ports
will be marked with yellow border.

Figure 44 Adjust port positions

Step24 Select all 24 ports and change the vendor type to 6, the system default
value for Ethernet ports.

44
Figure 45 Set the vendor type in a batch

NOTE:
If you do not set the vendor type of a port, the system reads the vendor type
value from the device MIB. This requires you to use VPD to customize the
port vendor type in advance.

Step25 Select all ports in the second row, and change Angle to 180, because
these ports are inverted on the real panel.

Figure 46 Rotate ports in a batch

45
Step26 Add Combo port 25: first click the Add Port icon ( ) to add the

electrical port. Drag it to the right place, change the vendor type to 6,
and select portCommonStatus;portRj45Status as the entity status. Then,
add the optical port in the same way and drag it to the port slot under
port 25. Change the vendor type to 117, relative position to 25, angle to
180, and entity status to portCommonStatus;portFiberStatus.

Figure 47 Add the electrical port of Combo port 25

Figure 48 Add the optical port of Combo port 25

46
Step27 Add Combo port 26 in the same way.

Step28 If the system-predefined port types do not meet your requirements, add
new port types.

Step29 Click on the tool bar to save your object.

Step30 Select Project > Export Project from the menu bar. Select the export
directory, and then click the Select Directory button. The system
automatically opens the directory where the exported zip file resides.

Figure 49 Select a directory for saving the exported project

Step31 Log in to the iMC as an administrator. Enter the system management

page, and click the device panel management icon ( ) to enter the

VPD project file management page.

47
Figure 50 Device panel management

Step32 Click Import to enter the page for uploading a project file. Click Browse
to select the exported zip package and then click Import. The system
prompts successful import of file 11_devicepanel.zip.

Figure 51 Upload project file

48
Step33 Search the device by its IP. Click the operation icon and select Open
Device Panel. Right-click the device panel and the system displays the
supported functions and operations.

Figure 52 Device list

Figure 53 HP device panel

H3C S12518-S12508 IRF Virtual Device


The HP VPD also supports designing device panels with multiple types of
entities, such as ports, modules, power supplies, and fans, satisfying panel
management requirements on medium- and high-end devices. The
following takes an H3C S12518-S12508 IRF virtual device as an example to

49
describe how to configure the device panel for a high-end device by using
the HP VPD.

Step34 The H3C S12500 series high-end devices support entityMIB and ifTable,
making it possible for you to precisely manage the module, power supply,
fan, and port entities. First, draw a picture for the entities to be managed,
such as the device chassis and modules.

Step35 Create an H3C project. See the operation in section Creating a Project
for reference. Change the enterprise ID to 25506.

Step36 Right-click Chassis from the device panel tree and click Add to add a
device.

Step37 Edit the value of each property, as shown in Figure 54. You need to draw
or photo the entity image beforehand.

Figure 54 Edit device properties

Step38 Select device S12518 from the device panel tree. The device image
appears at the preview area. Drag the image to the work area. There are
slots 0 to 29 on the device. Because the device supports entPhysicalTable,
there must be information about power supplies and fans.

50
Step39 Use a MIB browsing tool to view the entPhysicalTable implementation on
the device. You are recommended to use the MIB management function
to view the information. To do so, log in to the iMC and then enter the
system management page.

Figure 55 Table view by using the iMC MIB management tool

51
Step40 Click the Add Module button ( ) in the work area, and then drag the

added virtual module entity to slot 0, and modify its properties. Note: Set
rotating angle to 90, because the modules we drew are horizontal. Set
the relative position to 0.1, which is consistent with that implemented in
the device entPhysicalTable. The S12518 device is represented in the form
of Stack->Chassis->Container->Module, where Container indicates the
module slot. As introduced previously, the entPhysicalParentRelPos node
represents the relative position of an entity on its parent entity. The
container here means the slot number. Usually, only one module is
contained in one slot, and thus the relative position of a module to a
container is always 1. The relative position 0.1 here indicates module 1 in
slot 0. This method allows you to not add the Container entity, which
does not exist actually.

Figure 56 Add a module

Step41 Add all modules in the same way.

52
Figure 57 Add all modules

Step42 Add the power supplies and fans in the same way. The blue boxes
represent power supplies and the white boxes represent fans.

Figure 58 Add power supplies and fans

Step43 Add module entity: right-click Module from the device panel tree and
click Add. Set the module entity properties

53
Figure 59 Module entity properties

Step44 Drag the module image to the work area and then add a port. In this
example, we create only one module entity. You can create multiple
module entities as needed.

Figure 60 Add a port

Step45 Add power supply and fan entities in the same way.

54
Figure 61 Add a power supply entity

Figure 62 Add a fan entity

Step46 Add entities for the S12508 in the same way. Then save and export the
project, import the project to the iMC, and then open the device panel.
The S12518 panel is displayed at the upper part of the page. Under the
S12518 panel is the S12508 panel.

55
Figure 63 S12518 device panel segment

56
FAQ

How Can I Locate Entities Fast?


On a device, there may be modules with fixed positions, such as the
module in slot 0 shown in Figure 64. To add such a module entity, you need
to type the module vendor type value instead of leaving it blank (letting the
system to read it from the device MIB).

The system provides the entity location function for such cases. You can
right-click a module and click Locate Entity to check the entity location.

Figure 64 Sample device

57
Figure 65 Locate entity

Figure 66 Vendor type of the module

When Uploading a New Project Created in VPD, I Was Prompted That


the Project Already Exists in the iMC. What Shall I Do?
The new project you added in VPD has the same enterprise ID as the one
uploaded to the iMC, however, the entities you defined for the new project
are probably different from those of the project in the iMC. Therefore, when

58
you upload the new project to the iMC, the new project and the existing
project conflict. To address this issue, the iMC provides the project
comparing function. That is, the iMC compares the newly uploaded project
and the project that has the same enterprise ID in the iMC.

As shown in Figure 67, compared with the existing project, S7510E is


added in the newly uploaded project and the definition of
hh3cLswPortTable is also different. You can select the configuration you
want to update as needed.

Figure 67 Compare the new project with the existing project

What Is the Endmatch Attribute in VPD Used for?


The endmatch attribute is typically used to process MIB object identifiers
(OIDs). In most cases, MIB values on the device are complete MIB OIDs.
For example, the complete MIB OID of an H3C interface card
LSQ1CGP24TSC0 is 1.3.6.1.4.1.25506.3.1.9.4.570. However, the MIB may
save only 570 as the card’s OID because the nodes before 570 are
common to all H3C interface cards. At this time, you need to set the
endmatch attribute to 1, meaning to match only the last part of the OID
(separated into several parts by dots).

59
On the SNMP configuration page as shown in Figure 68, assume you want
to associate the ifindex node in the ifTable with the
entAliasMappingIdentifier node in the entAliasMappingTable. Because
the entAliasMappingIdentifier node uses the complete OID for ifIndex,
while the ifTable uses only the last part of the OID for ifindex, you need to
set the endmatch attribute to 1 during the association.

Figure 68 Set the endmatch attribute

What Entities Does the Dependent Project 0_devicepanel Comprise?


The system provides a common project 0_devicepanel that defines some
common entities, SNMP tables, and statuses.

By default, the common project provides power module, fan, and port
entities. An electrical port and an optical port, respectively with vendor
type ethernetCsmacd(6) and gigabitEthernet (117) as defined in the
IANAifType-MIB, are added to the project.

60
Figure 69 Pre-defined entities for the common project

The common project defines the following MIB tables:

Step47 entPhysicalTable, also called entity physical table, stores various physical
entity data of the device. See Figure 70.

Figure 70 entPhysicalTable

Description of the nodes:


• entPhysicalIndex: Index of the table, associated with the
entPhysicalIndex node in the entAliasMappingTable. The two
nodes share the same value.
• entPhysicalDescr: Description of each entity.
• entPhysicalVendorType: Unique identifier of an entity.
• entPhysicalParentRelPos: Relative position (sequence number) of
the entity on its parent entity. For example, if an interface

61
module provides 24 ports, Ethernet 0/1 through Ethernet 0/24,
the relative position of Ethernet 0/5 on its parent entity is 5.
• entPhysicalContainedIn: entPhysicalIndex of a parent entity
entry in the entPhysicalTable. It helps you locate the entry that
the specific parent entity resides in entPhysicalTable.
• entPhysicalClass: Entity type, represented with numbers.

Step48 entAliasMappingTable associates the entPhysicalTable with the ifTable to


show port status, as shown in Figure 71.

Figure 71 entAliasMappingTable

entPhysicalIndex in the entAliasMappingTable is associated with


entPhysicalIndex in the entPhysicalTable. entAliasMappingIdentifier is
associated with ifIndex in the ifTable and ifManuIfIndex in the ifJackTable.

Step49 ifTable stores port data of the device, as shown in Figure 72.

Figure 72 ifTable

Description of the nodes:

62
• ifIndex: Index of the table. Many other tables reference the data
in the ifTable based on the association with this index.
• ifDescr: Port description.
• ifType: Port type, which is defined in the IANAifType-MIB.
• ifAdminStatus: Management status of the port.
• ifOperStauts: Operating status of the port.

Step50 ifJackTable, as shown in Figure 73, mainly shows the combo port status.
It is associated with the ifTable.

Figure 73 ifJackTable

ifJackType shows the port type value. For example, rj45(2) or rj45S(3)
indicates that the electrical port of the combo port is enabled; fiberSC(8),
fiberMIC(9), or fiberST(10) indicates that the optical port of the combo port
is enabled.

The common project defines the following statuses:

63
Figure 74 Statuses

• portCommonStatus: Determined by the ifAdminStatus and


ifOperStatus nodes. If their values are both 1, the port is
displayed in green (use the image with name containing
_green); if their values are both 2, the port is displayed in blue;
if the ifAdminStatus is 1 and ifOperStatus is 2, the port is
displayed in cyan.
• portRj45Status and portFiberStatus: Determined by the
ifJackType node in the ifJackTable. The two nodes are typically
used together to indicate the combo port status. If the ifJackType
is 2 or 3, the electrical port is enabled, and the rj45 status is
used; if the ifJackType is 8, 9, or 10, the optical port is enabled,
and the fiber status is used.
• portCommonStatus; portRj45Status and portCommonStatus;
portFiberStatus: portCommonStatus displays the port color,
while portRj45Status and portFiberStatus display the electrical

64
port and optical port. To use the status rule, set the same relative
position for the two ports of the combo port (that means only
one port is enabled at a time), set portCommonStatus;
portRj45Status for the electrical port and portCommonStatus;
portFiberStatus for the optical port. Then the current running
port can be displayed in correct color.

65

You might also like