The display device capability command displays the hardware and software capabilities of a device.
Only the S5720-EI supports this command.
Parameter | Description | Value |
---|---|---|
slot slot-id |
|
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. |
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.
# Display the hardware and software capabilities of a device.
<HUAWEI> display device capability Slot Feature Hardware Software -------------------------------------------------------- 0 MPLS NO YES --------------------------------------------------------
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. |