O'Reilly logo

JUNOS Cookbook by Aviva Garrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

1.26. Gathering Hardware Inventory Information

Problem

You are taking a hardware inventory to track which hardware components are installed in which router, along with serial numbers.

Solution

The following command lists all the hardware components installed in the router:

	aviva@router1> show chassis hardware
	Hardware inventory:
	Item             Version  Part number   Serial number   Description
	Chassis                                 25688           M20
	Backplane        REV 03   710-002334    BB9683          M20 Backplane
	Power Supply A   REV 06   740-001465    005169          AC Power Supply
	Display          REV 04   710-001519    BA4667          M20 FPM Board
	Routing Engine 0 REV 06   740-003239    9000016755      RE-2.0
	Routing Engine 1 REV 06   740-003239    9001018324      RE-2.0
	SSB slot 0       REV 02   710-001951    AZ8025          Internet Processor IIv1
	SSB slot 1       N/A      N/A           N/A             Backup
	FPC 0            REV 03   710-003308    BB5185          E-FPC
	  PIC 0          REV 08   750-002303    BB5887          4x F/E, 100 BASE-TX
	  PIC 1          REV 07   750-004745    BC9318          2x CT3-NxDS0
	  PIC 2
	FPC 1            REV 03   710-003308    BF7478          E-FPC
	  PIC 0          REV 03   750-002914    BC0119          2x OC-3 ATM, MM

Discussion

When you need to find out what hardware is installed in the router, use the show chassis hardware command. The first column of the output lists each hardware component installed in the router, starting with the chassis, which is the router itself. This router, an M20 system, has one power supply, two Routing Engines, one switching board (the SSB), and two FPCs with a total of four PICs. PICs are the network interface cards in the router. All these items are field-replaceable units (FRUs), so you or a service technician can replace them in the field.

The next three columns list the revision number, the Juniper Networks manufacturing part number, and the serial number. This information is very useful if you are tracking what router hardware you have and if you need to replace or return a defective piece of hardware.

The last column has a brief description of each hardware component. This is especially useful for finding out which PICs are installed on which FPC and in which location on the FPC. You need this information when you are configuring the router's interfaces because you must specify the FPC number and the PIC location to identify the interface (see Chapter 7). Most M-series and T-series routers have either four or eight slots for FPCs, and each FPC typically has four locations for PICs. The FPCs are numbered 0 through 7 (or 0 through 3), and the PICs are numbered 0 through 3. The numbering is always indicated on the router chassis itself, but if your routers are in a secured room, you likely don't have physical access to them.

The J-series router is a smaller router and has fewer hardware components:

	aviva@RouterA> show chassis hardware
	Hardware inventory:
	Item             Version  Part number   Serial number    Description
	Chassis                                 JN002648AA       J2300
	Routing Engine   REV 07   750-009992    AA04451163       RE-J.1
	FPC 0            REV 04   750-010739    AC04430335       FPC
	  PIC 0                                                  2x FE, 2x Serial

You can also get information about the memory storage areas on the router:

	aviva@router1> show chassis hardware detail
	Hardware inventory:
	Item             Version  Part number    Serial number    Description
	Chassis                                  25708            M20
	Backplane        REV 03   710-002334     BB9738           M20 Backplane
	Power Supply A   REV 06   740-001465     005234           AC Power Supply
	Display          REV 04   710-001519     BA4681           M20 FPM Board
	Routing Engine 0 REV 06   740-003239     1000224893       RE-2.0
	Routing Engine 0                         58000007348d9a01 RE-2.0
	  ad0      91 MB SanDisk SDCFB-96        i3238140903      Compact Flash
	  ad1   11513 MB IBM-DARA-212000         AH0AHGN1017      Hard Disk
	Routing Engine 1 REV 06 740-003239       9000022146       RE-2.0
	Routing Engine 1                         d800000734745701 RE-2.0
	  ad0      91 MB SanDisk SDCFB-96        ggbsc410020      Compact Flash
	  ad1    8063 MB TOSHIBA MK2016GAP       Y0T39909T        Hard Disk
	SSB slot 0       REV 02   710-001951     AZ8112           Internet Processor IIv1
	  SSRAM bank 0   REV 02   710-001385     242525           2 Mbytes
	  SSRAM bank 1   REV 02   710-001385     242741           2 Mbytes
	  SSRAM bank 2   REV 02   710-001385     242886           2 Mbytes
	  SSRAM bank 3   REV 02   710-001385     242482           2 Mbytes
	SSB slot 1       N/A      N/A            N/A              Backup
	FPC 0            REV 03   710-003308     BD8455           E-FPC
	  SSRAM          REV 02   710-001385     241669           2 Mbytes
	  SDRAM bank 0   REV 01   710-000099     0003409          64 Mbytes
	  SDRAM bank 1   REV 01   710-000099     0003408          64 Mbytes
	  PIC 0          REV 08   750-002303     AZ5310           4x F/E, 100 BASE-TX
	  PIC 1          REV 07   750-004745     BC9368           2x CT3-NxDS0
	  PIC 2          REV 03   750-002965     HC9279           4x CT3
	FPC 1            REV 03   710-003308     BB9032           E-FPC
	  SSRAM          REV 01   710-001385     V00818           2 Mbytes
	  SDRAM bank 0   REV 01   710-000099     0003803          64 Mbytes
	  SDRAM bank 1   REV 01   710-000099     0003847          64 Mbytes
	  PIC 0          REV 03   750-002914     BC0131           2x OC-3 ATM, MM

See Also

Recipe 4.8

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required