NE40E V800R022C00SPC600 Diagnose

Device Management Diagnostic Commands

Device Management Diagnostic Commands

debugging fmsr

Function

The debugging fmsr command enables the debugging of the FMSR module. If the message parameter is specified in the command, the debugging of messages is enabled. If the error parameter is specified in the command, the debugging of errors is enabled. If the event parameter is specified in the command, the debugging of events is enabled. If the all parameter is specified in the command, the debugging of all information is enabled.

The undo debugging fmsr command disabled the debugging of the FMSR module. If the message parameter is specified in the command, the debugging of messages is disabled. If the error parameter is specified in the command, the debugging of errors is disabled. If the event parameter is specified in the command, the debugging of events is disabled. If the all parameter is specified in the command, the debugging of all information is disabled.

Format

debugging fmsr { all | message | error | event } [ slave ]

undo debugging fmsr { all | message | error | event } [ slave ]

Parameters

Parameter Description Value
all

Enables or disables the debugging of all information.

-

message

Enables or disables the debugging of messages.

-

error

Enables or disables the debugging of errors.

-

event

Enables or disables the debugging of events.

-

slave

Specifies the information on the slave main control board.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
aaa-access debug

Usage Guidelines

Usage Scenario

The debugging fmsr command enables the debugging of the FMSR module. If the message parameter is specified in the command, the debugging of messages is enabled. If the error parameter is specified in the command, the debugging of errors is enabled. If the event parameter is specified in the command, the debugging of events is enabled. If the all parameter is specified in the command, the debugging of all information is enabled.

The undo debugging fmsr command disabled the debugging of the FMSR module. If the message parameter is specified in the command, the debugging of messages is disabled. If the error parameter is specified in the command, the debugging of errors is disabled. If the event parameter is specified in the command, the debugging of events is disabled. If the all parameter is specified in the command, the debugging of all information is disabled.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Enable the debugging of events on the FMSR module.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] debugging fmsr event

debugging said

Function

The debug said command enables the debugging function on a SAID module.

The undo debug said command disables the debugging function on the SAID module.

By default, the debugging function on the SAID module is disabled.

Format

debugging said [ slot slot-id ] { all | said-node said-id }

undo debugging said [ slot slot-id ] { all | said-node said-id }

Parameters

Parameter Description Value
slot-id

Specifies the slot ID.

-

said-node said-id

Specifies the ID of a SAID node.

The value is an integer ranging from 0 to 1023.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
forwarding debug

Usage Guidelines

Usage Scenario

To enable the debugging function on all SAID nodes or on a single SAID node in a slot, run the debug said command. To disable the debugging function, run the undo debug said command.

Example

# Enable the debugging function on all the SAID nodes in slot 1.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] debugging said slot 1 all

display fe voltage

Function

The display fe voltage command displays NP chip's voltage.

Format

display fe slot slot-id fe-id fe-id { voltage | temperature | current }

Parameters

Parameter Description Value
slot-id

Specifies the number of an available slot.

The value is an integer.

fe-id

Specifies an available chip ID.

The value is an integer that ranges from 0 to 7 .

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To view NP chip's voltage, run the display fe voltage command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display NP chip's voltage.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display fe slot 16 fe-id 0 voltage
The current voltage is :1.0250000 v, the chip AVS Type is :AVS3
Table 2-1569 Description of the display fe voltage command output
Item Description
The current voltage is

Current voltage of the NP chip.

display semaphore-nonpreempt

Function

The display semaphore-nonpreempt command displays the bas service used semaphore information in the system.

Format

display semaphore-nonpreempt

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
bras-control debug

Usage Guidelines

Usage Scenario

When you need to check the semaphore used by the BRAS service, you can execute this command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the bas service used semaphore information in the current system.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display semaphore-nonpreempt
------------------------------------------------------ 
 Max Semaphore          = 100   
------------------------------------------------------ 
--------------------------------------------------------------------------------
SemName                                                 SemID OwnerTaskId CurrentCid Type                                              
--------------------------------------------------------------------------------
NPTL                                                        0          14          6 mutex                                             
--------------------------------------------------------------------------------
Table 2-1570 Description of the display semaphore-nonpreempt command output
Item Description
Max Semaphore

Maximum number of semaphores.

SemName

Semaphore name.

SemID

Semaphore ID.

OwnerTaskId

The service task ID which used Semaphore.

CurrentCid

The module ID which used Semaphore.

Type

Semaphore type.

  • Binary: Binary semaphore.
  • Count: Count type semaphore.
  • Mutex: Mutex semaphore.

display task trace

Function

The display task trace command displays tasks and components that occupy the system lock, as well as the lock occupation start time and duration.

Format

display task trace [ history index ] slot slot-id

Parameters

Parameter Description Value
history index

Specifies the index of a historical record.

The value is an integer ranging from 1 to 3.

slot slot-id

Indicates the slot number.

The value is a string of 1 to 16 case-sensitive characters without spaces.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
bras-control debug

Usage Guidelines

Usage Scenario

This command is used when querying the system lock switch path to view the tasks, components and occupancy time of the system lock in the current system.

Example

The actual command output varies according to the device. The command output here is only an example.

# View the current system lock switch path.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display task trace slot 17
-----------------------------------------------------
    TaskId     CompId            BeginTime   HoldTime
-----------------------------------------------------
        14          0     1559805246741963          0
        15          0     1559805187574856          1
        14          0     1559805186041622          0
        18          0     1559805184846776          0
        22          0     1559805183617679          0
        17          0     1559805182436426          0
        16          0     1559805182247858          0
        23          0     1559805180699975          0
        30          0     1559805178594782          0
        27          0     1559804937916881          0
        29          0     1559804934470778          1
        16          0     1559804811401697          0
        16          0     1559803288940034          0
        17          0     1559802209782926          0
        30          0     1559802208238649          0
        14          0     1559802206358642          0
        15          0     1559802201719340          1
        22          0     1559802200211309          0
        17          0     1559802198776976          0
Table 2-1571 Description of the display task trace command output
Item Description
TaskId

ID of a task that occupies the system lock.

CompId

ID of a component that occupies the system lock.

BeginTime

Time that a task and component started to occupy the system lock.

HoldTime

Duration that a task and component occupy the system lock, in ms.

verification

Function

The verification command enables or disables the periodic verification function of the system.

By default, the verification interval is enabled.

Format

verification enable access [ time-interval time-interval ]

verification disable access

Parameters

Parameter Description Value
time-interval time-interval

Specifies the interval at which verification is performed.

The value is an integer ranging from 1 to 24, in hours.

disable

Disables the periodic verification function.

-

enable

Enables the periodic verification function.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
aaa-access debug

Usage Guidelines

Usage Scenario

After the periodic verification function is enabled, the system automatically performs this function when the set verification interval arrives. The upstream and downstream components involved in verification must communicate with each other. In addition, the upstream and downstream components have the common verification function.

By default, the periodic verification function is enabled. The verification interval is 3600 seconds. The periodic verification function ensures data consistency between components so that the system has failure recovery capabilities.

Periodic verification is a type of slow verification, and therefore only limited system resources are occupied. It, however, will increase the load of the system when system resources are insufficient. Therefore, the verification command is required to enable the automatic verification function. In addition, in the case of data inconsistency, test personnel can manually disable the periodic verification function by using the verification command.

To enable verification for the system, run the verification enable command. To enable verification between specified modules, run the verification producer <producer-name> consumer < consumer-name> enable command.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Enable the periodic verification function of the system.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] verification enable timer-interval 2800

verification access sync-process

Function

The verification access sync-process slot slot-id command enables verification of BRAS entries among components deployed on an interface board.

The undo verification access sync-process slot slot-id command disables verification of BRAS entries among components deployed on an interface board.

The verification access sync-process command enables verification of BRAS entries among components deployed on the main control board.

The undo verification access sync-process command disables verification of entries among components deployed on the main control board.

By default, verification of BRAS entries among components is enabled.

Format

verification access sync-process { br_aaa | br_dacc | br_vsm | br_rui | br_dacc6 | br_am6 }

verification access sync-process br_broker

verification access sync-process vsm

verification access sync-process slot slot-id { br_nd | br_agent | br_lns | ppp | pppoe } [ continue ]

verification access sync-process slot slot-id { vfp_ppp | vfp_nd | vfp_arp | vfp_portal }

verification access sync-process slot slot-id br_eap [ continue ]

verification access sync-process slot slot-id vfp_leaseproxy6

verification access sync-process { br_um | br_am | br_lac } [ continue ]

verification access sync-process br_um tb_select

undo verification access sync-process { br_aaa | br_dacc | br_vsm | br_rui | br_dacc6 | br_am6 }

undo verification access sync-process br_broker

undo verification access sync-process vsm

undo verification access sync-process slot slot-id { br_nd | br_agent | br_lns | ppp | pppoe } [ continue ]

undo verification access sync-process slot slot-id { vfp_ppp | vfp_nd | vfp_arp | vfp_portal }

undo verification access sync-process slot slot-id br_eap [ continue ]

undo verification access sync-process { br_um | br_am | br_lac } [ continue ]

undo verification access sync-process br_um tb_select

undo verification access sync-process slot slot-id vfp_leaseproxy6

Parameters

Parameter Description Value
br_aaa

Indicates the BR_AAA component.

-

br_dacc

Indicates the BR_DACC component.

-

br_vsm

Indicates the BR_VSM component.

-

br_rui

Indicates the BR_RUI component.

-

br_dacc6

Indicates the BR_DACC6 component.

-

br_am6

Indicates the BR_AM6 component.

-

br_broker

Indicates the BR_BROKER component.

-

vsm

Indicates the VSM component.

-

slot slot-id

Specifies a slot ID.

The value is a string case-sensitive characters, spaces not supported.

br_nd

Indicates the BR_ND component.

-

br_agent

Indicates the BR_AGENT component.

-

br_lns

Indicates the BR_LNS component.

-

ppp

Indicates the PPP component.

-

pppoe

Indicates the PPPOE component.

-

vfp_ppp

Indicates the VFP_PPP component.

-

vfp_nd

Indicates the VFP_ND component.

-

vfp_arp

Indicates the VFP_ARP component.

-

vfp_portal

Indicates the VFP_PORTAL component.

-

br_eap

Indicates the BR_EAP component.

-

vfp_leaseproxy6

Indicates the VFP_LEASEPROXY6 component.

-

br_um

Indicates the BR_UM component.

-

br_am

Indicates the BR_AM component.

-

br_lac

Indicates the BR_LAC component.

-

tb_select

Indicates the tb_select table.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
bras-control debug

Usage Guidelines

Usage Scenario

To ensure the accuracy of BRAS entries, run the verification access sync-process command to enable verification of BRAS entries among components. To disable the verification function for a specified component, run the undo verification access sync-process command.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Disable verification of BRAS entries for the BR_UM component on the main control board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] undo verification access sync-process BR_UM
# Enable verification of BRAS entries for the BR_AAA component on the main control board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] verification access sync-process BR_AAA
# Disable verification of BRAS entries for the BR_LNS component on the interface board in slot 1.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] undo verification access sync-process slot 1 BR_LNS
# Enable verification of BRAS entries for the BR_AGENT component on the interface board in slot 1.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] verification access sync-process slot 1 BR_AGENT
# Disable verification of the tb_select table.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] undo verification access sync-process br_um tb_select
# Disable BRAS entry verification and periodic RBS message pushing on the BR_BROKER component.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] undo verification  access  sync-process br_broker
# Enable the BR_BROKER component to verify BRAS entries and periodically push RBS messages.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] verification  access  sync-process br_broker

verification control-table access

Function

The verification control-table access command starts verification.

Format

verification control-table access ipv6-nd [ srvcfg ]

verification control-table access mpu-all

verification control-table access slot slot-id

Parameters

Parameter Description Value
srvcfg

BR_SRVCFG.

-

mpu-all

All mpu module.

-

slot

Slot.

-

slot-id

Specifies a slot ID.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

ipv6-nd

BR_ND.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
nd debug

Usage Guidelines

Usage Scenario

To start verification between ND and SRVCFG modules, run the verification control-table access command.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Start verification of the ND component.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] verification control-table access ipv6-nd
# Receive a message that triggers component verification on the main control board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] verification control-table access mpu-all

display board-reset

Function

The display board-reset command displays the board reset reason.

Format

display board-reset all

display board-reset card all

display board-reset slotid [ card cardid ]

Parameters

Parameter Description Value
card

Subcard.

-

card

Specifies a subcard.

The value is a string of 1 to 4 characters. It cannot contain spaces.

all

Displays the reset causes of all boards.

-

slotid

Displays the reset reason of a specified board.

The value is a string of 1 to 51 case-sensitive characters. It cannot contain spaces.

cardid

Specifies a subcard ID.

The value is a string of 1 to 51 case-sensitive characters. It cannot contain spaces.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

After a board is restarted, you can run this command to check the board reset reason. You can determine whether the board is faulty according to the displayed information.

If the value of the Reason field is Board register, BarCode is NULL, it indicates that the board is started normally. If other information is displayed, you need to check the fault of the board according to the displayed cause.

This command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the reason why a board is reset.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board-reset all
----------------------------------------------------------
Board 3 reset information:
-- 1. DATE:2014-10-09  TIME:11:14:34+08:00  BARCODE:ST120700006217
   RESET Num:0
--    Reason:Board register, BarCode is ST120700006217               .
--    BootMode:NORMAL
--    BootCode:0x060100ff
--    Feature:DEVM
----------------------------------------------------------
Board 4 reset information:
-- 1. DATE:2014-10-09  TIME:11:11:55+08:00  BARCODE:NULL  RESET Num:0
--    Reason:Board register, BarCode is NULL.
--    BootMode:NORMAL
--    BootCode:0x060100ff
--    Feature:DEVM
----------------------------------------------------------
Board 5 reset information:
-- 1. DATE:2014-10-09  TIME:11:03:25+08:00  BARCODE:NULL  RESET Num:1
--    Reason:Board register, BarCode is NULL.
--    BootMode:NORMAL
--    BootCode:0x060100ff
--    Feature:DEVM
-- 2. DATE:2014-10-09  TIME:11:01:17+08:00  BARCODE:NULL  RESET Num:1
--    Reason:Reboot board from command.(CPU Reset)
--    BootMode:NORMAL
--    BootCode:0x06010017
--    Feature:DEVM
----------------------------------------------------------
Board 8 reset information:
-- 1. DATE:2014-10-09  TIME:11:05:18+08:00  BARCODE:NULL  RESET Num:0
--    Reason:Board register, BarCode is NULL.
--    BootMode:NORMAL
--    BootCode:0x060100ff
--    Feature:DEVM
----------------------------------------------------------
Board 11 reset information:
-- 1. DATE:2014-10-09  TIME:11:04:30+08:00  BARCODE:NULL  RESET Num:0
--    Reason:Board register, BarCode is NULL.
--    BootMode:NORMAL
--    BootCode:0x060100ff
--    Feature:DEVM
----------------------------------------------------------
Board 14 reset information:
-- 1. DATE:2014-10-09  TIME:11:04:29+08:00  BARCODE:NULL  RESET Num:0
--    Reason:Board register, BarCode is NULL.
--    BootMode:NORMAL
--    BootCode:0x060100ff
--    Feature:DEVM
----------------------------------------------------------
Table 2-1572 Description of the display board-reset command output
Item Description
Board 14 reset information

Reset information about the board in slot 14.

Reason

Indicates the reason.

DATE

Reset date and time.

TIME

Automatic reset time.

BARCODE

Indicates an electrical label.

BootMode

Reset mode.

BootCode

Reset code.

Feature

Domain to which the reset code belongs.

display cpu-monitor information (Diagnostic view)

Function

The display cpu-monitor information command displays CPU overload information.

Format

display cpu-monitor information { slot slot-id | all }

Parameters

Parameter Description Value
slot-id

Specifies the slot id.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
diagnose debug

Usage Guidelines

The display cpu monitor command is used to display CPU overload information, as well as service CPU usage during overload, and the call stack information for the first 3 threads with the highest CPU usage during overload is displayed in the diagnostic view.

Example

# Display the CPU overloading status of all resources.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display cpu-monitor information all
Cpu overload information
--------------------------------------------------------------------
Resource         Time                    State                          
--------------------------------------------------------------------
OMU1             --                      Unoverload                      
--------------------------------------------------------------------
Table 2-1573 Description of the display cpu-monitor information (Diagnostic view) command output
Item Description
Cpu overload information

CPU overload information.

Resource

Device resource.

Time

Time when the CPU is overloaded.

State

CPU overload status.

display device certificate

Function

The display device certificate command displays information about the device certificate on a specified board.

Format

display device certificate slot slot-id

Parameters

Parameter Description Value
slot slot-id

Specifies a slot ID.

The value must be set according to device hardware.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
diagnose debug

Usage Guidelines

Usage Scenario

O&M personnel can run this command to check the validity period of a device certificate to prevent problems caused by certificate expiration.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about the device certificate on the board in 1.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display device certificate slot 1
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            11:64:08:a0:6e:e3:b0:41:36:3a:24:14:fb:3c:eb:9a:89
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: C = CN, O = Huawei, CN = Huawei Enterprise Network Product CA
        Validity
            Not Before: Jan 10 11:53:26 2022 GMT
            Not After : Jan 10 11:53:26 2023 GMT
        Subject: C = CN, O = HUAWEI, OU = Router and Carrier Ethernet Product Line, CN = 21023015861001111000
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                RSA Public-Key: (2048 bit)
                Modulus:
                    00:d4:7d:9c:1f:48:56:36:3c:6b:da:30:98:c5:ac:
                    c0:af:43:42:ed:b5:e3:2c:4a:0a:e6:f5:35:ad:35:
                    45:50:25:16:5d:56:c7:2e:49:ab:27:80:cf:13:4e:
                    37:46:15:2f:51:da:26:3e:23:a4:11:27:50:11:3a:
                    27:d5:ac:37:74:01:77:f4:42:67:08:d4:13:b9:49:
                    82:6a:2a:26:68:30:60:04:e6:db:06:26:3f:5a:38:
                    ad:c9:47:b8:71:7b:8c:f3:4e:ff:5a:50:18:19:55:
                    28:d8:2c:dc:a9:12:6b:13:9a:5b:b9:b4:90:b2:ad:
                    2f:22:92:bd:fd:a4:33:c7:68:5f:f7:02:6e:2e:3d:
                    eb:aa:22:73:19:16:e7:2e:e0:93:35:75:90:ea:b2:
                    53:90:fd:1e:41:49:0d:24:3a:bd:87:d5:7f:bb:6a:
                    34:6c:26:66:80:e9:c8:33:51:a4:2e:83:c5:0d:ff:
                    99:c4:ae:d3:87:55:3a:1d:3f:c3:37:8d:d4:63:1c:
                    86:a6:d7:79:fe:6c:2b:03:de:e7:45:b3:c0:2f:0c:
                    f5:7a:de:62:86:c2:28:46:82:96:cf:b0:76:58:f3:
                    03:d2:82:4b:9f:e1:33:c2:ad:cf:11:3c:77:15:05:
                    15:b7:96:de:64:5a:45:27:8b:81:45:77:83:46:fc:
                    d4:41
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 Authority Key Identifier:
                keyid:73:9F:C7:5F:E1:96:A8:0E:79:71:79:DC:69:CB:0A:F1:BC:E0:F4:E5
            X509v3 Subject Alternative Name:
                othername:<unsupported>, othername:<unsupported>, othername:<unsupported>
            X509v3 Basic Constraints:
                CA:FALSE
            X509v3 Key Usage: critical
                Digital Signature, Non Repudiation, Key Encipherment, Data Encipherment, Key Agreement
    Signature Algorithm: sha256WithRSAEncryption
         32:cd:f3:1c:99:9f:83:7a:c6:15:f3:81:1a:4a:c2:89:26:21:
         90:82:47:96:a1:7c:e9:f1:4a:55:7d:96:37:c7:7a:05:d7:5c:
         0e:be:17:41:83:12:17:b7:e6:92:66:4f:d2:3d:e4:71:b3:d5:
         a3:e2:ab:f2:54:b3:03:95:36:ce:ca:74:eb:f1:66:77:23:35:
         f0:7d:5c:f9:bd:46:8b:92:52:59:4c:14:4b:bf:55:92:c5:a3:
         4d:3d:62:9d:57:7b:69:74:ab:ad:68:24:5c:c2:32:d5:e5:cc:
         92:70:33:cd:98:00:de:c5:48:67:24:1a:97:f0:63:36:32:13:
         8e:20:de:b3:bd:45:34:5e:88:ee:73:40:03:7c:c1:62:96:1b:
         8e:cb:e9:2a:80:4c:65:f7:70:14:44:f5:a3:77:78:48:c4:ef:
         64:8b:50:f9:fc:be:e4:b0:17:2d:3e:ee:10:9a:d7:e6:cd:93:
         59:e2:7e:7d:57:56:2e:2f:54:a3:df:1a:28:b0:17:cd:7f:63:
         6a:8a:6d:5c:95:8c:7a:a7:c0:34:91:ce:ed:e6:96:21:ed:7c:
         c1:3a:d9:9b:ce:89:ac:f4:01:47:c3:89:2c:78:a6:9d:6c:14:
         6d:67:56:da:f0:9d:b3:07:ed:83:40:ad:71:1e:83:1d:3a:06:
         a4:f3:5b:e5
# Display the device certificate when the board in 1 does not support the device certificate.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display device certificate slot 1
Info: This board does not have the device cert
Table 2-1574 Description of the display device certificate command output
Item Description
Serial Number

Certificate Serial Number.

Signature Algorithm

Certificate signature algorithm.

CA

Certificate issue.

Validity

Certificate validity period.

Not Before

Start date of the certificate validity period.

Not After

End date of the certificate validity period.

Subject

Information about the subject that uses the certificate.

Subject Public Key Info

Certificate public key information.

Public Key Algorithm

Encryption algorithm of the certificate public key.

RSA Public-Key

RSA public key.

X509v3 extensions

Extended information.

X509v3 Authority Key Identifier

Issuer key identifier.

X509v3 Subject Alternative Name

Available Fields.

X509v3 Key Usage

Key Usage.

Basic Constraints

Basic constraints.

Data

Certificate Information.

Certificate

Certificates.

Version

Version number of the certificate.

Issuer

Certificate Issuer.

Modulus

Modulus of the public key.

Exponent

Public key exponent.

keyid

Key identifier sequence.

othername

Name.

display flow-control

Function

The display multicast flow-control destination info command displays token entries on the receive end of a multicast group.

The display multicast flow-control source info command displays token entries on the transmit end of a multicast group.

The display pipe info all command displays information of pipe of specific process.

The display pipe info verbose displays verbose information of pipe of specific process.

The display flow-control source info commands displays information of flow control between send component and receive component.

The display flow-control destination info displays flow control information of receive component of specific process.

Format

display pipe info all process process-id

display pipe info verbose pipe-id process process-id

display flow-control source info send-cid recv-cid process process-id

display flow-control destination info recv-cid [ show-num ] process process-id

display multicast flow-control source info group-id [ show-num ] process process-id

display multicast flow-control destination info group-id recv-cid process process-id

Parameters

Parameter Description Value
verbose

Specifies the verbose.

-

pipe-id

Specify pipe ID.

The value is an integer ranging from 1 to 4294967295.

process process-id

Specifies the process ID.

The value is an integer ranging from 0 to 4294967295.

send-cid

Sender componentid.

The value is a hexadecimal integer ranging from 0 to FFFFFFFF.

recv-cid

Specifies the ID of a component for the multicast receiver.

The value is a hexadecimal integer ranging from 0 to FFFFFFFF.

show-num

Specifies the number of items to be displayed.

The value is an integer ranging from 1 to 4294967295.

group-id

Specifies the ID of a multicast group.

The value is an integer ranging from 0 to 4294967295.

all

Specifies all information.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
diagnose debug

Usage Guidelines

Usage Scenario

The display multicast flow-control destination info command can be used to display token entries information on the receive end of a multicast group.

The display multicast flow-control source info command can be used to display token entries information on the transmit end of a multicast group.

The display pipe info all command displays information of pipe of specific process.

The display pipe info verbose displays verbose information of pipe of specific process.

The display flow-control source info commands displays information of flow control between send component and receive component.

The display flow-control destination info displays flow control information of receive component of specific process.

Precautions

This command is supported only on the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display token entries on the receive end of multicast group 3.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display multicast flow-control destination info 3 6A2739 process 10002
************************************************************
RecvCpi        : 0x006a2739
SpareTokenNum  : 50  
GrpId          : 3   
SerialNum      : 1   
AdjustCount    : 3   
Last Time Of Receiving Application  :52450
Last Time Of Distributing Token     :52450
Last Distributing Token Num         :50  
Last Time Of Receiving Revision     :52450
Last Time Of Stop Sender            :348896280
************************************************************
# Display information of pipe of specific process.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display pipe info all  process 1000
***************************************************************************************************************************************************************************************
SrcCommId     SrcCompName     SrcProcessName      DstCommId     DstCompName     DstProcessName      LocalPipeId    PeerPipeId     ServiceId    Status    DetailStatus
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0x00782724    LDM             ISM                 0x007703f3    ARP             PSM                  3225944065    2148532251             3    RECV      DMS_PIPE_READOPEN_STATE
0x80787546    LDM             ISM                 0x806503f9    SOCK            PSM                  3224371202    2178940951             1    RECV      DMS_PIPE_READOPEN_STATE
0x806503f9    SOCK            PSM                 0x807803f8    LDM             PSM                     1048579    1074790403         65536    SEND      DMS_PIPE_OPENAPPACK_STATE
0x806503f9    SOCK            PSM                 0x807803f8    LDM             PSM                  1074790403       1048579         65536    RECV      DMS_PIPE_READOPEN_STATE
# Display all pipes in a specified process.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display multicast flow-control source info 4 process 10001
************************************************************
SendCpi        : 0x8023273d
SendCsi        : 0x00232733
RecvCpi        : 0x806a2744
RecvCsi        : 0x006a2739
GrpId          : 4   
RecIid         : 782 
SpareTokenNum  : 2   
BlockFlag      : 2
WorkStatus     : JOINED
Last Time Of Sending Application  :3175920
Last Time Of Dealing Allocation   :3175920
Last Received Token Num           :50  
Last Time Of Sending Revision     :3175920
************************************************************
SendCpi        : 0x8023273d
SendCsi        : 0x00232733
RecvCpi        : 0x806a2775
RecvCsi        : 0x006a273f
GrpId          : 4   
RecIid         : 782 
SpareTokenNum  : 2   
BlockFlag      : 2
WorkStatus     : JOINED
Last Time Of Sending Application  :3175920
Last Time Of Dealing Allocation   :3175920
Last Received Token Num           :50  
Last Time Of Sending Revision     :3175920
************************************************************
Table 2-1575 Description of the display flow-control command output
Item Description
RecvCpi

CPI of the component on the receive end.

SpareTokenNum

Number of remaining tokens.

GrpId

Group ID of a multicast flow control.

SerialNum

Number of a serial interface.

AdjustCount

Number of adjustments.

Last Time Of Sending Application

Last time when the transmit end sends application tokens.

Last Time Of Dealing Allocation

Last time when the transmit end processed allocated tokens.

Last Received Token Num

Number of tokens allocated to the transmit end the last time.

Last Time Of Sending Revision

Last time when the transmit end sent revision tokens.

Last Time Of Receiving Application

Number of tokens the receive end received an application for tokens the last time.

Last Time Of Distributing Token

Number of tokens the receive end discarded the last time.

Last Distributing Token Num

Number of the token the receive end discarded the last time.

Last Time Of Receiving Revision

Number of revision tokens the receive end received the last time.

Last Time Of Stop Sender

Number of the sender at the last time.

SendCpi

CPI of the component on the transmit end.

SendCsi

CSI of the component on the transmit end.

RecvCsi

CSI of the component on the receive end.

RecIid

IID of the component on the receive end.

BlockFlag

Flag indicating traffic congestion.

WorkStatus

Working status of the component on the transmit end.

display fmea-check

Function

The display fmea-check command displays whether failure mode effect analysis (FMEA) check is enabled on a specified board.

Format

display fmea-check [ slot slotid ]

Parameters

Parameter Description Value
slot slotid

Specifies the slot number of a board or module to be displayed.

The value is a string of 1 to 31 case-sensitive characters without spaces.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

FMEA analyzes component failures and effects on system operations. You can run the display fmea-check command to display the FMEA check function on a specified board whether is enabled, facilitating hardware fault detection.

This command is supported only on the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the FMEA check function on the board slot 1 whether is enabled.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display fmea-check slot 1
Info: Operating, please wait for a moment 
396-normal  0-abnormal
Slot 1:
----------------------------------------------------
Index DevID DevType AttrName Time Value Status  
----------------------------------------------------
1   0xf3 phypic txCdrCheck 1500 0  START  
2   0xf3 phypic rxCdrCheck 3000 0  START
Table 2-1576 Description of the display fmea-check command output
Item Description
Index

Index.

DevID

Device number.

DevType

Device model.

AttrName

Attribute name.

Time

Timestamp.

Value

Attribute value.

Status

Device status.

display msg-queue process

Function

The display msg-queue process command displays the number of message nodes in the message queue of the component in a process.

Format

display msg-queue process process-id

Parameters

Parameter Description Value
process-id

Specifies the process ID. The message queue of the specified process is displayed.

The value is an integer ranging from 0 to 4294967295.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
diagnose debug

Usage Guidelines

Usage Scenario

This command helps locate message congestion problems.

Component scheduling is driven by messages. The number of messages is closely related to component scheduling. In general, the more a component involves messages, the more it is frequently scheduled. Therefore, based on information about message backlog, you can determine whether a component is overloaded and whether scheduling blocking is caused by message congestion.

Precautions

This command is supported only on the admin VS.

Example

