NE40E V800R022C00SPC600 Diagnose
UPRESAOM Diagnostic Commands
debugging res-agt
Function
The debugging res-agt command enables the debugging of the UPRES_AGENT component.
The undo debugging res-agt command disables the debugging of the UPRES_AGENT component.
By default, the debugging of the UPRES_AGENT component is disabled.
Format
debugging res-agt [ commom | devm | ulpu | vpn | flow-statistics ] { all | error | event | message | info } [ slave ]
undo debugging res-agt [ commom | devm | ulpu | vpn | flow-statistics ] { all | error | event | message | info } [ slave ]
Parameters
Parameter | Description | Value |
---|---|---|
commom |
Indicates a common module. |
- |
devm |
Indicates the device management module. |
- |
ulpu |
Indicates the ULPU module. |
- |
vpn |
Indicates the VPN module. |
- |
flow-statistics |
Indicates the flow statistics collection module. |
- |
all |
Enables all debugging functions. |
- |
error |
Displays error information. |
- |
event |
Displays event information. |
- |
message |
Displays message information. |
- |
info |
Displays informational information. |
- |
slave |
Slave. |
- |
display res-agt blackbox
Function
The display res-agt blackbox command displays the black box records of the UPRES_AGENT component.
Parameters
Parameter | Description | Value |
---|---|---|
module-name |
Specifies a module name. |
The value is a string of 1 to 49 case-sensitive characters. It cannot contain spaces. |
slave |
slave board. |
- |
Usage Guidelines
Usage Scenario
To check the black box records of the UPRES_AGENT component, run the display res-agt blackbox 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.
<HUAWEI> system-view [~HUAWEI] diagnose [~HUAWEI-diagnose] display res-agt blackbox ulpu [2021-05-21 04:53:50.150] Send cumode info: operation[2], slotid[4], cnt[0], upfenodegrp[0x81040000], optype[0]. [2021-05-21 04:53:50.150] Send cumode info: operation[2], slotid[3], cnt[0], upfenodegrp[0x81030000], optype[1]. [2021-05-21 04:53:50.110] Send cumode info: operation[1], slotid[4], cnt[0], upfenodegrp[0x81040000], optype[0]. [2021-05-21 04:53:50.110] Send cumode info: operation[1], slotid[3], cnt[0], upfenodegrp[0x81030000], optype[0].
display res-agt data
Format
display res-agt data devm [ slot slot-id ] [ slave ]
display res-agt data fenode [ slot slot-id ] [ slave ]
display res-agt data of-state [ slave ]
display res-agt data tbtp [ slave ]
display res-agt data cu-mode [ slot slot-id ] [ slave ]
display res-agt data ifindex2slot [ slave ]
display res-agt data cu-count [ slave ]
display res-agt data up-vpn [ slave ]
display res-agt data lgbindslot [ slave ]
display res-agt data pwvebindlg [ slave ]
display res-agt data veglobal [ slave ]
display res-agt data veport [ slave ]
display res-agt data mmgr [ slave ]
Parameters
Parameter | Description | Value |
---|---|---|
slot slot-id |
Specifies a slot ID. |
The value is a string of 0 to 15 case-sensitive characters. It cannot contain spaces. |
slave |
Indicates the slave main control board. |
- |
fenode |
Displays FeNode data. |
- |
of-state |
Displays CUSP status information. |
- |
tbtp |
Displays TBTP information. |
- |
cu-mode |
Displays CU mode data. |
- |
ifindex2slot |
Displays the mapping between interface indexes and slots. |
- |
cu-count |
Displays CU-Count data. |
- |
up-vpn |
Displays UP-side VPN data. |
- |
mmgr |
Displays MMGR instance information. |
- |
devm |
Displays device management data. |
- |
Usage Guidelines
Usage Scenario
If a service problem occurs, run the display res-agt data command to query the data table of the UPRES_AGENT component. The command output facilitates problem locating.
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.
<HUAWEI> system-view [~HUAWEI] diagnose [~HUAWEI-diagnose] display res-agt data cu-count -------------------- MAIN_IFINDEX COUNT -------------------- 0x9 1
<HUAWEI> system-view [~HUAWEI] diagnose [~HUAWEI-diagnose] display res-agt data devm ---------------------------------------------------------- UPSLOT POS_ID DEVICETYPE ATTR_ID ATTR_VAL ---------------------------------------------------------- 1 0x101ffff 0x2 0xe 0x0 2 0x102ffff 0x2 0xe 0x0 3 0x10300ff 0x9 0x4 0x400000da 3 0x10300ff 0x9 0x83 0x1 3 0x10300ff 0x12 0xe 0x1 3 0x10301ff 0x9 0x4 0x400000da
<HUAWEI> system-view [~HUAWEI] diagnose [~HUAWEI-diagnose] display res-agt data up-vpn --------------------------- IDENTIFIER UPVRFID --------------------------- 0X1:0X2 3
<HUAWEI> system-view [~HUAWEI] diagnose [~HUAWEI-diagnose] display res-agt data ifindex2slot ---------------------------------- IFINDEX MAIN_IFINDEX SLOTID ---------------------------------- 0x9 0x9 3 0xb 0xb 3
<HUAWEI> system-view [~HUAWEI] diagnose [~HUAWEI-diagnose] display res-agt data fenode --------------------------------- UPSLOT FENODEGRP --------------------------------- 3 0x81030000 4 0x81040000 17 0x81110000 18 0x81120000
<HUAWEI> system-view [~HUAWEI] diagnose [~HUAWEI-diagnose] display res-agt data of-state ------------------------------ IPADDR STATUS IS_SUB ------------------------------ 0X6060608 DOWN TRUE
<HUAWEI> system-view [~HUAWEI] diagnose [~HUAWEI-diagnose] display res-agt data cu-mode ------------------------------- UPSLOT INTF_COUNT OPTYPE ------------------------------- 3 2 ENABLE
<HUAWEI> system-view [~HUAWEI] diagnose [~HUAWEI-diagnose] display res-agt data mmgr MMGR -------------------------------------MMGR---------------------------------: Send id : 14419088 Peer id : 14222482 PeerQueue id : 6 Timer Value : 5000 Send Timer Value : 5000 Recv Timer Value : 18000000 Max Send Count : 200 Max Packet Len : 65535 Back Count : 6 Flow Ctrl : No Peer Status : Once Send Entry Count : 0 Once Max Count : 1 Msg Sn Type Count : 10 Wait Send Count : 0 Proc Send Entry Count : 11370 Send Count : 11370 Merge Count : 0 Pack tlv Count : 0 Msg Sn Type Count : 11370 Pack msg Count : 11354 Send msg Failed Count : 0 Send Transmsg Count : 33 Send Seqmsg Count : 11337 Send Ifmmsg Count : 0 Verify Tran Count : 32 Verify Seq Count : 0 Verify Tran Failed Count: 0 Verify Seq Failed Count: 0 Msg Flow Ctrl Times : 0 Encode Msg Failed Count : 0 Msg Resend Times : 0 Last Send msg Failed Count: 0 Last Msg Flow Ctrl Times: 0
Item | Description |
---|---|
MAIN_IFINDEX | Index of the main interface where the CU-mode is configured. |
COUNT | CU-mode count of the main interface (including sub-interfaces). |
UPSLOT | Slot ID. |
POS_ID | Position. |
DEVICETYPE | Device type. |
ATTR_ID | Attribute ID. |
ATTR_VAL | Attribute value. |
IDENTIFIER | ID used to match the UP and CP VPNs. |
UPVRFID | VPN VRFID configured on the UP side. |
IFINDEX | Interface index. |
SLOTID | Slot ID. |
FENODEGRP | FeNodeGrp ID. |
IPADDR | Local IP address of the channel. |
STATUS | Channel status. |
IS_SUB | Whether channel status is subscribed to:
|
INTF_COUNT | CU-mode count of the board. |
OPTYPE | Flag indicating whether the CU-mode is enabled. |
MMGR | MMGR instance. |
display res-agt partner status
Function
The display res-agt partner status command displays the status information of the UPRES_AGENT and partner components.
Usage Guidelines
Usage Scenario
If a service problem occurs, run the display res-agt partner status command to query the status information of the UPRES_AGENT and partner components. The command output facilitates problem locating.
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.
<HUAWEI> system-view [~HUAWEI] diagnose [~HUAWEI-diagnose] display res-agt partner status Partner PID: 0xfa0002 CompType: PDEVM State : AVAILABLE DelpoyMode : LR DelpoyAttr : 0x0 -------------------------------------------------- Partner PID: 0x80fc0012 CompType: DEVMA State : AVAILABLE DelpoyMode : OSNODE DelpoyAttr : 0x111 -------------------------------------------------- Partner PID: 0xfc0443 CompType: DEVMA State : AVAILABLE DelpoyMode : OSNODE DelpoyAttr : 0x8000103 --------------------------------------------------
display res-agt statistics
Function
The display res-agt statistics command displays the diagnosis statistics of the UPRES_AGENT component.
Parameters
Parameter | Description | Value |
---|---|---|
message |
Displays message diagnosis statistics. |
- |
database |
Displays database diagnosis statistics. |
- |
system-resource |
Displays system resource diagnosis statistics. |
- |
slave |
slave board. |
- |
Usage Guidelines
To check the diagnosis statistics of the UPRES_AGENT component, run the display res-agt statistics command.
Example
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> system-view [~HUAWEI] diagnose [~HUAWEI-diagnose] display res-agt statistics database FlowInfo TBL: ADD:0 UPDATE:0 DEL:0 VPN Relation TBL: ADD:0 UPDATE:0 DEL:0 DEVM TBL: ADD:57 UPDATE:0 DEL:0 Partner TBL: ADD:0 UPDATE:0 DEL:0 Cu-mode TBL: ADD:2 UPDATE:0 DEL:0 Trunkmember TBL: ADD:0 UPDATE:0 DEL:0 CU Count TBL: ADD:5 UPDATE:0 DEL:2 Ifindex2Slot TBL: ADD:5 UPDATE:0 DEL:2 TBTP TBL: ADD:85 UPDATE:0 DEL:0 Fenode info TBL: ADD:3 UPDATE:0 DEL:0 OF-state TBL: ADD:3 UPDATE:0 DEL:2 OFAGT CFG TBL: ADD:1 UPDATE:0 DEL:0 Server id TBL: ADD:1 UPDATE:0 DEL:0 Partner state TBL: ADD:0 UPDATE:0 DEL:0
<HUAWEI> system-view [~HUAWEI] diagnose [~HUAWEI-diagnose] display res-agt statistics message SSP->RESAGT: RecStartWork :1 RecPartnerStatus :0 RecNewBackup :0 RecPromptPromary :0 RecStopWork :0 RecBackupGone :0 RecStopPrimary:0 OFC<->RESAGT: SendRegMsg :1 RecRegAck :0 SendSubscribeMsg :3 RecSubscribeAck :0 SendUnSubscribeMsg:2 RecUnSubscribeAck:0 RecConnectStateMsg:25 SendConnStateRsp :0 RecIPSSmoothReqMsg :0 SendIPSSmoothBeginMsg :0 RecIPSSmoothBeginACK:0 SendIPSSmoothDataMsg :0 SendIPSSmoothEndMsg :0 RecIPSSmoothEndACK :0 DEVM<->RESAGT: RecDEVMAttrChgMsg :273 SendDEVMAttrChgResp :0 Other message: RecDecongestMsg :0 RecJobIMsg :0
Item | Description |
---|---|
FlowInfo TBL | Flow statistics table (main interface). |
VPN Relation TBL | VPN table. |
DEVM TBL | Device management table. |
Partner TBL | Component subscription relationship table. |
Partner state TBL | Partner status table. |
Cu-mode TBL | CU mode table. |
Trunkmember TBL | Trunk member relationship table. |
CU Count TBL | Table about the number of CU mode configuration times. |
Ifindex2Slot TBL | Table about the mapping between the interface index and slot ID. |
TBTP TBL | TbTP table. |
Fenode info TBL | Fenode table. |
OF-state TBL | Of status table. |
OFAGT CFG TBL | OfAgt subscription information table. |
Server id TBL | Server subscription information table. |
RecStartWork | Number of received StartWork messages. |
RecPartnerStatus | Number of received Partner status messages. |
RecNewBackup | Number of received backup-to-primary messages. |
RecPromptPromary | Number of received primary-to-backup messages. |
RecStopWork | Number of received StopWork messages. |
RecBackupGone | Number of received backup completion messages. |
SendRegMsg | Number of sent registration request messages. |
RecRegAck | Number of received registration reply messages. |
SendSubscribeMsg | Number of sent subscription messages. |
RecSubscribeAck | Number of received subscription reply messages. |
SendConnStateRsp | Number of sent component connection request reply messages. |
RecIPSSmoothReqMsg | Number of received smooth request messages. |
SendIPSSmoothBeginMsg | Number of sent smooth start messages. |
SendIPSSmoothDataMsg | Number of sent smooth data messages. |
SendIPSSmoothEndMsg | Number of sent smooth end messages. |
RecIPSSmoothEndACK | Number of received smooth end ACK messages. |
RecDEVMAttrChgMsg | Number of received DEVM attribute change messages. |
SendDEVMAttrChgResp | Number of sent DEVM attribute change messages. |
RecDecongestMsg | Number of received smooth parsing messages. |
RecJobIMsg | Number of received JOB messages. |
RecStopPrimary | Number of received backup-to-primary failure messages. |
SendUnSubscribeMsg | Number of sent unsubscription messages. |
RecUnSubscribeAck | Number of received unsubscription reply messages. |
RecConnectStateMsg | Number of received component connection requests. |
RecIPSSmoothBeginACK | Number of received smooth start ACK messages. |
UPDATE | Number of times the database is updated. |
DEL | Number of times data is deleted from the database. |
ADD | Number of times data is added to the database. |
reset res-agt statistics
Function
The reset res-agt statistics command resets the diagnosis statistics of the UPRES_AGENT component.
Parameters
Parameter | Description | Value |
---|---|---|
all |
Resets all diagnosis statistics. |
- |
message |
Resets message diagnosis statistics. |
- |
database |
Resets database diagnosis statistics. |
- |
system-resource |
Resets system resource diagnosis statistics. |
- |