display ospfv3 statistics

Use display ospfv3 statistics to display OSPFv3 statistics.

Syntax

display ospfv3 [ process-id ] statistics [ error | packet [ interface-type interface-number ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays OSPFv3 statistics for all processes.

error: Displays error statistics. If you do not specify this keyword, the command displays OSPFv3 packet, LSA, and route statistics.

packet: Displays packet statistics.

interface-type interface-number: Specifies an interface by its type and number. If you do not specify this argument, the command displays statistics for all interfaces.

Examples

# Display OSPFv3 statistics.

<Sysname> display ospfv3 statistics

               OSPFv3 Process 1 with Router ID 1.1.1.1
                   Packet Statistics
----------------------------------------------------------
 Type                         Recv                Send
 Hello                        1746                1284
 DB Description               505                 941
 Ls Req                       252                 136
 Ls Upd                       851                 1553
 Ls Ack                       416                 450

             Local Originated LSAs Statistics
----------------------------------------------------------
 Type                                             Count
 Router-LSA                                       192
 Network-LSA                                      0
 Inter-Area-Prefix-LSA                            0
 Inter-Area-Router-LSA                            0
 AS-external-LSA                                  0
 NSSA-LSA                                         0
 Link-LSA                                         10
 Intra-Area-Prefix-LSA                            112
 Grace-LSA                                        0
 Unknown-LSA                                      0
 Total                                            314

                   Routes Statistics
----------------------------------------------------------
 Type                                             Count
 Intra Area                                       0
 Inter Area                                       0
 ASE                                              0
 NSSA                                             0

Table 162: Command output

Field

Description

Packet Statistics

Statistics about inbound and outbound packets.

Hello

Hello packet.

DB Description

DB description packet.

Ls Req

Link state request packet.

Ls Upd

Link state update packet.

Ls Ack

Link state acknowledgment packet.

Local Originated LSAs Statistics

Statistics about generated LSAs.

Router-LSA

Number of Type-1 LSAs.

Network-LSA

Number of Type-2 LSAs.

Inter-Area-Prefix-LSA

Number of Type-3 LSAs.

Inter-Area-Router-LSA

Number of Type-4 LSAs.

AS-external-LSA

Number of Type-5 LSAs.

NSSA-LSA

Number of Type-7 LSAs.

Link-LSA

Number of Type-8 LSAs.

Intra-Area-Prefix-LSA

Number of Type-9 LSAs.

Grace-LSA

Number of Type-11 LSAs.

Unknown-LSA

Number of Unknown-LSAs.

Total

Total number.

Routes Statistics

Number of routes.

Intra Area

Intra-area routes.

Inter Area

Inter-area routes.

ASE

Type-5 external routes.

NSSA

Type-7 external routes.

# Display OSPFv3 error statistics.

<Sysname> display ospfv3 statistics error

               OSPFv3 Process 1 with Router ID 1.1.1.1

 0         : Transmit error               0         : Neighbor state low
 0         : Packet too small             0         : Bad version
 0         : Bad checksum                 0         : Unknown neighbor
 0         : Bad area ID                  0         : Bad packet
 0         : Packet dest error            0         : Inactive area packet
 0         : Router ID confusion          0         : Bad virtual link
 0         : HELLO: Hello-time mismatch   0         : HELLO: Dead-time mismatch
 0         : HELLO: Ebit option mismatch  0         : DD: Ebit option mismatch
 0         : DD: Unknown LSA type         0         : DD: MTU option mismatch
 0         : REQ: Empty request           0         : REQ: Bad request
 0         : UPD: LSA checksum bad        0         : UPD: Unknown LSA type
 0         : UPD: Less recent LSA         0         : UPD: LSA length bad
 0         : UPD: LSA AdvRtr id bad       0         : ACK: Bad ack packet
 0         : ACK: Invalid ack             0         : Interface down
 0         : Multicast incapable          0         : Authentication failure
 0         : AuthSeqNumber error

Table 163: Command output

Field

Description

Transmit error

Packets with error when being transmitted.

Neighbor state low

Packets received in low neighbor state.

Packet too small

Packets too small in length.

Bad version

Packets with wrong version.

Bad checksum

Packets with wrong checksum.

Unknown neighbor

Packets received from unknown neighbors.

Bad area ID

Packets with invalid area ID.

Bad packet

Packets illegal.

Packet dest error

Packets with wrong destination addresses.

Inactive area packet

Packets received in inactive areas.

Router ID confusion

Packets with duplicate router ID.

Bad virtual link

Packets on wrong virtual links.

HELLO: Hello-time mismatch

Hello packets with mismatched hello timer.

HELLO: Dead-time mismatch

Hello packets with mismatched dead timer.

HELLO: Ebit option mismatch

Hello packets with mismatched E-bit in the option field.

DD: Ebit option mismatch

DD packets with mismatched E-bit in the option field.

DD: Unknown LSA type

DD packets with unknown LSA type.

DD: MTU option mismatch

DD packets with mismatched MTU.

REQ: Empty request

LSR packets with no request information.

REQ: Bad request

Bad LSR packets.

UPD: LSA checksum bad

LSU packets with wrong LSA checksum.

UPD: Unknown LSA type

LSU packets with unknown LSA type.

UPD: Less recent LSA

LSU packets without the most recent LSA.

UPD: LSA length bad

LSU packets with wrong LSA length.

UPD: LSA AdvRtr id bad

LSU packets with wrong LSA advertising router.

ACK: Bad ack packet

Bad LSAck packets for LSU packets.

ACK: Invalid ack

Invalid LSAck packets.

Interface down

Shutdown times of the interface.

Multicast incapable

Failures to join the multicast group.

Authentication failure

Failures to authenticate the received packets.

AuthSeqNumber error

Authentication sequence number errors in the received packets.

# Display OSPFv3 packet statistics for all processes and interfaces.

<Sysname>display ospfv3 statistics packet 

          OSPFv3 Process 1 with Router ID 1.1.1.1

         Hello      DD         LSR        LSU        ACK        Total
 Input : 8727       128        28         1584       929        11396
 Output: 8757       159        86         987        1513       11502

 Area: 0.0.0.0

 Area: 0.0.0.1
 Interface: Vlan-interface101
         DD         LSR        LSU        ACK        Total
 Input : 16         0          45         7          68
 Output: 17         1          7          44         69
 Interface: Vlan-interface102
         DD         LSR        LSU        ACK        Total
 Input : 41         13         720        719        1493
 Output: 54         41         750        713        1558

Table 164: Command output

Field

Description

Total

Total number of packets.

Input

Number of received packets.

Output

Number of sent packets.

Area

Area ID.

Interface

Interface name.