# Display message queues of process 2.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display msg-queue process 2
Component-name   Component-cid   Msg-queue              Msg-num
----------------------------------------------------------------
TM_SVR           0x80262711      VRP_MSG_QUE_ID_SMP      0         
TM_SVR           0x80262711      VRP_MSG_QUE_ID_FWD_PKT  0         
TM_SVR           0x80262711      VRP_MSG_QUE_ID_FWD_TBL  0         
TM_SVR           0x80262711      VRP_MSG_QUE_ID_APP_1ST  0         
TM_SVR           0x80262711      VRP_MSG_QUE_ID_APP_2ND  0         
TM_SVR           0x80262711      VRP_MSG_QUE_ID_APP_3RD  0         
TM_SVR           0x80262711      VRP_MSG_QUE_ID_APP_4TH  0         
TM_SVR           0x80262711      VRP_MSG_QUE_ID_SSP      0         
DBG              0x8032272B      VRP_MSG_QUE_ID_SMP      0         
DBG              0x8032272B      VRP_MSG_QUE_ID_FWD_PKT  0         
DBG              0x8032272B      VRP_MSG_QUE_ID_FWD_TBL  0         
DBG              0x8032272B      VRP_MSG_QUE_ID_APP_1ST  0         
DBG              0x8032272B      VRP_MSG_QUE_ID_APP_2ND  0         
DBG              0x8032272B      VRP_MSG_QUE_ID_APP_3RD  0         
DBG              0x8032272B      VRP_MSG_QUE_ID_APP_4TH  0         
DBG              0x8032272B      VRP_MSG_QUE_ID_SSP      0         
DBG_AGENT        0x803303F2      VRP_MSG_QUE_ID_SMP      0         
DBG_AGENT        0x803303F2      VRP_MSG_QUE_ID_FWD_PKT  0         
DBG_AGENT        0x803303F2      VRP_MSG_QUE_ID_FWD_TBL  0         
DBG_AGENT        0x803303F2      VRP_MSG_QUE_ID_APP_1ST  0         
DBG_AGENT        0x803303F2      VRP_MSG_QUE_ID_APP_2ND  0         
DBG_AGENT        0x803303F2      VRP_MSG_QUE_ID_APP_3RD  0         
DBG_AGENT        0x803303F2      VRP_MSG_QUE_ID_APP_4TH  0         
DBG_AGENT        0x803303F2      VRP_MSG_QUE_ID_SSP      0
Table 2-1577 Description of the display msg-queue process command output
Item Description
Component-name

Component name.

Component-cid

Component CID.

Msg-queue

Type of a message queue.

Msg-num

Number of messages.

display system memory leak handle information

Function

The display system memory leak handle information command displays the call stack information when a memory leak occurs in a specified process.

Format

display system memory leak handle information show-num process process-id

Parameters

Parameter Description Value
show-num

Specifies the number of call stacks when a memory leak occurs.

The value is an integer ranging from 1 to 100.

process process-id

Specifies a process ID.

The value is an integer ranging from 0 to 4294967295.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
diagnose debug

Usage Guidelines

Usage Scenario

To locate a memory abnormality, run the display system memory leak handle information command to display the call stack information when a memory leak occurs in a specified process.

Precautions

This command is supported only on the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the information about 10 call stacks when a memory leak occurs in process 10001.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display system memory leak handle information 10 process 10001
cid: 0x2 mid:0x1 partition:common min:1 max:500
-------------------------Show CallStack-------------------------
Alloc Time: 2015-08-20 04:54:23  Alloc Size: 100  Alloc PT: common
#00: location(malloc-0x1dbc8) [0x10017158]
#01: libc.so.6(+0x9d7d0) [0xfff90bf27d0]
#02: libc.so.6(fopen-0x10690c) [0xfff90bf28b4]
#03: libdefault.so(vosCpupGetTaskTotalTick-0x18e654) [0xfff9056bb9c]
#04: libdefault.so(OS_CpupTaskTotalCputickGet-0x18ed60) [0xfff9056b4]
#05: libdefault.so(OS_CpupTaskCpupInfoGet-0x18e8a4) [0xfff9056b91c]
#06: libdefault.so(vosCpupTaskRateUpdate-0x18981c) [0xfff90570d7c]
#07: libdefault.so(vosCpupTaskSecondProcess-0x189494) [0xfff9057111c]
#08: libdefault.so(vosTickISR-0x1268d8) [0xfff905da530]
#09: libdefault.so(vosTickGenISR-0x14b850) [0xfff905b2a20]
-------------------------Show CallStack-------------------------
Alloc Time: 2015-08-20 04:54:24  Alloc Size: 100  Alloc PT: common
#00: location(malloc-0x1dbc8) [0x10017158]
#01: libc.so.6(+0x9d7d0) [0xfff90bf27d0]
#02: libc.so.6(fopen-0x10690c) [0xfff90bf28b4]
#03: libdefault.so(vosCpupGetTaskTotalTick-0x18e654) [0xfff9056bb9c]
#04: libdefault.so(OS_CpupTaskTotalCputickGet-0x18ed60) [0xfff9056b4]
#05: libdefault.so(OS_CpupTaskCpupInfoGet-0x18e8a4) [0xfff9056b91c]
#06: libdefault.so(vosCpupTaskRateUpdate-0x18981c) [0xfff90570d7c]
#07: libdefault.so(vosCpupTaskSecondProcess-0x189494) [0xfff9057111c]
#08: libdefault.so(vosTickISR-0x1268d8) [0xfff905da530]
#09: libdefault.so(vosTickGenISR-0x14b850) [0xfff905b2a20]
-------------------------Show CallStack-------------------------
Table 2-1578 Description of the display system memory leak handle information command output
Item Description
Alloc Time

Time when the memory is applied for.

Alloc Size

Size of the memory to be applied for.

Alloc PT

Partition for which the memory is applied for.

Cid

Component ID.

Mid

Module ID.

Partition

Memory partition.

display system patch area process

Function

The display system patch area process command displays patch information in a specified process.

Format

display system patch area process ProId

Parameters

Parameter Description Value
ProId

Specifies a process ID.

The value is an integer ranging from 0 to 4294967295.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
diagnose debug

Usage Guidelines

Usage Scenario

To check patch information in a specified process, run the display system patch area process command.

This command is supported only on the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display patch information in process 6.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display system patch area process 6
--------------------------------------------------------------------------------
 Code Area Length               : 4096
 Code Area Used Length          : 0
 Code Area Used Percent         : 0%
 Data Area Length               : 4096
 Data Area Used Length          : 0
 Data Ares Used Percent         : 0%
--------------------------------------------------------------------------------
Table 2-1579 Description of the display system patch area process command output
Item Description
Code Area Length

Length of the patch code area.

Code Area Used Length

Length of the patch code area used.

Code Area Used Percent

Percentage of the patch code area used.

Data Area Length

Length of the patch data area.

Data Area Used Length

Length of the patch data area used.

Data Ares Used Percent

Percentage of the patch data area used.

display system pipe-token alloc-failed process

Function

The display system pipe-token alloc-failed process command displays the pipe token allocation failure information.

Format

display system pipe-token alloc-failed process processid

Parameters

Parameter Description Value
process processid

Displays the pipe token allocation failure information in a specified process.

The value is an integer ranging from 0 to 4294967295.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
diagnose debug

Usage Guidelines

When an exception occurs, you can run the display system pipe-token alloc-failed command to check the pipe token allocation failure information. The command output helps you locate the fault.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the pipe token allocation failure information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display system pipe-token alloc-failed process 10001
-----------------------------------------------------------------------
 srcCommId  dstCommId localPipeId peerPipeId AllocTime                 
-----------------------------------------------------------------------
  0x6503FA   0x8F2718     1048578    2621441 2013-08-11 20:57:33       
0x8078273E 0x80650402     1048577    1048581 2013-08-11 20:57:16       
-----------------------------------------------------------------------
Table 2-1580 Description of the display system pipe-token alloc-failed process command output
Item Description
srcCommId

ID of the source component.

dstCommId

ID of the destination component.

localPipeId

Local pipe ID.

peerPipeId

Peer pipe ID.

AllocTime

Time when the allocation fails.

display unlock

Function

The display unlock command displays configuration lock information about the system.

Format

display unlock

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
config debug

Usage Guidelines

Usage Scenario

The display unlock command displays information about all configuration locks of the system.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the current configuration lock information about the system.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display unlock
--------------------------------------------------
SessionID LockType IsReLock LockEvt    LockLevel 
--------------------------------------------------
2         1        0        0x00800263 0
Table 2-1581 Description of the display unlock command output
Item Description
SessionID

Session ID.

LockType

Locking type:

  • 0: shared locks.
  • 1: mutually exclusive locks.
IsReLock

Whether the current locking events can persist.

  • 0: no.
  • 1: yes.
LockEvt

ID of a locking event.

LockLevel

Locking level:

  • 0: VR.
  • 1: LR.

display vrcb

Function

The display vrcb command displays detailed information about the device and other matched software versions.

Format

display vrcb

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
rpm debug

Usage Guidelines

To view detailed information about the device and other matched software versions, run the display vrcb command. The command output helps diagnose and analyze problems.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display detailed information about the VRP and other matched software versions.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display vrcb
System Version: V800R008C10B260
Device Version: V800R007C00B130
DOPRA  Version: DOPRA SSP V300R001C10SPC022
VIST   Version: vist12.0.160223
OSAL   Version: VPP V300R003C19 SPC200
Crypto Version: VPP V300R003C19 SPC200
PSE    Version: VPP V300R003C19 SPC200
Table 2-1582 Description of the display vrcb command output
Item Description
System Version

System version information.

Device Version

VRP version information.

DOPRA Version

DOPRA version information.

VIST Version

VIST version information.

OSAL Version

OSAL version information.

Crypto Version

Crypto version information.

PSE Version

PSE version information.

reset slot force

Function

The reset slot force command forcibly restarts a board in a specified slot.

Format

reset slot slot-id force

Parameters

Parameter Description Value
slot slot-id

Specifies the slot ID of the board to be restarted.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

If a running board gets faulty or board software needs to be upgraded, run the reset slot force command to restart the board.

Precautions

If you reset the active main control board on a device that does not have any standby main control board, the device restarts without powering off the board CPU. If you reset the active main control board on a device that has a standby main control board, the device automatically performs a active/standby main control board switchover.

Resetting the standby main control board or an interface board causes temporary service interruption on the board.

The reset slot command can only be used when the board or subcard is running.

Before the board or subcard is reset, save important data in advance.

This command is supported only in the Admin-VS.

Example

# Reset the board in slot 1 forcibly.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] reset slot 1 force
Caution!!! Confirm to reset slot 1! Continue? [Y/N]:y 
Warning: Board 1 is being reset.

set fmea-check

Function

The set fmea-check slot action enable command enables the FMEA check function on a specified board.

The set fmea-check slot action disable command disables the FMEA check function on a specified board.

By default, FMEA check is enabled on a board.

Format

set fmea-check slot slotid { start | stop }

set fmea-check slot slotid action { enable | disable }

set fmea-check devid dev-id [ attrname value ] { start | stop }

Parameters

Parameter Description Value
start

Start the FMEA.

-

stop

Stop starting the FMEA.

-

slot slotid

Specifies the slot ID of the board or module.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

action

FMEA switching command.

-

enable

Enables FMEA.

-

disable

Disables FMEA.

-

devid dev-id

Specifies a device ID.

The value is an integer ranging from 1 to 65535.

attrname value

Specifies a feature name.

The value is a string of 1 to 64 case-sensitive characters. It cannot contain spaces.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

The FMEA function analyzes the potential fault modes of each device component and the impacts of the fault modes on product functions. To enable the FMEA-based check function on a specified board, run the set fmea-check slot slotid action enable command. This facilitates hardware fault detection.

This command is supported only in the Admin-VS.

Example

# Enable the FMEA check function on the board slot 1.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set fmea-check slot 1 action enable
Enable fmea action successfully.
[~HUAWEI-diagnose]

display mac-address mpu

Function

The display mac-address command displays the MAC address of the main control board.

Format

display mac-address mpu [ slave-board ]

Parameters

Parameter Description Value
slave-board

Specifies the slave main control board.

-

mpu

Specify the master MPU.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

Check the MAC address of the main control board.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the MAC address of the master main control board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display mac-address mpu
Mac Address:
00e0-fc12-e02a
00e0-fc12-e02b
00e0-fc12-e02c
00e0-fc12-e02d
00e0-fc12-e02e
00e0-fc12-e02f
00e0-fc12-e030
00e0-fc12-e031
00e0-fc12-e032
00e0-fc12-e033
00e0-fc12-e034
00e0-fc12-e035
00e0-fc12-e036
00e0-fc12-e037
00e0-fc12-e038
00e0-fc12-e039
# Display the MAC address of the slave main control board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display mac-address mpu slave-board
Mac Address:
6c14-6e02-3484
Table 2-1583 Description of the display mac-address mpu command output
Item Description
Mac Address

MAC address of the management interface.

active mode-control license

Function

The active mode-control license command activates the LCXXXXXXX control item in a GTL license.

The undo active mode-control license command deactivates the LCXXXXXXX control item in a GTL license.

By default, the LCXXXXXXX control item in a GTL license is activated.

This command is supported only on the NE40E-X3, NE40E-X3A, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A and NE40E-X16C.

Format

active mode-control license

undo active mode-control license

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

By default, for a device started using a GTL license containing the LCXXXXXXX control item, the dcn-control-plane mode command is used to activate or deactivate the control item under special circumstances.

Prerequisites

A GTL-license with the LCXXXXXXX control item exists on the device.

Follow-up Procedure

Restart the device after you activate or deactivate the LTNRMODE00 control item in a GTL license for the configuration to take effect.

Example

# Deactivate the LTNRMODE00 control item in a GTL license.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] undo active mode-control license
Warning: This operation will change dcn-control-plane mode to dcn-management-plane mode, which will interrupt the communication with the ATN device.
Please confirm to execute this command.continue?[y/n]:y
Info: The mode has been changed to dcn-management-plane mode successfully. This operation will take effect after reboot.
# Configure the activation control item.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] active mode-control license
Warning: This operation will change dcn-management-plane mode to dcn-control-plane mode, which will interrupt the communication with the ATN device.
Please confirm to execute this command.continue?[y/n]:y
Info: The mode has been changed to dcn-control-plane mode successfully. This operation will take effect after reboot.

active port-basic ap

Function

The active port-basic command activates interface-specific basic hardware licenses on the specified AP device.

The undo active port-basic command deactivates interface-specific basic hardware licenses on the specified AP device.

Format

active port-basic ap-id ap-id slot slot-id card card-id port port-list

undo active port-basic ap-id ap-id slot slot-id card card-id [ port port-list ]

Parameters

Parameter Description Value
ap-id ap-id

Indicates the ID of the AP device.

The value is an integer that ranges from 1024 to 8191.

slot slot-id

Specifies the slot ID of a controlled board.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

card card-id

Specifies the ID of a controlled subcard.

The value is an integer that ranges from 0 to 255.

port port-list

Specifies the port list mapped to the license type on a subcard.

The value is a string, the port list of the string ranges from 0 to 255.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
diagnose debug

Usage Guidelines

Usage Scenario

To activate interface-specific basic hardware licenses on the specified AP device, run the active port-basic command.

Precautions

Please log in to the AP device to check the activation status of port-basic licenses after running the command.

Example

# Activate the basic hardware licenses on interfaces numbered 0 through 8 on a subcard with ID 3 of a board in slot 3 on the AP device with ID of 1025.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] active port-basic ap-id 1025 slot 3 card 3 port 0-8
Info: Please log in to the AP device to check the activation status of port-basic licenses.

bandwidth-isolate

Function

The display bandwidth-isolate command displays subcard isolation flags for bandwidth restriction.

The set bandwidth-isolate slot command sets subcard isolation flags for bandwidth restriction.

reset bandwidth-isolate slot command clear subcard isolation flags for bandwidth restriction.

Format

display bandwidth-isolate slot slotid

set bandwidth-isolate slot slotid [ card cardid ]

reset bandwidth-isolate slot slotid

Parameters

Parameter Description Value
slot slotid

Specifies the slot ID of an interface board.

According to the actual situation of the equipment.

card cardid

Specifies a card ID.

According to the actual situation of the equipment.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

To check subcard isolation flags for bandwidth restriction, run the display bandwidth-isolate command.

Example

# Display subcard isolation flags for bandwidth restriction.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] reset bandwidth-isolate slot 1
Reset Slotid:9 bandwidth-isolate flag success!
# Display subcard isolation flags for bandwidth restriction.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set bandwidth-isolate slot 1
Set Slotid:9 bandwidth-isolate flag success!
# Display subcard isolation flags for bandwidth restriction.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display bandwidth-isolate slot 1
The register flag info of Slotid 9 as follows: 
CardId               RegInfo
   0                 UnRegister
   1                 UnRegister
   2                 UnRegister
   3                 UnRegister

board reset monitor

Function

The board reset monitor command enables or disables monitoring on board abnormal resets.

Format

board reset monitor { on | off }

Parameters

Parameter Description Value
on

Open board reset monitor.

-

off

Close board reset monitor.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To enable or disable monitoring on board abnormal resets, run the board reset monitor command.

In VS mode, this command is supported only by the admin VS.

Example

# Disable monitoring on board abnormal resets.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] board reset monitor off

check pic-type

Function

The check pic-type command displays the type of the register stored in a subcard EEPROM.

Format

check pic-type slot-id

Parameters

Parameter Description Value
slot-id

Specify slot id.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To view the type of the register stored in a subcard EEPROM, run the check pic-type command. Based on the result, you can check whether the register type is the same as the type of the register stored in a registered subcard and add the check pic-type command to the inspection tools. This command applies to a scenario in which a fault is caused by an incorrect type of the register stored in a subcard EEPROM. If the fault is not detected in a timely manner, a board fails to register after reset and consequently services are affected.

In VS mode, this command is supported only by the admin VS.

Example

# Display the type of the register stored in a subcard EEPROM.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] check pic-type 1
Pic-type coincidence information :
----------------------------------------------
SLOT PIC Status      Type coincidence 
1    0   Registered   OK  
1    1   Registered   POK  
1    2   Unregistered  NA    
----------------------------------------------

check version

Function

The check version command checks whether the versions of software and hardware are the same, checks the latest components, and checks the different components.

Format

check version { all | allow | newer } { file-name | startup }

Parameters

Parameter Description Value
all

Indicates all components.

-

allow

Indicates that the component is not the newest and the version of the component is different.

-

newer

Indicates the newest components.

-

file-name

Specifies the name of the system software stored in the CF card. The value is a string of 4 to 127 characters without spaces.

The value is a string of 4 to 127 case-sensitive characters without spaces.

startup

Indicates the current startup package.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

You can run the check version command to check whether the versions of software and hardware are the same, checks the latest components, and checks the different components.

Precautions

When an online user is upgrading or checking the version, others users cannot check the version.

Example

# Check that the latest version is inconsistent with the component.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] check verion all startup
Info: Prepare to check system software cfcard:/xxx.cc, please wait ..........
Info: System software signature check passed!
--------------------------------------------------------------------------------------
Slot #     Type Content              CurVer  ExactVer  State        Upgrade Suggestion
--------------------------------------------------------------------------------------
1          LPU  Power1220            004     101       Compatible   Recommend         
1          LPU  MonitorBus Software  4       7         Incompatible Must   
2          LPU  Power1220            102     101       Compatible   Recommend
3          LPU  Voltage Chip 1       NA      A         Compatible   Recommend
3          LPU  Voltage Chip 2       NA      A         Compatible   Recommend
3          LPU  Voltage Chip 3       B       A         Compatible   Recommend
4          LPU  PIC0 Voltage Chip    A       B         Compatible   Recommend
4          LPU  PIC1 Voltage Chip    A       B         Compatible   Recommend
5          LPU  PowerEPLD            004     101       Compatible   Recommend
6          LPU  PowerEPLD            102     101       Compatible   Recommend
9          MPU  CANBUS SDR           018     019       Incompatible Must  
FAN1       FAN  MonitorBus Software  5.14    5.13      New          Recommend
FAN2       FAN  MonitorBus Software  5.12    5.13      Incompatible Must
FAN3       FAN  MonitorBus Software  5.12    5.13      Incompatible Must
FAN4       FAN  MonitorBus Software  5.12    5.13      Incompatible Must
FAN5       FAN  MonitorBus Software  5.12    5.13      Incompatible Must
# Check the component version consistency.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] check version all startup
Info: Prepare to check system software xxx.cc, please wait .............................................
Info: System software signature check passed!
Info: Software version match Ok!
Table 2-1584 Description of the check version command output
Item Description
Slot #

Slot ID of the board.

Type

Board Type.

Content

Incompatible version content.

CurVer

Current incompatible content version.

State

Current version state.

Upgrade Suggestion

Suggestion for upgrade.

ExactV

Exact incompatible content version in the system software.

cmu-debug

Function

The cmu-debug alarm-light command turns on or turns off the CMU alarm light.

The cmu-debug cmu-alarm command enables or disables the CMU alarm function.

The cmu-debug cmu-relay cmu-relay-id command enables or disables the semaphore of a CMU's external relay.

This command is supported only on the NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A and NE40E-X16C.

Format

cmu-debug alarm-light { on | off }

cmu-debug cmu-alarm { major | minor } [ resume ]

cmu-debug cmu-relay cmu-relay-id { open | close }

Parameters

Parameter Description Value
on

Turns on the CMU alarm light.

-

off

Turns off the alarm function.

-

major

Indicates a major alarm severity.

-

minor

Indicates a minor alarm severity.

-

resume

Clears the CMU alarms.

-

cmu-relay-id

Specifies the CUM relay's ID.

The value can be 0 or 1.

open

Enables the semaphore of a CMU's external relay.

-

close

Disables the semaphore of a CMU's external relay.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

The preceding commands are used for debugging basic CMU functions.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Turn on the CMU alarm light.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] cmu-debug alarm-light on

cmu-loopback

Function

The cmu-loopback command performs the CMU loopback detection.

This command is supported only on the NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A and NE40E-X16C.

Format

cmu-loopback { all | an12v-ana1 | an12v-ana2 | close1-in4 | close2-in6 | fog12v-fogin | open1-in3 | open2-in5 | re1+-in1 | re2+-in2 | rs485 }

Parameters

Parameter Description Value
all

Tests all items.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To perform the CMU loopback detection, run the cmu-loopback command.

Prerequisites

The tested interfaces have been looped back.

Implementation Procedure

Run the cmu-loopback command.

Follow-up Procedure

Remove the links used to perform the loopback detection.

Precautions

In VS mode, this command is supported only by the admin VS.

The links used to perform the loopback detection is properly connected.

Example

# Perform the CMU loopback detection.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] cmu-loopback all
CMU loopback testing Fog12v to Fogin...
Info: CMU loopback Fog12v to Fogin: Success!
CMU loopback testing An12v to Ana1...
Info: CMU loopback An12v to Ana1: Success!
CMU loopback testing An12v to Ana2...
Info: CMU Loopback An12v to Ana2: Success!
CMU loopback testing Open1 to In3...
Info: CMU Loopback Open1 to In3: Success!
CMU loopback testing Close1 to In4...
Info: CMU Loopback Close1 to In4: Success!
CMU loopback testing Open2 to In5...
Info: CMU Loopback Open2 to In5: Success!
CMU loopback testing Close2 to In6...
Info: CMU Loopback Close2 to In6: Success!
CMU loopback testing Re1+ to In1...
Info: CMU Loopback Re1+ to In1: Success!
CMU loopback testing Re2+ to In2...
Info: CMU Loopback Re2+ to In2: Success!
CMU RS485 loopback testing...
Info: CMU RS485 loopback test Success!

debugging devme log switch

Function

The debugging devme command enables or disables debugging on the DEVMEOP module.

Format

debugging devme log switch { on | off }

Parameters

Parameter Description Value
on

Enables debugging on the DEVMEOP module.

-

off

Disables debugging on the DEVMEOP module.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To open or close the diagnostic log for the Devmeop component in Diagnostic view, run the debugging devme command.

In VS mode, this command is supported only by the admin VS.

Example

# Enable debugging on the DEVMEOP module.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] debugging devme log switch on

debugging mbus state

Function

The debugging mbus command displays information about the board monitorbus.

Format

debugging mbus state slot slot-id

Parameters

Parameter Description Value
slot slot-id

Specifies the slot ID.

The value is a string of 1 to 30 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

This command can be executed when you need to view the information about the monitorbus of the board.

In VS mode, this command is supported only by the admin VS.

Example

# Display the value of the board specified node register.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] debugging mbus register slot 10 i2c 0 address 72 sensor-type 1 channel 0
Read register value: 34.
# Display information about the board monitorbus.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] debugging mbus state slot 1
----------------------------------------------
Type        : LPU
NodeID      : 0
SlotID      : 1
ChipType    : MBUS CHIP V200
BootVer     : 2.0
Roms        : 4
VltSns      : 36
TmpSns      : 11
Offline     : NOTPUSHED
Load        : NOTLOAD
Register    : REGISTER
Power       : ON
Work        : WORK
RegCnt      : 5
PwrCnt      : 5
RstCnt      : 5
RstRea      : MPURESET
Communicate : NORMAL
PWR_CTRLVer : 101
RamCheckRst : OK
----------------------------------------------
Table 2-1585 Description of the debugging mbus state command output
Item Description
Type

Board type.

NodeID

Node ID.

SlotID

Slot ID.

ChipType

Type of the mbus chip.

BootVer

Version number.

Roms

Number of Eeproms.

VltSns

Number of voltage nodes.

TmpSns

Number of temperature nodes.

Offline

Online status.

Load

Loading status.

Register

Registration status.

Power

Power supplying status.

Work

Working status.

RegCnt

Times of registration.

PwrCnt

Times of power off.

RstCnt

Times of resetting.

RstRea

Reason for resetting.

Communicate

Communication status.

display board

Function

The display board cpu core-information command displays the CPU core isolation information.

Format

For NE40E-X3, NE40E-X3A, NetEngine 40E-X8AK, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C:

display board slot slotid memory reserved-information

display board slot slotid cpu cpu-id core-information

display board slot slotid epld chip-id epld-reg address offset size size

display board slot slotid resvd-memory mem-type mem-index address offset size size

For NE40E-X3, NE40E-X3A, NetEngine 40E-X8AK, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C:

display board slot slotid cpu cpu-id cpu-reg address offset size size

display board slot slotid storage chip-id storage-data offset size size

For NE40E-X3, NE40E-X3A, NetEngine 40E-X8AK, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C:

display board slot slotid nvram-data address offset size size

For NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C:

display board slot slotid sata-information

For NE40E-X3, NE40E-X3A, NetEngine 40E-X8AK, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C:

display board slot slotid vrm

For NetEngine 40E-X8AK, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C:

display board slot slotid im-port statistics

Parameters

Parameter Description Value
slotid

Specifies a slot ID.

The value is a string of 1 to 128 characters.

cpu-id

Specifies a CPU chip ID.

The value is 0.

chip-id

Specifies the chip ID.

The value is an integer. The value range varies according to device hardware.

mem-index

Memory Type.

The value is an integer that ranges from 1 to 1024.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When CPU core isolation occurs, run the display board cpu core-information command to check the CPU core isolation information.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the CPU core isolation information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 6 cpu 0 core-information
Core 0: running
Core 1: running
Core 2: running
Core 3: running
Core 4: running
Core 5: running
Core 6: running
Core 7: running
Table 2-1586 Description of the display board command output
Item Description
Core 1:running

CPU number one:running.

display board slot ima-information

Function

The display board ima-information command displays the IMA information.

Format

display board slot slotid ima-information

Parameters

Parameter Description Value
slot slotid

Slot ID.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

You can run this command to query the number of measure log supported by a board.

Example

The actual command output varies according to the device. The command output here is only an example.

# Query the current board IMA information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 9 ima-information
The board ima-information: 
Sml number=1
Table 2-1587 Description of the display board slot ima-information command output
Item Description
The board ima-information

The ima-information of board.

Sml number

Number of stored measurement log.

display board admin-port

Function

The display board admin-port statistics command displays statistics about packets sent and received on network interfaces.

Format

display board slot slotid admin-port statistics

Parameters

Parameter Description Value
slot slotid

Specifies a slot ID.

The value is a string of 1 to 15 case-sensitive characters. It cannot contain spaces.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To query statistics about packets sent and received on network interfaces, run the display board admin-port statistics command. The command output helps you analyze and locate faults.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the statistics about packets sent and received on network interfaces.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 17 admin-port statistics
========================admin port statistics======================
Rx Num: 260879
Tx Num: 4797
Read Tail Drop: 253517
Write Err: 0
Rx Err: 0
Tx Err: 0
ToLDM Err: 0
NoToken Err: 0
==========================admin eth info===========================
 *************** basic info **************
 v8 mode                     : classis
 ls number                   : 1
 id:       0    1    2    3    4    5    6    7    8
 flag      1    0    0    0    0    0    0    0    0
 fatal error flag            : no
 netdev private data point   : not null
 v8 read queue point[0]      : not null
 v8 read queue point[1]      : null
 v8 read queue point[2]      : null
 v8 read queue point[3]      : null
 v8 read queue point[4]      : null
 v8 read queue point[5]      : null
 v8 read queue point[6]      : null
 v8 read queue point[7]      : null
 v8 read queue point[8]      : null
 linux_net_sw                : open
 linux_net_disable           : enable
 ************** circ buf info *************
 head:  784   0   0   0   0   0   0   0   0
 tail:  784   0   0   0   0   0   0   0   0
 cnt:     0   0   0   0   0   0   0   0   0
 space: 2047 2047 2047 2047 2047 2047 2047 2047 2047
 ********** port statisic record **********
 tx2OK                   : 0x12c0
 rx2v8 0:260880 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0
 rx2v8(all)              : 0x3fb10
 rx2up                   : 0x3fb10
 rx2linux                : 0xdc3
 rx circfull drop        : 0x0
 rx skbcp fail           : 0x0
 tx buff null            : 0x0
 tx alloc skb fail       : 0x0
 txfail                  : 0x0
 cp2usr_errcod0          : 0x0
 cp2usr_errcod1          : 0x0
 timer_cnt               : 0x0
 rstat_halt_cnt          : 0x0
 qhalt_event             : 0x0
 qhalt_rxcnt             : 0x0
 qhalt_CurRxBDStat       : 0x0
 bug104_cnt              : 0x0
 rev_hang                : 0x0
 phylink                 : 0x0
 rx2linuxdrp             : 0x455ef
 *********** rx shaping statis ***********
 rxshaping_work          : 0x1
 rxshaping_en            : 0x0
 rx_status               : 0x0
 rx_limit_flag           : 0x0
 rx_bc_num               : 0x0
 rx_bc_num_persec        : 0x0
 rx_bc_num_limit_persec  : 0x14
 rx_bcover_drop          : 0x0
 rx_pkt_num              : 0x0
 rx_pkt_num_persec       : 0x0
 rx_pkt_num_limit_persec : 0x7d0
 rx_totalpktover_drop    : 0x0
 rx_shaping_drop         : 0x0


============================eth drv info===========================
*************** eth drv info ***************
 admin eth fault            : normal
 admin eth rx Bytes         : 0x16f85af
 admin eth rx Pkts          : 0x3fb28
 admin eth rx BCastPkts     : 0x21cc4
 admin eth rx MCastPkts     : 0x1c985
 admin eth rx UCastPkts     : 0x14df
 admin eth rx ErrPkts       : 0x3de66
 admin eth tx Bytes         : 0x824c0
 admin eth tx Pkts          : 0x12c3
 admin eth tx BCastPkts     : 0x133
 admin eth tx MCastPkts     : 0x0
 admin eth tx UCastPkts     : 0x1190
 OpenDev Num                : 0x1
 CloseDev Num               : 0x0
 RdAbleErr Num              : 0x0
 RdErr Num                  : 0x3de66
 WrErr Num                  : 0x0
 MallocErr Num              : 0x0
 CopyFromUseErr Num         : 0x0
 PollY                      : 0x3de66
 PollCnt                    : 0x3e2ee
 Flag                       : 0x1
 PollErr                    : 0x3e2ee
 Readq                      : not null
 Autoneg                    : 0x1
 Speed                      : 0x2
 Duplex                     : 0x2
 Promisc                    : 0x0
 IsShut                     : 0x1
 Link                       : 0x1
 Mtu                        : 0x0
 Loopback                   : 0x0
 PhyCtllast                 : 0x0
 InPkts                     : 0x464e4
 OutPkts                    : 0x12cd
 InBytes                    : 0x1b25ded
 OutBytes                   : 0x87e63
 InBCastPkts                : 0x27828
 InMCastPkts                : 0x1d72f
 InUCastPkts                : 0x0
 OutBCastPkts               : 0x0
 OutMCastPkts               : 0x145
 OutUCastPkts               : 0x0
 InORErr                    : 0x0
 InErrCE                    : 0x0
 InErrSH                    : 0x0
 InErrLG                    : 0x0
 InFrgPkg                   : 0x0
 InUnderSize                : 0x0
 InOverSizePkg              : 0x0
 InCRC                      : 0x0
 InJabber                   : 0x0
 InResourceErr              : 0x0
 InErr                      : 0x0
 OutLCErr                   : 0x0
 OutURErr                   : 0x0
 OutRLErr                   : 0x0
 OutResourceErr             : 0x0
 OutErr                     : 0x0
 OutLowErr                  : 0x0
 TxDropped                  : 0x0
Table 2-1588 Description of the display board admin-port command output
Item Description
Rx Num

Number of received packets.

Rx Err

Number of error packets that are received and then processed.

Tx Num

Number of sent packets.

Tx Err

Number of error packets that are sent and processed.

Read Tail Drop

Number of error packets that are received and read.

Write Err

Number of sent error packets that are sent and written.

ToLDM Err

Number of LDM packets that fail to be sent.

NoToken Err

Number of packets without token information.

v8 Read queue point

V8 read queue pointer.

flag

Receive control flag.

fatal error flag

Fatal error flag.

netdev private data point

Private value pointer.

linux_net_sw

Linux network interface switch.

linux_net_disable

Whether the Linux interface is enabled.

tx2OK

Number of packets normally sent.

rx2v8

Number of packets received for V8.

rx2up

Number of packets received for the upper layer.

rx2linux

Number of packets received for the Linux interface.

rx circfull drop

Number of packets dropped by the circle buffer when the buffer is full.

rx skbcp fail

skbcopy failures in packet receiving.

tx buff null

Null buffer in packet sending.

tx alloc skb fail

Failed to apply for the SKB during packet sending.

txfail

Packet sending failures.

cp2usr_errcod0

Error 0 in the copy to the user state.

cp2usr_errcod1

Error 1 in the copy to the user state.

timer_cnt

Number of timeouts.

rstat_halt_cnt

Number of halts.

rev_hang

Number of received hangs.

phylink

Physical link status.

rx2linuxdrp

Number of dropped packets during the sending to the Linux interface.

rxshaping_work

Flow control state.

rxshaping_en

Flow control enabled.

rx_status

Receive status.

rx_limit_flag

Receive limit flag.

rx_bc_num

Received BC quantity.

rx_bc_num_persec

BC receive rate.

rx_bc_num_limit_persec

bc receive rate limit.

rx_bcover_drop

Number of packets dropped when the bc receive rate limit is exceeded.

rx_pkt_num

Number of received packets.

rx_pkt_num_persec

Packet receive rate.

rx_pkt_num_limit_persec

Limited rate of receiving packets.

rx_totalpktover_drop

Total number of dropped packets in the receive direction.

rx_shaping_drop

Number of dropped packets in the receive direction due to flow control.

admin eth fault

Management interface error flag.

admin eth rx Bytes

Number of bytes received by the management network interface.

admin eth rx Pkts

Number of packets received by the management network interface.

admin eth rx BCastPkts

Number of broadcast packets received by the management network interface.

admin eth rx MCastPkts

Number of multicast packets received by the management network interface.

admin eth rx UCastPkts

Number of unicast packets received by the management network interface.

admin eth rx ErrPkts

Number of error packets received by the management network interface.

admin eth tx Bytes

Number of bytes sent by the management network interface.

admin eth tx Pkts

Number of packets sent by the management network interface.

admin eth tx BCastPkts

Number of multicast packets sent by the management network interface.

admin eth tx MCastPkts

Number of unicast packets sent by the management network interface.

admin eth tx UCastPkts

Number of error packets sent by the management network interface.

OpenDev Num

Number of devices for which the management network interface is enabled.

CloseDev Num

Number of devices for which the management network interface is disabled.

RdAbleErr Num

Number of ABLE reading errors of the management network interface.

RdErr Num

Number of reading errors of the management network interface.

WrErr Num

Number of writing errors of the management network interface.

MallocErr Num

Number of memory application errors of the management network interface.

CopyFromUseErr Num

Copying errors from the user state of the management network interface.

PollY

PollY of the management network port.

PollCnt

Number of Polls for the management network interface.

Flag

Flag indicating the management network interface.

PollErr

Number of Poll errors of the management network interface.

Readq

Read queues of the management network interface.

Autoneg

Automatic neg for the management network interface.

Speed

Bandwidth of the management network interface.

Duplex

Duplex mode of the management network interface.

Promisc

Hybrid mode of the management network interface.

IsShut

Whether the management network interface is Down.

Link

Number of links of the management network interface.

Mtu

MTU of the management network interface.

Loopback

Loopback of the management network interface.

PhyCtllast

Control channel of the management network interface.

InPkts

Number of packets received by the management network interface.

OutPkts

Number of packets sent by the management network interface.

InBytes

Number of bytes received by the management network interface.

OutBytes

Number of bytes sent by the management network interface.

InBCastPkts

Number of incoming broadcast packets on the management network interface.

InMCastPkts

Number of incoming multicast packets on the management network interface.

InUCastPkts

Number of incoming unicast packets on the management network interface.

OutBCastPkts

Number of broadcast packets sent by the management network interface.

OutMCastPkts

Number of outgoing multicast packets on the management network interface.

OutUCastPkts

Number of outgoing unicast packets on the management network interface.

InORErr

Number of incoming OR errors on the management network interface.

InErrCE

Number of incoming CE errors on the management network interface.

InErrSH

Number of incoming SH errors on the management network interface.

InErrLG

Number of incoming LG errors on the management network interface.

InFrgPkg

Number of incoming FRG packets on the management network interface.

InUnderSize

InUnderSize information of the management network interface.

InOverSizePkg

InOverSizePkg information of the management network interface.

InCRC

Number of incoming CRC errors on the management network interface.

InJabber

Management network port InJabber.

InResourceErr

Number of incoming resource errors on the management network interface.

InErr

Number of incoming errors on the management network interface.

OutLCErr

Number of outgoing LC errors on the management network interface.

OutURErr

Number of outgoing UR errors on the management network interface.

OutRLErr

Number of outgoing RL errors on the management network interface.

OutResourceErr

Number of outgoing resource errors on the management network interface.

OutErr

Number of outgoing errors on the management network interface.

OutLowErr

Number of outgoing Low errors on the management network interface.

TxDropped

Number of packets dropped in the outbound direction by the management network interface.

head

Circle buffer header.

tail

Circle buffer tail.

cnt

Number of packets in the circle buffer.

space

Remaining space of the circle buffer.

admin_eth_info.res[0]

Whether memory is destroyed.

admin_eth_info.res[1]

Whether memory is destroyed.

admin_eth_info.res[2]

Whether memory is destroyed.

admin_eth_info.res[3]

Whether memory is destroyed.

display board cache reserved-information

Function

The display board cache reserved-information command displays the information about the CPU cache isolated.

Format

display board slot slot-id cache reserved-information

Parameters

Parameter Description Value
slot-id

ID of an available slot.

The value is a string of 0 to 255 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To display the information about the CPU cache isolated, run the display board cache reserved-information command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the information about the CPU cache isolated on the board in slot 1.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 1 cache reserved-information
cluster 0:
L3 cache isolate way: 1
L3 cache mbist result: 1
Table 2-1589 Description of the display board cache reserved-information command output
Item Description
L3 cache mbist result

Error result of the L3 cache MBIST detection.

L3 cache isolate way

Isolated way of the L3 cache.

display board counter

Function

The display board slot counter command displays the number of sent and received packets, including number of bytes, discarded packets, and error packets.

Format

display board slot slotid counter { forward-port | eth-port } [ portid ]

Parameters

Parameter Description Value
slotid

Specifies the slot ID.

The value is a string of 1 to 15 case-sensitive characters. It cannot contain spaces.

portid

Specifies the port ID.

The value is an integer ranging from 0 to 4294967295.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

The display board slot counter command is used to locate lost packets during production and temperature cycle test.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the number of sent and received packets, including number of bytes, discarded packets, and error packets.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 17 counter eth-port
port 0:
rx_bytes:                   160168  tx_bytes:                        0
rx_packets:                   2194  tx_packets:                      0
rx_errors:                       0  tx_errors:                       0
rx_dropped:                      0  tx_dropped:                      0
rx_fifo:                         0  tx_fifo:                         0
rx_missed:                       0  tx_carrier:                      0
rx_length:                       0  tx_aborted:                      0
rx_over:                         0  tx_window:                       0
rx_crc:                          0  tx_heartbeat:                    0
rx_frame_err:                    0  tx_collisions:                   0
rx_multicast:                  444
rx_compressed:                   0  tx_compressed:                   0
port 1:
rx_bytes:                 71393782  tx_bytes:                789428378
rx_packets:                 365646  tx_packets:                 701379
rx_errors:                       0  tx_errors:                       0
rx_dropped:                      0  tx_dropped:                      0
rx_fifo:                         0  tx_fifo:                         0
rx_missed:                       0  tx_carrier:                      0
rx_length:                       0  tx_aborted:                      0
rx_over:                         0  tx_window:                       0
rx_crc:                          0  tx_heartbeat:                    0
rx_frame_err:                    0  tx_collisions:                   0
rx_multicast:                 4301
rx_compressed:                   0  tx_compressed:                   0
Table 2-1590 Description of the display board counter command output
Item Description
port 0

Indicates port 0.

port 1

Port 1.

rx_packets

Number of received packets.

rx_bytes

Number of bytes in a received packet.

rx_errors

Number of packet receiving errors.

rx_dropped

Number of discarded received packets.

rx_fifo

Receive buffer.

rx_missed

Number of discarded received packets.

rx_over

Number of received oversized packets.

rx_frame_err

Number of received frame errors.

rx_length

Number of received length errors.

rx_crc

Number of received check errors.

rx_compressed

Number of received compressed packets.

tx_packets

Number of sent packets.

tx_bytes

Number of bytes in a sent packet.

tx_errors

Number of packet sending errors.

tx_dropped

Number of discarded sent packets.

tx_fifo

Send buffer.

display board cp2np-phy statistics backpressure

Function

The display board cp2np-phy statistics backpressure command displays backpressure and FIFO AFUL state information of the PHY chip between the CP and NP.

Format

display board slot slot-id cp2np-phy chip-id statistics backpressure

Parameters

Parameter Description Value
slot-id

Specifies a slot ID.

The value is a string of 0 to 255 case-sensitive characters, spaces not supported.

chip-id

Specifies a chip ID.

The value is an integer that ranges from 0 to 2.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To query backpressure and FIFO AFUL state information of the PHY chip between the CP and NP, run the display board cp2np-phy statistics backpressure command.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display backpressure and FIFO AFUL state information of the PHY chip between the CP and NP of the board in specific slot.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board  slot 17 cp2np-phy 0 statistics backpressure
The following are backpressure and fifo aful state.
---- backpressure ----------------------------------------------------------------------
SYS-MAC  -> IDIST 0x0400(bit 0-3:GEM2.0~3 4-7:GEM3.0~3 8:LXGEM0 9:XAUI1 10:ILK 11:XAUI0 12:XAUI2)
IOAM     -> IAGG  cur:0x00 his:0x00
LINE-MAC -> EDIST 0x0000(bit 0-3:GEM0.0~3 4-7:GEM1.0~3 8:GE0 9:GE1 10:XGEM0 11:XGEM1)
EOAM     -> EAGG  cur:0x00 his:0x00
---- fifo aful -------------------------------------------------------------------------
-------------------------------------------------------
IDIST FIFO AFULL                   cur    his
normal-ctrl-fifo(bit0-9:queue0-9): 0x0000 0x0000
normal-data-fifo(bit0-9:queue0-9): 0x0000 0x0000
hb-ctrl-fifo:                      0x00   0x00
hb-data-fifo:                      0x00   0x00
-----------------------------------------------------
IAGG FIFO AFULL
 cur    ctrl-fifo(his)  data-fifo(his)  ts-fifo(his)
gem0_0: 0x00(0x00)      0x00(0x00)      0x00(0x00)
gem0_1: 0x00(0x00)      0x00(0x00)      0x00(0x00)
gem0_2: 0x00(0x00)      0x00(0x00)      0x00(0x00)
gem0_3: 0x00(0x00)      0x00(0x00)      0x00(0x00)
gem1_0: 0x00(0x00)      0x00(0x00)      0x00(0x00)
gem1_1: 0x00(0x00)      0x00(0x00)      0x00(0x00)
gem1_2: 0x00(0x00)      0x00(0x00)      0x00(0x00)
gem1_3: 0x00(0x00)      0x00(0x00)      0x00(0x00)
ge0   : 0x00(0x00)      0x00(0x00)      0x00(0x00)
ge1   : 0x00(0x00)      0x00(0x00)      0x00(0x00)
xgem0 : 0x00(0x00)      0x00(0x00)      0x00(0x00)
xgem1 : 0x00(0x00)      0x00(0x00)      0x00(0x00)
loop  : 0x00(0x00)      0x00(0x00)
-----------------------------------------------------
EDIST FIFO AFULL        cur     his
ctrl-fifo-aful        : 0x0000  0x0000
data-fifo-aful0(pause): 0x0000  0x0000
data-fifo-aful1(pause): 0x0000  0x0000
data-fifo-aful2(drop) : 0x0000  0x0000
bit 0-3:GEM0.0~3 4-7:GEM1.0~3 8:GE0/XGEM0 9:GE1/XGEM1
-----------------------------------------------------
EAGG FIFO AFULL
 cur            ctrl-fifo(his)  data-fifo(his)
gem2_0:         0x00(0x00)      0x00(0x00)
gem2_1:         0x00(0x00)      0x00(0x00)
gem2_2:         0x00(0x00)      0x00(0x00)
gem2_3:         0x00(0x00)      0x00(0x00)
gem3_0:         0x00(0x00)      0x00(0x00)
gem3_1:         0x00(0x00)      0x00(0x00)
gem3_2:         0x00(0x00)      0x00(0x00)
gem3_3:         0x00(0x00)      0x00(0x00)
lxgem0/xaui0:   0x00(0x00)      0x00(0x00)
xaui1/xaui2/ilk:0x00(0x00)      0x00(0x00)
-----------------------------------------------------
Ohter state ---edist_data_fifo_unit_cnt---
gem0_0: 0x0000  gem0_1 : 0x0000 gem0_2 : 0x0000 
gem0_3: 0x0000  gem1_0 : 0x0000 gem1_1 : 0x0000
gem1_2: 0x0000  gem1_3 : 0x0000
ge0/xgem0: 0x0000  ge1/xgem1: 0x0000
--------------------------------------------------------
Table 2-1591 Description of the display board cp2np-phy statistics backpressure command output
Item Description
backpressure

Back pressure statistics.

display board cp2np-phy statistics io-cnt

Function

The display board cp2np-phy statistics io-cnt command displays the IO count of the PHY chip on the board.

Format

display board slot slot-id cp2np-phy chip-id statistics io-cnt

Parameters

Parameter Description Value
chip-id

Specifies a chip ID.

The value ranges from 0 to 2.

slot slot-id

Specifies a slot ID.

The value varies according to device hardware.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When the user needs to query the IO statistics count of the PHY chip on the board, this command can be executed.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the IO count of the PHY chip on the board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 1 cp2np-phy 0 statistics io-cnt
The following counters are in hex.
DeviceId[0]---------------------------------------------------
The following is the port counters-------------------------
iagg-in            |idist-out          |eagg-in            |edist-out
0x00000000 00007efe|0x00000000 00007efe|0x00000000 00007efe|0x00000000 00000000(TOTAL)
gem0_0: 0x0000      gem2_0: 0x0000      gem2_0: 0x0000      gem0_0: 0x0000
gem0_1: 0x0000      gem2_1: 0x0000      gem2_1: 0x0000      gem0_1: 0x0000
gem0_2: 0x0000      gem2_2: 0x0000      gem2_2: 0x0000      gem0_2: 0x0000
gem0_3: 0x0000      gem2_3: 0x0000      gem2_3: 0x0000      gem0_3: 0x0000
gem1_0: 0x0000      gem3_0: 0x0000      gem3_0: 0x0000      gem1_0: 0x0000
gem1_1: 0x0000      gem3_1: 0x0000      gem3_1: 0x0000      gem1_1: 0x0000
gem1_2: 0x0000      gem3_2: 0x0000      gem3_2: 0x0000      gem1_2: 0x0000
gem1_3: 0x0000      gem3_3: 0x0000      gem3_3: 0x0000      gem1_3: 0x0000
ge0   : 0x0000      lxgem0: 0x7efe      lxgem0: 0x7efe      ge0   : 0x0000
ge1   : 0x0000      xaui1 : 0x0000      xaui0 : 0x0000      ge1   : 0x0000
xgem0 : 0x0000      ilk   : 0x0000      xaui1 : 0x0000      xgem0 : 0x0000
xgem1 : 0x0000      xaui0 : 0x0000      xaui2 : 0x0000      xgem1 : 0x0000
loop  : 0x7efe      xaui2 : 0x0000      ilk   : 0x0000
The following is the drop counters-------------------------
IAGG
  pkt_drop_sch_cnt(<=256)   :0x0000
  pkt_tx_misem_cnt(eop miss):0x00
             gem0_0 gem0_1 gem0_2 gem0_3 gem1_0 gem1_1 gem1_2 gem1_3 ge0    ge1    xge0   xge1   loop
  err_cnt   :0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00
  err_reason:0x0    0x0    0x0    0x0    0x0    0x0    0x0    0x0    0x0    0x0    0x0    0x0    0x0
  err_reason:bit 0:miss_sop 4:miss_eop 8:fifo_aful_bp 12:oversize 16:undersize 20:correct_ssm_det
IDIST
             queue0 queue1 queue2 queue3 queue4 queue5 queue6 queue7 queue8 queue9
  drop_cnt  :0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00
  err_reason:0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00
  hb_drop_cnt  :0x00
  hb_err_reason:0x00
  err_reason   :bit 0:miss_sop 1:sop_continue 2:oversize 3:undersize 4:datafifoaful 5:err_tag
EAGG
  pkt_drop_sch_cnt(<=256)   :0x0000
  pkt_tx_misem_cnt(eop miss):0x00
  pkt_map_fail_cnt(err_chnl):0x0000
             gem2_0 gem2_1 gem2_2 gem2_3 gem3_0 gem3_1 gem3_2 gem3_3 lxgem0/xaui0 xaui1/xaui2/ilk
  drop_cnt  :0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00         0x00
  err_reason:0x0    0x0    0x0    0x0    0x0    0x0    0x0    0x0    0x0          0x0
  err_reason:bit 0:miss_sop 4:miss_eop 8:fifo_aful_bp 12:oversize 16:undersize 20:pause_det_unfilter
EDIST
             gem0_0 gem0_1 gem0_2 gem0_3 gem1_0 gem1_1 gem1_2 gem1_3 ge0/xgem0 ge1/xgem1
  drop_cnt  :0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00      0x00
  err_reason:0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00   0x00      0x00
  err_reason:bit 0:miss_sop 1:sop_continue 2:oversize 3:undersize 4:datafifoaful 5:err_tag
Table 2-1592 Description of the display board cp2np-phy statistics io-cnt command output
Item Description
err_reason

error reason.

display board cp2np-phy statistics mib

Function

The display board cp2np-phy statistics mib command displays the IO count of the PHY chip on the board.

Format

display board slot slot-id cp2np-phy chip-id statistics mib port-id

Parameters

Parameter Description Value
chip-id

Specifies a chip ID.

The value ranges from 0 to 2.

port-id

Specifies a port ID.

The value is an integer that ranges from 0 to 17.

slot slot-id

Specifies a slot ID.

The value varies according to device hardware.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When the user needs to query the IO statistics count of the PHY chip on the board, this command can be executed.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the IO count of the PHY chip on the board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 1 cp2np-phy 0 statistics mib 3
rx_byte              : 0x00000000 00000000.
 rx_packet            : 0x00000000 00000000.
 rx_byte_ok           : 0x00000000 00000000.
 rx_packet_ok         : 0x00000000 00000000.
 rx_byte_bad          : 0x00000000 00000000.
 rx_unicast           : 0x00000000 00000000.
 rx_multicast         : 0x00000000 00000000.
 rx_broadcast         : 0x00000000 00000000.
 rx_64_byte           : 0x00000000 00000000.
 rx_65to127_byte      : 0x00000000 00000000.
 rx_128to255_byte     : 0x00000000 00000000.
 rx_256to511_byte     : 0x00000000 00000000.
 rx_512to1023_byte    : 0x00000000 00000000.
 rx_1024to1518_byte   : 0x00000000 00000000.
 rx_1519to_max_byte   : 0x00000000 00000000.
 rx_pause             : 0x00000000 00000000.
 rx_fcs_errors        : 0x00000000 00000000.
 rx_jumbo_byte        : 0x00000000 00000000.
 rx_align_errors      : 0x00000000 00000000.
 rx_over_size         : 0x00000000 00000000.
 rx_jabber            : 0x00000000 00000000.
 rx_short             : 0x00000000 00000000.
 rx_symbol_h          : 0x00000000 00000000.
 rx_fragment          : 0x00000000 00000000.
 rx_under_size        : 0x00000000 00000000.
 tx_byte              : 0x00000000 00000000.
 tx_byte_ok           : 0x00000000 00000000.
 tx_packet_ok         : 0x00000000 00000000.
 tx_byte_bad          : 0x00000000 00000000.
 tx_unicast           : 0x00000000 00000000.
 tx_multicast         : 0x00000000 00000000.
 tx_broadcast         : 0x00000000 00000000.
 tx_64_byte           : 0x00000000 00000000.
 tx_65to127_byte      : 0x00000000 00000000.
 tx_128to255_byte     : 0x00000000 00000000.
 tx_256to511_byte     : 0x00000000 00000000.
 tx_512to1023_byte    : 0x00000000 00000000.
 tx_1024to1518_byte   : 0x00000000 00000000.
 tx_1519to_max_byte   : 0x00000000 00000000.
 tx_pause             : 0x00000000 00000000.
 tx_short             : 0x00000000 00000000.
 tx_crc_error         : 0x00000000 00000000.
 tx_dropped           : 0x00000000 00000000.
 tx_jumbo             : 0x00000000 00000000.
Table 2-1593 Description of the display board cp2np-phy statistics mib command output
Item Description
byte

byte.

display board cpu ecid

Function

The display board cpu ecid command displays CPU ECIDs on a board.

Format

display board slot slot-id cpu ecid

Parameters

Parameter Description Value
slot-id

Indicate the slot number.

The value is a string of 0 to 255 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

The display board cpu ecid command displays CPU ECIDs on a board.

Example

The actual command output varies according to the device. The command output here is only an example.

# Query the ecid of slot 1.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 1 cpu ecid
Slot 17 CPU chip version:
ECID(0) 0x8200d181
ECID(1) 0x18e82002
ECID(2) 0x22235070
ECID(3) 0x2d000000
ECID(4) 0x00000000
ECID(5) 0x00000000
ECID(6) 0x00000000
ECID(7) 0x00000000
Table 2-1594 Description of the display board cpu ecid command output
Item Description
ECID(0)

Slot ID of a board.

display board device-information

Function

The display board slot device-information command displays information saved in the board flash memory.

Format

display board slot slot-id device-information

Parameters

Parameter Description Value
slot slot-id

Displays a slot ID.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To view information saved in the board flash memory, run the display board slot <slot-id> device-information command. The command output includes packaging information, software package model, and product series.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information saved in the board flash memory.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 9 device-information
The board device-information: 
packinfo=2
product_service_type=18
product_family_type=2
Table 2-1595 Description of the display board device-information command output
Item Description
packinfo

Packaging information.

product_service_type

Software package model.

product_family_type

Product series, which is saved only in the flash memory of a main control board.

display board dimm-information

Function

The display board dimm-information command displays memory information in all DIMM slots on an MPU.

Format

display board slot slot-id dimm-information

Parameters

Parameter Description Value
slot-id

Specifies the slot ID of an installed board. The value varies according to router types.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To view memory information in all DIMM slots on an MPU, run the display board dimm-information command. Only MPUs with DIMM slots support this command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display memory information in all DIMM slots.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 9 dimm-information
Dimm-status information:
----------------------------------------------------------------------------
dimm#       Online      Size(M bytes)   Manufacture   Date(Week)  Serial
----------------------------------------------------------------------------
9/0         Present     2048            Ramaxel       2013-w16    10df4100
9/1         Absent      -               -             -           -
-----------------------------------------------------------------------------
Table 2-1596 Description of the display board dimm-information command output
Item Description
dimm#

DIMM slot ID.

Online

Online status.

Size(M bytes)

Size of the memory.

Manufacture

Manufacture.

Date(Week)

Manufacture date.

Serial

Serial ID.

display board driver

Function

The display board driver command displays the running status of the driver on the registered boards.

Format

display board slot slotid driver driverstr [ cpu cpu-id ]

Parameters

Parameter Description Value
slotid

Specifies the slot ID of a board.

The value range varies according to the device type.

driverstr

Commands supported by driver.

i2c common: displays basic I2C public information.

i2c statistics: displays I2C statistics.

i2c device: displays I2C device node information.

This command is used to display I2C driver node information.

This command is used to display basic public information about the local bus.

This command is used to display localbus device node information.

This command is used to display information about the localbus driver node.

smi common: displays basic smi public information.

smi device: displays the node information of the smi device.

smi driver: displays information about the smi driver node.

spi common: displays basic SPI public information.

spi device: displays SPI device node information.

This command is used to display SPI driver node information.

pll common: displays basic public information about the PLL.

pll reg <inst-id> <chip-id>: displays the PLL register information. inst-id indicates the board ID, and chip-id indicates the chip ID.

pll trace <inst-id> <chip-id> <dpll>: This command is used to display the PLL clock source selection information. inst-id indicates the board ID, chip-id indicates the chip ID, and dpll indicates the internal PLL ID of the PLL.

phy common: displays basic PHY public information.

The phy reg <chip-id> <port-id> command is used to display the PHY register information. chip-id indicates the chip ID, and port-id indicates the port ID.

avs common: displays basic AVS public information.

avs chip <inst-id> <chip-id>: displays the AVS chip information. inst-id indicates the board ID, and chip-id indicates the chip ID.

The avs bbox <inst-id> <chip-id> command is used to display AVS black box information. inst-id indicates the board ID, and chip-id indicates the chip ID.

rtc info: displays basic RTC public information.

cpld <inst-id> <chip-id> <mod-id>: This command is used to display CPLD register information. inst-id indicates the board ID, chip-id indicates the chip ID, and mod-id indicates the internal module ID of the CPLD.

cpldjtag common info: displays basic public information about cpldjtag.

temp common: displays basic common temp information.

temp chip <dev-num>: displays the temp chip information. dev-num indicates the chip ID.

volt common: This command is used to display basic volt public information.

volt chip <dev-num>: displays the volt chip information. dev-num indicates the chip ID.

The cdr interface config <chip-id> <inf-id> <inf-rate> command is used to display the CDR port configuration information. chip-id indicates the chip ID, inf-id indicates the port ID, and inf-rate indicates the port rate.

The cdr interface status <chip-id> <inf-id> <inf-rate> command is used to display the CDR port status. chip-id indicates the chip ID, inf-id indicates the port ID, and inf-rate indicates the port rate.

The cdr interface snr <chip-id> <inf-id> <inf-rate> command is used to display the SNR of a CDR port. chip-id indicates the chip ID, inf-id indicates the port ID, and inf-rate indicates the port rate.

The cdr interface ffeq <chip-id> <chnl-id> <dir> command is used to display the FFEQ parameter information of a CDR port. chip-id indicates the chip ID, chnl-id indicates the channel ID, and dir indicates the direction.

The cdr chip temperature <chip-id> <temp-id> command is used to display the CDR temperature information. chip-id indicates the chip ID, and temp-id indicates the internal temperature point of the chip.

The cdr chip reg read <chip-id> <dfx-type> <module-type> <module-id> command is used to display CDR register information. chip-id indicates the chip ID, dfx-type indicates the detection type, module-type indicates the module type, and module-id indicates the sub-module ID.

The mac-chip status <chip-id> <start-index> <status-num> command is used to display the register information of a MAC chip. chip-id indicates the chip ID, start-index indicates the start address, and status-num indicates the number of registers to be read.

mac-chip io <chip-id>: displays the overall fault information about a MAC chip. chip-id specifies the chip ID.

mac-chip serdes cs <chip-id> <serdes-id>: displays the overall parameters and status of the SerDes of the MAC chip. chip-id indicates the chip ID, and serdes-id indicates the SerDes ID.

mac-chip serdes tx <chip-id> <serdes-id>: displays the sending parameters and status of the SerDes of the MAC chip. chip-id indicates the chip ID, and serdes-id indicates the SerDes ID.

mac-chip serdes rx <chip-id> <serdes-id>: displays the receive parameters and status of the SerDes of a MAC chip. chip-id indicates the chip ID, and serdes-id indicates the SerDes ID.

mac-chip serdes digit-eye <chip-id> <serdes-id>: displays the eye pattern of a MAC chip. chip-id indicates the chip ID, and serdes-id indicates the SerDes ID.

mac-chip mib <chip-id> <port-id> <port-type> <dir>: This command is used to display the count of a MAC chip. chip-id indicates the chip ID, port-di indicates the port number, port-type indicates the port type, and dir indicates the direction.

optical dfx info read <inst-id> <package-type> <panel-port>: displays the diagnostic information about the optical module. inst-id indicates the board ID, package-type indicates the encapsulation type, and panel-port indicates the sequence number of the port in the encapsulation type.

flash nor statistics: displays the count information about the NOR flash.

flash nand statistics: displays the count information about the NAND flash.

flash nand part-info: displays the partition information of the NAND flash.

flash cpldsfc: displays the controller information of the CPLD SFC.

flash sfc <inst id>: displays the information about the SFC controller. inst-id indicates the board ID.

switch port-status <inst-id> <chip-id> <port-id>: displays the port status of the LAN switch chip. inst-id indicates the board ID, chip-id indicates the chip ID, and port-id indicates the port ID.

switch port-mib <inst-id> <chip-id> <port-id>: displays the count of LAN switch chip ports. inst-id indicates the board ID, chip-id indicates the chip ID, and port-id indicates the port ID.

switch serdes-config <inst-id> <chip-id> <port-id>: This command is used to display the SerDes parameter settings of a LAN switch chip port. inst-id indicates the board ID, chip-id indicates the chip ID, and port id indicates the port ID.

switch serdes-eye <inst-id> <chip-id> <port-id> <lane-id>: displays the SerDes eye pattern information of a LAN switch chip port. inst-id indicates the board ID, chip-id indicates the chip ID, port-id indicates the port ID, and lane-id indicates the link ID.

switch vlan-info <inst-id> <chip-id> <vlan-id>: displays the information about a single VLAN of the LAN switch chip. inst-id indicates the board ID, chip-id indicates the chip ID, and vlan-id indicates the VLAN ID.

switch vlan-all <inst-id> <chip-id>: displays all VLAN information about the LAN switch chip. inst-id indicates the board ID, and chip-id indicates the chip ID.

switch mac-table <inst-id> <chip-id>: displays the MAC entry information of the LAN switch chip. inst-id indicates the board ID, and chip-id indicates the chip ID.

chip9xxx info <inst-id> <chip-id> displays the information about the 9xxx chip. inst-id indicates the board ID, and chip-id indicates the chip ID.

clusterport all: displays information about all cascading ports.

clusterport port <port-id>: displays information about a specified cascade port.

console info: displays console interface information.

This command is used to display management Ethernet information.

This command is used to display the physical information about the management Ethernet.

This command is used to display management Ethernet statistics.

wwan info <module-id> <file-index>: displays basic information about the WWAN module. module-id specifies the module ID, and file-index specifies the information ID.

wwan forward info <file-index>: displays information about the transparent transmission module. file-index specifies the information ID.

wwan pcie info <file-index>: displays the PCIe bus information. file-index indicates the information ID.

wwan usb info <file-index> <channel-id> displays the USB bus information. file-index indicates the information ID, and channel-id indicates the channel ID.

Run the wdt runtime command to display the watchdog runtime information.

wdt last: displays the last watchdog reset information.

intr runtime: displays interrupt running information.

intr cfg: displays the interrupt configuration.

intr virq <virq-id>: displays the status of the interrupt virq. virq-id indicates the interrupt ID.

intr index-type <index-id> <type> displays the status of the interrupt index_type. index-id indicates the interrupt sequence number, and type indicates the interrupt type.

The intr monitor command is used to display interruption monitoring information.

log common: displays common log information.

log connection: displays log connection information.

The log mring-info command is used to display log buffer information.

The log diag-cnt command is used to display log diagnosis counts.

mcu info: displays MCU information.

The fan driver command is used to display fan driver information.

fan common <slot-id>: displays the basic running information about the fan. slot-id specifies the slot number.

This command is used to display fan CPLD register information.

fan eeprom <slot-id>: displays the data stored on the EEPROM chip of the fan module. slot-id specifies the slot ID.

power common: displays the basic running information about the power supply.

power config: displays the power supply configuration.

The power eeprom-chip command displays the data stored in the EEPROM chip of the power module.

The power power-chip command displays the register information of a chip on a power module.

backplane info: displays backplane management information.

board info: displays board management information.

version: displays the version information.

card info <card-id>: displays subcard information. card-id specifies the subcard ID.

elabel info: displays elabel information.

elabel runtime: displays elabel runtime information.

elabel cfg: displays the elabel configuration.

elabel hardware: displays the elabel data in the hardware.

elabel single-info <inst-id> <elabel-id>: displays information about a specified electronic label. inst-id specifies the slot ID of the board, and elabel-id specifies the electronic label ID.

elabel single-hardware <inst-id> <elabel-id> displays specific elabel data in the hardware. inst-id specifies the board ID, and elabel-id specifies the elabel ID.

mac board: This command is used to display the MAC address of a board.

mac card <card-id>: displays the MAC address of a subcard. card-id specifies the subcard number.

mac cfg: This command is used to display MAC configuration information.

mac type: displays the MAC address type.

msc info <swiTch-mode>Displays the master/slave switchover information. switch-mode indicates the master/slave switchover type.

The reset-mng command is used to display reset information about the local board.

cpu-reset-reason <cpu-id> <index>: displays the cause of the CPU reset. cpu-id indicates the CPU ID, and index indicates the reset index.

sata info: displays SATA hardware information.

usb info: displays USB hardware information.

woffline: displays micro switch information.

slave-cpu info <cpu-id> <module>: displays information about the slave CPU. cpu-id specifies the slave CPU ID, and module specifies the CPU module ID.

cpu get info <cmd> <module> <devid> <offset> <length> displays the CPU information. cmd indicates the command word, module indicates the module name, devid indicates the device ID, offset indicates the offset address of the register, and length indicates the read length. The value range of <cmd>/<module> can be obtained by entering 0xFFFF in the command output.

cpu-id

The target CPU id.

The value is an integer that ranges from 1 to 255 and varies according to router hardware.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When users need to know the running status of the driver on the registered boards, they can use this command.

Example

The actual command output varies according to the device. The command output here is only an example.

# display the version information of driver.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 9 driver "version"
Starry version:Starry V100R019C000B59a
Table 2-1597 Description of the display board driver command output
Item Description
Starry version

Driver Version.

display board ecc-information

Function

The display board ecc-information command displays ECC statistics on CPU DDR interfaces.

The display board ecc-information command displays ethtool information.

Format

display board slot slotid ecc-information

display board slot slotid ethtool ethtoolpara

Parameters

Parameter Description Value
slot slotid

Slot number, according to the different hardware have different values.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

ethtoolpara

Ethtool information para,according to the different hardware have different values.

The value is a string of 1 to 54 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

If a board fails, run the display board slot <slot-id> ecc-information command to check ECC statistics and historical records on the board to determine whether the board's memory failed.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display ethtool information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] disp board slot 17 ethtool "--version"
ethtool version 4.8
# Display ECC statistics on a board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 1 ecc-information
DDR:
Current Counter: 7
History:
         ID         Time               Counter    Fault address  ReadData    ExpectData
------------------------------------------------------------------------------------------------------
         21  2020-05-20 15:28:44         20       0x0c0000000b   0x00000000  0x00000000
         22  2020-05-20 15:28:45         20       0x0c0000000b   0x00000000  0x00000000
         23  2020-05-20 15:28:46         20       0x0c0000000b   0x00000000  0x00000000
         24  2020-05-20 15:28:47         20       0x0c0000000b   0x00000000  0x00000000
         25  2020-05-20 15:28:48         20       0x0c0000000b   0x00000000  0x00000000
         26  2020-05-20 15:28:49         20       0x0c0000000b   0x00000000  0x00000000
         27  2020-05-20 15:28:50         20       0x0c0000000b   0x00000000  0x00000000
------------------------------------------------------------------------------------------------------
L1Cache:
Current Counter: 0
History:
    ID       Time                 Counter        Fault address      Info    Attributes
------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------
L2Cache:
Current Counter: 0
History:
    ID       Time                 Counter        Fault address      Info    Attributes
------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------
CPC:
Current Counter: 0
History:
    ID       Time                 Counter        Fault address      Info    Attributes
------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------
# Display the ECC statistics of a board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 1 ecc-information
DDR:
Current Counter: 7
History:
         ID         Time               Counter    Fault address  ReadData    ExpectData
------------------------------------------------------------------------------------------------------
         21  2020-05-20 15:28:44         20       0x0c0000000b   0x00000000  0x00000000
         22  2020-05-20 15:28:45         20       0x0c0000000b   0x00000000  0x00000000
         23  2020-05-20 15:28:46         20       0x0c0000000b   0x00000000  0x00000000
         24  2020-05-20 15:28:47         20       0x0c0000000b   0x00000000  0x00000000
         25  2020-05-20 15:28:48         20       0x0c0000000b   0x00000000  0x00000000
         26  2020-05-20 15:28:49         20       0x0c0000000b   0x00000000  0x00000000
         27  2020-05-20 15:28:50         20       0x0c0000000b   0x00000000  0x00000000
------------------------------------------------------------------------------------------------------
L1Cache:
Current Counter: 0
History:
    ID       Time                 Counter        Fault address      Info    Attributes
------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------
MCE:
Current Counter: 0
History:
    ID       Time                 Counter        Fault address      Info    Attributes
------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------
L2Cache:
Current Counter: 0
History:
    ID       Time                 Counter        Fault address      Info    Attributes
------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------
CPC:
Current Counter: 0
History:
    ID       Time                 Counter        Fault address      Info    Attributes
------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------
Table 2-1598 Description of the display board ecc-information command output
Item Description
Current Counter

Current statistics.

ID

Record number.

Time

Time when the ECC error occurred.

Counter

ECC error type and count.

Fault address

Memory address where the ECC error occurred.

ExpectData

Indicates the expected value.

Info

Information about the read data and expected data.

Attributes

Register information.

Readdata

Indicates the value read this time.

DDR

Dual data rate.

L1Cache

Level 1 Cache.

L2Cache

Level 2 Cache.

MCE

Machine check exception.

CPC

Command per clock.

display board flag

Function

The display board flag command displays whether the SDRAM and flash checks are performed when a board is started.

Format

display board slot slotid { ram-test-flag | flash-test-flag }

Parameters

Parameter Description Value
slotid

Specifies the slot ID of a board.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

ram-test-flag

Indicates the SDRAM check flag, which sets whether SDRAM check is performed when a board is started.

-

flash-test-flag

Indicates the flash check flag, which sets whether flash check is performed when a board is started.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

You can run the display board flag command to perform the SDRAM and flash checks.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display whether the FLASH memory is checked during startup of a board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display  board slot 17 flash-test-flag
Info: flash_post display flag: 1
# Display whether the SDRAM is checked during startup of a board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display  board slot 17 ram-test-flag
Info: ram_post display flag: 0
Table 2-1599 Description of the display board flag command output
Item Description
ram_post display flag

Display whether the sdram check is performed when the board is started,0 no check 1 check.

flash_test_flag

Display whether the flash check is performed when the board is started,0 not check ;1 check.

display board fmea-counter

Function

The display board fmea-counter command displays FMEA statistics on a board or subcard.

Format

display board slot slot-id fmea-counter [ card card-id ]

Parameters

Parameter Description Value
slot-id

Specifies the slot ID of a board.

The value is a string of 1 to 50 case-sensitive characters, spaces not supported.

card-id

Specifies the ID of a subcard.

The value is an integer that ranges from 1 to 16 .

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To check FMEA statistics on a board or subcard, run the display board fmea-counter command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display FMEA statistics on a board or subcard.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 17 fmea-counter
----------------------------------------------------------------------------------------
Name      CurrentErrCnt     ErrCntIn30Days   ErrCntOut30Days
------------------------------------------------------------------------------------------
40MCLK      123                   456             789
MemEcc      123                   456             789 
CacheEcc    123                   456             789
Table 2-1600 Description of the display board fmea-counter command output
Item Description
CurrentErrCnt

Number of current FMEA errors.

ErrCntIn30Days

Number of FMEA errors in 30 days.

ErrCntOut30Days

Number of FMEA errors over 30 days.

display board io-information

Function

The display board io-information command displays common interface status.

Format

display board slot slot-id io-information

Parameters

Parameter Description Value
slot slot-id

Slot number, according to the different hardware have different values.

The value is a string of 0 to 255 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When you need to query common port status information, you can run this command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display common interface status.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 17 io-information
i2c status:00000000  00020000 00048000 00056000
lbc status:00000000  00020000 00048000 00056000
mdio status:00000000  00020000 00048000 00056000
PLL status:00000000  00020000 00048000 00056000
sllc status:00000000  00020000 00048000 00056000
CrossStation status:00000000  00020000 00048000 00056000
Dispatch status:00000000  00020000 00048000 00056000
Scheduler status:00000000  00020000 00048000 00056000
Table 2-1601 Description of the display board io-information command output
Item Description
i2c status

Indicates the status and configuration information of the I2C module.

lbc status

Indicates the status and configuration information of the local bus module.

mdio status

Indicates the status and configuration information of the mdio module.

PLL status

Indicates the status information of the CPU internal clock PLL.

sllc status

Indicates internal bus sllc module status information.

CrossStation status

Indicates the internal bus cross module status information.

Dispatch status

Indicates internal bus dispatch module status information.

Scheduler status

Indicates internal bus scheduler module status information.

display board pcie-information

Function

The display board pcie-information command displays status about the PCIE controller and bridge chips.

Format

For NE40E-X3, NE40E-X3A, NetEngine 40E-X8AK, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C:

display board slot slot-id pcie-information status

For NetEngine 40E-X8AK, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C:

display board slot slot-id pcie-information [ port port-id ] { register | status }

For NE40E-X3, NE40E-X3A, NetEngine 40E-X8AK, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C:

display board slot slot-id pcie-information [ port port-id ] status

Parameters

Parameter Description Value
status

Specifies the status of controller.

-

slot slot-id

Specifies the slot ID of a board.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

port port-id

Specifies an interface number.

The value is a string of 0 to 3 case-sensitive characters, spaces not supported.

register

Specifies the register information of controller.

NOTE:

This parameter is supported only on the NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C and NetEngine 40E-X8AK.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

To check status about the PCIE controller and bridge chips, run the display board pcie-information command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the status of the PCIe controller of the board in slot 9.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 9 pcie-information status
Pcie information:
----------------------------------------------
Name    Lane    Speed   TLPErrCnt  DLLPErrCnt
----------------------------------------------
5873A   x1      2.5Gbps 0          0
LOGIC   x1      2.5Gbps 0          0
5873B   x1      2.5Gbps 16         0
----------------------------------------------
Table 2-1602 Description of the display board pcie-information command output
Item Description
Name

Device name.

Lane

Indicates the link bandwidth.

Speed

Link rate.

TLPErrCnt

Error count. NA indicates that the count is not supported.

DLLPErrCnt

Error count. NA indicates that the count is not supported.

display board phy-reg address size

Function

The display board phy-reg address size command is used to check the PHY register information on the board.

Format

display board slot slot-id phy chip-id phy-reg address addr size size

Parameters

Parameter Description Value
phy chip-id

Indicates the PHY register ID.

The value is an integer that ranges from 0 to 2.

address addr

Indicates the start address.

The value is an integer that ranges from 0 to 1000000.

size size

Indicates the size of the register.

The value ranges from 1 to 100, in hexadecimal notation.

slot slot-id

Slot number, according to the different hardware have different values.

The value is a string of 0 to 255 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When you need to check the PHY register information on the board, you can execute this command.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Check the PHY register information on the board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 17 phy 0 phy-reg address 0 size 50
0x00000000: 0x00000020 0x80212050 0x00000284 0x00000000
0x00000010: 0x00000000 0x00000000 0x00000000 0x00000000
0x00000020: 0x00000001 0x00000007 0x00000000 0x00000000
0x00000030: 0x00000000 0x00000000 0x00000000 0x00000000
0x00000040: 0x00000000 0x00010000 0x5a5a5a5a 0x84701020
Table 2-1603 Description of the display board phy-reg address size command output
Item Description
phy-reg

Phy register.

display board serdes

Function

The display board serdes command displays sending and receiving parameters of the Serdes link between the CPU and NP on an NPU480.

Format

display board slot slot-id serdes cp2np-phy chip-id { tx | rx }

Parameters

Parameter Description Value
slot-id

Specifies the slot ID of a board.

The value is a string of 0 to 255 case-sensitive characters, spaces not supported.

chip-id

Specifies the chip ID.

The value is an integer that ranges from 0 to 2 .

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

The display board serdes command displays sending and receiving parameters of the Serdes link between the CPU and NP on an NPU480.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display sending and receiving parameters of the Serdes.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 9 serdes cp2np-phy 0 tx
CPU INFO:
SERDES0: PRE1(0x00000003) MAIN(0x7f6ec8d0) POST1(0x0000007f)
SERDES1: PRE1(0x00000003) MAIN(0x7f6ec8d0) POST1(0x0000007f)
ALPHA_LOGIC INFO:
SERDES0: TXDIFFCTRL(0x0000000f) TXPOSTCURSOR(0x00000005) TXPRECURSOR(0x00000001)
SERDES1: TXDIFFCTRL(0x0000000f) TXPOSTCURSOR(0x00000005) TXPRECURSOR(0x00000001)
SERDES2: TXDIFFCTRL(0x0000000c) TXPOSTCURSOR(0x00000000) TXPRECURSOR(0x00000000)
SERDES3: TXDIFFCTRL(0x0000000c) TXPOSTCURSOR(0x00000000) TXPRECURSOR(0x00000000)
SERDES4: TXDIFFCTRL(0x0000000c) TXPOSTCURSOR(0x00000000) TXPRECURSOR(0x00000000)
SERDES5: TXDIFFCTRL(0x0000000c) TXPOSTCURSOR(0x00000000) TXPRECURSOR(0x00000000)
SERDES6: TXDIFFCTRL(0x0000000c) TXPOSTCURSOR(0x00000000) TXPRECURSOR(0x00000000)
SERDES7: TXDIFFCTRL(0x0000000c) TXPOSTCURSOR(0x00000000) TXPRECURSOR(0x00000000)
SERDES8: TXDIFFCTRL(0x0000000c) TXPOSTCURSOR(0x00000000) TXPRECURSOR(0x00000000)
SERDES9: TXDIFFCTRL(0x0000000c) TXPOSTCURSOR(0x00000000) TXPRECURSOR(0x00000000)
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 9 serdes cp2np-phy 0 rx
CPU INFO:
SERDES0: PWRDB(0x00) MVTAPPWRDB(0x00) FXTAP0(0x00) FXTAP1(0x00)FXTAP2(0x00) FXTAP3(0x00) FXTAP4(0x00) MVTAP0(0x00) MVTAP1(0x00)MVTAP2(0x00) MVTAP3(0x00) MVTAP4(0x00) MVTAP5(0x00)
SERDES1: PWRDB(0x00) MVTAPPWRDB(0x00) FXTAP0(0x00) FXTAP1(0x00)FXTAP2(0x00) FXTAP3(0x00) FXTAP4(0x00) MVTAP0(0x00) MVTAP1(0x00)MVTAP2(0x00) MVTAP3(0x00) MVTAP4(0x00) MVTAP5(0x00)
ALPHA_LOGIC INFO:
SERDES0: RXLPMEN(0x00000001)
SERDES1: RXLPMEN(0x00000001)
SERDES2: RXLPMEN(0x00000001)
SERDES3: RXLPMEN(0x00000001)
SERDES4: RXLPMEN(0x00000001)
SERDES5: RXLPMEN(0x00000001)
SERDES6: RXLPMEN(0x00000001)
SERDES7: RXLPMEN(0x00000001)
SERDES8: RXLPMEN(0x00000001)
SERDES9: RXLPMEN(0x00000001)
---------------------------------------------
Table 2-1604 Description of the display board serdes command output
Item Description
serdes0

Indicates the serdes0 parameter of the board on the device.

display board sfp-information

Function

The display board sfp-information command displays information about the SFP modules (including optical and electrical modules).

Format

display board slot slot-id sfp-information [ port port-id ]

Parameters

Parameter Description Value
slot-id

Specifies the slot ID of an installed board. The value varies according to router types.

The value is a string of 1 to 15 case-sensitive characters. It cannot contain spaces.

port port-id

Specifies the port ID of an installed board. The value varies according to router types.

The value is an integer ranging from 0 to 16.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To view information about the SFP modules (including optical and electrical modules), run the display board sfp-information command. Only boards with SFP modules support this command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about the SFP module on a specified board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 17 sfp-information
=============================================================================== 
Optical Transceiver Base Information 
=============|================================================================= 
port 0  base-info 
-------------|-----------------------------------------------------------------
Vendor PN                   : LTF8502-BC+     
Vendor SN                   : U7M99M73682     
Vendor Name                 : Hisense         
Transceiver Maximal BW      : 10G 
Transceiver Mode            : MultiMode 
WaveLength                  : 850nm 
Transceiver Distance        : 300m 
The Optical Match Result    : Normal
-------------|-----------------------------------------------------------------
                       Value   HighAlarm HighWarn LowWarn LowAlarm Status
-------------|-----------------------------------------------------------------
Temperature(C)         28.070  80.000    70.000   0.000   -10.000 Normal  
Supply Voltage(V)      3.307   3.630     3.465    3.135   2.970   Normal  
Tx Bias(mA)            0.000   20.000    15.000   1.000   1.000   LowAlarm
Tx Power(avg mW)       0.000   1.259     0.794    0.186   0.118   LowAlarm
Rx Power(avg mW)       0.000   1.259     0.794    0.102   0.065   LowAlarm
=============|================================================================= 
    
===============================================================================
Port 1   Optical transceiver is offline
===============================================================================
Table 2-1605 Description of the display board sfp-information command output
Item Description
Transceiver Maximal BW

Indicates the maximum SFP bandwidth.

Transceiver Mode

Indicates the SFP mode.

Transceiver Distance

Transmission distance of an optical module.

Vendor SN

Serial number of the SFP module.

Vendor PN

Indicates the PN of the SFP module.

Vendor Name

Vendor name.

WaveLength

Indicates the wavelength.

The Optical Match Result

Indicates the matching result of the SFP optical module.

display board slot abnormal-reset-info

Function

The display board slot abnormal-reset-info command is used to view abnormal reset information about the board.

Format

For NE40E-X3, NE40E-X3A, NetEngine 40E-X8AK, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C:

display board slot slotid abnormal-reset-info [ info-index ]

For NetEngine 40E-X8AK, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C:

display board slot slotid flash flash-id

Parameters

Parameter Description Value
info-index

Indicates the information index.

The value is an integer that ranges from 1 to 10 .

slot slotid

Indicates the slot number.

The value is a string of 0 to 255 case-sensitive characters, spaces not supported.

flash-id

Flash sector index.

NOTE:

This parameter is supported only on the NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C and NetEngine 40E-X8AK.

The value is an integer that ranges from 0 to 255 .

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When you need to check the board reset information, you can run this command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Displays the flash memory information of the MPU.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 9 flash 255
------------------------------------------------
Flash block :255
main sector erase num :N/A.
backup sector erase num :N/A.
main sector write_err num :N/A.
backup sector write_err num :N/A.
main sector read_err num :N/A.
backup sector read_err num :N/A.
------------------------------------------------
# Displays abnormal reset information of Index 2 about the board. (Abnormal)
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 1 abnormal-reset-info 2
2017-09-16 19:46:20
reason : 0x48494552
sub_mod : 0x00000000
class_type : 0x00000000
type : 0x00000000
detail : reset0:0x7B;reset1:0x77;reset2:0x77
2017-09-12 11:50:30
reason : 0x48494552
sub_mod : 0x00000000
class_type : 0x00000000
type : 0x00000000
detail : reset0:0x77;reset1:0x77;reset2:0x77
# Displays abnormal reset information about the board. (Abnormal)
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 1 abnormal-reset-info
2017-09-16 19:46:20
reason : 0x48494552
sub_mod : 0x00000000
class_type : 0x00000000
type : 0x00000000
detail : reset0:0x7B;reset1:0x77;reset2:0x77
# Displays abnormal reset information about the board. (Normal)
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 1 abnormal-reset-info
Info: abnormal reset info is null
Table 2-1606 Description of the display board slot abnormal-reset-info command output
Item Description
reason

Indicates the reset code.

sub_mod

Indicates the alarm sub-module.

class_type

Indicates the fault category.

type

Indicates the fault subtype.

detail

Indicates the reset cause description.

display board slot block-info

Function

The display board slot block-info command displays exception information about the flash memory to help locate and analyze faults.

Format

display board slot slot-id block-info

Parameters

Parameter Description Value
slot slot-id

Specifies the slot ID where a board resides.

The value range varies according to device hardware.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To check exception information about the flash memory, run the display board slot <slot-id> block-info command. The command output helps locate and analyze faults.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display exception information about the flash memory.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 1 block-info
Current Counter: 8
History:
0000000107E60107110C19000000600000000000000016
0000000207E60107110C19000004600000000000000016
0000000307E60107110E19000000600000005800000058
0000000407E60107110E19000004600000005800000058
0000000507E60107111019000000600000002100000079
0000000607E60107111019000004600000002100000079
0000000707E60107111219000000600000000000000079
0000000807E60107111219000004600000000000000079
Table 2-1607 Description of the display board slot block-info command output
Item Description
Current Counter

Indicates the number of faults during the current power-on.

History

Indicates the exception information about the flash memory. Each piece of data contains 46 bits. Bits 1 to 8 indicate the index, bits 9 to 12 indicate the year, bits 13 to 14 indicate the month, bits 15 to 16 indicate the day, bits 17 to 18 indicate the hour, bits 19 to 20 indicate the minute, bits 21 to 22 indicate the second, and bits 23 to 30 indicate the block ID, bits 31 to 38 indicate the count within one hour, and bits 39 to 46 indicate the count within one day.

display board slot clock-chip

Function

The display board slot clock-chip command is used to query the register information of board clock chip.

Format

display board slot slotid clock-chip chip-id reg address offset size size

Parameters

Parameter Description Value
clock-chip chip-id

Indicates that the clock chip ID.

The value is an integer that ranges from 0 to 1024 .

reg

Indicates the register.

-

address offset

Indicates the offset address.

The value ranges is 0 to ffffffff , in hexadecimal notation.

size size

Indicates the size of the read address.

The value ranges is 1 to 100 , in hexadecimal notation.

slot slotid

Indicates the slot number.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When you need to query the register information of board clock chip, you can run this command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Displays the register information of board clock chip.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 1 clock-chip 0 reg address 10 size 30
0x00000010: 0x01 0x00 0x00 0x44 0x04 0x03 0x0f 0x1c 0xbb 0x44 0x4f 0x06 0x00 0x00 0x00 0x00
0x00000020: 0x01 0x0f 0x00 0xba 0x0b 0x00 0x00 0x00 0x00 0x00 0x00 0x02 0x04 0x10 0x00 0x00
0x00000030: 0x00 0x00 0xed 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xed 0x00 0x00 0x00 0x00 0x44
Table 2-1608 Description of the display board slot clock-chip command output
Item Description
address

address.

display board slot expara-version

Function

The display board expara-version command displays parameter version information.

Format

display board slot slotid expara-version

Parameters

Parameter Description Value
slot slotid

Slot ID.

The value is a string of 1 to 15 case-sensitive characters. It cannot contain spaces.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

You can run this command to view parameter version information.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display parameter version information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 1 expara-version
Version:	0x6f994113; 2022, 523
File Num:	4
Board ID:	0x900037fc
Card ID:	0x0, 0x0
Table 2-1609 Description of the display board slot expara-version command output
Item Description
File num

Number of parameter information files.

Board ID

Board ID.

Card ID

Fixed card ID.

Version

Parameter version information.

display board slot pcie-switch

Function

The display board slot pcie-switch command is used to view the register information of pcie bridge chip.

Format

display board slot slotid pcie-switch chip-id port port-id reg address offset size size

Parameters

Parameter Description Value
pcie-switch chip-id

Indicates the pcie bridge chip register ID.

The value is an integer that ranges from 0 to 1024 .

port port-id

Indicates the port ID.

The value is an integer that ranges from 0 to 15 .

reg

Indicates the register.

-

address offset

Indicates the offset address.

The value ranges is 0 to ffffffff , in hexadecimal notation.

size size

Indicates the size of the read address.

The value ranges is 1 to 100 , in hexadecimal notation.

slot slotid

Indicates the slot number.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When you need to view the pcie bridge chip register information, you can run this command.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Displays the register information of pcie bridge chip.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 1 pcie-switch 0 port 1 reg address 10 size 20
0x00000010: 0x00000000 0x00000000 0x00040403 0x000001f1
0x00000020: 0x01f00100 0x0001fff1 0x00000000 0x00000000
Table 2-1610 Description of the display board slot pcie-switch command output
Item Description
address

address.

display board slot seu-information

Function

The display board slot seu-information command is used to query the board seu track information.

Format

display board slot slotid seu-information

Parameters

Parameter Description Value
slot slotid

Indicates the slot number.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When you need to check the board seu track information, you can run this command.

Precaution

Currently, only the NPU480 support this command.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Displays the board seu timestamp information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 1 seu-information
-------alpha logic seu information-------
 onebit seu[0]year=2017,month=9,day=19,hour=13,minute=8,second=18
 onebit seu[1]year=2017,month=9,day=19,hour=13,minute=8,second=14
 onebit seu[2]year=2017,month=9,day=19,hour=13,minute=8,second=11
 onebit seu[3]year=2017,month=9,day=19,hour=13,minute=8,second=8
 onebit seu[4]year=2017,month=9,day=19,hour=13,minute=8,second=5
 onebit seu[5]year=2017,month=9,day=19,hour=13,minute=8,second=2
 onebit seu[6]year=2017,month=9,day=19,hour=13,minute=7,second=59
 onebit seu[7]year=2017,month=9,day=19,hour=13,minute=7,second=55
 onebit seu[8]year=2017,month=9,day=19,hour=13,minute=7,second=52
 onebit seu[9]year=2017,month=9,day=19,hour=13,minute=7,second=49
 onebit seu[10]year=2017,month=9,day=19,hour=13,minute=7,second=46
 onebit seu[11]year=2017,month=9,day=19,hour=13,minute=7,second=43
 onebit seu[12]year=2017,month=9,day=19,hour=13,minute=7,second=40
 onebit seu[13]year=2017,month=9,day=19,hour=13,minute=7,second=37
 onebit seu[14]year=2017,month=9,day=19,hour=13,minute=7,second=33
 onebit seu[15]year=2017,month=9,day=19,hour=13,minute=7,second=30
 onebit seu[16]year=2017,month=9,day=19,hour=13,minute=7,second=27
 onebit seu[17]year=2017,month=9,day=19,hour=13,minute=7,second=24
 onebit seu[18]year=2017,month=9,day=19,hour=13,minute=7,second=21
 onebit seu[19]year=2017,month=9,day=19,hour=13,minute=7,second=18
 twobits seu[0]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[1]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[2]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[3]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[4]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[5]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[6]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[7]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[8]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[9]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[10]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[11]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[12]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[13]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[14]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[15]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[16]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[17]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[18]year=0,month=0,day=0,hour=0,minute=0,second=0
 twobits seu[19]year=0,month=0,day=0,hour=0,minute=0,second=0
Table 2-1611 Description of the display board slot seu-information command output
Item Description
onebit seu

Indicates the 1-bit seu.

twobits seu

Indicates the 2-bit seu.

display board slot slave-cpu

Function

The display board slot slave-cpu core-information command displays isolation information about the slave CPU core.

The display board slot slave-cpu cache reserved-information command is used to query cache isolation information.

The display board slot slave-cpu memory reserved-information command displays memory isolation information.

The display board slot slave-cpu pcieque command is used to query PCIe queues.

The display board slot slave-cpu vrm command is used to query Virtualization Resource Management (VRM) information.

The display board slot slave-cpu ecid command is used to query the CPU ID.

The display board slot slave-cpu memory-usage command is used to query the memory usage.

Format

display board slot slotid slave-cpu slave-cpuid np-inor

display board slot slotid slave-cpu slave-cpuid core-information

display board slot slotid slave-cpu slave-cpuid cache reserved-information

display board slot slotid slave-cpu slave-cpuid memory reserved-information

display board slot slotid slave-cpu slave-cpuid pcieque

display board slot slotid slave-cpu slave-cpuid vrm

display board slot slotid slave-cpu slave-cpuid ecid

display board slot slotid slave-cpu slave-cpuid memory-usage

Parameters

Parameter Description Value
slotid

Slot ID.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

slave-cpuid

Slave CPU ID.

The value is an integer that ranges from 1 to 4294967295.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

This command is used to query information about a slave CPU.

Example

The actual command output varies according to the device. The command output here is only an example.

# Query the chip ID.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 6 slave-cpu 1 ecid
ECID(0) 0X809121d4 0x00a0f710 0xa22b1553 0x4aa7040a 0x00102003
# Displays VRM information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 6 slave-cpu 1 vrm
------------------------------------------------------------------------------------------------
     node          00H  8bH  21H  8cH  78H  7aH  7bH  7dH  79H  7cH  7eH  8dH  88H  96H  27H
------------------------------------------------------------------------------------------------
CPU1_CORE_0V85   : 0000 0083 0083 002d 0000 0000 0000 0000 0000 0000 0000 0024 e0d5 0028 e008
------------------------------------------------------------------------------------------------
# Query memory isolation information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 4 slave-cpu 1 memory reserved-information
Info: The isolate memory does not exist
# Query cache isolation information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 4 slave-cpu 1 cache reserved-information
L3 cache mbist[0] : l3 cache mbist and isolate result:NULL
 
L3 cache mbist[1] : l3 cache mbist and isolate result:NULL
 
L3 cache mbist[2] : l3 cache mbist and isolate result:
TB, dir:std, way_num:5
TB, dir:dir, way_num:1
 
L3 cache mbist[3] : l3 cache mbist and isolate result:NULL
 
L3 cache mbist[4] : l3 cache mbist and isolate result:NULL
 
L3 cache mbist[5] : l3 cache mbist and isolate result:NULL
 
L3 cache mbist[6] : l3 cache mbist and isolate result:NULL
 
L3 cache mbist[7] : l3 cache mbist and isolate result:NULL
 
L3 cache mbist[8] : l3 cache mbist and isolate result:NULL
 
L3 cache mbist[9] : l3 cache mbist and isolate result:NULL
 
L3 cache mbist[10] : l3 cache mbist and isolate result:NULL
 
L3 cache mbist[11] : l3 cache mbist and isolate result:NULL
 
L3 cache mbist[12] : l3 cache mbist and isolate result:NULL
 
L3 cache mbist[13] : l3 cache mbist and isolate result:NULL
 
L3 cache mbist[14] : l3 cache mbist and isolate result:NULL
 
L3 cache mbist[15] : l3 cache mbist and isolate result:NULL
# Display CPU queue information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 4 slave-cpu 1 pcieque
======================================================================
 FE[0][0] Tx Msg Que : 
======================================================================
 FE[0][0] Rx Msg Que : 
======================================================================
 FE[0][0] Tx Msg pool : 
======================================================================
 FE[0][0] Rx Msg pool : 
======================================================================
 FE[0][0] process cnt : 
======================================================================
 FE[0][1] Tx Msg Que : 
======================================================================
 FE[0][1] Rx Msg Que : 
======================================================================
 FE[0][1] Tx Msg pool : 
======================================================================
 FE[0][1] Rx Msg pool : 
======================================================================
 FE[0][1] process cnt : 
======================================================================
 FE[0][2] Tx Msg Que : 
 elem_cnt_in = 0x00000000 000001b3
 cur_elem   = 0x7f04bffda8
 base   = 0x7f04bff000
 over   = 0x7f04c01010
 QueLen   / CurElemLen  / CurIOCnt  = 1024 / 0 / 0
 pullInElem / pullOutElem = 0x00000000 000001b3 / 0x00000000 000001b3
 QueInput / QueOutput = 0x00000000 000001b3 / 0x00000000 000001b3
======================================================================
 FE[0][2] Rx Msg Que : 
 elem_cnt_in = 0x00000000 00000000
 cur_elem   = 0x7eec900020
 base   = 0x7eec900000
 over   = 0x7eec902010
 QueLen   / CurElemLen  / CurIOCnt  = 1024 / 0 / 0
 pullInElem / pullOutElem = 0x00000000 00000002 / 0x00000000 00000002
 QueInput / QueOutput = 0x00000000 00000002 / 0x00000000 00000002
======================================================================
 FE[0][2] Tx Msg pool : 
 elem_cnt_in = 0x00000000 000003e0
 elem_cnt_out = 0x00000000 000001b3
 cur_elem   = 0x7eec440da8
 base   = 0x7eec440000
 over   = 0x7eec441f10
 QueLen   / CurElemLen  / CurIOCnt  = 992 / 0 / 992
 pullInElem / pullOutElem = 0x00000000 00000000 / 0x00000000 00000000
 QueInput / QueOutput = 0x00000000 00000593 / 0x00000000 000001b3
======================================================================
 FE[0][2] Rx Msg pool : 
 elem_cnt_in = 0x00000000 000003e2
 elem_cnt_out = 0x00000000 00000000
 cur_elem   = 0x7eec450420
 base   = 0x7eec450400
 over   = 0x7eec452310
 QueLen   / CurElemLen  / CurIOCnt  = 992 / 0 / 992
 pullInElem / pullOutElem = 0x00000000 00000000 / 0x00000000 00000000
 QueInput / QueOutput = 0x00000000 000003e2 / 0x00000000 00000002
======================================================================
 FE[0][2] process cnt : 
======================================================================
 FE[0][3] Tx Msg Que : 
======================================================================
 FE[0][3] Rx Msg Que : 
======================================================================
 FE[0][3] Tx Msg pool : 
======================================================================
 FE[0][3] Rx Msg pool : 
======================================================================
 FE[0][3] process cnt : 
======================================================================
 FE[0][4] Tx Msg Que : 
 elem_cnt_in = 0x00000000 0000193f
 cur_elem   = 0x7f04c7fa08
 base   = 0x7f04c7f000
 over   = 0x7f04c81010
 QueLen   / CurElemLen  / CurIOCnt  = 1024 / 0 / 0
 pullInElem / pullOutElem = 0x00000000 0000013f / 0x00000000 0000013f
 QueInput / QueOutput = 0x00000000 0000193f / 0x00000000 0000193f
======================================================================
 FE[0][4] Rx Msg Que : 
 elem_cnt_in = 0x00000000 00000000
 cur_elem   = 0x7eec980a08
 base   = 0x7eec980000
 over   = 0x7eec982010
 QueLen   / CurElemLen  / CurIOCnt  = 1024 / 0 / 0
 pullInElem / pullOutElem = 0x00000000 0000013f / 0x00000000 0000013f
 QueInput / QueOutput = 0x00000000 0000193f / 0x00000000 0000193f
======================================================================
 FE[0][4] Tx Msg pool : 
 elem_cnt_in = 0x00000000 00000020
 elem_cnt_out = 0x00000000 0000193f
 cur_elem   = 0x7eec4c0108
 base   = 0x7eec4c0000
 over   = 0x7eec4c0110
 QueLen   / CurElemLen  / CurIOCnt  = 32 / 0 / 32
 pullInElem / pullOutElem = 0x00000000 00000000 / 0x00000000 00000000
 QueInput / QueOutput = 0x00000000 0000195f / 0x00000000 0000193f
======================================================================
 FE[0][4] Rx Msg pool : 
 elem_cnt_in = 0x00000000 0000195f
 elem_cnt_out = 0x00000000 00000000
 cur_elem   = 0x7eec4d0508
 base   = 0x7eec4d0400
 over   = 0x7eec4d0510
 QueLen   / CurElemLen  / CurIOCnt  = 32 / 0 / 32
 pullInElem / pullOutElem = 0x00000000 00000000 / 0x00000000 00000000
 QueInput / QueOutput = 0x00000000 0000195f / 0x00000000 0000193f
======================================================================
 FE[0][4] process cnt : 
 DRV_ERR_CNT_MSG_BUFF_ALLOC_FAIL_NUM = 0x00000000
 DRV_ERR_CNT_MSG_BUFF_FREE_FAIL_NUM = 0x00000000
 DRV_ERR_CNT_VA_TO_PHY_FAIL_NUM = 0x00000000
 DRV_ERR_CNT_PHY_TO_VA_FAIL_NUM = 0x00000000
 DRV_ERR_CNT_MSG_SEND_QUE_FULL_NUM = 0x00000000
 DRV_ERR_CNT_MSG_REC_QUE_FAIL_NUM = 0x00000000
 DRV_ERR_CNT_MSG_BUFF_FREE_PARAM = 0x00000000
 DRV_ERR_CNT_MSG_BUFF_ALLOC_FE_UNKNOWN = 0x00000000
 DRV_CNT_MSG_BUFF_ALLOC_COUNTERPRE = 0x000198e3
 DRV_CNT_SEND_MSG_TO_FE_OK      = 0x00019fe5
 DRV_CNT_RECV_APP_MSG_FROM_FE   = 0x00006368
 DRV_CNT_RECV_APP_MSG_FROM_FE+1 = 0x00006e3d
 DRV_CNT_RECV_APP_MSG_FROM_FE+2 = 0x000063b3
 DRV_CNT_RECV_APP_MSG_FROM_FE+3 = 0x000063b3
 DRV_ERR_CNT_SYN_UPCALL_MSG_IS_NULL = 0x00000000
 DRV_ERR_CNT_MSG_FUNC_NOT_REGISTER = 0x00000000
 DRV_ERR_CNT_COMM_DMA_READ_DP_SHARE_MEM_FAILED = 0x00000000
 DRV_CNT_SYS_MSG_BUFF_ALLOC_FE0_SUCCESS = 0x00000000
 DRV_CNT_APP_MSG_BUFF_ALLOC_FE0_SUCCESS = 0x000006d5
 DRV_CNT_DYN_MSG_BUFF_ALLOC_FE0_SUCCESS = 0x00000000
 DRV_CNT_HEART_MSG_BUFF_ALLOC_FE0_SUCCESS = 0x0000635e
 DRV_CNT_SYS_MSG_BUFF_ALLOC_FE1_SUCCESS = 0x00000000
 DRV_CNT_APP_MSG_BUFF_ALLOC_FE1_SUCCESS = 0x0000000c
 DRV_CNT_DYN_MSG_BUFF_ALLOC_FE1_SUCCESS = 0x00000000
 DRV_CNT_HEART_MSG_BUFF_ALLOC_FE1_SUCCESS = 0x00006e33
 DRV_CNT_SYS_MSG_BUFF_ALLOC_FE2_SUCCESS = 0x00000000
 DRV_CNT_APP_MSG_BUFF_ALLOC_FE2_SUCCESS = 0x0000000e
 DRV_CNT_DYN_MSG_BUFF_ALLOC_FE2_SUCCESS = 0x00000000
 DRV_CNT_HEART_MSG_BUFF_ALLOC_FE2_SUCCESS = 0x000063a9
 DRV_CNT_SYS_MSG_BUFF_ALLOC_FE3_SUCCESS = 0x00000000
 DRV_CNT_APP_MSG_BUFF_ALLOC_FE3_SUCCESS = 0x00000013
 DRV_CNT_DYN_MSG_BUFF_ALLOC_FE3_SUCCESS = 0x00000000
 DRV_CNT_HEART_MSG_BUFF_ALLOC_FE3_SUCCESS = 0x000063a9
 DRV_CNT_SYS_MSG_BUFF_FREE_FE0_SUCCESS = 0x00000000
 DRV_CNT_APP_MSG_BUFF_FREE_FE0_SUCCESS = 0x0000000a
 DRV_CNT_DYN_MSG_BUFF_FREE_FE0_SUCCESS = 0x00000000
 DRV_CNT_HEART_MSG_BUFF_FREE_FE0_SUCCESS = 0x0000635e
 DRV_CNT_SYS_MSG_BUFF_FREE_FE1_SUCCESS = 0x00000000
 DRV_CNT_APP_MSG_BUFF_FREE_FE1_SUCCESS = 0x0000000a
 DRV_CNT_DYN_MSG_BUFF_FREE_FE1_SUCCESS = 0x00000000
 DRV_CNT_HEART_MSG_BUFF_FREE_FE1_SUCCESS = 0x00006e33
 DRV_CNT_SYS_MSG_BUFF_FREE_FE2_SUCCESS = 0x00000000
 DRV_CNT_APP_MSG_BUFF_FREE_FE2_SUCCESS = 0x0000000a
 DRV_CNT_DYN_MSG_BUFF_FREE_FE2_SUCCESS = 0x00000000
 DRV_CNT_HEART_MSG_BUFF_FREE_FE2_SUCCESS = 0x000063a9
 DRV_CNT_SYS_MSG_BUFF_FREE_FE3_SUCCESS = 0x00000000
 DRV_CNT_APP_MSG_BUFF_FREE_FE3_SUCCESS = 0x0000000a
 DRV_CNT_DYN_MSG_BUFF_FREE_FE3_SUCCESS = 0x00000000
 DRV_CNT_HEART_MSG_BUFF_FREE_FE3_SUCCESS = 0x000063a9
# Displays information about CPU core isolation.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 4 slave-cpu 1 core-information
Core 0: running
Core 1: running
Core 2: running
Core 3: running
Core 4: running
Core 5: running
Core 6: running
Core 7: running
Core 8: running
Core 9: running
Core 10: running
Core 11: running
Core 12: running
Core 13: running
Core 14: running
Core 15: running
Core 16: running
Core 17: running
Core 18: running
Core 19: running
Core 20: running
Core 21: running
Core 22: running
Core 23: running
Core 24: running
Core 25: running
Core 26: running
Core 27: running
Core 28: running
Core 29: running
Core 30: running
Core 31: running
Core 32: running
Core 33: running
Core 34: running
Core 35: running
Core 36: running
Core 37: running
Core 38: running
Core 39: running
Core 40: running
Core 41: running
Core 42: running
Core 43: running
Core 44: running
Core 45: running
Core 46: running
Core 47: running
# Query the memory usage.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 6 slave-cpu 1 memory-usage
************ Control memory usage information ************
Total memory(kb):149995250  Used(kb):110585998  Usage:73%
************ Memory usage detail information *************
MemTotal:       30373668 kB
MemFree:         2595664 kB
MemAvailable:    2586524 kB
Buffers:              44 kB
Cached:           137524 kB
SwapCached:            0 kB
Active:            20308 kB
Inactive:          64588 kB
Active(anon):      20248 kB
Inactive(anon):    64560 kB
Active(file):         60 kB
Inactive(file):       28 kB
Unevictable:       72392 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:         20148 kB
Mapped:            20780 kB
Shmem:             65084 kB
KReclaimable:      16836 kB
Slab:              70060 kB
SReclaimable:      16836 kB
SUnreclaim:        53224 kB
KernelStack:        8032 kB
PageTables:         2280 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     2905892 kB
Committed_AS:     213372 kB
VmallocTotal:   135290159040 kB
VmallocUsed:       31184 kB
VmallocChunk:          0 kB
Percpu:             9984 kB
HardwareCorrupted:     0 kB
HugePages_Total:     100
HugePages_Free:      100
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:        27467776 kB
**********************************************************
Table 2-1612 Description of the display board slot slave-cpu command output
Item Description
CPU1_CORE_0V85

VRM information of the 0.85 V CPU.

L3 cache mbist[0]

L3 cache isolation information.

Core 1:running

CPU number one:running.

Total memory(kb)

Total memory size.

FE[0][0] Tx Msg Que

CPU sending message queue.

FE[0][0] Rx Msg Que

Queue of messages received by the CPU.

FE[0][2] Rx Msg pool

Message pool received by the CPU.

FE[0][2] Tx Msg pool

CPU sending message pool.

FE[0][2] process cnt

Number of CPU processes.

Used(kb)

Used memory.

Usage

Usage.

MemTotal

Total size of the physical memory except the system memory.

MemFree

Size of the free physical memory.

MemAvailable

Available memory.

Buffers

Cache size of a block device.

Cached

Size of the file buffer.

SwapCached

Swapped-out memory.

Active

Active memory that is frequently (recently) used.

Inactive

Inactive memory that is not frequently used recently is easy to be reclaimed and moved by the system for other use.

Active(anon)

Indicates the active memory size of anonymous pages.

Inactive(anon)

Inactive memory size of anonymous pages.

Active(file)

Active memory size of the file page.

Inactive(file)

Size of inactive memory for file pages.

Unevictable

Number of locked memory pages that cannot be released.

Mlocked

Memory size locked by mlock().

SwapTotal

Total swap space.

SwapFree

Remaining swap space.

Dirty

Number of dirty pages in the system.

Writeback

Amount of data that is being written back in the system.

AnonPages

Total number of anonymous pages (including active and inactive anonymous pages).

Mapped

Size of the mapped memory page.

Shmem

Number of shared memory pages.

SReclaimable

Recyclable parts of slabs.

KReclaimable

Recyclable parts of slabs.

Slab

Memory size of the kernel data structure cache.

SUnreclaim

Number of slabs that cannot be recycled.

KernelStack

Number of used kernel stacks.

PageTables

Page table | Size of the index table for managing memory paging pages.

NFS_Unstable

Page table that has been sent to the NFS server but has not been committed to the stable storage.

Bounce

return.

WritebackTmp

Size of the temporary memory that is being written back to the disk.

CommitLimit

Virtual Storage Upper Limit.

Committed_AS

Virtual storage.

VmallocTotal

vmalloc memory size.

VmallocUsed

Size of the used virtual memory.

VmallocChunk

Maximum size of consecutive memory blocks that can be used in the vmalloc area.

Percpu

Specifies the CPU information.

HardwareCorrupted

Total size of deleted memory pages due to memory hardware faults.

HugePages_Free

Total number of idle HugePages in the system.

HugePages_Total

Total number of HugePages in the system.

HugePages_Rsvd

Total number of HugePages reserved in the system.

HugePages_Surp

The number of resident HugePages exceeds the maximum number set by the system.

Hugepagesize

Size of each huge page.

Hugetlb

Records entries in the TLB and points to Hugepage.

display board slot watch-dog

Function

The display board slot watch-dog command displays the watchdog monitoring period.

Format

display board slot slotid watch-dog

Parameters

Parameter Description Value
slotid

Slot ID.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To query the watchdog monitoring period, run the display board slot <slotid> watch-dog command.

Example

The actual command output varies according to the device. The command output here is only an example.

# To query the watchdog monitoring period
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI] diagnose
Warning: Enter diagnose view, return user view with Ctrl+Z.
Info: The diagnose view is used to debug system hardware and software. Misuse of certain commands in this view may affect system performance. Therefore, use these commands with the guidance of Huawei engineers.
[~HUAWEI-diagnose] display board sl 10 watch-dog
Info: Current watchdog time is 16s.
[~HUAWEI-diagnose]
Table 2-1613 Description of the display board slot watch-dog command output
Item Description
watchdog time

Current watchdog time is 16s.

display board-cpu

Function

The display board-cpu command displays CPU module information of a specified board.

Format

display board-cpu slot slotid module submodule method [ para1 [ para2 [ para3 [ para4 [ para5 [ para6 ] ] ] ] ] ]

Parameters

Parameter Description Value
module

Specifies a module name.

The value is a string of 1 to 32 characters.

submodule

Specifies a sub-module name.

The value is a string of 1 to 32 characters.

method

Specifies a module operation mode.

The value is a string of 1 to 32 characters.

para1

Specifies an optional parameter for the specified module operation mode.

The value is a string of 1 to 32 characters.

para2

Specifies an optional parameter for the specified module operation mode.

The value is a string of 1 to 32 characters.

para3

Specifies an optional parameter for the specified module operation mode.

The value is a string of 1 to 32 characters.

para4

Specifies an optional parameter for the specified module operation mode.

The value is a string of 1 to 32 characters.

para5

Specifies an optional parameter for the specified module operation mode.

The value is a string of 1 to 32 characters.

para6

Specifies an optional parameter for the specified module operation mode.

The value is a string of 1 to 32 characters.

slot slotid

Specifies a slot ID.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To check CPU module information of a specified board, run the display board-cpu command.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display CPU module information of a specified board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board-cpu slot 1 nic xge detail 0 0
xge detail  0  0  
INT_STATUS            (0x0000) :0xf0[240]
OVF_INFO              (0x0010) :0x0[0]
PORT_MODE             (0x0040) :0x0[0]
CLK_ENABLE            (0x0044) :0x0[0]
RESET                 (0x0048) :0x0[0]
LINK_CONTROL          (0x0050) :0x8[8]
LINK_STATUS           (0x0054) :0x1[1]
MAC_ENABLE            (0x0100) :0x3[3]
MAC_CONTROL           (0x0104) :0x3330333[53674803]
MAC_IPG               (0x0120) :0xc[12]
MAC_MSG_CRC_EN        (0x0124) :0x3[3]
MAC_MIN_PKT_SIZE      (0x0138) :0x40[64]
MAC_MAX_PKT_SIZE      (0x013c) :0x2600[9728]
MAC_PAUSE_CTRL        (0x0160) :0x1[1]
MAC_TX_ERR_MARK       (0x01a0) :0x1[1]
MAC_ERR_INFO          (0x01dc) :0x0[0]
MAC_DBG_INFO          (0x01e0) :0x0[0]
PCS_BASER_STATUS2     (0x0414) :0xc040[49216]
PCS_DBG_INFO3         (0x04cc) :0xc1920[792864]
PMA_ENABLE            (0x0700) :0x0[0]
PMA_SIGNAL_STATUS     (0x0708) :0x1[1]
PMA_FEC_CONTROL       (0x0744) :0x4[4]
Table 2-1614 Description of the display board-cpu command output
Item Description
INT_STATUS

Interrupt status.

OVF_INFO

OVF information.

PORT_MODE

Port mode.

CLK_ENABLE

Clock enabling.

RESET

Reset.

LINK_CONTROL

Link control.

LINK_STATUS

This object indicates the link status.

MAC_ENABLE

MAC enabling.

MAC_CONTROL

MAC control.

MAC_IPG

MAC interpacket gap (IPG).

MAC_MSG_CRC_EN

Enabling of MAC information error correction.

MAC_MIN_PKT_SIZE

Minimum MAC packet length.

MAC_MAX_PKT_SIZE

Maximum MAC packet length.

MAC_PAUSE_CTRL

MAC flow control frame.

MAC_TX_ERR_MARK

MAC transmission error flag.

MAC_ERR_INFO

MAC error information.

MAC_DBG_INFO

MAC debugging information.

PCS_BASER_STATUS2

Underlayer status of the physical coding sublayer.

PCS_DBG_INFO3

Debugging information about the physical coding sublayer.

PMA_ENABLE

Enabling of physical medium attachment (PMA).

PMA_SIGNAL_STATUS

PMA signal status.

PMA_FEC_CONTROL

PMA forward error correction (FEC) control.

display boardinfo backplane

Function

The display boardinfo backplane command displays information about the backplane's electronic label obtained in real time from the firmware.

Format

display boardinfo backplane

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

The command displays information about the backplane's electronic label obtained in real time from the firmware.

Example

The actual command output varies according to the device. The command output here is only an example.

# Displays information about the backplane's electronic label obtained in real time from the firmware.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display boardinfo backplane
Getting backplane elabel information, please wait...
[BackPlane]
/$[ArchivesInfo Version]
/$ArchivesInfoVersion=3.0

[Board Properties]
BoardType=CR8B******
BarCode=210235******
Item=0235****
Description=Assembling Components,******
Manufactured=2019-10-22
VendorName=Huawei
IssueNumber=00
CLEICode=
BOM=
Model=CR81******
ExInfo=HlevelSN:******
/$ElabelVersion=4.0
Table 2-1615 Description of the display boardinfo backplane command output
Item Description
ArchivesInfoVersion

Version number.

BoardType

FRU model.

BarCode

Bar code.

Item

BOM number.

Description

Description.

Manufactured

Manufacturing date.

VendorName

Vendor name.

IssueNumber

Issue number.

CLEICode

FRU's CLEI code.

BOM

BOM number for sales.

Model

External model.

ExInfo

Extension information.

ElabelVersion

Version number of the electronic label.

display connector-insert-count

Function

The display connector-insert-count slot command displays the inserting count of the connector on the LPU.

Format

display connector-insert-count slot slotid card cardid

display connector-insert-count slot slotid

Parameters

Parameter Description Value
slotid

Specifies the slot ID of an interface board.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

cardid

Specifies a card ID.

The value is an integer that ranges from 0 to 4294967295 .

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

The display connector-insert-count slot command displays the inserting count of the connector on the LPU.

Prerequisites

enable the functionof inserting count : setconnector-insert-countslot board 0

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the inserting count of the connector on the LPU and its subcards.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display connector-insert-count slot 7
subslot card[0] plug count: 2.
subslot card[1] plug count: 2.
# Display the inserting count of the connector on subcard 0.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display connector-insert-count slot 7 card 0
card number: 0,plug count: 5.
Table 2-1616 Description of the display connector-insert-count command output
Item Description
plugcount

Number of times an interface board is reseated.

display devm device model

Function

The display devm device model command displays a device's modeling data.

Format

display devm device model information devname dev-name

Parameters

Parameter Description Value
devname dev-name

Specifies the device name.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

You can run this command to view the basic attribute modeling information of a device based on the device name.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display a device's modeling data.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display devm device model information devname mbus_com
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Device information:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
devName    : mbus_com
devType    : 0x1019
refDimName : NA
refDynName : MbusComSts
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Attribute information:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
attrID(HEX)      attrID(DEC) attrName         refDynField      refDimField      firstType        secondType       alarmInfo                                                                                                                       
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0x100e6          65766       PollKDevName     NA               NA               0x01000000       0x08000004       NA                                                                                                                              
0x100eb          65771       MbusSchedule     NA               NA               0x01000000       0x10003218       NA                                                                                                                              
0x1012d          65837       notice switch    NA               NA               0x01000000       0x1000326e       NA                                                                                                                              
0x1015b          65883       dbg switch       NA               NA               0x01000000       0x10003272       NA                                                                                                                              
0x10325          66341       lcdSysTimeSche   NA               NA               0x01000000       0x10003288       NA                                                                                                                              
0x1034a          66378       pollMbusNode     NA               NA               0x01000000       0x100033a6       NA                                                                                                                              
0x103c4          66500       mbusCheck        NA               NA               0x01000000       0x100033bf       NA                                                                                                                              
0x103d5          66517       isUpgrading      NA               NA               0x01000000       0x100033e9       NA                                                                                                                              
0x103ed          66541       arqAlarm         arqAlm           NA               NA               NA               Between %s and MPU, the communication channel of ARQ channels is failed                                                         
0x104d2          66770       autoUpgFlg       NA               NA               0x01000000       0x100033eb       NA                                                                                                                              
0x104d3          66771       upgChkRst        NA               NA               0x01000000       0x100033ec       NA                                                                                                                              
0x1067c          67196       MbusScheduleLow  NA               NA               0x01000000       0x10003345       NA                                                                                                                              
0x10685          67205       TempDiagLog      NA               NA               0x01000000       0x100033f3       NA                                                                                                                              
0x106c0          67264       MbusHeatNpu      NA               NA               0x01000000       0x1000334c       NA                                                                                                                              
0x106ce          67278       MbusSchExtPwr    NA               NA               0x01000000       0x10003344       NA                                                                                                                              
0x1072d          67373       mbusBakAttr      NA               NA               0x01000000       0x10003316       NA                                                                                                                              
0x10932          67890       macChkEnable     NA               NA               0x01000000       0x10004815       NA                                                                                                                              
0x11013          69651       MbusSchMbusCard  NA               NA               0x01000000       0x1000334d       NA                                                                                                                              
0x11102          69890       monitorAgent     NA               NA               0x01000000       0x1000483f       NA                                                                                                                              
0x1908a          102538      setFanSpdMode    NA               NA               NA               NA               NA                                                                                                                              
0x1908b          102539      fanSpdMode       NA               NA               0x01000000       0x100050a2       NA                                                                                                                              
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Table 2-1617 Description of the display devm device model command output
Item Description
Device information

