debugging packet ospf interface

Function

The debugging packet ospf interface command enables the debugging of all types of OSPF packets.

The undo debugging packet ospf interface command disables the debugging of OSPF packets.

By default, the debugging of the process of transmitting OSPF packets is disabled.

Format

debugging packet ospf interface { interfaceType interfaceNum | interfacename }

undo debugging packet ospf interface { interfaceType interfaceNum | interfacename }

Parameters

Parameter Description Value
interface interfaceType interfaceNum

Indicates the type and number of interface.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ospf debug

Usage Guidelines

Usage Scenario

The debugging packet ospf interfacecommand helps to locate faults.

Example

# Enable OSPF packet debugging.
<HUAWEI> debugging packet ospf interface gigabitethernet 0/1/1
SOCKET: -
----------------------------------------------
My Cid          : 0x806503fc
Peer Cid        : 0x80782742
VS              : 0
Handle          : 1
TraceNum        : 20
Direction       : Up
Status          : 0
Data            : 
45 c0 00 44 00 2a 00 00 01 59 b2 b5 c0 a8 65 14 
e0 00 00 05 02 01 00 30 02 02 02 02 00 00 00 01 
ab 23 00 00 00 00 00 00 00 00 00 00 ff ff ff 00 
00 0a 02 01 00 00 00 28 c0 a8 65 0a c0 a8 65 14 
01 01 01 01 
----------------------------------------------
SOCKET: -
----------------------------------------------
My Cid          : 0x806503fc
Peer Cid        : 0x80820400
VS              : 0
Handle          : 1
TraceNum        : 20
Direction       : Up
Status          : 0
Data            : 
45 c0 30 00 00 2a 00 00 01 59 b2 b5 c0 a8 65 14 
e0 00 00 05 02 01 00 30 02 02 02 02 00 00 00 01 
ab 23 00 00 00 00 00 00 00 00 00 00 ff ff ff 00 
00 0a 02 01 00 00 00 28 c0 a8 65 0a c0 a8 65 14 
01 01 01 01 
----------------------------------------------
OSPF:
----------------------------------------------
My Cid           : 0x80820400
Peer Cid         : 0x806503FC
VS               : 0
Handle           : 1
TraceNum         : 20
Time             : 2011-10-21 8:45:32 425
Direction        : Up
Status           : 0
Version          : OSPF
Type             : Hello
Packet length    : 48
Router ID        : 10.2.2.2
Area ID          : 10.0.0.1
Checksum         : 0xAB23
----------------------------------------------
OSPF:
----------------------------------------------
My Cid           : 0x80820400
Peer Cid         : 0x806503FC
VS               : 0
Handle           : 1
TraceNum         : 18
Time             : 2011-10-21 8:45:35 11
Direction        : Down
Status           : 0
Version          : OSPF
Type             : Hello
Packet length    : 48
Router ID        : 10.1.1.1
Area ID          : 10.0.0.1
Checksum         : 0xAB23
----------------------------------------------
SOCKET: -
----------------------------------------------
My Cid          : 0x806503fc
Peer Cid        : 0x80820400
VS              : 0
Handle          : 1
TraceNum        : 18
Direction       : Down
Status          : 0
Data            : 
02 01 00 30 01 01 01 01 00 00 00 01 ab 23 00 00 
00 00 00 00 00 00 00 00 ff ff ff 00 00 0a 02 01 
00 00 00 28 c0 a8 65 0a c0 a8 65 14 02 02 02 02 
----------------------------------------------
SOCKET: -
----------------------------------------------
My Cid          : 0x806503fc
Peer Cid        : 0x782737
VS              : 0
Handle          : 1
TraceNum        : 18
Direction       : Down
Status          : 0
Data            : 
45 c0 00 44 40 00 00 00 01 59 72 e9 c0 a8 65 0a 
e0 00 00 05 02 01 00 30 01 01 01 01 00 00 00 01 
ab 23 00 00 00 00 00 00 00 00 00 00 ff ff ff 00 
00 0a 02 01 00 00 00 28 c0 a8 65 0a c0 a8 65 14 
02 02 02 02 
----------------------------------------------
Table 1 Description of the debugging packet ospf interface command output
Item Description
My Cid

Self Component Id.

Peer Cid

Peer Component Id.

VS

Virtual device number.

Handle

Handle value.

TraceNum

Trace id.

Direction

Direction of packet flow. It can be:

  • Up.
  • Down.
Status

Status of the packet processing.

Data

Current date.

Time

Current time.

Version

OSPF version number.

Type

OSPF packet type.

Packet length

Length of packet.

Router ID

Router-Id of originating device.

Area ID

Area Id.

Checksum

Checksum value of packet.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic