NE20E-S2 V800R022C00SPC600 Diagnose

DCN Diagnostic Commands

DCN Diagnostic Commands

display dcn-stat

Function

The display fe slot fe-id table dcn-stat command displays DCN statistics tables on an interface board.

Format

display fe slot slot_id fe-id fe-id table dcn-stat index

Parameters

Parameter Description Value
fe-id fe-id

Specifies a forwarding engine ID. The value range varies with routers.

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

index

Specifies the index of a DCN statistics table.

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

slot slot_id

Specifies a slot ID. The value range varies with routers.

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
forwarding debug

Usage Guidelines

To view DCN statistics tables on an interface board, run the display fe slot fe-id table dcn-stat command.

Example

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

# Display the statistics ID and statistics enabling status of the DCN statistics table with the index of 10.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display fe slot 7 fe-id 0 table dcn-stat 10
Table:  DCN-STAT table
------------------------------------
StatId         : 12
EnDcn          : 1
Table 2-1189 Description of the display dcn-stat command output
Item Description
StatId

Statistics ID.

EnDcn

Whether the statistics function is enabled.

Table

DCN statistics table.

display mpu neid

Function

The display mpu neid command displays the NE ID value wrote into flash memory of a main control board.

Format

display mpu slot slot-id neid

Parameters

Parameter Description Value
slot slot-id

The 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
forwarding debug

Usage Guidelines

Usage Scenario

When you need to query the neid value written in the flash of the main control board, 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.

# Query the neid value written in the flash.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display ipu slot 3 neid
NEID : 0x010001   INDEX: 0x0
# Query the neid value written in the flash (Multi NEID).
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display mpu slot 3 neid
NEID : 0x010001    INDEX: 0x0 
NEID : 0x010001    INDEX: 0x1
Table 2-1190 Description of the display mpu neid command output
Item Description
mpu

MPU.

set mainboard neid

Function

The set mpu neid command sets a 24-bit NE ID that is written into an MPU in a specific slot of a device. After the device is powered on, the VRP reads the NE ID and generates an NE IP address.

Format

set mpu slot slot-id neid id-number

Parameters

Parameter Description Value
neid id-number

Specifies the network element ID.

The value ranges is 10001 to fefffe , in hexadecimal notation.

slot slot-id

Specifies a slot ID.

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
forwarding debug

Usage Guidelines

Usage Scenario

Before shipment, an NE ID is written into an MPU. To set the NE ID run the set mpu neid command. After the device is powered on, the VRP reads the NE ID and generates an NE IP address used to negotiate with the DCN protocol. Implementation Before shipment, the NE ID of each device is written into flash memory.

Implementation Procedure

Before factory, the production equipment executes the command line to write the Flash Neid process.

Configuration Impact

If the NE ID in flash memory conflicts with that of another device, the VRP reads the NE ID and generates an NE ID conflict alarm.

Precautions

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

As a unique identifier of a DCN network element, the NEID must ensure the unique NEID of all the device nodes in the network. NEIDs of all NEs in the same DCN network can not collide with each other. Otherwise, the DCN network can not communicate.

Example

# Write the NEID to the MPU in slot 1.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] set mpu slot 1 neid 10001

display dcn age-lsdb

Function

The display dcn age-lsdb command displays the aged LSDB information about a DCN.

Format

display dcn age-lsdb

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

If a DCN fault occurs, run the display dcn age-lsdb command to display the aged LSDB information about a DCN to facilitate fault locating.

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 aged LSDB information about a DCN.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn age-lsdb
======================================================
ProcessID            : 0xFFFE             
AreaID               : 0.0.0.0            
LSType               : 10                 
LinkId               : 10.255.85.102     
AdvRtr               : 10.17.10.166      
Flag                 : None               
AgeTimer             : (RemainTime??26/TotalTime??32)   
======================================================
Table 2-1191 Description of the display dcn age-lsdb command output
Item Description
ProcessID

ID of an OSPF process.

AreaID

Area ID.

LSType

LSA type.

LinkId

Link ID.

AdvRtr

ID of the route advertiser.

Flag

Flag of the proxy LSA.

AgeTimer

Aging timer.

display dcn agent-info

Function

The display dcn agent-info command displays agent information about a DCN.

Format

display dcn agent-info

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

If a DCN fault occurs, run the display dcn agent-info command to display agent information about a DCN to facilitate fault locating.

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 agent information about a DCN.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn agent-info
======================================================
ProcessID            : 0xFFFE        
AreaID               : 0.0.0.0           
SelfRtrId            : 10.25.163.24        
MinAdvRtrId          : 10.25.163.23      
MinNeIp              : 255.255.255.255          
RecvVer1Lsa          : false      
RecvVer2Lsa          : false      
======================================================
Table 2-1192 Description of the display dcn agent-info command output
Item Description
ProcessID

ID of an OSPF process.

AreaID

Area ID.

SelfRtrId

Router ID.

MinAdvRtrId

Minimum ID of the router that advertises LSAs.

MinNeIp

Minimum NE IP address.

RecvVer1Lsa

Whether DCN LSAs of the VER1 type have been received recently.

RecvVer2Lsa

Whether DCN LSAs of the VER2 type have been received recently.

display dcn agent-lsdb

Function

The display dcn agent-lsdb command displays DCN agent LSDB information.

Format

display dcn agent-lsdb

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

If a DCN fault occurs, run the display dcn agent-lsdb command to display DCN agent LSDB information to facilitate fault locating.

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 DCN agent LSDB information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn agent-lsdb
======================================================
ProcessID            : 0xFFFE        
AreaID               : 0.0.0.0           
LSType               : 10            
LinkId               : 10.255.85.0           
AdvRtr               : 0.0.0.0           
NeId                 : 10.33.10.166               
NeIp                 : 10.2.3.4             
NeIpMask             : 255.255.0.0         
Flag                 : None
AgeTimer             : (RemainTime??11/TotalTime??32) 
======================================================
Table 2-1193 Description of the display dcn agent-lsdb command output
Item Description
ProcessID

ID of an OSPF process.

AreaID

Area ID.

LSType

LSA type.

LinkId

Link ID.

AdvRtr

ID of the router that advertises LSAs.

NeId

ID of an NE.

NeIp

IP address of an NE.

NeIpMask

Mask of the NE IP address.

Flag

Flag of the proxy LSA.

AgeTimer

Aging timer.

display dcn blackbox

Function

The display dcn blackbox command displays DCN information recorded in its black box.

Format

display dcn blackbox { ifm | gresm | fes | pppoe | dcnm | lldp }

Parameters

Parameter Description Value
ifm

Displays black box-recordedinformation about communication between a DCN and IFM component.

-

gresm

Displays black box-recordedinformation about communication between a DCN and GRESM component.

-

fes

Displays black box-recorded information about communication between a DCN and FES component.

-

pppoe

Displays black box-recordedinformation about communication between a DCN and PPPoE component.

-

dcnm

Displays black box-recordedinformation about communication of DCN component.

-

lldp

Displays black box-recordedinformation about communication between a DCN and LLDP component.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Run the display dcn blackbox command to retrieve DCN information in its black box, which helps locate a DCN fault.

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 information about communication between a DCN black box and FES component.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn blackbox fes
<2013-05-14 12:55:24 822> [FES-COMP-FSM]:S:1 I:0 A:1.
<2013-05-14 12:55:24 834> [FES-RecvMsg]:Type:35 Tn:1 Len:24 XState:1.
<2013-05-14 12:55:24 834> [FES-SendMsg]:Type:35 Tn:1 Len:24.
<2013-05-14 12:55:24 834> [FES-COMP-FSM]:S:1 I:5 A:0.
<2013-05-14 12:55:24 835> [FES-RecvMsg]:Type:2 Tn:3 Len:28 XState:1.
<2013-05-14 12:55:24 835> [FES-SendMsg]:Type:2 Tn:3 Len:28.
<2013-05-14 12:55:24 835> [FES-P-FSM]:S:1 I:0 A:1.
<2013-05-14 12:55:24 835> [FES-P-FSM]:S:2 I:1 A:2.
<2013-05-14 12:55:24 835> [FES-SendMsg]:Type:18 Tn:0 Len:24.
<2013-05-14 12:55:24 835> [FES-RecvMsg]:Type:18 Tn:0 Len:24 XState:1.
<2013-05-14 12:55:24 835> [FES-P-FSM]:S:3 I:2 A:3.
<2013-05-14 12:55:24 835> [FES-P-FSM]:S:4 I:3 A:4.
<2013-05-14 12:55:24 835> [FES-SendMsg]:Type:19 Tn:0 Len:24.
<2013-05-14 12:55:24 836> [FES-RecvMsg]:Type:19 Tn:0 Len:24 XState:1.
<2013-05-14 12:55:24 836> [FES-P-FSM]:S:5 I:4 A:5.
<2013-05-14 12:58:51 141> [FES-RecvMsg]:Type:14 Tn:5 Len:28 XState:1.
<2013-05-14 12:58:51 141> [FES-SendMsg]:Type:14 Tn:5 Len:28.
<2013-05-14 12:58:51 141> [FES-COMP-FSM]:S:1 I:3 A:0.
Table 2-1194 Description of the display dcn blackbox command output
Item Description
2013-05-14 12:58:51 141

Blackbox logging time.

display dcn communication instance

Function

The display dcn communication instance command displays information about instances for communication between a DCN and the external component.

Format

display dcn communication instance

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Run the display dcn communication instance command to retrieve information about communication between a DCN and other components, which helps locate a DCN fault.

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 DCN communication instance information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn communication instance
======================================================
InstId              : 0x0          
SubInstanceId       : 0x0                           
Name                : IFM              
SessionCount        : 1        
RealCount           : 0           
RealRxmtCount       : 0       
BatchCount          : 0          
VeriCount           : 0                 
InstFlag            : 0            
BatchTimer          : false          
RealRxmtTimer       : false       
======================================================
Table 2-1195 Description of the display dcn communication instance command output
Item Description
InstId

Communication instance ID.

SubInstanceId

Sub-instance ID.

Name

Communication instance name.

SessionCount

Number of sessions.

RealCount

Number of real-time sessions.

RealRxmtCount

Number of real-time session retransmissions.

BatchCount

Number of sessions in batches.

VeriCount

Number of comparison sessions.

InstFlag

Communication instance flag.

BatchTimer

Whether the timer for sending messages in batches is running.

RealRxmtTimer

Whether the timer for real-time message retransmission is running.

display dcn communication session

Function

The display dcn communication session command displays information about sessions between a DCN and the external component.

Format

display dcn communication session

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Run the display dcn communication session command to retrieve information about communication between a DCN and other components, which helps locate a DCN fault.

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 dcn communication session command displays information about sessions between a DCN and the external component.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn communication session
Table 2-1196 Description of the display dcn communication session command output
Item Description
display dcn communication session

display dcn communication session.

ServiceID

Service ID.

SessionID

Service ID.

Name

Name.

InstanceID

Instance ID.

SubInstanceID

Sub Instance ID.

RealRxmtCount

Number of real-time messages.

RealUpdateCount

Number of real-time update messages.

Attribute

Attribute.

SessionState

Session status.

SessiomFsmHis

History of the session state machine.

TableID1

Table ID 1.

TableID2

Table ID 2.

TableID3

Table ID 3.

TableID4

Table ID 4.

TableIDLength

Table ID length.

TableState

Table state.

TableFsmHistory

Table state machine history.

display dcn encrypt channel verbose

Function

The display dcn encrypt channel verbose command displays details about the encrypted channels configured on the current device.

Format

display dcn encrypt channel [ neid neid-value ] verbose

Parameters

Parameter Description Value
neid neid-value

Specifies the NEID of the peer NE.

The value is 24 bits long and consists of a subnet number and a basic ID. The 8 most significant bits of an NEID indicate a subnet, and a valid subnet number ranges from 0x01 to 0xFE. The 16 least significant bits of an NEID indicate a basic ID, and a valid basic ID ranges from 0x0001 to 0xFFFE.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

To check details about the encrypted channels configured on the current device, run the display dcn encrypt channel verbose command.

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 details about the encrypted channels configured on the current device.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn encrypt channel verbose
Total Number: 2
------------------------------------------------------
 NEID              :  0x123123
 State             :  INIT
 SendEncryptPkt    :  0
 RecvEncryptPkt    :  0
 RecvDecodeFail    :  0
 RecvReDecode      :  0
 RecvCrcErr        :  0
 RecvChallenge     :  0
 RecvChallengeAck  :  0
 RecvPktAck        :  0
 RecvDhExchange    :  0
 RecvDhExchangeAck :  0
 RecvAuthFail      :  0
 RecvSeqInvalid    :  0
 
 NEID              :  0x123456
 State             :  INIT
 SendEncryptPkt    :  0
 RecvEncryptPkt    :  0
 RecvDecodeFail    :  0
 RecvReDecode      :  0
 RecvCrcErr        :  0
 RecvChallenge     :  0
 RecvChallengeAck  :  0
 RecvPktAck        :  0
 RecvDhExchange    :  0
 RecvDhExchangeAck :  0
 RecvAuthFail      :  0
 RecvSeqInvalid    :  0
------------------------------------------------------
Table 2-1197 Description of the display dcn encrypt channel verbose command output
Item Description
NEID

NEID.

State

State of the encrypted channel:

  • INIT: initial state.
  • CHALLENGE_RECV: state in which a challenge authentication packet is received.
  • CHALLENGE_SUCCESS: state in which challenge authentication succeeds.
  • DH_EXCHANGE: key negotiation state.
  • SESSION: encryption state.
SendEncryptPkt

Number of sent encryption packets.

RecvEncryptPkt

Number of received encryption packets.

RecvDecodeFail

Number of received decryption failure packets.

RecvReDecode

Number of received decryption success packets.

RecvCrcErr

Number of received verification failure packets.

RecvChallenge

Number of received challenge authentication packets.

RecvChallengeAck

Number of received challenge authentication ACK packets.

RecvPktAck

Number of received ACK packets.

RecvDhExchange

Number of received DH key negotiation packets.

RecvDhExchangeAck

Number of received DH key negotiation ACK packets.

RecvAuthFail

Number of received authentication failure packets.

RecvSeqInvalid

Number of received packets with invalid sequence numbers.

display dcn fes component

Function

The display dcn fes component command displays information about communication between a DCN and FES component.

Format

display dcn fes component

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Run the display dcn fes command to retrieve information about communication between a DCN and FES component, which helps locate a DCN fault.

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 information about communication between a DCN and FES component.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn fes component
======================================================
KeepaliveTimer      : true    
ComInstCount        : 1         
RetransCount        : 0      
BatchSeqNum         : 0x3D       
RealSeqNum          : 0x143        
PeerBatchNum        : 0x0      
PeerRealNum         : 0x0       
SeqMisCnt           : 0         
State               : 2             
FsmHistory          : 012        
======================================================
Table 2-1198 Description of the display dcn fes component command output
Item Description
KeepaliveTimer

Whether the keepalive timer is running.

ComInstCount

Number of communication instances.

RetransCount

Number of retransmission messages.

BatchSeqNum

Sequence number of the batch backup message.

RealSeqNum

Serial number of a real-time backup message.

PeerBatchNum

Sequence number of the peer batch backup message.

PeerRealNum

Peer real-time message sequence number.

SeqMisCnt

Statistics of messages with mismatched sequence numbers.

State

Current status of the instance.

FsmHistory

State change history of the instance state machine.

display dcn fes instance

Function

The display dcn fes instance command displays information about communication between a DCN and FES component.

Format

display dcn fes instance

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Run the display dcn fes instance command to retrieve information about communication between a DCN and FES component, which helps locate a DCN fault.

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 information about the communication instance between a DCN and FES component.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn fes instance
======================================================
ClassId             : 84            
TableState          : 255         
Vrindex             : 0x0            
Vrfindex            : 0x0           
ServiceDomain       : 0x0      
RetransTimer        : false       
BatchSsnCount       : 0      
State               : 5              
FsmHistory          : 0785         
======================================================
Table 2-1199 Description of the display dcn fes instance command output
Item Description
ClassId

Class ID.

TableState

Table state.

Vrindex

Virtual router index.

Vrfindex

VPN index.

ServiceDomain

Service domain ID.

RetransTimer

Whether the retransmission timer is running.

BatchSsnCount

Number of batch backup sessions.

State

Current status of the instance.

FsmHistory

State change history of the instance state machine.

VSID

VS ID.

VRFID

VRF ID.

display dcn gresm instance

Function

The display dcn gresm instance command displays information about communication between a DCN and GRESM component.

Format

display dcn gresm instance

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Run the display dcn gresm instance command to retrieve information about communication between a DCN and GRESM component, which helps locate a DCN fault.

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 information about communication between a DCN and GRESM component.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn gresm instance
======================================================  
ResType              : 0             
SequenceNum          : 0x1         
RxmtTimer            : false           
ResTimer             : false            
UsedResCount         : 88        
RequestResCoun       : 0     
ResCacheCount        : 36       
ResBackupCount       : 20      
ResReleaseCount      : 0     
SmoothFSMState       : 4      
FsmHistory           : 041234          
ResCache             :                                  
32852, 32853, 32854, 32855, 32856, 32857, 32858, 32859, 32860, 32861, 32862, 32863, 32864, 32865, 32866, 32867, 32868, 32869, 32870, 32871, 32872, 32873, 32874, 32875, 32876, 32877, 32878, 32879, 32880, 32881, 32882, 32883, 32884, 32885, 32886, 32887                                     
======================================================
Table 2-1200 Description of the display dcn gresm instance command output
Item Description
ResType

Resource type.

SequenceNum

Message sequence number.

RxmtTimer

Whether the message retransmission timer is running.

ResTimer

Whether the timer for subscription message retransmission is running.

UsedResCount

Number of resources in use.

RequestResCoun

Number of resources being requested.

ResCacheCount

Number of resources in the buffer pool.

ResBackupCount

Number of backup resources.

ResReleaseCount

Number of released resources.

SmoothFSMState

State of the smooth finite state machine.

FsmHistory

State change history of the finite state machine.

ResCache

Resources in the resource buffer.

display dcn ifm consumerif

Function

The display dcn ifm consumerif command displays consumer interface information that a DCN subscribes to the IFM component.

Format

display dcn ifm consumerif

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Run the display dcn ifm consumerif command to retrieve information about communication between a DCN and IFM component, which helps locate a DCN fault.

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 interface information of a DCN serving as a consumer to communicate with the IFM component.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn ifm consumerif
======================================================
IfIndex             : 0x70000020          
Attribute           : 0x3        
WaitSubAttr         : 0x0      
ScIfCount           : 1        
SubState            : 4         
IfInfo              : 
0x00000000030000000100000004200000199C0280000000000000000000000000000008000000000037800000000000000000000000000000000000000000000000000000000000000000000000000000           
======================================================
Table 2-1201 Description of the display dcn ifm consumerif command output
Item Description
IfIndex

Interface index.

Attribute

Interface attribute.

WaitSubAttr

Attribute waiting for subscription.

ScIfCount

Number of IFM component interfaces.

SubState

Subscription status.

IfInfo

Interface information.

display dcn ifm instance

Function

The display dcn ifm instance command displays information about instances for communication between a DCN and the IFM component.

Format

display dcn ifm instance

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Run the display dcn ifm instance command to retrieve information about communication between a DCN and IFM component, which helps locate a DCN fault.

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 instance information about communication between the DCN and IFM component.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn ifm instance
======================================================
InstanceID          : 0x0     
AreaID              : 0.0.0.0         
AddServTransNum     : 0x0
AddDataTransNum     : 0x0
VerTransNum         : 0x1    
CurVerTransNum      : 0x1 
SeqNumber           : 0x2      
Timer               : false          
QueryNum            : 0       
State               : 4          
FsmStateHistory     : 0123454
======================================================
Table 2-1202 Description of the display dcn ifm instance command output
Item Description
InstanceID

Instance ID.

AreaID

Area ID.

AddServTransNum

Transaction ID for adding services.

AddDataTransNum

Transaction ID the for adding data.

VerTransNum

Verification Transaction ID.

CurVerTransNum

Current verification Transaction ID.

SeqNumber

Sequence number.

Timer

Whether retransmission timer is running.

QueryNum

Number of queries.

State

Current status of the FSM.

FsmStateHistory

State change history of the finite state machine.

display dcn ifm producerif

Function

The display dcn ifm producerif command displays information about communication between the DCN of a specified DCN vendor and the IFM component.

Format

display dcn ifm producerif

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Run the display dcn ifm producerif command to retrieve information about communication between a DCN and IFM component, which helps locate a DCN fault.

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 interface information of a DCN serving as a producer to communicate with the IFM component.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn ifm producerif
======================================================
VSID                : 0            
PhyType             : 252         
IfID                : 0x21            
IfIndex             : 0x70000020         
BitMap              : 0                 
FsmState            : 9        
FsmStateHistory     : 01259 
======================================================
Table 2-1203 Description of the display dcn ifm producerif command output
Item Description
VSID

VS ID.

PhyType

Physical type of an interface.

IfID

Interface ID.

IfIndex

Interface index.

BitMap

Interface bitmap.

FsmState

Current status of the FSM.

FsmStateHistory

State change history of the finite state machine.

display dcn lsdb

Function

The display dcn lsdb command displays Type10 LSA information received by DCN.

Format

display dcn lsdb

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Run the display dcn lsdb command to retrieve LSA information received by DCN, which helps locate a DCN fault.

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 LSA information of DCN.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn lsdb
======================================================
ProcessID            : 0xFFFE             
AreaID               : 0.0.0.0                           
Options              : 2               
LSType               : 10                
LinkId               : 200.255.204.0                
AdvRtr               : 10.26.24.51                
LSSeqNum             : 0x8000000C              
LSChksum             : 5224              
Length               : 36
MacInfo              : 38ba-3a06-ec02:24960
======================================================
Table 2-1204 Description of the display dcn lsdb command output
Item Description
ProcessID

OSPF process ID.

AreaID

OSPF area ID.

Options

Option bit of the LSA.

LSType

LSA type.

LinkId

LSA link ID that is determined by the LAS type. For Type10 LSAs, it has a fixed value of 200.255.204.0.

AdvRtr

Advertising router ID of the LSA.

LSSeqNum

Sequence number of the LSA.

LSChksum

LSA checksum.

Length

Length of the LSA, containing the LSA header, expressed in bits.

MacInfo

MAC information.

display dcn mml statistics

Function

The display dcn mml statistics command displays statistics about MML packets exchanged between an NMS and a GNE.

Format

display dcn mml statistics

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Users can use the DC tool to log in to a GNE through an NMS. To check statistics about the MML packets exchanged between the NMS and GNE during the login, such as the name of the login user, number of login failures, and number of packets that are processed successfully, run the display dcn mml statistics 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 statistics about MML packets exchanged between an NMS and a GNE.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn mml statistics
----------------------------------------                        
 Receive Frames   :   7                            
 Receive Bytes    :   184                            
 Send Frames      :   12                            
 Send Bytes       :   644                            
 Send Fail Count  :   0                            
 Login Fail Count :   1                            
 Unknown Packets  :   0                            
 Logout Packets   :   0                            
 Success Count    :   3                            
----------------------------------------
Table 2-1205 Description of the display dcn mml statistics command output
Item Description
Receive Frames

Number of MML frames that the GNE receives.

Receive Bytes

Byte number of the MML frames that the GNE receives.

Send Frames

Number of MML frames that the GNE sends.

Send Bytes

Byte number of MML frames that the GNE sends.

Send Fail Count

Number of MML frames that the GNE fails to send.

Login Fail Count

Number of login failures.

Unknown Packets

Number of invalid MML packets that the GNE receives.

Logout Packets

Number of MML packets that the GNE receives in offline state.

Success Count

Number of MML frames that the GNE processes successfully.

display dcn mode vlan fail-reason

Function

The display dcn mode vlan fail-reason command displays the cause of the failure in creating a sub-interface numbered 4094.

Format

display dcn mode vlan fail-reason

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

If a sub-interface numbered 4094 fails to be created after the dcn mode vlan command is run, run the display dcn mode vlan fail-reason command to check the cause.

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 cause of the failure in creating a sub-interface numbered 4094.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn mode vlan fail-reason
--------------------------------------------------------------------------      
Interface                      fail-reason                                      
GigabitEthernet0/1/0           Vlan 4094 is not available.                      
GigabitEthernet0/1/1          The 4094 sub interface already exists.           
--------------------------------------------------------------------------
Table 2-1206 Description of the display dcn mode vlan fail-reason command output
Item Description
fail-reason

Cause of the failure in creating a sub-interface numbered 4094, which can be:

  • The interface does not support the sub-interface numbered 4094.
  • VLAN 4094 has been used.
Interface

Interface on which an NE attempted to create a sub-interface numbered 4094.

display dcn neinfoall

Function

The display dcn neinfoall command displays detailed NE information of DCN.

Format

display dcn neinfoall

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

To help locate a DCN fault, run the display dcn neinfoall 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 NE information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn neinfoall
======================================================  
NeId                 : 0.26.24.52               
NeIp                 : 1.2.3.4               
Cost                 : 0x0               
TimeStamp            : 0xE          
NexthopCount         : 1       
LsaSrcCount          : 16        
Hostname             : HUAWEI           
======================================================
Table 2-1207 Description of the display dcn neinfoall command output
Item Description
NeId

NE ID.

NeIp

NE IP address.

Cost

Number of core route hops.

TimeStamp

Timestamp of the core route.

NexthopCount

Number of next hops.

LsaSrcCount

Number of LSAs carrying the NE ID.

Hostname

Host name of the NE.

ESN

Device ESN.

PNPSTATE

PNP State.

display dcn node

Function

The display dcn node command displays DCN node information.

Format

display dcn node

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Run the display dcn node command to retrieve DCN node information, which helps locate a DCN fault.

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 DCN node information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn node
======================================================
ProcessID            : 0xFFFE             
AreaID               : 0.0.0.0                
VertexType           : 0x1            
VertexId             : 10.26.24.51              
AdvRtrId             : 10.26.24.51              
PathCost             : 0x0              
======================================================
======================================================
ProcessID            : 0xFFFE             
AreaID               : 0.0.0.0                
VertexType           : 0x1            
VertexId             : 10.26.24.52              
AdvRtrId             : 10.26.24.52              
PathCost             : 0x64              
======================================================
Table 2-1208 Description of the display dcn node command output
Item Description
ProcessID

