# Determining PCI bus and slot locations

To configure the boards under NMS OAM, determine the logical CompactPCI or PCI bus and slot information for each NMS board installed in the system. After the boards are configured, you can identify each board using methods described in Board identification methods.

The pciscan utility displays the logical CompactPCI or PCI bus and slot information for each NMS board installed in the system. To determine the PCI bus and slot numbers for each board:

Step | Action
1 | Access a command prompt on the target host system. If the host system is a remote host, access the command prompt on the host using a separate third-party utility such as telnet, rsh, or rexec.
2 | Run pciscan by entering: pciscan The pciscan output is similar to the following: Bus Slot NMS ID --- ---- ------ 2 11 0x50d AG_4000C_E1 2 13 0x6000 CG_6000C_QUAD --- ---- -- ---------------- There were 2 NMS PCI board(s) detected
3 | Record the PCI bus and slot numbers.

You can also use pciscan to flash an LED on a specific board. Refer to Board locate: pciscan for more information.

Creating a chart of timeslot mappings can be useful when configuring the chassis. The following illustration shows a CompactPCI or PCI chassis mapping chart:

## Specifying PCI bus numbers for board search functions

If you have a chassis with an unusual PCI bus topology (for example, bus number 171 directly follows bus number 0), utilities that search the PCI buses for boards and other information function more slowly. These utilities include:

- pciscan

- oamcfg's board auto-detect function described in Automatically detecting and adding boards.

- oamgen described in System configuration file creator: oamgen.

To get around this problem, create a text file listing the buses that these utilities must search.

The text file must be named nmspcinfo.cfg. It must be located either in the \nms\ctaccess\cfg directory (/opt/nms/ctaccess/cfg under UNIX) or in the local directory from which pciscan, oamgen, and ctdaemon are launched.

In the file, PCI bus numbers must appear on one line, separated by semicolons and preceded by the keyword Bus=. Bus numbers must appear in numerical order. For example:

Bus=0;1;2;120;169

Specify a range of consecutive bus numbers as shown here:

Bus=0..3;6..120;169