The debugging ospfv3 packet command enables debugging of all types of sent and received OSPFv3 packets.
The undo debugging ospfv3 packet command disables debugging of all types of sent and received OSPFv3 packets.
By default, the debugging of all types of sent and received OSPFv3 packets is disabled.
debugging ospfv3 process-id packet { { ack | all | dd | hello | request | update } [ received | sent ] [ { interfacename | interfacetype interfacenum } [ neighbor-id ] | area { area-id | area-id } ] [ verbose ] }
debugging ospfv3 packet { { ack | all | dd | hello | request | update } [ received | sent ] [ verbose ] }
undo debugging ospfv3 process-id packet { { ack | all | dd | hello | request | update } [ received | sent ] [ { interfacename | interfacetype interfacenum } [ neighbor-id ] | area { area-id | area-id } ] [ verbose ] }
undo debugging ospfv3 packet { { ack | all | dd | hello | request | update } [ received | sent ] [ verbose ] }
Parameter | Description | Value |
---|---|---|
process-id |
Specifies the ID of an OSPFv3 process. |
The value is an integer ranging from 1 to 4294967295. |
ack |
Displays debugging information about type-5 OSPFv3 packets. |
- |
all |
Displays debugging information about all types of OSPFv3 packets. |
- |
dd |
Displays debugging information about type-2 OSPFv3 packets. |
- |
hello |
Displays debugging information about type-1 OSPFv3 packets. |
- |
request |
Displays debugging information about type-3 OSPFv3 packets. |
- |
update |
Displays debugging information about type-4 OSPFv3 packets. |
- |
received |
Displays debugging information about received connection packets. All received connection packets are output. |
- |
sent |
Displays debugging information about sent connection packets. All sent connection packets are output. |
- |
interfacename |
Interface name. |
- |
interfacetype |
Interface type. |
- |
interfacenum |
Interface number. |
- |
neighbor-id |
Specifies the neighbor Router ID. |
The value is in dotted decimal notation. |
area area-id |
Specifies the area ID for the area to be debugged. |
The value can be a decimal integer ranging from 0 to 4294967295 or in the format of an IP address. |
verbose |
Displays detailed debugging information of sent and received OSPFv3 packets. |
- |
Usage Scenario
The debugging ospfv3 packet command enables debugging of all types of sent and received OSPFv3 packets. Generally, this command can be used to check the creation of neighbors and trace problems in the process. If a problem occurs, enable debugging of the related type of packet.
If the OSPFv3 process ID is not specified, the packets of all OSPFv3 processes are displayed. OSPFv3 packets are ack, dd, hello, request, and update packets. This command displays the information about all types of packets. Debugging affects the system performance. After debugging is complete, run the undo debugging ospfv3 packet command in time to disable debugging of OSPFv3 packets.<HUAWEI> debugging ospfv3 packet hello verbose
2011-02-10 18:08:04 VRPV8 %%01ospfv2comm/6/OSPF_DEBUG(d):CID=2156013401;
FileID: 0x13 Line: 850 Level: 0x5
OSPF 1 SEND Packet, Interface:
Source Address: FE80::36CE:71FF:FE10:305
Destination Address: FF02::5
Ver# 3, Type: 1 (Hello)
Length: 40, Router: 10.13.22.1
Area: 0.0.0.0, Chksum: 0
InstanceID: 2
Interface Id: 9, Rtr Priority: 1
Options: V6:1 E:1 N:0 R:1 DC:0
Hello Int: 10, Dead Int: 40
DR: 10.13.22.1
BDR: 10.13.22.3
# Attached Neighbors: 1
Neighbor: 10.13.22.3
Item | Description |
---|---|
Source Address | Source address of packets. |
Destination Address | Destination address of packets. |
Interface Id | Interface index. |
Rtr Priority | Priority of the source device. |
Hello Int | Interval of sending hello packets. |
Dead Int | Interval of neighbor disconnection. |
Ver | OSPFv3 version. |
Type | OSPFv3 packet type.
|
Length | Length of an OSPFv3 protocol packet. |
Router | Source router ID. |
Area | Area ID of a packet. |
Chksum | Standard IP checksum of packet content. |
Option | Option of the source device. |
DR | Specified router in the network segment of the interface. |
BDR | Specified backup router in the network segment of the interface. |