# Location.CPCI.Shelf

Defines the CompactPCI chassis in the system.

#### Syntax

Location.CPCI.Shelf = shelfnum

#### Access

Read-only

#### Type

Integer

#### Default

0

#### Example

Location.CPCI.Shelf = 0

#### Allowed values

Not applicable.

#### Details

The expected values are 0 - 32.

To display the shelf information, enter the following command:

oaminfo -n cg6kpi.bpi

Output similar to the following information displays:

H:\>oaminfo -n cg6kpi.bpi
Products[0] = CG_6565C
Products[1] = CG_6000C_Quad
Products[2] = CG_6500C
Name = cg6kpi.bpi
DetectedBoards[0].Name = CG_6565C_2_10
DetectedBoards[0].Product = CG_6565C
DetectedBoards[0].Location.PCI.Bus = 2
DetectedBoards[0].Location.PCI.Slot = 10
DetectedBoards[0].Location.CPCI.Present = YES
DetectedBoards[0].Location.CPCI.Shelf = 0
DetectedBoards[0].Location.CPCI.Slot = 7
DetectedBoards[0].Ethernet[0].MAC_Address = 20-00-31-22-00-00
DetectedBoards[1].Name = CG_6000C_Quad_2_11
DetectedBoards[1].Product = CG_6000C_Quad
DetectedBoards[1].Location.PCI.Bus = 2
DetectedBoards[1].Location.PCI.Slot = 11
DetectedBoards[1].Location.CPCI.Present = YES
DetectedBoards[1].Location.CPCI.Shelf = 0
DetectedBoards[1].Location.CPCI.Slot = 6
DetectedBoards[1].Ethernet[0].MAC_Address = 00-20-22-40-08-74
DetectedBoards[1].Ethernet[1].MAC_Address = 00-20-22-40-08-75
DetectedBoards[2].Name = CG_6500C_2_14
DetectedBoards[2].Product = CG_6500C
DetectedBoards[2].Location.PCI.Bus = 2
DetectedBoards[2].Location.PCI.Slot = 14
DetectedBoards[2].Location.CPCI.Present = NO
DetectedBoards[2].Location.CPCI.Shelf = 0
DetectedBoards[2].Location.CPCI.Slot = 0
DetectedBoards[2].Ethernet[0].MAC_Address = 00-22-22-40-08-85
DetectedBoards[2].Ethernet[1].MAC_Address = 00-22-22-40-08-95
BootDiagnosticLevel = 0
DebugMask = 0
Version.Major = 1
Version.Minor = 2
Boards[0] = Name0
Boards[1] = Name1
Boards[2] = Name4

After you boot a CG board, you can obtain the shelf information at the board level. For example, if you are booting Board 1, use oaminfo and enter the following command:

oaminfo -b1 -k Location.CPCI.Shelf

#### See also

Location.CPCI.Slot