show inventory
show inventory
Use the show inventory user EXEC command to display product identification (PID) information for
the hardware.
Syntax Description
entity-name
raw
| begin
| exclude
| include
expression
Command Modes
User EXEC
Command History
Release
12.2(25)FX
Usage Guidelines
The command is case sensitive. With no arguments, the show inventory command produces a compact
dump of all identifiable entities that have a product identifier. The compact dump displays the entity
location (slot identity), entity description, and the unique device identifier (UDI) (PID, VID, and SN) of
that entity.
Note
If there is no PID, no output appears when you enter the show inventory command.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
are not displayed, but the lines that contain Output are displayed.
Examples
This is example output from the show inventory command:
Switch> show inventory
NAME: "1", DESCR: "WS-C2960-48TC-L"
PID: WS-C2960-24TC-L
NAME: "GigabitEthernet0/1", DESCR: "100BaseBX-10D SFP"
PID:
NAME: "GigabitEthernet0/2", DESCR: "100BaseBX-10U SFP"
PID:
Catalyst 2960 Switch Command Reference
2-360
show inventory [entity-name | raw] [ | {begin | exclude | include} expression]
(Optional) Display the specified entity. For example, enter the interface
(such as gigabitethernet0/1) into which a small form-factor pluggable (SFP)
module is installed.
(Optional) Display every entity in the device.
(Optional) Display begins with the line that matches the expression.
(Optional) Display excludes lines that match the expression.
(Optional) Display includes lines that match the specified expression.
Expression in the output to use as a reference point.
Modification
This command was introduced.
, VID: 02 , SN: FHH0923D075
, VID:
, VID:
Chapter 2 Catalyst 2960 Switch Cisco IOS Commands
, SN: NEC09050251
, SN: NEC09050020
OL-8604-04