display device

Use display device to display device information.

Syntax

In standalone mode:

display device [ flash ] [ slot slot-number [ subslot subslot-number ] | verbose ]

In IRF mode:

display device [ flash ] [ chassis chassis-number [ slot slot-number [ subslot subslot-number ] ] | verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

flash: Specifies a Flash. If you do not specify this keyword, the command displays information about all cards on the device.

slot slot-number: Specifies a card by its slot number. (In standalone mode.)

chassis chassis-number: Specifies an IRF member device by its member ID. If you do not specify this option, the command displays hardware information about all IRF member devices in the IRF fabric. (In IRF mode.)

subslot subslot-number: Specifies a subcard by its subslot number. The switch does not support subcards.

verbose: Displays detailed hardware information. If you do not specify this keyword, the command displays brief information.

Examples

# In standalone mode, display device information.

<Sysname> display device
Slot No. Brd Type        Brd Status   Subslot Sft Ver           Patch Ver 
 0       NONE             Absent      0        NONE                 None          
 1       LSV1QGS12SA1     Normal      0        7910-2150           None          
 2       NONE             Absent      0        NONE                 None          
 3       NONE             Absent      0        NONE                 None          
 4       NONE             Absent      0        NONE                 None          
 5       NONE             Absent      0        NONE                 None          
 6       NONE             Absent      0        NONE                 None          
 7       NONE             Absent      0        NONE                 None          
 8       NONE             Absent      0        NONE                 None          
 9       NONE             Absent      0        NONE                 None          
 10      LSV1SRPC1        Master      0        7910-2150           None          
 11      NONE             Fault       0        NONE                 None  

The output shows that the device has one MPU (in slot 10), one interface card (in slot 1).

Table 30: Command output

Field

Description

Slot No.

Slot number of the card.

Brd Type

Hardware type of the card.

Brd State

Card status:

  • Standby—The card is the standby MPU or a switching fabric module.

  • Master—The card is the active MPU or a switching fabric module.

  • Absent—The slot is not installed with a card.

  • Fault—The card is faulty and cannot start up.

  • Normal—The card is an interface card and is operating correctly.

  • Offline—The card is a switching fabric module and its forwarding plane is in isolated state.

Subslot

Maximum number of subcards that the card supports. The switch does not support subcards.

Sft Ver

Software version of the card.

Patch Ver

Patch version of the card.

# In IRF mode, display device information about all IRF member devices.

<Sysname> display device
Slot   Type                State    Subslot  Soft Ver             Patch Ver     
1/0    NONE                Absent   0        NONE                 None          
1/1    LSV1QGS12SA1        Normal   0        7910-2150           None          
1/2    NONE                Absent   0        NONE                 None          
1/3    NONE                Absent   0        NONE                 None          
1/4    NONE                Absent   0        NONE                 None          
1/5    NONE                Absent   0        NONE                 None          
1/6    NONE                Absent   0        NONE                 None          
1/7    NONE                Absent   0        NONE                 None          
1/8    NONE                Absent   0        NONE                 None          
1/9    NONE                Absent   0        NONE                 None          
1/10   LSV1SRPC1           Master   0        7910-2150           None          
1/11   NONE                Fault    0        NONE                 None
2/0    NONE                Absent   0        NONE                 None          
2/1    LSV1QGS12SA1        Normal   0        7910-2150           None          
2/2    NONE                Absent   0        NONE                 None          
2/3    NONE                Absent   0        NONE                 None          
2/4    NONE                Absent   0        NONE                 None          
2/5    NONE                Absent   0        NONE                 None          
2/6    NONE                Absent   0        NONE                 None          
2/7    NONE                Absent   0        NONE                 None          
2/8    NONE                Absent   0        NONE                 None          
2/9    NONE                Absent   0        NONE                 None          
2/10   LSV1SRPC1           Standby  0        7910-2150           None          
2/11   NONE                Absent   0        NONE                 None

The output shows that the IRF fabric has two member devices. The card in slot 10 on member device 1 is the global active MPU. The card in slot 10 on member device 2 is the global standby MPU.

Table 31: Command output

Field

Description

Slot

Member ID of the device and slot number of the card.

Type

Card type.

State

Card state:

  • Absent—No card is inserted in the slot.

  • Master—The card is the global active MPU.

  • Standby—The card is a global standby MPU.

  • Normal—The card is an interface card and is operating correctly.

  • Fault—The card is faulty and cannot start up.

  • Offline—The card is a switching fabric module and its forwarding plane is in isolated state.

Subslot

Maximum number of subcards that the card supports.

Soft Ver

Software version of the card.

Patch Ver

Patch version of the card. If no patch is installed, the value of this field is None.