< Home

display device capability

Function

The display device capability command displays the hardware and software capabilities of a device.

Only the S5720-EI supports this command.

Format

display device capability [ slot slot-id ]

Parameters

Parameter Description Value
slot slot-id
  • Specifies a slot ID on a standalone switch where stacking is not enabled.
  • Specifies a stack ID in a stack.

In a stack, the value is an integer and must be set according to the configuration in the stack. On a standalone switch where stacking is not enabled, the value is fixed as 0.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

Whether a device supports a function depends on whether the hardware has the capability of the function and whether the running system software provides this function. You can use this command to check the hardware and software support for a function and determine whether you need to update the system software or use other methods to obtain the function.

Precautions

Currently, this command can only display the hardware and software support for the MPLS feature.

Example

# Display the hardware and software capabilities of a device.

<HUAWEI> display device capability
Slot  Feature  Hardware  Software 
--------------------------------------------------------
0     MPLS     NO        YES
--------------------------------------------------------
Table 1 Description of the display device capability command output

Item

Description

Slot

Slot ID.

Feature

Name of a feature. Currently, the feature name can only be MPLS.

Hardware

Hardware support for the feature.

Software

Software support for the feature.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >