debugging packet ike

Function

The debugging packet ike command enables debugging of IKE packets.

The undo debugging packet ike command disables debugging of IKE packets.

By default, the IKE packet debugging is disabled.

This command is supported only on the NetEngine 8000 F1A.

Format

debugging packet ike { v1 | v2 } [ verbose ]

undo debugging packet ike { v1 | v2 } [ verbose ]

Parameters

Parameter Description Value
v1

Displays debugging information for IKEv1 packets.

-

v2

Displays debugging information for IKEv2 packets.

-

verbose

Displays debugging information in detail.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ike debug

Usage Guidelines

Usage Scenario

Generally, this command can be used to debug the IKE packets and help to locate fault.

Configuration Impact

Debugging information is displayed on the screen. Do not output too much information for purposes other than debugging so that the system is not affected.

Example

# Enable debugging of IKEv2 packets.
<HUAWEI> debugging packet ike v2
SOCKET: -
----------------------------------------------
My Cid          : 0x80650453
Peer Cid        : 0x81982720
VS              : 0
Handle          : 1
TraceNum        : 3
Direction       : Up
Status          : 0
Time            : 2017-9-16 6:39:1 840
Data            : 
6e 5f e8 ed c2 e4 e1 8d c2 a0 b0 af 29 e2 a0 03 
08 10 05 01 
----------------------------------------------


LDM: 
----------------------------------------------
My Cid          : 0x80782719
Peer Cid        : 0x65043D
VS              : 0
Handle          : 1
TraceNum        : 3
Direction       : Up
Status          : 0
Interface index : 9
Link type       : ETH
Source mac      : 38 a0 e1 21 03 01 
Dest mac        : 38 a0 e1 11 03 01 
Link protocol   : 0x0800 
Protocol        : IPV4
Time            : 2017-9-16 6:39:1 846
Data            : 0x45C0006000490000F011C17D0202020202020201
----------------------------------------------
Table 1 Description of the debugging packet ike command output
Item Description
My Cid

Component ID.

Peer Cid

Receive component CID when sending packets or send component CID when receiving packets.

VS

VS Id.

Handle

Debugging processing handle.

TraceNum

Packet sequence number.

Direction

Packet direction.

  • UP: incoming.
  • DOWN: outgoing.
Status

Packet processing return value.

Time

Packet processing time.

Data

Packet content.

Interface index

Packet interface index.

Link type

Link type of packets.

Link protocol

Link protocol value.

Source mac

Source MAC address.

Dest mac

Destination MAC address.

Protocol

Protocol type.

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