Device information.

devName

Device name.

devType

Device type.

refDimName

Name of the configuration class associated with the device. If no configuration class is associated with the device, NA is displayed.

refDynName

Name of the dynamic class associated with the device. If no dynamic class is associated with the device, NA is displayed.

Attribute information

Attribute information.

attrName

Attribute name.

refDynField

Name of the dynamic class member associated with the attribute. If no dynamic class member is associated with this attribute, NA is displayed.

refDimField

Name of the configuration class member associated with the attribute. If no configuration class member is associated with the attribute, NA is displayed.

firstType

Tier-1 T. If tier-1 T is not defined for the attribute, NA is displayed.

secondType

Tier-2 T. If tier-2 T is not defined for the attribute, NA is displayed.

alarmInfo

Information about the alarm associated with the attribute. If no alarm is associated with the attribute, NA is displayed.

attrID

Attribute ID, in dotted decimal notation.

display devme lldp

Function

The display devme lldp command show lldp info on the DEVMEOP module.

Format

display devme lldp { component-status | interface-status }

Parameters

Parameter Description Value
component-status

Query the information of the LLDP component subscribed by the DEVMEOP component.

-

interface-status

Query the interface information subscribed by the DEVMEOP component.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr write

Usage Guidelines

Usage Scenario

To show the lldp info for the Devmeop component in Diagnostic view, run the display devme lldp command.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display lldp info on the DEVMEOP module
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display devme lldp interface-status
------------------------------------------------------------------------------------------
Ifindex    IfGrpid    Devid      SrvSts          LocalDownFilterSts    RemoteDownFilterSts
------------------------------------------------------------------------------------------
0x16e      0x80000004 0x28       INIT            DISABLE               DISABLE              
0x3e       0x80000005 0x5f       INIT            DISABLE               DISABLE              
0x3f       0x80000005 0x60       INIT            DISABLE               DISABLE              
0x155      0x80000006 0x69       ADDSERVICE      ENABLE                ENABLE
# Display lldp info on the DEVMEOP module.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display devme lldp component-status
---------------------------------------------------------------------------------------
Pid        IfGrpid    Status          FlwCtlType      LldpNum    TxSeqNo    RxSeqNo    
---------------------------------------------------------------------------------------
0xa50441   0x80000006 AVAILABLE       NO_MSG          1          0x20       0x2341
Table 2-1618 Description of the display devme lldp command output
Item Description
Ifindex

Interface index.

IfGrpid

Interface group ID.

Devid

Interface device ID.

SrvSts

Service status.

LocalDownFilterSts

Local Down filter status.

RemoteDownFilterSts

Remote Down filter status.

Pid

Process ID.

Status

Component status.

FlwCtlType

Flow control type.

LldpNum

Number of LDDP components.

TxSeqNo

Sending sequence number.

RxSeqNo

Receive sequence number.

display dpaa

Function

The display board slot slot-id bman portal portal-id command displays information about dpaabman portal registers.

The display board slot slot-id bman common dpaa command displays information about common bman registers.

The display board slot slot-id qman portal portal-id command displays information about dpaa portal registers.

The display board slot slot-id qman common command displays information about common dpaa registers.

The display board slot slot-id fman fman-id fq table command displays information about dpaafman fq registers.

The display board slot slot-id fman fman-id bmi common command displays information about common dpaabmi register.

The display board slot slot-id fman fman-id bmi port portal-id command displays information about dpaa bmi interface registers.

The display board slot slot-id fman fman-id qmi common command displays information about common dpaa qmi registers.

The display board slot slot-id fman fman-id qmi port portal-id command displays information about dpaa qmi interface registers.

The display boardslot slot-id fman fman-id dma command displays information about dpaa dma registers.

The display board slot slot-id fman fman-id fpm command displays information about dpaafpm registers.

Format

display board slot slot-id bman { { portal portal-id { ce | ie } } | common }

display board slot slot-id qman { { portal portal-id { ce | ie } } | common }

display board slot slot-id fman fman-id { fq table | fpm | dma }

display board slot slot-id fman fman-id bmi { common | port port-id }

display board slot slot-id fman fman-id qmi { common | port port-id }

Parameters

Parameter Description Value
bman

Buffer manager.

-

portal portal-id

Specifies a portal ID.

The value is an integer ranging from 0 to 9.

ce

Enabling the cache area.

-

ie

Buffer suppression area.

-

common

Common register group.

-

board

Board.

-

slot slot-id

Specifies a slot number.

The value is a string of 1 to 15 case-sensitive characters. It cannot contain spaces.

qman

Queue manager.

-

fman fman-id

Specifies an fman ID.

The value is 0 or 1.

fq

Frame queue.

-

table

Entry.

-

fpm

Frame processing manager.

-

dma

Direct memory access.

-

bmi

Buffer Manager window.

-

port port-id

Specifies an interface ID.

The value is an integer ranging from 1 to 63.

qmi

Queue Manager page.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

DPAA maintainability is enhanced. To check detailed statistics about packets sent and received by related components, run the preceding DPAA diagnostic commands to check whether the components are working properly.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about common bman registers.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 2 bman portal 2 ie
---------------------------------------------
RCR_PI_CINH_REG   0x00000008
RCR_CI_CINH_REG   0x00008008
RCR_ITR_REG       0x00000001
CFG_REG           0x00000002
SCN0_REG          0xffffffff
SCN1_REG          0xffffffff
ISR_REG           0x00000002
IER_REG           0x00000000
ISDR_REG          0x00000000
IIR_REG           0x00000000
IFR_REG           0x00000000
---------------------------------------------
Table 2-1619 Description of the display dpaa command output
Item Description
RCR_PI_CINH_REG

Software portal 0, release command ring, manufacturer index cache disable register.

RCR_CI_CINH_REG

Software portal 0, release command ring, customer index cache disable register.

RCR_ITR_REG

Software portal 0, release command ring interrupt threshold register.

CFG_REG

Buffer manager software portal 0, configuration register.

SCN0_REG

Software portal 0, exhaustion status change notification interrupt enable register, buffer pool 0–31.

SCN1_REG

Software portal 0, exhaustion status change notification interrupt enable register, buffer pools 32–63.

ISR_REG

Buffer manager software portal 0, interrupt status register.

IER_REG

Buffer manager software portal 0, interrupt enable register.

ISDR_REG

Buffer manager software portal 0, interrupt status disable register.

IIR_REG

Buffer manager software portal 0, interrupt disable register.

IFR_REG

Buffer manager software portal 0, interrupt force register.

display eeprom

Function

The display eeprom slot command displays eeprom information about a board or a PIC.

Format

display eeprom slot slot-id [ pic pic-id ]

Parameters

Parameter Description Value
slot slot-id

Slot number, according to the different hardware has a different range of values.

The value is a string of 1 to 30 case-sensitive characters, spaces not supported.

pic pic-id

PIC number, according to the different hardware has a different range of values.

The value is an integer that ranges from 0 to 1024 .

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

You can run the display eeprom slot command to display eeprom information about a board or a PIC.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Check the eeprom information of a PIC.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display eeprom slot 1 pic 0
Value: 0267827349825784735
Info: Get EEPROM Information Pass.
Table 2-1620 Description of the display eeprom command output
Item Description
Value: 0267827349825784735 Info: Get EEPROM Information Pass.

Check the EEPROM information of the subcard.

display fan rate

Function

The display fan rate command displays the maximum speed of fans.

Format

display fan rate slot slot-id

Parameters

Parameter Description Value
slot slot-id

Specifies the slot ID.

There are different values depending on the hardware of the device.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When the user needs to check the maximum fan speed, this command can be executed.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the maximum speed of fans.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display fan rate slot 1
Info: This fan's rated speed is 4500R/min
Table 2-1621 Description of the display fan rate command output
Item Description
display fan rate slot 1

Display the maximium fan speed.

display fe slot cpu

Function

The display fe slot cpu command is used to view the information about the CPU and the NP forwarding channel.

Format

display fe slot slotid cpu statistics bman bmanid

display fe slot slotid cpu statistics qman qmanid [ fq fqid ]

display fe slot slotid cpu { fq-cfg | mac-parse }

Parameters

Parameter Description Value
statistics

Indicates the statistical information.

-

bman bmanid

Indicates the ID of the packet.

The value is an integer that ranges from 0 to 255.

slot slotid

Indicates the slot number, according to the different hardware has a different range of values.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

qman qmanid

Indicates the queue ID.

The value is an integer that ranges from 0 to 9.

fq-cfg

Indicates packet queue configuration information.

-

mac-parse

Indicates the MAC address distribution rules.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
cli debug

Usage Guidelines

Usage Scenario

When you need to view the information about the CPU and NP forwarding channels, you can run the command.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Check the rules for MAC address distribution in specific slot.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display fe slot 17 cpu mac-parse
GE2 Mac Parse Rule:
 fqid:0x64, mac:00-e0-fc-12-00-64
 fqid:0x65, mac:00-e0-fc-12-00-65
 fqid:0x50, mac:00-e0-fc-12-00-50
# Check the memory statistics of packet 0 in specific slot.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display fe slot 17 cpu statistics bman 0
---------------------------------------------------------------------------
 DRV Bman Info:
 Buffer[ 0,15] Num: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x03ff
 Buffer[16,31] Num: 0x0400 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
 Buffer[32,47] Num: 0x9646 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
 Buffer[48,63] Num: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
# Check the packet statistics of queue 0 in specific slot (10GE interface).
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display fe slot 17 cpu statistics qman 0
---------------------------------------------------------------------------
 DRV Qman Info:
 10GE Counter:
                  tx-frame: 0x00000000-0x00000140
                  rx-frame: 0x00000000-0x0000014c
     rx-frame-check-errors: 0x00000000-0x00000000
       rx-alignment-errors: 0x00000000-0x00000000
            tx-pause-frame: 0x00000000-0x00000000
            rx-pause-frame: 0x00000000-0x00000000
  rx-frame-too-long-errors: 0x00000000-0x00000000
    rx-frame-length-errors: 0x00000000-0x00000000
             tx-vlan-frame: 0x00000000-0x00000000
             rx-vlan-frame: 0x00000000-0x00000000
                 tx-octets: 0x00000000-0x001c4e40
                 rx-octets: 0x00000000-0x001c4228
          rx-unicast-frame: 0x00000000-0x0000014c
        rx-multicast-frame: 0x00000000-0x00000000
        rx-broadcast-frame: 0x00000000-0x00000000
           tx-frame-errors: 0x00000000-0x00000000
          tx-unicast-frame: 0x00000000-0x00000140
        tx-multicast-frame: 0x00000000-0x00000000
        tx-broadcast-frame: 0x00000000-0x00000000
        rx-dropped-packets: 0x00000000-0x00000000
        rx-ethernet-Octets: 0x00000000-0x001c4228
                rx-packets: 0x00000000-0x0000014c
  tx-rx-undersized-packets: 0x00000000-0x00000000
              rx-64-frames: 0x00000000-0x00000000
          rx-65-127-frames: 0x00000000-0x00000000
         rx-128-255-frames: 0x00000000-0x00000000
         rx-256-511-frames: 0x00000000-0x0000000c
        rx-512-1023-frames: 0x00000000-0x00000000
       rx-1024-1518-frames: 0x00000000-0x00000000
        rx-1519-max-frames: 0x00000000-0x00000140
    tx-rx-oversized-frames: 0x00000000-0x00000000
       tx-rx-jabber-frames: 0x00000000-0x00000000
     tx-rx-fragment-errors: 0x00000000-0x00000000
          rx-frames-errors: 0x00000000-0x00000000
 FMan BMI Counter:
                  tx-frame: 0x00000166
          tx-frame-discard: 0x00000000
     tx-frame-length-error: 0x00000000
      tx-unsupport-discard: 0x00000000
       tx-frame-deallocate: 0x0000053c
                  rx-frame: 0x0000014c
              rx-bad-frame: 0x00000000
            rx-large-frame: 0x00000000
           rx-filter-frame: 0x00000000
          rx-frame-discard: 0x00000000
   rx-frame-list-DMA-error: 0x00000000
 rx-out-of-buffers-discard: 0x00000000
     rx-buffers-deallocate: 0x00000000
 ---------------------------------------------------------------------------------
 Portal tx-frame            tx-error-frame      rx-frame            rx-error-frame
 01     0x00000000-00000000 0x00000000-00000000 0x00000000-0000000c 0x00000000-00000000
 02     0x00000000-00000000 0x00000000-00000000 0x00000000-00000000 0x00000000-00000000
 03     0x00000000-00000000 0x00000000-00000000 0x00000000-00000000 0x00000000-00000000
 04     0x00000000-00000000 0x00000000-00000000 0x00000000-00000000 0x00000000-0bb84694
 05     0x00000000-00000000 0x00000000-00000000 0x00000000-00000000 0x00000000-09d08312
 06     0x00000000-00000000 0x00000000-00000000 0x00000000-00000000 0x00000000-00000000
 07     0x00000000-00000000 0x00000000-00000000 0x00000000-00000000 0x00000000-00000000
 08     0x00000000-00000140 0x00000000-00000000 0x00000000-00000000 0x00000000-00000000
 09     0x00000000-00000000 0x00000000-00000000 0x00000000-00000140 0x00000000-00000000
Table 2-1622 Description of the display fe slot cpu command output
Item Description
Portal

Indicates the serial number.

tx-frame

Indicates the sending frame.

tx-error-frame

Indicates that an error frame was sent.

rx-frame

Indicates the receiving frame.

rx-error-frame

Indicates receiving error frame.

rx-frame-check-errors

Indicates receiving frame verification error.

rx-alignment-errors

Indicates the number of received frames with calibration errors.

tx-pause-frame

Indicates that pause frames are sent.

rx-pause-frame

Indicates that pause frames are received.

rx-frame-too-long-errors

Indicates that an excessively long frame is received.

rx-frame-length-errors

Indicates that the length of the received frame is incorrect.

tx-vlan-frame

Indicates that VLAN frames are sent.

rx-vlan-frame

Indicates the VLAN frames are received.

tx-octets

Indicates the number of sent bytes.

rx-octets

Indicates the number of received bytes.

unicast-frame

Indicates the unicast frame.

multicast-frame

Indicates the multicast frame.

broadcast-frame

Indicates the broadcast frame.

tx-frame-errors

Indicates that the transmit frame is incorrect.

rx-dropped-packets

Indicates the number of received lost packets.

rx-ethernet-Octets

Indicates the number of received Ethernet bytes.

rx-packets

Indicates the number of received packets.

tx-rx-undersized-packets

Indicates the short frame during transmission.

tx-rx-oversized-frames

Indicates the long frame during transmission.

tx-rx-jabber-frames

Indicates the long frame during transmission.

tx-rx-fragment-errors

Indicates that an error frame was detected during transmission and the frame length is less than 64 bytes.

rx-frames-errors

Indicates receiving frame error.

tx-frame-discard

Indicates that the dropped frame is sent.

tx-frame-length-error

Indicates that the send frame length is wrong.

tx-unsupport-discard

Indicates that the sent frame is not discarded.

tx-frame-deallocate

Indicates the count of memory released after sending the frame.

rx-bad-frame

Indicates that an error frame was received.

rx-large-frame

Indicates that a long frame was received.

rx-filter-frame

Indicates that the frame is filtered after receiving the abnormal frame.

rx-frame-discard

Indicates that the receive frame is discarded.

rx-frame-list-DMA-error

Indicates that the packet is discarded due to a DMA error after receiving the frame.

rx-out-of-buffers-discard

Indicates that the received frame is discarded due to insufficient memory.

rx-buffers-deallocate

Indicates the number of memory releases after a frame is received.

display halt-system halt-board

Function

The display halt-system halt-board command displays the halt time of the system or board.

Format

display { halt-system | halt-board }

Parameters

Parameter Description Value
halt-system

System halt record.

-

halt-board

Board halt record.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

The display halt-system halt-board command displays the halt time of the system or board.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the halt time of the system or board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display halt-board
MPU board halt record information:
CurrentSeq = 2 
[0] Begin time:2020-12-11 21:20:29  End time:2020-12-12 08:34:03
[1] Begin time:2020-12-12 14:26:19  End time:2020-12-12 14:31:59
[2] Begin time:2020-12-12 20:53:35  End time:-------------------
[3] Begin time:2020-12-10 14:18:45  End time:2020-12-10 14:24:31
[4] Begin time:2020-12-10 18:23:12  End time:2020-12-10 18:28:48
[5] Begin time:2020-12-11 09:28:13  End time:2020-12-11 09:33:51
[6] Begin time:2020-12-09 20:49:00  End time:2020-12-09 20:54:40
[7] Begin time:2020-12-10 09:50:09  End time:2020-12-10 09:55:54
[8] Begin time:2020-12-10 10:33:19  End time:2020-12-10 10:38:56
[9] Begin time:2020-12-10 08:30:44  End time:2020-12-11 08:55:38
[~HUAWEI-diagnose] display halt-system
System halt record information:
Last update time          = 2020-12-12 14:33:10
Last revise time          = 2020-12-12 14:33:10
System halt count         = 1266
System halt time          = 47319153(s)
Revised system halt count = 1266
Revised system halt time  = 47319153(s)
Table 2-1623 Description of the display halt-system halt-board command output
Item Description
board halt record information

board halt record information.

System halt record information

System halt record information.

System halt count

System halt count.

System halt time

System halt time.

Last update time

Last update time.

Last revise time

Last revise time.

Revised system halt count

Revised system halt count.

Revised system halt time

Revised system halt time.

display hardware-information

Function

The display hardware-information slot command displays the router hardware information.

Format

display hardware-information { slot slot-id | all }

Parameters

Parameter Description Value
slot slot-id

Displays the hardware information of a specified slot.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

all

Displays all hardware information.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To display hardware information, run the display hardware-information slot command. When the check hardware-compatibility command displays unmatched items, run the display hardware-information slot command to check the router hardware information. To display hardware supported by the system software package, run the display hardware-compatibility command. To locate causes of unmatched items, compare the two command outputs.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the hardware chip information of the router.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display hardware-information all
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
MPU 18 hardware information:
  BOARD Name        :  CR56MPUB4 
  DEVICE Type       :  0x103f
  HARD Type         :  0x10000a03
  PCB Version       :  0x1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
LPU 3 hardware information:
  BOARD Name        :  CR56LPUF200A 
  DEVICE Type       :  0x1040
  HARD Type         :  0x90003612
  PCB Version       :  0x1
  BOMID             :  0x1
  SERVICE Type      :  LPU
  TM CHIP1          :  0x5
  TM CHIP2          :  0x5
  FE CHIP3          :  0x6e
  NSE CHIP1         :  0x8000021b
  NSE CHIP2         :  0x0
  NSE CHIP3         :  0x0
LPU 6 hardware information:
  BOARD Name        :  CR56LPUF100A 
  DEVICE Type       :  0x1040
  HARD Type         :  0x10000a4c
  PCB Version       :  0x1
  BOMID             :  0x7
  SERVICE Type      :  LPU
  TM CHIP1          :  0x5
  FE CHIP3          :  0x64
  NSE CHIP1         :  0x8000021b
  NSE CHIP2         :  0x0
  NSE CHIP3         :  0x0
LPU 7 hardware information:
  BOARD Name        :  CR52LPUE 
  DEVICE Type       :  0x1040
  HARD Type         :  0x10000a43
  PCB Version       :  0x2
  SERVICE Type      :  LPU
  TM CHIP1          :  0x0
  TM CHIP2          :  0x0
  FE CHIP1          :  0x258
  NSE CHIP1         :  0x8000020e
  NSE CHIP2         :  0x1
  NSE CHIP3         :  0x0
  PIC0 hardware information:
  PIC name          :  CR52W2XX 
  DEVICE Type       :  0x103b
  HARD Type         :  0x40000010
  PCB Version       :  0x3
  PIC CHIP1         :  0x0
  PIC1 hardware information:
  PIC name          :  CR52W2XX 
  DEVICE Type       :  0x103b
  HARD Type         :  0x40000010
  PCB Version       :  0x3
  PIC CHIP1         :  0x0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
SFU 19 hardware information:
  BOARD Name        :  CR56SFUF200A 
  DEVICE Type       :  0x1041
  HARD Type         :  0x90002105
  PCB Version       :  0x1
  SC CHIP1          :  0x0
SFU 20 hardware information:
  BOARD Name        :  CR56SFUF100B 
  DEVICE Type       :  0x1041
  HARD Type         :  0x10000b0a
  PCB Version       :  0x1
  SC CHIP1          :  0x0
Table 2-1624 Description of the display hardware-information command output
Item Description
BOARD Name

Card Name.

display ipg

Function

The display ipg command sets and displays the information about the interframe gap.

Format

display ipg slot slot_id card card_id [ port port_id ]

Parameters

Parameter Description Value
card card_id

Specifies the card ID.

The value is an integer ranging from 0 to 4294967295.

port port_id

Specifies the interface number.

The value is a string of 1 to 63 characters.

slot slot_id

Specifies a slot ID.

The value is a string of 1 to 63 case-sensitive characters. It cannot contain spaces.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

The display ipg command sets and displays the information about the interframe gap.

Example

The actual command output varies according to the device. The command output here is only an example.

# In the diagnosis view, display the information about the interframe gap.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display ipg slot 1 card 2
Info: Slot1 card2 port0 ipg value is 12. 
      Slot1 card2 port0 default ipg value is 11.  
Info: Slot1 card2 port1 ipg value is 12. 
      Slot1 card2 port1 default ipg value is 11.  
Info: Slot1 card2 port2 ipg value is 12. 
      Slot1 card2 port2 default ipg value is 11.  
Info: Slot1 card2 port3 ipg value is 12. 
      Slot1 card2 port3 default ipg value is 11.
Table 2-1625 Description of the display ipg command output
Item Description
ipg value

Indicates the frame gap.

default ipg value

Indicates the default frame gap.

display license resource information board-capacity

Function

The display license resource information board-capacity command displays information about license resources for capacity improvement on all boards or a board in a specified slot of a device.

This command is supported only on the NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A and NE40E-X16C.

Format

display license resource information board-capacity { all | slot slot-id }

Parameters

Parameter Description Value
all

Displays authorization information about all interface-specific basic hardware licenses.

-

slot slot-id

Specifies the slot ID of a board.

The value is a string of 1 to 32 case-sensitive characters. It cannot contain spaces.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

To use capacity improvement functions on all boards of a device or a board in a specified slot, run the display license resource information board-capacity command to view the required license control items and usage mode. Based on the command output, you can determine the license resources to be purchased.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about the board capacity expansion license in a slot.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display license resource information board-capacity slot 17
Board license information: 
-----------------------------------------------------------------------------------------------------------------
Slot     Item Name              Description   Unit         Needed Count    Strategy
-----------------------------------------------------------------------------------------------------------------
17        ***CPC***         ***360G up to 480G RTU(per CXP)          BOARD          1             A
License strategy: A
# Display information about the license for capacity expansion of all boards on a device.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display license resource information board-capacity all
FeatureName:board-capacity
Board license information: 
-----------------------------------------------------------------------------------------------------------------
Slot            Item Name              Description   Unit         Needed Count    Strategy
-----------------------------------------------------------------------------------------------------------------
17   ***CPC***         *** 360G up to 480G RTU(per CXP)          BOARD          1             A
18   ***CPC***         *** 360G up to 800G RTU(per CXP)          BOARD          1             A
License strategy: A
Table 2-1626 Description of the display license resource information board-capacity command output
Item Description
Board license information

Board license information. The slot ID is used as the index to print the license supported by the slot.

Slot

Slot ID.

Item Name

External model of the license.

Description

Description of the license.

Unit

Unit of the license. For a device license, the value is Device. For a board license, the value is board.

Needed Count

Number of licenses required. For a device license, the value is 1. For a board license, the value is the required number.

Strategy

Required license strategy.

License strategy

Combination strategies supported by the feature.

FeatureName

Feature name.

display license resource information enhance-transport-mode

Function

The display license resource information enhance-transport-mode command can view resource information about the license file that contains the LTNRMODE00 control item.

Format

display license resource information enhance-transport-mode

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

If you need to use a GTL license with the LTNRMODE00 control item, run the display license resource information enhance-transport-mode command to view license control items and determine the license resources to be purchased.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about the GTL license with the LTNRMODE00 control item.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display license resource information enhance-transport-mode
FeatureName: enhance-transport-mode
Global license information:
 ---------------------------------------------------------------------------------------------------------------------------------
 Item Name         Description                                                              Unit            Needed Count  Strategy
 ---------------------------------------------------------------------------------------------------------------------------------
***MODE***     *** Enhance transport function enable                                           Device          1             A
License strategy: A
Table 2-1627 Description of the display license resource information enhance-transport-mode command output
Item Description
Global license information

Number of globally required licenses.

Item Name

External model of the license.

Description

Description of the license.

Unit

Unit of the license. For a device license, the value is Device. For a board license, the value is board.

Needed Count

Number of licenses required. For a device license, the value is 1. For a board license, the value is the required number.

Strategy

Required license strategy.

License strategy

Combination strategies supported by the feature.

FeatureName

Name of a feature.

display license resource information flexe

Function

The display license resource information flexe command displays information about the license required for using the FlexE function on a device.

Format

display license resource information flexe { all | slot slot-id }

Parameters

Parameter Description Value
all

Displays information about the license required for using the FlexE function on a device.

-

slot slot-id