OSPF process ID.

AreaID

OSPF area ID.

VertexType

Vertex type.

  • 0x1: router type.
  • 0x2: network type.
VertexId

Vertex ID, which varies with the vertex type. If the vertex type is 0x1, it is a router ID. If the vertex type is 0x2, it is the DR IP address.

AdvRtrId

Advertising router ID.

PathCost

Cost of the path from the local router to the vertex.

display dcn old-lsa-info

Function

The display dcn old-lsa-info command displays the aged LSA information about a DCN.

Format

display dcn old-lsa-info

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

If a DCN fault occurs, run the display dcn old-lsa-info command to display the aged LSA information about a DCN to facilitate fault locating.

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 aged LSA information about a DCN.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn old-lsa-info
======================================================
ProcessID            : 0xFFFE             
AreaID               : 0.0.0.0            
AdvRtr               : 10.17.10.166      
NeId                 : 10.17.10.166        
NeIp                 : 10.17.10.166      
NeIpMask             : 255.255.0.0        
LsaDcnType           : VER1LSA            
hweccDistance        : 0                  
FwdNeId              : 0.17.10.166        
AgeTimer             : (RemainTime??1109/TotalTime??1152)   
======================================================
Table 2-1209 Description of the display dcn old-lsa-info command output
Item Description
ProcessID

ID of an OSPF process.

AreaID

Area ID.

AdvRtr

ID of the route advertiser.

NeId

ID of an NE.

NeIp

IP address of an NE.

NeIpMask

Mask of the NE IP address.

LsaDcnType

DCN LSA type.

hweccDistance

HWECC route cost.

FwdNeId

Forwarding NE ID.

AgeTimer

Aging timer.

display dcn peer verbose

Function

The display dcn peer verbose command displays link label information of DCN peers.

Format

display dcn peer verbose

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

If a DCN network traverses a third-party Layer 2 network, run the display dcn peer verbose command to check link label information of DCN peers. The command output helps you quickly learn topology changes on the NMS.

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 link label information of DCN peers.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn peer verbose
                   Network Element Peer Info
 Local NEID: 0.10.217.185
 NEID      : 0.10.217.155
 NEIP      : 1.2.3.4
 DCN Interface   : DCN-Serial0/1/5:0
 Interface       : GigabitEthernet0/1/5
 LocalLabel      : 0
 RemoteLabel     : 0
 DCN Interface   : DCN-Serial0/1/4:0
 Interface       : GigabitEthernet0/1/4
 LocalLabel      : 0
 RemoteLabel     : 0
 NEID      : 0.10.217.195
 NEIP      : 1.2.3.4
 DCN Interface   : DCN-Serial0/1/2:0
 Interface       : GigabitEthernet0/1/2
 LocalLabel      : 0
 RemoteLabel     : 0
 DCN Interface   : DCN-Serial0/1/3:0
 Interface       : GigabitEthernet0/1/3
 LocalLabel      : 0
 RemoteLabel     : 0
 NEID      : 0.10.217.197
 NEIP      : 1.2.3.4
 DCN Interface   : DCN-Serial0/1/1:0
 Interface       : GigabitEthernet0/1/1
 LocalLabel      : 0
 RemoteLabel     : 0
 DCN Interface   : DCN-Serial0/1/0:0
 Interface       : GigabitEthernet0/1/0
 LocalLabel      : 0
 RemoteLabel     : 0
 Total Number: 3
Table 2-1210 Description of the display dcn peer verbose command output
Item Description
Network Element Peer Info

Information about DCN peers.

Local NEID

NEID of the local NE.

NEID

NEID of the peer NE.

NEIP

NEIP address of the peer NE.

DCN Interface

DCN interface using which the local NE establishes a DCN peer relationship with the remote NE.

Interface

Physical interface of the DCN interface using which the local NE establishes a DCN peer relationship with the remote NE.

LocalLabel

Label of the link using which the local NE establishes a DCN peer relationship with the remote NE.

RemoteLabel

Label of the link using which the remote NE establishes a DCN peer relationship with the local NE.

Total Number

Total number of DCN peers that the local NE has.

display dcn pppoe adapter

Function

The display dcn pppoe adapter command displays information about communication between DCN and PPPoE component.

Format

display dcn pppoe adapter

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Run the display dcn pppoe adapter command to retrieve information about communication between DCN and PPPoE component, which helps locate a DCN fault.

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 PPPoE adaptation information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn pppoe adapter
======================================================   
IfCount             : 2           
UsedSessionCount    : 16         
WaitSessionCount    : 0         
======================================================
Table 2-1211 Description of the display dcn pppoe adapter command output
Item Description
IfCount

Number of interface groups.

UsedSessionCount

Number of used sessions.

WaitSessionCount

Number of available sessions.

display dcn pppoe communication

Function

The display dcn pppoe communication command displays information about communication between DCN and PPPoE component.

Format

display dcn pppoe communication [ ifgroupid ]

Parameters

Parameter Description Value
ifgroupid

Displays information about communication between the DCN and PPPoE component and interface group ID.

The value of the interface group ID is an integer ranging from 0 to 4294967295.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Run the display dcn pppoe communication command to retrieve information about communication between DCN and PPPoE component, which helps locate a DCN fault.

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 information about communication between DCN and PPPoE component.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn pppoe communication
Table 2-1212 Description of the display dcn pppoe communication command output
Item Description
display dcn pppoe communication

display dcn pppoe communication.

IfGroupID

Interface group ID.

LastReSendInterval

Interval for last message retransmissions.

IfInSubListNum

Number of subscription interfaces.

IfInUnSubListNum

Number of Unsubscription interfaces.

IfNum

Number of interfaces.

ServRxmtTimer

Indicates whether to retransmit messages.

LastServTransNum

Latest Transaction Number.

ServFSMState

State Machine Status.

FSMStateHistory

Status transition history of the state machine.

display dcn pppoe communication-interface

Function

The display dcn pppoe communication-interface command displays information about the communication interface between a DCN and PPPoE.

Format

display dcn pppoe communication-interface [ ifgroupid ifindex ]

Parameters

Parameter Description Value
ifgroupid

Displays information about communication between the DCN and PPPoE component and interface group ID.

The value of the interface group ID is an integer ranging from 0 to 4294967295.

ifindex

Displays information about interfaces used by the DCN and the PPPoE component to communicate and interface index.

The interface index value is an integer ranging from 0 to 4294967295.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Run the display dcn pppoe communication-interface command to retrieve information about communication between DCN and PPPoE component, which helps locate a DCN fault.

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 PPPoE adaptation information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn pppoe adapter
======================================================   
IfCount             : 2           
UsedSessionCount    : 16         
WaitSessionCount    : 0         
======================================================
Table 2-1213 Description of the display dcn pppoe communication-interface command output
Item Description
display dcn pppoe communication-interface

display dcn pppoe communication-interface.

IfIndex

Interface index.

IfGroupID

Interface group ID.

LastTransNum

Latest transaction number.

LastSeqNum

Latest serial number.

IfFSMState

State machine status.

FSMStateHistory

Status transition history of the state machine.

display dcn pppoe interface

Function

The display dcn pppoe interface command displays information about the communication interface between a DCN and PPPoE.

Format

display dcn pppoe interface

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Run the display dcn pppoe interface command to retrieve information about communication between DCN and PPPoE component, which helps locate a DCN fault.

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 information about the communication interface between a DCN and PPPoE.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn pppoe interface
Table 2-1214 Description of the display dcn pppoe interface command output
Item Description
display dcn pppoe interface

display dcn pppoe interface.

IfGroupID

Interface group ID.

IfIndex

Interface index.

IfType

Interface type.

SessionCount

Number of sessions.

display dcn pppoe session

Function

The display dcn pppoe session command displays information about sessions between a DCN and PPPoE.

Format

display dcn pppoe session

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Run the display dcn pppoe session command to retrieve information about communication between DCN and PPPoE component, which helps locate a DCN fault.

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 PPPoE adaptation information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn pppoe adapter
======================================================   
IfCount             : 2           
UsedSessionCount    : 16         
WaitSessionCount    : 0         
======================================================
Table 2-1215 Description of the display dcn pppoe session command output
Item Description
display dcn pppoe session

display dcn pppoe session.

IfGroupID

Interface group ID.

IfIndex

Interface index.

IfType

Interface type.

SessionId

Session Id.

VlanId

Vlan Id.

MacAddr

Mac address.

IntfId

Interface ID.

Where

Status.

display dcn route

Function

The display dcn route command displays route information received by DCN.

Format

display dcn route

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Run the display dcn route command to retrieve the DCN-received information, which helps locate a DCN fault.

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 route information received by a DCN.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn route
======================================================
 ProcessID           : 0xFFFE            
 AreaID              : 0.0.0.0               
 DesIp               : 1.2.3.4               
 Mask                : 255.255.0.0                 
 Cost                : 256                 
 NextHopCount        : 0         
 SrcLsaCount         : 2          
======================================================
======================================================
 ProcessID           : 0xFFFE            
 AreaID              : 0.0.0.0               
 DesIp               : 1.2.3.4                
 Mask                : 255.255.255.255                 
 Cost                : 0                 
 NextHopCount        : 0         
 SrcLsaCount         : 1          
======================================================
======================================================
 ProcessID           : 0xFFFE            
 AreaID              : 0.0.0.0               
 DesIp               : 1.2.3.4                
 Mask                : 255.255.255.255                 
 Cost                : 0                 
 NextHopCount        : 16         
 SrcLsaCount         : 1          
======================================================
Table 2-1216 Description of the display dcn route command output
Item Description
ProcessID

OSPF process ID.

AreaID

OSPF area ID.

DesIp

Destination address of a route.

Mask

Subnet mask of a route.

Cost

Route cost.

NextHopCount

Number of next hops.

SrcLsaCount

Number of LSAs for the route information.

display dcn tei

Function

The display dcn tei command displays the network connection identification information about a DCN.

Format

display dcn tei [ history ]

Parameters

Parameter Description Value
history

Displays the network connection identification history information about a DCN.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

If a DCN fault occurs, run the display dcn tei command to display the network connection identification information about a DCN to facilitate fault locating.

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 network connection identification information about a DCN.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display dcn tei
----------------------------------------
 Nms-IP              : 127.0.0.1       
 Nms-User            ??-
 TEI                 : 17       
 LoginState          ??NotLogIn    
 Chan-Timer          : 2014-03-05 08:21:54           
 ----------------------------------------
Table 2-1217 Description of the display dcn tei command output
Item Description
Nms-IP

IP address of the NMS.

Nms-User

NMS user.

TEI

Indicates the terminal ID that identifies the TCP connection established between the GNE and NMS or terminal.

LoginState

NE login status.

Chan-Timer

Establishment time of a connection.

display gne ip-port

Function

The display gne ip-port command displays IP ports on a GNE.

Format

display gne ip-port

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

If a DCN fault occurs, run the display gne ip-port command to display IP ports on a GNE to facilitate fault locating.

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 IP ports on a GNE.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display gne ip-port
------------------------------------------
 Protocol                         Port    
 TCP                              1400    
 TCP                              5432    
 UDP                              1400    
 UDP                              1401    
 UDP                              1402    
 UDP                              1405    
 UDP                              1500    
 UDP                              8002    
------------------------------------------
Table 2-1218 Description of the display gne ip-port command output
Item Description
Protocol

Protocol.

Port

Port number.

display gne statistics

Function

The display gne statistics command displays statistics on TCP channels between GNEs and NMSs.

Format

display gne statistics

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

If a DCN fault occurs, run the display gne statistics command to display statistics on TCP channels between GNEs and NMSs for fault locating.

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 statistics on TCP channels between GNEs and NMSs.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display gne statistics
----------------------------------------
 Chan-No:               1
 Peer-IP:               10.1.1.20
 User-Port:             1400
 Peer-Port:             3536
 Recv-Frames:           9
 Recv-Bytes:            359
 Send-Frames:           6
 Send-Bytes:            230
 Send-FailCount:        0
----------------------------------------
Table 2-1219 Description of the display gne statistics command output
Item Description
Chan-No

TCP channel number.

Peer-IP

Peer IP address.

User-Port

Local port number.

Peer-Port

Peer port number.

Recv-Frames

Number of received frames.

Recv-Bytes

Number of received bytes.

Send-Frames

Number of sent frames.

Send-Bytes

Number of sent bytes.

Send-FailCount

Number of frame sending failures.

display ne-list

Function

The display ne-list command displays the negotiation status between NEs and NMSs.

Format

display ne-list

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

To view the negotiation status between NEs and NMSs, you can run the display ne-list command on the GNE.

Prerequisites

The automatic report function is enabled.

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 negotiation status between NEs and NMSs.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display ne-list
NE-ID             NMS-IP              State   
 0x110AA6          1.1.1.1             WAIT    
 0x210AA6          1.1.1.1             WAIT
Table 2-1220 Description of the display ne-list command output
Item Description
NE-ID

ID of an NE.

NMS-IP

IP address of an NMS.

State

Negotiation status between an NE and an NMS.

  • NULL: The GNE does not report the NE's information to the NMS.
  • WaitConfirm: The GNE has reported the NE's information to the NMS, and the GNE is waiting for a response from the NMS.
  • Confirmed: The GNE has reported the NE's information to the NMS and received a response.

display ospf dcn

Function

The display ospf dcn command displays the OSPF DCN information.

Format

display ospf dcn

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

To view the OSPF DCN information, run the display ospf dcn 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 the OSPF DCN information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display ospf dcn
OSPF DCN Information
DCNPAFState: enabled       DCNEnableState: enabled
NEID: 0.2.78.26              NEIP: 1.2.3.4            MASK: 255.255.0.0
DCN topo Size: 2
CoreRoute Size Limit: 200
CoreRoute Table State: unoverload
Agent Table Size: 0
GNE Router: No
RecvElderLsaTimer: 0
RecvNewerLsaTimer: 0
UpdateTimerValue: 0
UpdateTimerHandle: 0
Table 2-1221 Description of the display ospf dcn command output
Item Description
DCN topo Size

Size of the DCN topology.

CoreRoute Size Limit

Size of the DCN core routing table.

CoreRoute Table State

Whether the DCN core routing table is overloaded.

Agent Table Size

Size of the agent routing table.

GNE Router

Whether the NE is a GNE.

DCNPAFState

Whether the DCN feature is enabled in the PAF file.

DCNEnableState

Whether the DCN feature is enabled on the device.

NEID

NEID of the NE.

NEIP

NEIP address of the NE.

MASK

Subnet mask of the NEIP address.

RecvElderLsaTimer

Received old LSA timer.

RecvNewerLsaTimer

Received new LSA timer.

UpdateTimerValue

Core route updated timer value.

UpdateTimerHandle

Core route updated timer status.

display pppoedcn error-packet

Function

The display pppoedcn error-packet command displays information about error protocol packets on a PPPoE-DCN interface.

Format

display pppoedcn error-packet [ statistics ] interface { ifName | ifType ifNum }

Parameters

Parameter Description Value
statistics

Displays statistics about error protocol packets on a PPPoE-DCN interface. If this parameter is not configured, detailed information about the latest five error protocol packets on a PPPoE-DCN interface is displayed.

-

interface ifName

Interface name.

-

ifType

Interface type.

-

ifNum

Interface num.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
pppoe debug

Usage Guidelines

Usage Scenario

If a networking or protocol error occurs, run the display pppoedcn error-packet command to check information about error protocol packets on a PPPoE-DCN interface. The information displayed helps fault locating.

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 detailed information about the latest five error protocol packets on a PPPoE-DCN interface.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display pppoedcn error-packet interface gigabitethernet 0/1/1
Time: 2015-05-06 02:46:13
Packet Type: Hello
Error Reason: NEID is same as local
Packet Verbose:
---------------------------------------------------
 01 00 00 08 00 80 35 05   0b b8 00 06 00 00 00 00
---------------------------------------------------
Time: 2015-05-06 02:46:16
Packet Type: Hello
Error Reason: NEID is same as local
Packet Verbose:
---------------------------------------------------
 01 00 00 08 00 80 35 05   0b b8 00 06 00 00 00 00
---------------------------------------------------
# Display statistics about error protocol packets on a PPPoE-DCN interface.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display pppoedcn error-packet statistics interface gigabitethernet 0/1/1
Error packet information:
---------------------------------------------------------------------
NeidErr     :2               PktTypeErr  :0              
LenthErr    :0               
---------------------------------------------------------------------
Table 2-1222 Description of the display pppoedcn error-packet command output
Item Description
Packet Type

Error packet type.

Packet Verbose

Error packet content.

Error Reason

Error cause.

NeidErr

Number of packets with the same NE ID as the local one.

PktTypeErr

Number of packets with an incorrect code.

LenthErr

Number of packets with an incorrect length.

Time

Time when an error packet was received.

display qx blackbox

Function

The display qx blackbox command displays information about the communication between the Qx component and other components.

Format

display qx blackbox { fes | aaa | socket }

Parameters

Parameter Description Value
fes

Displays information about the communication between the specified Qx component and the FES component.

-

aaa

Displays information about the communication between the specified Qx component and the AAA component.

-

socket

Displays information about the communication between the specified Qx component and the Socket component.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

When a DCN fault occurs, run the display qx blackbox command to display information about the communication between the Qx component and other components for fault locating.

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 information about the communication between the specified Qx component and the FES component.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display qx blackbox fes
<2014-03-06 07:40:58 423> [FES-C-FSM]:S:1 I:9 A:1.
<2014-03-06 07:40:58 423> [FES-SendMsg]:Type:1 Tn:0 Len:32.
<2014-03-06 07:41:03 428> [FES-C-FSM]:S:1 I:9 A:1.
<2014-03-06 07:41:03 428> [FES-SendMsg]:Type:1 Tn:0 Len:32.
Table 2-1223 Description of the display qx blackbox command output
Item Description
fes

Communication with FES.

socket

Communication with socket.

aaa

Communication with aaa.

osp

Communication with osp.

eqx

Communication with eqx.

display qx cmd

Function

The display qx cmd command displays unprocessed ARP commands.

Format

display qx cmd

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

To view unprocessed ARP commands, run the display qx cmd command. This command is seldom used.

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 unprocessed ARP commands.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display qx cmd
Table 2-1224 Description of the display qx cmd command output
Item Description
>

Redirect the output to a file.

|

Matching output.

>>

Redirect the output to a file in append mode.

display qx dtls session

Function

The display qx dtls session command displays the session status of a QX DTLS client or server.

Format

display qx dtls session

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

You can run this command to view the session status of a DTLS client or client.

Example

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

# Display the session status of a DTLS client.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display qx dtls session
Total Number: 1
-------------------------------------------------------
 SESSIONID   ROLE    PORT    STATE  CONNECT  IDLE  KEEPALIVE
-------------------------------------------------------
 0x21AC50    CLIENT  1400    RUN    0        4     1
-------------------------------------------------------
Table 2-1225 Description of the display qx dtls session command output
Item Description
Total Number

Total number of sessions.

SESSIONID

DTLS channel ID.

ROLE

Role.

PORT

Interface number.

STATE

Channel status.

CONNECT

Connection setup retry times.

IDLE

Number of periods during which no data packet is received.

KEEPALIVE

Number of periods during which keepalive packets are not received.

display qx server

Function

The display qx server command displays the NMS status.

Format

display qx server

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

To view the NMS status when a DCN fault occurs, run the display qx server 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 the NMS status.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display qx server
----------------------------------------
 Server-IP            : 1.2.3.4   
 Server-Port          : 52155 
 Server-VrfID         : 0   
 Server-Name          :     
 Server-State         : 0   
----------------------------------------
Table 2-1226 Description of the display qx server command output
Item Description
Server-IP

IP address of the NMS.

Server-Port

Port number of the NMS.

Server-VrfID

VPN index of the NMS.

Server-Name

Name of the NMS.

Server-State

NMS status:

  • 0: initial.
  • 1: registration.
  • 2: running.

display qx socket communication

Function

The display qx socket communication command displays pipe information about the Qx and Socket components.

Format

display qx socket communication [ Cid ]

Parameters

Parameter Description Value
Cid

Displays management information about the Qx component and a component with a specified ID.

The value is a string of case-sensitive characters in hexadecimal format, with spaces not supported. The value ranges from 0 to FFFFFFFF.

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

When a DCN fault occurs, run the display qx socket communication command to display pipe information about the Qx and Socket components for fault locating.

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 pipe information about the Qx and Socket components.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display qx socket communication
----------------------------------------
SocketCid          : 0x806503FC
SockCompState      : 1
SendPipeId         : 1048614
SendPipeState      : 1
RecvPipeId         : 524314
RecvPipeState      : 1
-----------------------------------------
----------------------------------------
SocketCid          : 0x806503F1
SockCompState      : 1
SendPipeId         : 7864468
SendPipeState      : 2
RecvPipeId         : 8913042
RecvPipeState      : 2
-----------------------------------------
Table 2-1227 Description of the display qx socket communication command output
Item Description
SocketCid

Socket component ID.

SockCompState

Socket component status.

SendPipeId

Send pipe ID.

SendPipeState

Send pipe status.

RecvPipeId

Receive pipe ID.

RecvPipeState

Receive pipe status.

display qx socket component

Function

The display qx socket component command displays socket component information.

Format

display qx socket component

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

To check socket component information, run the display qx socket component 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 socket component information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display qx socket component
----------------------------------------       
 EntryCnt             : 1      
 FlowCtrlCnt          : 0   
 MsgRecvCnt           : 8    
 MsgSendCnt           : 4    
 MsgErrCnt            : 0     
 ResentCnt            : 0     
 ResentTime           : 0    
 CompFsmState         : 12  
 FlowCtrl             : true      
 ----------------------------------------
Table 2-1228 Description of the display qx socket component command output
Item Description
EntryCnt

Number of socket instances.

FlowCtrlCnt

Flow control count.

MsgRecvCnt

Number of received messages.

MsgSendCnt

Number of sent messages.

MsgErrCnt

Number of error messages.

ResentCnt

Number of retransmitted messages.

ResentTime

Time when a message was last retransmitted.

CompFsmState

Component state.

FlowCtrl

Whether flow control is implemented:

  • true: Yes.
  • false: No.

display qx socket entry

Function

The display qx socket entry command displays socket instance information.

Format

display qx socket entry

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

To view socket instance information, run the display qx socket entry 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 socket instance information.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display qx socket entry
----------------------------------------       
 Type                 : 5        
 VrfID                : 0       
 SrcAddr              : 0.0.0.0     
 DstAddr              : 0.0.0.0     
 SrcPort              : 0     
 DstPort              : 0     
 SockID               : 0xEFFFFFFF      
 SendPipeID           : 0x100028  
 RecvPipeID           : 0x20001F  
 SockFsm              : 0     
 MyCid                : 0x809C0438       
 SockCid              : 0x806503FD     
 Handle               : 0xEFFFFFFF      
 ---------------------------------------
Table 2-1229 Description of the display qx socket entry command output
Item Description
Type

Socket instance type:

  • 0: TCP listening socket.
  • 1: TCP connection socket.
  • 2: UDP socket.
  • 3: Raw IP socket.
  • 4: RawLink socket.
  • 5: Incorrect socket.
VrfID

Index of a VPN.

SrcAddr

Source IP address.

DstAddr

Destination IP address.

SrcPort

Source interface.

DstPort

Destination interface.

SockID

Socket ID.

SendPipeID

Send pipe ID.

RecvPipeID

Receive pipe ID.

SockFsm

Socket status.

MyCid

Qx component ID.

SockCid

Socket CID.

Handle

Handle.

display qx udp statistics

Function

The display qx udp statistics command displays Qx UDP packet statistics.

Format

display qx udp statistics

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

If a DCN fault occurs, run the display qx udp statistics command to display Qx UDP packet statistics to facilitate fault locating.

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 Qx UDP packet statistics.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display qx udp statistics
----------------------------------------       
 Chan-No              : 1400    
 Recv-Frames          : 0  
 Recv-Bytes           : 0   
 Send-Frames          : 0  
 Send-Bytes           : 0   
 Send-FailCount       : 0 
 ----------------------------------------
Table 2-1230 Description of the display qx udp statistics command output
Item Description
Chan-No

Channel number.

Recv-Frames

Number of received frames.

Recv-Bytes

Number of received bytes.

Send-Frames

Number of sent frames.

Send-Bytes

Number of sent bytes.

Send-FailCount

Number of frames that fail to be sent.

reset gne statistics

Function

The reset gne statistics command clears all statistics on TCP channels.

Format

reset gne statistics

Parameters

None

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dcn debug

Usage Guidelines

Usage Scenario

Statistics on TCP channels are accumulated. To clear statistics on TCP channels, run the reset gne statistics command.

Precautions

Statistics on TCP channels cannot be restored after they are cleared. Exercise caution when running the reset gne statistics command.

This command is supported only on the admin VS.

Example

# Clear statistics on TCP channels.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] reset gne statistics

reset pppoedcn error-packet statistics interface

Function

The reset pppoedcn error-packet statistics interface command clears statistics about error protocol packets on a PPPoE-DCN interface.

Format

reset pppoedcn error-packet statistics interface { ifName | ifType ifNum }

Parameters

Parameter Description Value
ifName

Interface name.

-

ifType

Interface type.

-

ifNum

Interface num.

-

Views

Diagnostic view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
pppoe debug

Usage Guidelines

Usage Scenario

Before checking statistics about error protocol packets on a PPPoE-DCN interface for fault locating, run the reset pppoedcn error-packet statistics interface command to clear existing statistics.

Precautions

Statistics about error protocol packets on a PPPoE-DCN interface cannot be restored after they are cleared. Exercise caution when running the command.

This command is supported only on the admin VS.

Example

# Clear statistics about error protocol packets on a PPPoE-DCN interface GE 0/1/1.
<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] reset pppoedcn error-packet statistics interface gigabitethernet 0/1/1
Translation
Favorite
Download
Update Date:2022-12-20
Document ID:EDOC1100282152
Views:381204
Downloads:265
Average rating:0.0Points

Digital Signature File

digtal sigature tool