Displays information about port licenses required for using the FlexE function in a specified slot.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To use the FlexE function, you need to apply for the license of the corresponding feature. To check license information, including license control items and control policies, required on interfaces enabled with the FlexE function, run the display license resource command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about the license required for using the FlexE function on a device.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display license resource information flexe all
FeatureName: flexe
Port license information:
-------------------------------------------------------------------------------------------------
Port     Item name   Description         Unit     Needed Count  Strategy                                                                              
-------------------------------------------------------------------------------------------------
*/*/*    LCR5**0    FlexE**(per 50GE)   50Gbps          *         *                                                               
*/*/*    LCR5**0    FlexE**(per 100GE)  100Gbps       *         *                                                           
*/*/*    LCR5**0    FlexE**(per 100GE)  100Gbps       *         *   
*/*/*    LCR5**0    FlexE**(per 50GE)   50Gbps          *         *   
*/*/*    LCR5**0    FlexE**(per 50GE)   50Gbps          *         *   
License strategy: *
# Display information about port licenses required for using the FlexE function in a specified slot.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display license resource information flexe slot 1
FeatureName: flexe
Port license information:
-------------------------------------------------------------------------------------------------
Port     Item name   Description         Unit     Needed Count  Strategy                                                                              
-------------------------------------------------------------------------------------------------
*/*/*    LCR5**0    FlexE**(per 50GE)   50Gbps          *         *                                                               
*/*/*    LCR5**0    FlexE**(per 100GE)  100Gbps       *         *                                                           
*/*/*    LCR5**0    FlexE**(per 100GE)  100Gbps       *         *   
*/*/*    LCR5**0    FlexE**(per 50GE)   50Gbps          *         *   
*/*/*    LCR5**0    FlexE**(per 50GE)   50Gbps          *         *   
License strategy: *
# The FlexE function is not controlled by a license.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display license resource information flexe all
FeatureName: flexe
This feature is not controlled by license.
License strategy: NA
Table 2-1628 Description of the display license resource information flexe command output
Item Description
Port license information

Port license information.

Port

Port number.

Item name

External model of the license.

Description

License description.

Unit

License dimension.

Needed Count

Number of required licenses. For example, a|b|c indicates that a, b, or c license items are required. a indicates the minimum capability that can be satisfied, b indicates the capability that can be satisfied, and c indicates that c can be configured to increase the rate to the maximum capability.

Strategy

Current license policy.

License strategy

License combination strategy supported by the feature. A (or other letters) is the license strategy ID in the Strategy field.

  • or: indicates that the feature is controlled by either of the two license strategies.
  • and: indicates that the feature is controlled by both of the two license strategies.
FeatureName

Feature name.

display license resource information port-rtu

Function

The display license resource information port-rtu command displays the RTU control items and use policies for the real-time rates of RTU-supported ports on the current device.

This command is supported only on the NE40E-X3, NE40E-X3A, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A and NE40E-X16C.

Format

display license resource information port-rtu { all | slot slot-id }

Parameters

Parameter Description Value
all

Displays the RTU control items and use policies for the real-time rates of RTU-supported ports on the current device.

-

slot slot-id

Displays the RTU information of a port in a specified slot. The required license control items and use policies are displayed.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To query the RTU control items and use policies for the real-time rates of RTU-supported ports on the current device, run this command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the RTU control items and use policies for the real-time rates of RTU-supported ports on the current device.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display license resource information port-rtu all
FeatureName: port-rtu
Port license information:
-------------------------------------------------------------------------------------------------
Port     Item name   Description       Unit     Needed Count  Strategy                                                                              
-------------------------------------------------------------------------------------------------
*/*/*    LCR5**0    1*100G** RTU**   100Gbps          *             *                                                               
*/*/*    LCR5**0    1*100G** RTU**   100Gbps          *             *                                                           
*/*/*    LCR5**0    1*100G** RTU**   100Gbps          *             *   
*/*/*    LCR5**0    1*100G** RTU**   100Gbps          *             *   
*/*/*    LCR5**0    1*100G** RTU**   100Gbps          *             *   
License strategy: *
# Display RTU information about ports in a specified slot, including the required license control items and usage policies.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display license resource information port-rtu slot 1
FeatureName: port-rtu
Port license information:
-------------------------------------------------------------------------------------------------
Port     Item name   Description       Unit     Needed Count  Strategy                                                                              
-------------------------------------------------------------------------------------------------
*/*/*    LCR5**0    1*100G** RTU**   100Gbps          *             *                                                               
*/*/*    LCR5**0    1*100G** RTU**   100Gbps          *             *                                                           
*/*/*    LCR5**0    1*100G** RTU**   100Gbps          *             *   
License strategy: *
# The current device port is not controlled by the RTU.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display license resource information port-rtu all
FeatureName: port-rtu
This feature is not controlled by license.
License strategy: NA
Table 2-1629 Description of the display license resource information port-rtu command output
Item Description
Port license information

Port license information.

Port

Port number.

Item name

External model of the license.

Description

License description.

Unit

License dimension.

Needed Count

Number of required licenses. For example, a|b|c indicates that a, b, or c license items are required. a indicates the minimum capability that can be satisfied, b indicates the capability that can be satisfied, and c indicates the maximum capability.

Strategy

Current license policy.

License strategy

License combination policy supported by a feature. A (or another letter) is the license policy letter number in the Strategy field.

  • or: indicates that the license can be controlled by either of the two license policies.
  • and: indicates that the license is controlled by two license policies at the same time.
FeatureName

Feature name.

display license resource information virtual-cluster

Function

The display license resource information virtual-cluster command displays information about license resources in a virtual cluster.

This command is supported only on the NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C and NetEngine 40E-X8AK.

Format

display license resource information virtual-cluster

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To use virtual cluster functions, run the display license resource information virtual-cluster command to check license control items and determine the license resources to be purchased.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about licenses in a virtual cluster.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display license resource information virtual-cluster
FeatureName: virtual-cluster
Global license information:
 ---------------------------------------------------------------------------------------------------------------------------------
 Item Name           Description                                                              Unit            Needed Count  Strategy
 ---------------------------------------------------------------------------------------------------------------------------------
 ***VC***   *** Series Virtual Cluter Function License                                           Device          1             A
License strategy: A
Table 2-1630 Description of the display license resource information virtual-cluster command output
Item Description
Global license information

Number of globally required licenses.

Item Name

External model of the license.

Description

Description of the required license.

Unit

Unit of the license. For a device license, the value is Device. For a board license, the value is board.

Needed Count

Number of licenses required. For a device license, the value is 1. For a board license, the value is the required number.

Strategy

Policy of the required license.

License strategy

Combination strategies supported by the feature.

FeatureName

Feature name.

display mac-address pic

Function

The display mac-address pic command displays the MAC address of a card.

Format

display mac-address slot slotid [ pic cardid ]

Parameters

Parameter Description Value
pic cardid

Specifies a card ID.

The value is an integer that ranges from 0 to 3.

slot slotid

Specifies a slot ID.

The value is a string. It does not support white space. It is case insensitive and ranges in length from 1 to 31.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

You can run the display mac-address pic command to check the MAC address of a card.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the MAC address of a card.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display mac-address slot 1 pic 2
Card ID   :2
Macs      :5
MAC addresses:
00e0-fc12-eeff
00e0-fc12-ef00
00e0-fc12-ef01
00e0-fc12-ef02
00e0-fc12-ef03
Table 2-1631 Description of the display mac-address pic command output
Item Description
Card ID

Card ID.

Macs

Number of MAC addresses.

MAC addresses

MAC address of each interface.

display mbus inspection information all-type

Function

The display mbus inspection information all-type command displays the CANBUS monitoring status of the electromechanical component on a board.

Format

display mbus inspection information all-type [ slot slot-id ]

Parameters

Parameter Description Value
slot slot-id

Specifies the slot ID of a board.

The value is a string of 1 to 30 case-sensitive characters without spaces.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

You can run the display mbus inspection information all-type command to view the status information monitored by the CANBUS of the electromechanical component on a board, such as flash erasing and writing information.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the CANBUS monitoring status of all types of boards.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display mbus inspection information all-type
slotId: 1
--------------------------------------------------------------------------
Current  Counter: 0
History:
--------------------------------------------------------------------------
slotId: 2
--------------------------------------------------------------------------
Current  Counter: 1
History:
020012022012111022500600060
--------------------------------------------------------------------------
slotId: 17
--------------------------------------------------------------------------
Current  Counter: 0
History:
--------------------------------------------------------------------------
slotId: 18
--------------------------------------------------------------------------
Current  Counter: 0
History:
--------------------------------------------------------------------------
# Display the CANBUS monitoring status of the electromechanical component on the board in 1.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display mbus inspection information all-type slot 1
slotId: 1
--------------------------------------------------------------------------
Current  Counter: 0
History:
--------------------------------------------------------------------------
# Display the CANBUS monitoring status of a power module.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display mbus inspection information all-type slot PWR
Info: PWR slot does not support this command.
Table 2-1632 Description of the display mbus inspection information all-type command output
Item Description
Current Counter

Number of times that the flash memory is frequently erased and written.

History

Indicates the exception information about the flash memory. Each piece of data contains 27 bits. Bits 1 and 2 indicate the slot ID, bits 3 to 5 indicate the index, bits 6 to 9 indicate the year, bits 10 and 11 indicate the month, bits 12 and 13 indicate the date, bits 14 to 19 indicate the hour, minute, and second, bit 20 indicates the block ID, bits 21 to 23 indicate the count within one hour, and bits 24 to 27 indicate the count in a day.

display mpu slot

Function

The display mpu slot command displays the real-time clock on the MPU and whether the center chassis memory card is on the MPU.

Format

display mpu slot slotid rtc

Parameters

Parameter Description Value
slotid

Specifies an available slot ID.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
cli debug

Usage Guidelines

Usage Scenario

You can run the command to read the main control board's real-time clock / detect whether the central box memory is in place.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the real-time clock on the MPU or IPU.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display mpu slot 17 rtc
2013-07-06 11:47:27
Table 2-1633 Description of the display mpu slot command output
Item Description
<slotid>

Specifies an available slot ID.

display output-mode users

Function

The display output-mode users command displays information about users using serial port redirection.

Format

display output-mode users

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

You can execute this command when you need to view the user whose serial port is redirected.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display users who use interface redirection.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display output-mode  users
-----------------------------------------
User-Intf            SlotID     Type      
------------------------------------------
98498                9          Open      
------------------------------------------
Table 2-1634 Description of the display output-mode users command output
Item Description
User-Intf

User ID determined by a channel ID.

SlotID

Slot ID.

Type

Interface redirection state.

display pdu-information

Function

The display pdu-information command is used to view the details about the pdu module.

This command is supported only on the NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C and NetEngine 40E-X8AK.

Format

display pdu-information [ slot slotid [ dacs dacsid ] ]

Parameters

Parameter Description Value
slot slotid

Indicates the slot number.

The value is a string of 1 to 30 case-sensitive characters, spaces not supported.

dacs dacsid

Indicates the dacs module ID.

The value is a string of 1 to 30 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When you need to view the detailed information about the pdu module, you can run this command.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display details about the pdu module.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display pdu-information slot 1 dacs DACS10
DACS10 information:                                                                                                                 
----------------------------------------------                                                                                      
PCB                 : CR58DCBA REV A                                                                                                
SoftVer             : 3.33                                                                                                          
InVoltage           : 176.00~264.00                                                                                                 
OutStatus           : ON                                                                                                            
RegisterStatus      : REGISTER                                                                                                      
RunStatus           : APP                                                                                                           
DacsTmp1            : 31                                                                                                            
DacsTmp2            : 37                                                                                                            
DacsTmp3            : 33                                                                                                            
Fan1Speed           : 100%                                                                                                          
Fan2Speed           : 0%                                                                                                            
I2cStatus           : Normal                                                                                                        
Fan1Status          : Normal                                                                                                        
Fan2Status          : Abnormal                                                                                                      
Temp1Status         : Normal                                                                                                        
Temp2Status         : Normal                                                                                                        
Temp3Status         : Normal                                                                                                        
LastSwitchStatus    : Status switching is not performed.                                                                            
LastSwitchRsn       : Status switching is not performed.                                                                            
LastSwitchTime      : Status switching is not performed.                                                                            
----------------------------------------------
Table 2-1635 Description of the display pdu-information command output
Item Description
PCB

Indicates the PCB version of the power module.

SoftVer

Indicates the software version.

InVoltage

Indicates the input voltage.

OutStatus

Indicates the output status.

RegisterStatus

Indicates the registration status.

RunStatus

Indicates the running status.

DacsTmp1

Indicates the temperature 1 of dacs module.

DacsTmp2

Indicates the temperature 2 of dacs module.

DacsTmp3

Indicates the temperature 3 of dacs module.

Fan1Speed

Indicates the speed of fan 1.

Fan2Speed

Indicates the speed of fan 2.

I2cStatus

Indicates the status of a inter-integrated circuit.

Temp1Status

Indicates the status of the temperature 1.

Temp2Status

Indicates the status of the temperature 2.

Temp3Status

Indicates the status of the temperature 3.

LastSwitchStatus

Indicates the previous switching state.

LastSwitchRsn

Indicates the cause of the last switch.

LastSwitchTime

Indicates the time of the last switch.

display phy mac reg

Function

The display eth-port command displays the value of the PHY or MAC register in a slot or with a specified address.

Format

display board slot slotid eth-port portid { mac-reg | phy-reg } [ address address-value ]

Parameters

Parameter Description Value
slotid

Specifies a valid slot ID.

The value is a string of 1 to 15 case-sensitive characters. It cannot contain spaces.

portid

Specifies the valid ID of an active network interface.

The value is an integer ranging from 0 to 4294967295.

mac-reg

Specifies mac-reg.

-

phy-reg

Specifies phy-reg.

-

address-value

Specifies a register address.

The value ranges from 0 to ffffffff, in hexadecimal notation.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

If a network interface is abnormal, run the display eth-port command to view information about the network interface. The command output helps locate faults.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the value of the MAC register on Ethernet interface 0 in slot 1.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 17 eth-port 0 phy-reg address 1
0x0000 : 0x0140
Table 2-1636 Description of the display phy mac reg command output
Item Description
address

Register address.

value

Register value.

name

Specifies the register name.

display power manufacture-info convert-board

Function

The display power manufacture-info command displays the manufacturing information of a specified power convert board.

Format

display power manufacture-info slot slotid { 0 | convert-board }

Parameters

Parameter Description Value
0

The present power mode.

-

convert-board

Convert board.

-

slot slotid

Slot number. The value range varies with different router hardware.

The value is a string of 1 to 30 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

This command can be used to display the manufacture information of a specified power convert board.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the manufacture information of a power convert board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display power manufacture-info slot 9 convert-board
Getting manufacture information...
Slot9  power convert-board  manufacture-information:   
-------------------------------------------
/$[ArchivesInfo Version]  
/$ArchivesInfoVersion=3.0
[Board Properties]
BoardType=CR52PEMB
BarCode=2102120560P0B3001292
Item=02120560
Description=NetEngine40E,CR52PEMB,48V DC Power Entry Module
Manufactured=2011-03-16
VendorName=Huawei
IssueNumber=00
CLEICode=IPUPAG3TAA
BOM=
Model=
ExInfo=
/$ElabelVersion=4.0
Table 2-1637 Description of the display power manufacture-info convert-board command output
Item Description
ArchivesInfoVersion

Archive information version.

BoardType

Type of the filtering box FRU (including the board, backplane, and power supply).

BarCode

Bar code.

Item

BOM code.

Description

English description.

Manufactured

Production Date.

VendorName

Vendor name.

IssueNumber

Issue number.

CLEICode

CLEI code.

BOM

Sales BOM code.

Model

External model.

ElabelVersion

Electronic label version.

display power-check

Function

The display power-check command displays the power control mode.

This command is supported only on the NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C and NetEngine 40E-X8AK.

Format

display power-check chassis chassis-id

display power-check

Parameters

Parameter Description Value
chassis-id

Specifies an available chassis ID.

The value is a string of 1 to 49 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To check the power control mode, run the display power-check command.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the power control mode.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display power-check
Info: The power-check mode is enable.
Table 2-1638 Description of the display power-check command output
Item Description
Info: The power-check mode is enable.

Current mode supports power control.

display power-information

Function

The display power-information command displays the running information about the power module.

This command is supported only on the NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C and NetEngine 40E-X8AK.

Format

display power-information [ slot slotid [ pm pmid ] ]

Parameters

Parameter Description Value
slotid

Specifies the slot ID.

The value is a string of 1 to 30 case-sensitive characters, spaces not supported.

pmid

Specifies a power module ID.

The value is a string of 1 to 30 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To view the running information about the power module, run the display pm information command.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the running information about the power module.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display power-information slot 25
Slot 25:
PM A1 information:
----------------------------------------------
PCB         : PDC-2200WC REV A
Type        : 0x70540c09
SerialNo    : 00000000
Item        : 
DcDcSoftVer : 3.4
PfcSoftVer  : 3.4
AppSoftVer  : 3.4
RatedPower  : 2200W
InputMode   : DC
InVoltage   : 38V~72V
Real-time InVol: A[53.93]B[53.93]
OutVoltage  : 53.5V
OutStatus   : ON
StartupTime : 394h
TolRunTime  : 402h
PcbTemp     : 33
EnvTemp     : 29
OutSwitch   : [1] ON  [2] ON 
LastShutRsn : 2018-12-11 13:25:33,No input.
----------------------------------------------
Table 2-1639 Description of the display power-information command output
Item Description
PCB

Power supply module version.

Type

Code of a power module type.

SerialNo

Sequence number of a power module.

Item

Number of a power module.

DcDcSoftVer

DCDC module version.

PfcSoftVer

PFC power module version.

AppSoftVer

Power software version.

RatedPower

Rated power (W).

InVoltage

Rated voltage (V).

Real-time InVol

Input voltage information.

OutVoltage

Output voltage (V).

OutStatus

Output status:

  • ON.
  • OFF.
StartupTime

Time elapsed since a startup.

TolRunTime

Total running time.

PcbTemp

PCB temperature.

EnvTemp

Ambient temperature.

OutSwitch

Air breaker status:

  • 1: ON.
  • 2: OFF.
LastShutRsn

Reason why the device was powered off last time.

For non PM PDC-2200WA, such as LastShutRsn, PDC-2200WB does not display time information.

display power-isolate

Function

The display power-isolate command displays the subcard registration flags for a power isolation board.

Format

display power-isolate slot slotid

Parameters

Parameter Description Value
slotid

Specifies the slot ID of a board. The value varies depending on the router hardware.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

During a device restart, if the board power is inadequate, the subcard registration flag determines the power-on and registration sequence of a subcard. The subcard with the flag enabled is powered on preferentially. To check the subcard registration flags on a board, run the display power-isolate command.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the power isolation flags of subcards on a board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display power-isolate slot 1
The register flag info of Slotid 1 as follows: 
CardId          last RegInfo
   0                 Register
   1                 UnRegister
   2                 UnRegister
   3                 UnRegister
Table 2-1640 Description of the display power-isolate command output
Item Description
The register flag info of Slotid 1 as follows

Registration mark information of No. 1 board.

CardId

Subcard ID.

last RegInfo

Last registration status of the subcard.

display ptn-mode

Function

The display ptn-mode command displays whether the startup mode is dcn-management-plane mode or dcn-control-plane mode in PTN mode.

This command is supported only on the NE40E-X3, NE40E-X3A, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A and NE40E-X16C.

Format

display ptn-mode

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

The display ptn-mode command displays whether the startup mode is dcn-management-plane mode or dcn-control-plane mode in PTN mode.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the startup mode in encapsulated PTN mode.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display ptn-mode
Current mode is dcn-control-plane mode.
Next mode is dcn-control-plane mode.
# Display the startup mode in normal PTN mode.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display ptn-mode
Current mode is dcn-management-plane mode.
Next mode is dcn-management-plane mode.
Table 2-1641 Description of the display ptn-mode command output
Item Description
display ptn-mode

Startup mode.

  • dcn-control-plane mode.
  • dcn-management-plane.

display seclogger status slot

Function

The display seclogger status slot command displays the dumping status of security logs.

Format

display seclogger status slot slot_id

Parameters

Parameter Description Value
slot slot_id

Slot ID.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To view the dumping status of security logs, run the display seclogger status slot command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the log dump status.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display seclogger status slot 1
---------------------------------------------------------------
slot-id            : 1
---------------------------------------------------------------
socket info:
 seclogger socketFd : 82
 seclogger status   : success
---------------------------------------------------------------
receive msg statistic :
 receive hello message counter : 3
 receive hello message bytes   : 1536
 receive data  message counter : 1854
 receive data  message bytes   : 7300076
---------------------------------------------------------------
last log info :
 latest log repeat count       : 0
 latest log string             : type=AVC msg=audit(1628606457.490:4211028): avc:  denied  { ioctl } for  pid=1242229 comm="sec_logtrans" path="/dev/env" dev="devtmpfs" ino=971 ioctlcmd=4501 scontext=system_u:system_r:os_log_logrotate_t:s0:c0 tcontext=system_u:object_r:drv_env_cdev_t:s0:c0 tclass=chr_file permissive=1
Table 2-1642 Description of the display seclogger status slot command output
Item Description
seclogger socketFd

Socket handle.

seclogger status

Transformation status.

slot-id

Slot id.

socket info

Socket information.

receive msg statistic

Statistics on logs received by the log server.

receive hello message counter

Times of received hello messages.

receive hello message bytes

Bytes of received hello messages.

receive data message counter

Times of received data messages.

last log info

Information of the last log.

latest log repeat count

Repeate times of the latest log.

latest log string

The content of latest log.

display sensor-i2c-errors

Function

The display sensor-i2c-errors command displays the CANBUS sensor and i2c alarms.

Format

display sensor-i2c-errors

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
cli debug

Usage Guidelines

Usage Scenario

When the temperature or voltage is abnormal, run the display sensor-i2c-errors command to check whether the sensor is faulty. If so, replace it.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the CANBUS sensor and i2c alarms.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display sensor-i2c-errors
-------------------------------------------
Slot#    i2c/sensor    i2cNo    address 
-------------------------------------------
17       sensor        pwr1      0
17       sensor        pwr1      1
17       sensor        pwr1      2
17       sensor        pwr1      3
-------------------------------------------
Table 2-1643 Description of the display sensor-i2c-errors command output
Item Description
i2c/sensor

i2c channel/sensor.

address

Address.

Slot

Slot ID.

i2cNO

i2c channel number.

display version power-backplane

Function

The display version power-backplane command displays the hardware version of a PSU backplane.

This command is supported only on the NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C and NetEngine 40E-X8AK.

Format

display version power-backplane

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

The display version power-backplane command displays the hardware version of a PSU backplane.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the hardware version of the PSU backplane.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display  version  power-backplane
power-backplane  version information:
  PCB      Version : CR52XXX REV A
Table 2-1644 Description of the display version power-backplane command output
Item Description
PCB Version

PCB version.

dumpcore

Function

The dumpcore command triggers a core dump for a user-mode process. The generated core dump file is stored in the STAT card of the system control board.

Format

dumpcore slot slotid { processid | all } [ force ]

dumpcore mpu { master | slave } { processid | all } [ force ]

Parameters

Parameter Description Value
processid

Indicates the process ID.

The value is an integer that ranges from 0 to 4294967295 .

force

Indicates forcibly trigger user-mode process coredump.

-

slot slotid

Indicates the slot number.

The value is a string of 1 to 49 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To trigger a core dump for a user-mode process and save the generated core dump file to the STAT card of the system control board, run the core dump command.

In VS mode, this command is supported only by the admin VS.

Example

# Non-mandatory implementation of the command line (Requires memory usage less than 50%, CPU usage less than 50% and sata disk capacity is not less than 1G capacity).
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] dumpcore slot 12 34
************************************************************
*                       W A R N I N G                      *
* Dump command is a risky command.May cause system problem.*
************************************************************
Please confirm to execute this command.continue? [Y/N]:y
Info: Succeeded. The file save to logfile directory

dustproof run-time chassis day

Function

The dustproof run-time command configures a running time for an air filter.

This command is supported only on the NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C and NetEngine 40E-X8AK.

Format

dustproof run-time chassis chassis-id day run-time-value

Parameters

Parameter Description Value
run-time-value

The running days since the dustproof sponge is cleared.

The value ranges from 0 to 65535.

chassis chassis-id

Specifies the ID of the chassis where the air filter resides.

The value ranges from clc1 to clc8.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

Set the air filter to run after the current time, mainly for debugging.

In VS mode, this command is supported only by the admin VS.

Example

# Configure a running time for an air filter.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] dustproof run-time chassis clc1 day 2
Info: Set run-time of air filter success.

dustproof run-time day

Function

The dustproof run-time command configures a running time for an air filter.

Format

dustproof run-time day run-time-value

Parameters

Parameter Description Value
run-time-value

The running days since the dustproof sponge is cleared.

The value is an integer that ranges from 0 to 65535.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

Set the air filter to run after the current time, mainly for debugging.

In VS mode, this command is supported only by the admin VS.

Example

# Configure a running time for an air filter.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] dustproof run-time day 2
Info: Set run-time of air filter success.

fan speed percent

Function

The fan speed percent command sets the fan rotating rate of a single-chassis device by group.

This command is supported only on the NE40E-X3 and NE40E-X3A.

Format

fan speed percent value groupid group-id

Parameters

Parameter Description Value
groupid group-id

Specifies a group ID.

The value is an integer ranging from 1 to 2.

percent value

Specifies the percentage of the fan rotating rate.

The value is an integer ranging from 1 to 100.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To configure a proper fan rotating rate for a single- or multi-chassis device, run the corresponding command. For example, if the board power consumption is large, you can run the command to configure a higher fan rotating rate to speed up heat dissipation.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Configure a fan rotating rate by group.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] fan speed percent 40 groupid 1

format cfcard2

Function

The format cfcard2 command formats the external CF card for production.

Format

format cfcard2

format cfcard2 file-system

Parameters

Parameter Description Value
cfcard2

Number of available external CF cards on the device.

cfcard2: indicates the external CF card of the master MPU.

slave#cfcard2: indicates the external CF card of the slave MPU.

file-system

File system type.

Character string type. Options: FAT and ext3.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

During production, the external CF card needs to be formatted.

In VS mode, this command is supported only by the admin VS.

Example

# Format a single chassis.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] format  cfcard2: ext3
Caution!!! Confirm to format this cfcard! Continue? [Y/N]:y 
Format to ext3. Please wait ..............
Format cfcard2: completed.
[~HUAWEI-diagnose] format  slave#cfcard2:
Caution!!! Confirm to format this cfcard! Continue? [Y/N]:Y
Format to ext3. Please wait ..............
Format slave#cfcard2: completed.

pmbus-log

Function

The pmbus-log command collects black box logs of the power module on a board for locating faults.

Format

pmbus-log slot slot-list save pmbus-id pmbusid

Parameters

Parameter Description Value
slot-list

Slot ID.

The value is a string of 1 to 30 case-sensitive characters, spaces not supported.

pmbusid

pmbus ID.

The value is a string of 0 to 10 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

The pmbus-log command collects black box logs of the power module on a board for locating faults.

Example

# collects black box logs of the power module on a board
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] pmbus-log slot 7 save pmbus-id 0
Saving pmbus log, waiting.....................
Info: Save ok.
[~HUAWEI-diagnose]

reset factory-configuration

Function

The reset factory-configuration command restores factory settings in one-click mode.

Format

reset factory-configuration

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

This command resets a device. After the reset, the device restores to its factory settings.

Example

# The device restores factory settings in one-click mode.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] reset factory-configuration
Warning: This is a high-risk operation. Continue? [Y/N]:y
Warning: Running this command will restore the factory configuration and restart the device. During device resetting, do not power off the device. Continue? [Y/N]:n

reset halt-system halt-board

Function

The reset halt-system halt-board command clears the halt time of the system or board.

Format

reset { halt-system | halt-board }

Parameters

Parameter Description Value
halt-system

System halt record.

-

halt-board

Board halt record.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

The reset halt-system halt-board command clears the halt time of the system or board.

In VS mode, this command is supported only by the admin VS.

Example

# Clear the halt time of the system or board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] reset halt-board
Reset baord halt information is successful.
[~HUAWEI-diagnose] reset halt-system
Reset system halt information is successful.

reset power-isolate

Function

The reset power-isolate command clears the subcard registration flags of a power isolation board.

Format

reset power-isolate slot slotid

Parameters

Parameter Description Value
slotid

Specifies the slot ID of a board. The value varies depending on the router hardware.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

During a device restart, if the board power is inadequate, the subcard registration flag determines the power-on and registration sequence of a subcard. The subcard with the flag enabled is powered on preferentially. To clear the subcard registration flags of a power isolation board, run the reset power-isolate command.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Clear the subcard registration flags of a power isolation board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] reset power-isolate slot 1

rrs statistic

Function

The display board rrs statistic command displays RRS time statistics.

Format

display board slot slot-id rrs statistic

Parameters

Parameter Description Value
slot slot-id

Specifies a slot ID.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

The display board rrs-statistic command displays RRS time statistics.

In VS mode, this command is supported only by the admin VS.

Example

# Display the time statistics of fast detection on the board in slot 3.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display board slot 3 rrs statistic
RRS Current Statistic:
-----------------------------------------------------------------------
Fd                    :0x94
Function Name         :FE588X_RRS_XauiCall
Max Process Time      :1074(us)
Max Process DateTime  :2020-12-10 07:01:21.015
Schedule Count        :59290
Total Process Time    :0x00020e233(us)
Average Process Time  :36(us)
Last Process Time     :22(us)
Last Run DateTime     :2020-12-10 08:29:03.690
......
-----------------------------------------------------------------------
RRS His Statistic:
-----------------------------------------------------------------------
Fd                    :0x94
Function Name         :FE588X_RRS_XauiCall
Max Process Time      :1063(us)
Max Process DateTime  :2020-12-13 05:16:27.797
Schedule Count        :316906
Total Process Time    :0x000a679b1(us)
Average Process Time  :34(us)
Last Process Time     :74(us)
Last Run DateTime     :2020-12-13 09:44:44.167
......
-----------------------------------------------------------------------
RRS Current Schedule Information:
-----------------------------------------------------------------------
2020-12-10 08:27:59.622: FE588X_RRS_XauiCall 33(us)
2020-12-10 08:27:59.623: FE588X_RRS_XauiCall 23(us)
2020-12-10 08:28:00.620: FE588X_RRS_XauiCall 36(us)
2020-12-10 08:28:00.620: FE588X_RRS_XauiCall 32(us)
2020-12-10 08:28:00.621: FE588X_RRS_XauiCall 35(us)
2020-12-10 08:28:00.621: FE588X_RRS_XauiCall 103(us)
2020-12-10 08:28:01.617: FE588X_RRS_XauiCall 34(us)
2020-12-10 08:28:01.617: FE588X_RRS_XauiCall 32(us)
......
-----------------------------------------------------------------------
RRS His Schedule Information:
-----------------------------------------------------------------------
2020-12-13 09:41:28.575: FE588X_RRS_XauiCall 34(us)
2020-12-13 09:41:28.575: FE588X_RRS_XauiCall 32(us)
2020-12-13 09:41:28.576: FE588X_RRS_XauiCall 35(us)
2020-12-13 09:41:28.576: FE588X_RRS_XauiCall 22(us)
2020-12-13 09:41:29.571: FE588X_RRS_XauiCall 33(us)
2020-12-13 09:41:29.572: FE588X_RRS_XauiCall 31(us)
......
-----------------------------------------------------------------------
Table 2-1645 Description of the rrs statistic command output
Item Description
RRS Current Statistic

Records the running statistics of the fast sense module.

RRS His Statistic

Records fast detection statistics before a board reset.

RRS Current Schedule Information

Running scheduling track.

RRS His Schedule Information

Scheduling trace before a board reset.

Fd

File handle of the interrupted device.

Function Name

Interrupted callback function.

Max Process Time

Maximum processing time of the callback function.

Max Process DateTime

Maximum processing time.

Schedule Count

Number of times that the callback function is triggered.

Total Process Time

Total processing time of the callback function.

Average Process Time

Average duration of callback hook processing.

Last Process Time

Last processing time.

Last Run DateTime

Last execution time.

sel-log

Function

The sel-log command records log information about an mbus monitoring node.

Format

sel-log slot slot-list [ pm pmid ] save file filename

Parameters

Parameter Description Value
slot-list

Indicates saving logs.

The value is a string of 1 to 30 case-sensitive characters, spaces not supported.

pm

The power module.

-

pmid

The power module index.

The value is a string of 1 to 30 case-sensitive characters, spaces not supported.

save

Specifies a file name.

-

filename

Specifies a file name.

The value is a string of 1 to 100 case-sensitive characters, spaces not supported.

sel-log

Indicates a client ID.

-

slot

Indicates saving logs.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When you locate a mbus fault, record the log processed in the mbus monitoring node, check whether messages sent by the monitoring node is lost, or check whether the monitoring node is fault, run the sel-log command.

Precautions

The file name can contain only digits, letters, and underscores (_).

Example

# Records log information about an mbus monitoring node.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] sel-log  slot 2 save file dialog.log
The current voltage is :1.0250000 v, VID is 0x1e

set board

Function

The set board command stops a CPU core.

Format

set board slot slotid cpu cpu-id core core-id { frozen | running }

Parameters

Parameter Description Value
cpu core-id

Specifies the CPU ID.

-

core core-id

Specifies the core ID.

The value is a string of 0 to 127 characters.

slot slotid

Specifies the slot ID.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To stop a CPU core, run the set board command.

In VS mode, this command is supported only by the admin VS.

Example

# Stop a CPU core.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set board slot 1 cpu 0 core 1 frozen
Warning: Do you want to stop core 1 of CPU 0 on the board in slot 1? It takes effect after you reset the board. [Y/N]: 
Y
Seting OK!

set board driver license-reactive

Function

set board slot driver license-reactive command reactive license.

Format

set board slot slotid driver license-reactive

Parameters

Parameter Description Value
slotid

Specifies a slot ID.

The value is a string of 1 to 22 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When the first license acquisition fails, the command can be executed to reactivate

Example

# display the ESN of the device and reactive the license.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set board slot 11 driver license-reactive
 ESN: 2102350RGE0000000000

set board slot eth-port

Function

The set board slot eth-port command enables or disables a network interface.

Format

set board slot slotid eth-port port-id { up | down }

Parameters

Parameter Description Value
slotid

Specifies the slot ID of a board.

-

port-id

Specifies the number of a network interface.

The value is an integer ranging from 0 to 4294967295.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

The set board slot eth-port command enables or disables a network interface.

In VS mode, this command is supported only by the admin VS.

Example

# Enable network port 0 on the board in slot 17.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set board slot 17 eth-port 2 up
Info: The eth2 interface will go up. 
Are you sure you want to continue? [Y/N]:y 
Info: The eth2 interface went up successfully.
# Disable network port 0 on the board in slot 17.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set board slot 17 eth-port 2 down
Warning: This operation may cause a channel fault or board reset. 
Are you sure you want to continue? [Y/N]:y 
Info: The eth2 interface went down successfully.

set board slot fmea

Function

The set board slot abnormal command enables the function of simulating the abnormal status of a specified check item.

The undo set board slot abnormal command disables the function of simulating the abnormal status of a specified check item.

The set board slot disable command disables a specified check item.

The undo set board slot disable command disables a specified FEMA check item.

Format

set board slot slot-id { fmea-item-all | fmea-item item-name } abnormal

set board slot slot-id { fmea-item-all | fmea-item item-name } disable

undo set board slot slot-id { fmea-item-all | fmea-item item-name } abnormal

undo set board slot slot-id { fmea-item-all | fmea-item item-name } disable

Parameters

Parameter Description Value
fmea-item-all

All FMEA check items.

-

fmea-item item-name

FMEA check item name.

The value is a string of 1 to 32 case-sensitive characters. It cannot contain spaces.

abnormal

Abnormal status.

-

slot slot-id

Specifies a slot ID.

The value is a string of 1 to 16 case-sensitive characters without spaces.

disable

Specifies the disabling function.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

During FMEA debugging, run the set fe slot fe-id table fmea-check command to simulate the abnormal status of a specified FMEA check item, or run the set fe slot fe-id table fmea-check command to set a specified FMEA check item not to be checked.

Example

# Disable a specified FMEA check item.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set board slot 8 fmea-item clock_38M_mpua_current disable
Info: Succeeded to operate.
# Simulate the abnormal status of a specified FMEA check item.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set board slot 8 fmea-item clock_38M_mpua_current abnormal
Info: Succeeded to operate.

set board slot slave-cpu

Function

The set board slot slave-cpu command is used to set the isolation status of the slave CPU core.

Format

set board slot slotid slave-cpu slave-cpuid core core-id { frozen | running }

Parameters

Parameter Description Value
slotid

Specifies the slot ID.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

slave-cpuid

Specifies the CPU ID.

The value is an integer ranging from 1 to 4294967295.

core-id

Specifies the core ID.

The value is an integer ranging from 1 to 47.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

This command is used to set the status of CPU core isolation.

Example

# Set the status of CPU core isolation
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI] diagnose
Warning: Enter diagnose view, return user view with Ctrl+Z.
Info: The diagnose view is used to debug system hardware and software. Misuse of certain commands in this view may affect system performance. Therefore, use these commands with the guidance of Huawei engineers.
[~HUAWEI-diagnose] set board slot 4 slave-cpu 1 core 1 frozen
Warning: Do you want to frozen core 1 of CPU 1 on the board in slot 4 ? It takes effect after you reset the board. [Y/N]:y
Setting OK!
[~HUAWEI-diagnose] set board slot 4 slave-cpu 1 core 1 running
Warning: Do you want to run core 1 of CPU 1 on the board in slot 4 ? It takes effect after you reset the board. [Y/N]:y
Setting OK!
[~HUAWEI-diagnose]

set board slot watch-dog

Function

The set board slot watch-dog command sets the watchdog monitoring period.

Format

set board slot slotid watch-dog watch-dog-time

Parameters

Parameter Description Value
slotid

The available slot.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

watch-dog-time

watch dog time.

The value is an integer of 0 or 1. 0 for 8 seconds and 1 for 16 seconds.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To set the watchdog monitoring period, run the set board slot watch-dog command.

Example

# To set the watchdog monitoring period to 8s.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set board slot 1 watch-dog 0
Warning: This is a dangerous operation , the board may be reset by mistake. continue? Please select [Y/N]:y

set c-mac

Function

The set c-mac command is used by technical support personnel and R&D personnel to collect information about devices and locate the faults on devices.

Format

set c-mac slot slotid chip chipid fmea { stub | sub-chip-stub } [ para1 [ para2 [ para3 [ para4 [ para5 [ para6 ] ] ] ] ] ]

set c-mac slot slotid chip chipid register { cmac | fpga } [ para1 [ para2 [ para3 [ para4 [ para5 [ para6 ] ] ] ] ] ]

set c-mac slot slotid chip chipid resume cmac [ para1 [ para2 [ para3 [ para4 [ para5 [ para6 ] ] ] ] ] ]

set c-mac slot slotid chip chipid send prbs [ para1 [ para2 [ para3 [ para4 [ para5 [ para6 ] ] ] ] ] ]

set c-mac slot slotid chip chipid capture templet [ para1 [ para2 [ para3 [ para4 [ para5 [ para6 ] ] ] ] ] ]

set c-mac slot slotid chip chipid heartbeat lost [ para1 [ para2 [ para3 [ para4 [ para5 [ para6 ] ] ] ] ] ]

set c-mac slot slotid chip chipid indirect-register serdes [ para1 [ para2 [ para3 [ para4 [ para5 [ para6 ] ] ] ] ] ]

set c-mac slot slotid chip chipid log log-level [ para1 [ para2 [ para3 [ para4 [ para5 [ para6 ] ] ] ] ] ]

set c-mac slot slotid chip chipid loopback cmac [ para1 [ para2 [ para3 [ para4 [ para5 [ para6 ] ] ] ] ] ]

set c-mac slot slotid chip chipid config { rsfec-loop | ipg | serdes-adapt | serdes-rx | serdes-tx | time-delay } [ para1 [ para2 [ para3 [ para4 [ para5 [ para6 ] ] ] ] ] ]

Parameters

Parameter Description Value
chip chipid

Chip ID of a CMAC.

The value is a string of 0 to 7 case-sensitive characters, spaces not supported.

para1

Parameter in the set c-mac(diagnose) command .

The value is a string of 1 to 255 case-sensitive characters, spaces not supported.

para2

Parameter in the set c-mac(diagnose) command.

The value is a string of 1 to 255 case-sensitive characters, spaces not supported.

para3

Parameter in the set c-mac(diagnose) command .

The value is a string of 1 to 255 case-sensitive characters, spaces not supported.

para4

Parameter in the set c-mac(diagnose) command.

The value is a string of 1 to 255 case-sensitive characters, spaces not supported.

para5

Parameter in the set c-mac(diagnose) command .

The value is a string of 1 to 255 case-sensitive characters, spaces not supported.

para6

Parameter in the set c-mac(diagnose) command.

The value is a string of 1 to 255 case-sensitive characters, spaces not supported.

slot slotid

Specifies a slot ID.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

time-delay

EC chip type delay function.

The value is a string of 0 to 1 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
diagnose debug

Usage Guidelines

Usage Scenario

The set c-mac command is used by technical support personnel and R&D personnel to collect information about devices and locate the faults on devices.

Example

# Set the output level of CMAC logs on the device.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set c-mac slot 10 chip 1 log log 0x5Success to set CMAC Dbglog 1588 level disable.

set connector-insert-count

Function

The set connector-insert-count slot command is used to set the inserting and removing times of the subcard connector.

Format

set connector-insert-count slot slotid card cardid count

Parameters

Parameter Description Value
card cardid

Indicates the number of card is inserted.

The value is an integer that ranges from 0 to 4294967295.

count

Indicates the number of card is inserted.

The value is an integer that ranges from 0 to 4294967295.

slot slotid

Indicates the slot number.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When you need to set the inserting and removing times of the subcard connector, you can run this command.

In VS mode, this command is supported only by the admin VS.

Example

# Set the inserting and removing times of the subcard connector.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set connector-insert-count slot 10 card 1 2
Info: Write card count to eeprom success

set connector-insert-count slot board

Function

The set connector-insert-count slot board command is used to set the inserting and removing times of the board connector.

Format

set connector-insert-count slot slotid board count

Parameters

Parameter Description Value
board count

Indicates the number of board is inserted.

The value is an integer that ranges from 0 to 4294967295.

slot slotid

Indicates the slot number.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When you need to set the inserting and removing times of the board connector, you can run this command.

In VS mode, this command is supported only by the admin VS.

Example

# Set the inserting and removing times of the board connector,
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set connector-insert-count slot 1 board 1
Info: Write slot plug count to card[0] success
Info: Write slot plug count to card[1] success

set duplex

Function

The set duplex command sets a duplex mode for an external communication interface in a master's diagnostic view.

Format

set duplex { auto | full | half } gigabitethernet nvifname

Parameters

Parameter Description Value
auto

Duplex auto.

-

full

Full duplex.

-

half

Half duplex.

-

gigabitethernet nvifname

AP interface name.

The value is a string of 1 to 31 case-sensitive characters. It cannot contain spaces.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

You can run the set duplex command in the diagnostic view of the master device to set the duplex mode of an external communication interface. The duplex mode includes auto-negotiation, half-duplex, and full-duplex.

Precautions

The AP's external communication interface does not support this configuration, and an error message is displayed during the configuration.

Example

# Set the duplex mode of GE 1025/1/0/0 to auto-negotiation.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set duplex auto gigabitethernet 1025/1/0/0
Warning: This configuration may affect the connectivity between master and ap. C
ontinue?  [Y/N]:y

set mbus-debug

Function

The set mbus-debug command sets the MonitorBus debugging.

Format

For NE40E-X3, NE40E-X3A, NetEngine 40E-X8AK, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C:

set mbus-debug open switchparam

For NE40E-X3, NE40E-X3A:

set mbus-debug close

For NetEngine 40E-X8AK, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C:

set mbus-debug open switchparam [ chassis chassis-id ]

set mbus-debug close [ chassis chassis-id ]

Parameters

Parameter Description Value
switchparam

Specifies the debugging switch parameter.

The value ranges is 0 to ffffffff , in hexadecimal notation.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When locating a MonitorBus fault, you need to obtain the MonitorBus debugging packets. You can run the set mbus-debug command to set the MonitorBus debugging.

In VS mode, this command is supported only by the admin VS.

Example

# Enable and disable the MonitorBus debugging.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set mbus-debug open 00000021

set mbus-debug log

Function

The set mbus-debug log command sets the MonitorBus log debugging.

Format

set mbus-debug log open switch-id message-type [ slot-id ]

set mbus-debug log open switch-id message-type [ chassis chassis-id ] [ slot-id ]

set mbus-debug log close [ slot-id ]

set mbus-debug log close [ chassis chassis-id ] [ slot-id ]

Parameters

Parameter Description Value
switch-id

Specifies the debugging switch ID.

The value ranges is 0 to ffffffff , in hexadecimal notation.

message-type

Specifies the message type.

The value is an integer that ranges from 0 to 255 .

slot-id

Specifies a slot ID.

The value is a string of 1 to 30 case-sensitive characters, spaces not supported.

chassis chassis-id

Specifies the chassis id.

The value is a string of 1 to 49 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

You can run the command set mbus-debug log command to set the MonitorBus log debugging. If this function is enabled, the debugging information is recorded in the /opt/vrpv8/var/log/mbus_dbg.log1. If this function is disabled, the debugging information will not be recorded.

In VS mode, this command is supported only by the admin VS.

Example

# Enable the MonitorBus log debugging.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set mbus-debug log open ff 255

set mpu slot rtc

Function

The set ipu slot rtc command sets the real-time clock of the main control board.

Format

set mpu slot slotid rtc yyyy/mm/ddhh:mm:ss

Parameters

Parameter Description Value
slotid

Specifies a slot ID.

The value depends on the product type. Refer to the displayed message.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

You can run the set mpu slot rtc command to set the real-time clock on the MPU.

In VS mode, this command is supported only by the admin VS.

Example

# Set the real-time clock on the MPU.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set ipu slot 17 rtc "2014/04/01 18:00:00"
2014-04-01 18:00:00
# Set the main control board real-time clock to 2022-03-31 10:26:30.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set mpu slot 9 rtc "2022/03/31 10:26:30"
 2022-03-31 10:26:30

set negotiation

Function

The set negotiation command enables or disables auto-negotiation for an AP's interface in a master's diagnostic view.

Format

set negotiation auto { enable | disable } gigabitethernet nvifname

Parameters

Parameter Description Value
enable

enable.

-

disable

disable.

-

gigabitethernet nvifname

AP interface name.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

auto

Auto mode.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
diagnose debug

Usage Guidelines

Usage Scenario

In virtual access scenarios, when you cannot perform configurations on a locked AP, run the set negotiation command to change the auto-negotiation mode of the AP's interface in a master's diagnostic view.

Precautions

An error message is displayed when you attempt to run this command for an AP's external communication interface. The application scope of this command overlaps with the auto-negotiation configuration command for PWIF interfaces. Therefore, this configuration may cause auto-negotiation configuration inconsistency between the master and AP.

Example

# Enable auto-negotiation for an AP's GE 1025/1/0/0.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set negotiation auto enable gigabitethernet 1025/1/0/0
Warning: This configuration may affect the connectivity between master and ap. C
ontinue?  [Y/N]:y

set output-mode board close slot

Function

The set output-mode board close command is used to close the CPU / mbus serial port redirection function.

By default, CPU / mbus serial port redirection is disabled.

Format

set output-mode board close slot slotPos [ mbus-sol ]

set output-mode board close all

Parameters

Parameter Description Value
slot slotPos

Slot ID. The value varies with router hardware.

The value is a string of 1 to 15 case-insensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

You can use this command to locate the board without registering, starting abnormally, stopping responding, and other issues.

In VS mode, this command is supported only by the admin VS.

Example

# Disable the serial port redirection of all boards.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set output-mode  board  close all
# Disable the serial port redirection of slot 1.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set output-mode  board  close slot 1

set output-mode board open

Function

The set output-mode board command enables the redirection function to the CPU.

Format

set output-mode board open slot slotPos [ [ dp dpPos ] | [ s-cpu s-cpu-id console console-id ] ] [ mbus-sol | 2400 | 9600 | 19200 | 38400 | 57600 | 115200 | 187500 ]

Parameters

Parameter Description Value
dp dpPos

DP CPUID or index of x5.

The value is an integer ranging from 1 to 5.

s-cpu s-cpu-id

slave CPU id.

The value is an integer ranging from 1 to 4.

console console-id

serial id.

The value is an integer ranging from 1 to 3.

2400

Sets the baud rate of the serial interface to 2400.

-

9600

Sets the baud rate of the serial interface to 9600.

-

19200

Sets the baud rate of the serial interface to 19200.

-

38400

Sets the baud rate of the serial interface to 38400.

-

57600

Sets the baud rate of the serial interface to 57600.

-

115200

Sets the baud rate of the serial interface to 115200.

-

187500

Sets the baud rate of the serial interface to 187500.

-

slot slotPos

Specifies the slot ID.

The value is a string of 1 to 15 case-insensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

You can run the set output-mode board command to resolve the following problems, such as abnormal startup and suspension of the board. You can also run the command when the board cannot be registered during startup.

In VS mode, this command is supported only by the admin VS.

Example

# Redirect traffic to the serial port 1 of slave CPU 1.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set output-mode board open slot 1 s-cpu 1 console 1 9600
************************************************************
*          Welcome To Enter Slot(1) SOL SERVER             *
*         If you want to quit, please press CTRL+K         *
*            All rights reserved (2012-2020)               *
************************************************************
HI1620_VSU / #
# Redirect packets to the CPU in a specified slot.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set output-mode board open slot 1 115200
************************************************************
*          Welcome To Enter Slot(5) SOL SERVER             *
*         If you want to quit, please press CTRL+K         *
*            All rights reserved (2010-2011)               *
************************************************************

set power-check

Function

The set power-check command enables/disables power control.

This command is supported only on the NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C and NetEngine 40E-X8AK.

Format

set power-check { enable | disable }

set power-check { enable | disable } chassis chassis-id

set power-check ha-level { high | low | middle }

Parameters

Parameter Description Value
enable

Enables the function.

-

disable

Disables the function.

-

chassis-id

Specifies an available chassis ID.

The value is a string of 1 to 49 case-sensitive characters, spaces not supported.

ha-level

Specifies the ha-level.

-

high

Specifies the high reliability.

-

low

Specifies the low reliability.

-

middle

Specifies the middle reliability.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

Power control indicates limiting powering on the board when the power is weak.

To enable or disable the power control mode of the current chassis, run the set power-check command.

The default state is enabled,and the backup state of pm is hight reliability.

Precautions

In VS mode, this command is supported only by the admin VS.

Note:

When the power control is disabled, if the power is not enough for the integrated chassis, a fault may occur on board powering on.

When the power control is enabled, if the power is not enough for the integrated chassis, the subsequent boards cannot be powered on.

Example

# Enable controlling power.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set power-check enable
Info: This operation may cause power not enough alarm.
Confirm to continue? [Y/N]:y

set power-check ha-level

Function

The set power-check ha-level high command controls high-reliability power.

The set power-check ha-level middle command controls medium-reliability power.

The set power-check ha-level low command controls low-reliability power.

By default, high reliability level power control.

This command is supported only on the NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C and NetEngine 40E-X8AK.

Format

set power-check ha-level { high | middle | low }

set power-check ha-level { high | middle | low } chassis chassis-id

Parameters

Parameter Description Value
high

Indicates the high availability.

-

low

Indicates the low reliability.

The value is an integer.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

To adjust the reliability level of power control based on different scenarios, run the set power-check ha-level command.

Example

# Set the power control to be in the high reliability level.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set power-check ha-level high
Warning: This operation may cause power not enough alarm.
Confirm to continue? [Y/N]:y
# Set the power control to be in the low reliability level.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set power-check ha-level low
Warning: This operation may cause power not enough alarm.
Confirm to continue? [Y/N]:y

set power-isolate

Function

The set power-isolate command sets the subcard registration flags for a power isolation board.

Format

set power-isolate slot slotid card cardid

Parameters

Parameter Description Value
slotid

Specifies the slot ID of a board. The value varies depending on the router hardware.

-

cardid

Specifies a subcard ID. The value varies depending on the router hardware.

The value is an integer that ranges from 0 to 4294967295 .

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

During a device restart, if the board power is inadequate, the subcard registration flag determines the power-on and registration sequence of a subcard. The subcard with the flag enabled is powered on preferentially. To set the subcard registration flags, run the set power-isolate command.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Set the subcard registration flags.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set power-isolate slot 1 card 0

set ram-test-flag

Function

The set ram-test-flag command sets whether the SDRAM, usb, auto-ctrl-b and flash checks are performed when a board is started.

Format

set board slot slotid { ram-test-flag | flash-test-flag } { disable | enable }

Parameters

Parameter Description Value
slotid

Specifies the slot ID of a board.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

You can run the set ram-test-flag command to set the SDRAM, usb, auto-ctrl-b and flash checks checks.

In VS mode, this command is supported only by the admin VS.

Example

# Set the SDRAM check to be performed when a board is started.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set board slot 1 ram-test-flag enable
# Set the SDRAM check not to be performed when a board is started.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set board slot 1 ram-test-flag disable

set speed

Function

The set speed command sets a rate for an AP's interface in the diagnostic view of the master device.

Format

set speed { auto | 10 | 100 | 1000 } gigabitethernet nvifname

Parameters

Parameter Description Value
auto

Speed auto.

-

gigabitethernet nvifname

AP interface name.

The value is a string of 1 to 31 case-sensitive characters. It cannot contain spaces.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

You can run the set speed command in the diagnostic view of the master device to set a rate for an AP's interface.

Precautions

The AP's external communication interface does not support this configuration, and an error message is displayed during the configuration.

Example

# Set a rate for an AP's GE 1025/1/0/0.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set speed auto gigabitethernet 1025/1/0/0
Warning: This configuration may affect the connectivity between master and ap. C
ontinue?  [Y/N]:y

set tad slot card

Function

The set tad command enables or disables the transmission alarm function in the transmitting and receiving directions for a subcard interface or stops the transmission alarm test on a subcard interface.

Format

set tad slot slot-id card card-id port port-number { los | lof | lais | oof | lrdi | lcd | auais | b3tca | lom | lop | lrei | pais | prdi | prei | pplm | puneq | rdool | rrool | sdbere | sfbere | trool | wlnk | tim | tiu | newptr | pse | nse | b1tca | b2tca } * [ { rx | tx } { enable | disable } ]

set tad slot slot-id card card-id port port-number stop

Parameters

Parameter Description Value
card card-id

Specifies a card ID.

The value is an integer ranging from 0 to 4294967295.

port port-number

Specifies the number of an interface.

The value is an integer ranging from 0 to 4294967295.

los

Indicates a loss of signal alarm. This alarm is generated when no signal is received because of physical link failures. By default, this alarm is enabled.

-

lof

Indicates a loss of frame alarm. This alarm is generated when physical link connectivity is in poor status or clocks are inaccurate. By default, this alarm is enabled.

-

lais

Indicates a line alarm indication signal. By default, this alarm is enabled.

-

oof

Indicates an out of frame alarm. This alarm is generated when incorrect frame delimiters are received in five consecutive frames. By default, this alarm is disabled.

-

lrdi

Indicates a line remote defect indication. By default, this alarm is disabled.

-

lcd

Indicates a loss of code group synchronization alarm. By default, this alarm is disabled. It can be configured only on a 10GE WAN interface.

-

b3tca

Indicates a B3 threshold-crossing alarm. By default, this alarm is disabled.

-

lom

Indicates a loss of tributary multiframe alarm. By default, this alarm is disabled.

-

lop

Indicates a loss of pointer alarm. This alarm is generated when a point in the J1 position is invalid in the eight frames consecutively received. By default, this alarm is disabled.

-

lrei

Indicates a line remote error indication. By default, this alarm is disabled.

-

pais

Indicates a path alarm indication signal. By default, this alarm is disabled.

-

prdi

Indicates a path remote defect indication. By default, this alarm is disabled.

-

prei

Indicates a path remote error indication. By default, this alarm is disabled.

-

pplm

Indicates a path payload mismatch alarm. By default, this alarm is disabled.

-

puneq

Indicates a path unequipped indication. By default, this alarm is disabled.

-

rdool

Indicates a receive data out of lock alarm. By default, this alarm is disabled.

-

rrool

Indicates a receive reference out of lock alarm. By default, this alarm is disabled.

-

sdbere

Indicates a signal degrade threshold alarm. By default, this alarm is disabled.

-

sfbere

Indicates a signal fail threshold alarm. By default, this alarm is disabled.

-

wlnk

Indicates a WAN interface link status alarm. By default, this alarm is disabled.

-

rx

Receive alarm.

-

tx

Send alarm.

-

enable

SNMP trap/notification enable commands group.

-

disable

Disable.

-

slot slot-id

ID of an available slot.

The value is a string of 1 to 31 case-sensitive characters. It cannot contain spaces.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

This command is supported by POS and 10GE WAN interfaces.

To enable or disable the transmission alarm function in the transmitting and receiving directions for a subcard interface, run the set tad slot card command.

Example

# Enable transmission alarm 3 in the transmitting and receiving directions.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set tad slot 1 card 0 port 0 alarm 3
[~HUAWEI-diagnose] set tad slot 1 card 0 port 0 alarm 3 tx disable
[~HUAWEI-diagnose] set tad slot 1 card 0 port 0 alarm 3 rx enable
[~HUAWEI-diagnose] set tad slot 1 card 0 port 0 los lof rx enable
Set alarm OK
[~HUAWEI-diagnose] display tad slot 1 card 0 port 0
------------------Port-[0.7]:The SDH Alarm (Testing) Info ---------------
 Alarm          Test(Local)            Test(Remote)                         
 AUAIS          NOT-SUPPORT            NOT-SUPPORT                           
   TCA          NOT-SUPPORT            NOT-SUPPORT                           
  LAIS          NO                     NO                                    
   LOF          YES                    NOT-SUPPORT                           
   LOM          NOT-SUPPORT            NOT-SUPPORT                           
   LOP          NO                     NOT-SUPPORT                           
   LOS          YES                    NO                                    
  LRDI          NO                     NO                                    
  LREI          NOT-SUPPORT            NOT-SUPPORT                           
   OOF          NO                     NOT-SUPPORT                           
  PAIS          NO                     NO                                    
  PRDI          NO                     NO                                    
  PREI          NOT-SUPPORT            NOT-SUPPORT                           
  PPLM          NO                     NOT-SUPPORT                           
 RDOOL          NOT-SUPPORT            NOT-SUPPORT                           
 RROOL          NOT-SUPPORT            NOT-SUPPORT                           
SDBERE          NO                     NOT-SUPPORT                           
SFBERE          NO                     NOT-SUPPORT                           
 TROOL          NOT-SUPPORT            NOT-SUPPORT                           
 PUNEQ          NO                     NOT-SUPPORT                           
   LCD          NOT-SUPPORT            NOT-SUPPORT                           
 WLINK          NOT-SUPPORT            NOT-SUPPORT                           
   TIM          NO                     NOT-SUPPORT                           
   TIU          NO                     NOT-SUPPORT                           
NEWPTR          NOT-SUPPORT            NOT-SUPPORT                           
   PSE          NOT-SUPPORT            NOT-SUPPORT                           
   NSE          NOT-SUPPORT            NOT-SUPPORT

switch line-clock lpu

Function

The switch line-clock lpu command switches the line clock on the LPU or on the card of the LPU to the line clock on the master or slave MPU manually.

Format

switch line-clock lpu slotid clkslotid

undo switch line-clock lpu slotid

Parameters

Parameter Description Value
clkslotid

Specifies the slot which the clock sets in.

The value is a string of 1 to 30 case-sensitive characters, spaces not supported.

lpu slotid

Specifies the slot ID of an interface board.

The value is a string of 1 to 30 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

When the automatic line clock switch is faulty, you can run the switch line-clock lpu command to switch the line clock on the LPU manually.

Example

# Switch the line clock on the LPU or on the card of the LPU to the line clock on the master or slave MPU manually.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] switch line-clock lpu 1 17

sysmac load slot

Function

The sysmac load slot command loads MAC addresses assigned to multiple VSs.

By default, Multiple MAC addresses are loaded to the control board before delivery.

Format

sysmac load mac-address mac-num slot slotid

Parameters

Parameter Description Value
mac-address

Start MAC address.

The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits.

mac-num

The number of system MAC addresses.

The value is an integer that ranges from 1 to 255.

slotid

Specifies a slot ID of the main board that loads MAC addresses assigned to VSs.

The value range varies with device hardware.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

In multi-VS scenarios, each VS requires a MAC address. By default, multiple MAC addresses have been loaded on the main control board when a device is delivered. If a message indicating that MAC addresses are insufficient when you create a VS, run the sysmac load slot command to load a MAC address for the new VS.

Precautions

The command is an overriding one. You can run the command several times to load MAC addresses for VSs; however, only the last configuration takes effect.

Example

# Load MAC addresses assigned to multiple VSs on the main control board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] sysmac load 1234-1234-1234 10 slot 17
Success to load MAC address and number.

test board

Function

The test board command is used to test board performance.

Format

For NE40E-X3, NE40E-X3A, NetEngine 40E-X8AK, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C:

test board slot slotid { epld | watchdog | led { on | off | untest } | dram | e2prom | oflled { on | off } | ssd }

test board slot slotid storage

test board slot slotid battery

test board slot slotid clock

For NetEngine 40E-X8AK, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C:

test board slot slotid flash

For NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C:

test board slot slotid spi card card-id

For NE40E-X3, NE40E-X3A, NetEngine 40E-X8AK, NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C:

test board slot slotid { nvram | nvram-write nvram-param | nvram-read nvram-param }

Parameters

Parameter Description Value
slot slotid

Slot number, according to the different hardware have different values.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

epld

Indicates the EPLD device.

-

watchdog

Indicates the timing counter that monitors the occupancy status of software resources.

-

led

Indicates the LED lights.

-

on

Indicates that the switch is on.

-

off

Indicates that the switch is off.

-

untest

Indicates non-test status.

-

dram

Indicates the plug-in DRAM.

-

e2prom

Indicates the electrically erasable memory.

-

oflled

Indicates the offline indicator.

-

ssd

Indicates the SSD module.

-

storage

Indicates the storage information.

-

battery

Indicates the battery.

-

clock

Indicates the line clock.

-

flash

Indicates the flash module.

NOTE:

This parameter is supported only on the NE40E-X8, NE40E-X8A, NE40E-X8C, NE40E-X16, NE40E-X16A, NE40E-X16C and NetEngine 40E-X8AK.

-

nvram

Indicates non-volatile memory.

-

nvram-write

Indicates the write test of the non-volatile memory.

-

nvram-param

Indicates the non-volatile memory parameter.

The value ranges from 0 to ffff, in hexadecimal notation.

nvram-read

Indicates the non-volatile memory read test.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

If a hardware module on the board is faulty, you can run the test board command to test the board and locate the fault.

In VS mode, this command is supported only by the admin VS.

Example

# Test the battery performance of board.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] test board slot 1 battery
The battery test pass!

testbus-selftest

Function

The testbus-selftest command tests the board JTAG link status.

Format

testbus-selftest slot slot-id

Parameters

Parameter Description Value
slot-id

Indicates the slot number.

The value is a string of 1 to 30 case-sensitive characters, spaces not supported.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr debug

Usage Guidelines

Usage Scenario

You can run the testbus-selftest command to test the board JTAG link status.

Precautions

In VS mode, this command is supported only by the admin VS.

The testbus-selftest command line will cause the single board to be reset twice. The reset reason is: Scan JTAG chain,and reset board.

Example

# Test the board JTAG link status.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] testbus-selftest slot  2
Caution!!! This command may affect operation by wrong use, please carefully use 
it with HUAWEI engineer's direction. Are you sure to do this operation? [Y/N]:y
The LSP0 is OK! Found 1Chips In Chain.
The LSP1 No JTAG Device In Chain or Chain Opened.
The LSP2 No JTAG Device In Chain or Chain Opened.
The LSP3 is OK! Found 2Chips In Chain.
The LSP4 No JTAG Device In Chain or Chain Opened.
The LSP5 No JTAG Device In Chain or Chain Opened.
Translation
Favorite
Download
Update Date:2022-12-01
Document ID:EDOC1100279998
Views:387624
Downloads:247
Average rating:0.0Points

Digital Signature File

digtal sigature tool