display ospfv3 event-log

Use display ospfv3 event-log to display OSPFv3 log information.

Syntax

display ospfv3 [ process-id ] event-log { lsa-flush | peer | spf }

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 log information for all processes.

lsa-flush: Specifies LSA aging log information.

peer: Specifies neighbor log information.

spf: Specifies route calculation log information.

Usage guidelines

Route calculation logs show the number of routes newly installed in the IPv6 routing table.

Neighbor logs include information about the following events:

Examples

# Display OSPFv3 LSA aging log information for OSPFv3 process 1.

<Sysname>display ospfv3 1 event-log lsa-flush

               OSPFv3 Process 1 with Router ID 1.3.3.3

 2014-09-02 07:55:25 Received MaxAge LSA from 1.1.1.1
 Type: 3   LS ID: 0.0.0.2         AdvRtr: 1.1.1.1           Seq#: 80000001

 2014-09-02 07:55:22 Flushed MaxAge LSA by itself
 Type: 3   LS ID: 0.0.0.2         AdvRtr: 1.3.3.3           Seq#: 80000001

 2014-09-02 07:55:07 Flushed MaxAge LSA by itself
 Type: 3   LS ID: 0.0.0.40        AdvRtr: 1.3.3.3           Seq#: 80000001

 2014-09-02 07:55:07 Flushed MaxAge LSA by itself
 Type: 3   LS ID: 0.0.0.39        AdvRtr: 1.3.3.3           Seq#: 80000001

Table 142: Command output

Field

Description

Received MaxAge LSA from X.X.X.X

The device received an LSA that has reached the maximum age from X.X.X.X.

Flushed MaxAge LSA by itself

The device flushed the LSA that has reached the maximum age.

Type

LSA type.

LS ID

LSA link state ID.

AdvRtr

Advertising router.

Seq#

LSA sequence number.

# Display OSPFv3 route calculation log information for OSPFv3 process 1.

<Sysname>display ospfv3 1 event-log spf

               OSPFv3 Process 1 with Router ID 1.3.3.3

 Date       Time     Duration   Intra   Inter   External Reason
 2014-09-02 07:55:30 0.258827   0       0       0        Intra-area LSA
 2014-09-02 07:55:30 0.679      0       0       0        Intra-area LSA
 2014-09-02 07:55:30 0.51576    0       0       0        Intra-area LSA
 2014-09-02 07:55:30 0.372      0       0       0        Intra-area LSA
 2014-09-02 07:55:25 4.948353   0       0       0        Intra-area LSA
 2014-09-02 07:55:25 0.5288     0       0       0        Area 0 full neighbor
 2014-09-02 07:55:21 1.66013    0       0       0        Intra-area LSA
 2014-09-02 07:55:20 0.450905   0       0       0        Intra-area LSA
 2014-09-02 07:55:15 0.253688   0       0       0        Interface state change
 2014-09-02 07:55:15 0.5693     0       0       0        Intra-area LSA

Table 143: Command output

Field

Description

Date/Time

Time when the route calculation starts.

Duration

Duration of the route calculation, in seconds.

Intra

Number of intra-area routes newly installed in the IPv6 routing table.

Inter

Number of inter-area routes newly installed in the IPv6 routing table.

External

Number of external routes newly installed in the IPv6 routing table.

Reason

Reasons why the route calculation is performed:

  • Intra-area LSA—Intra-area LSA changes.

  • Inter-area LSA—Inter-area LSA changes.

  • External LSA—External LSA changes.

  • Configuration—Configuration changes.

  • Area 0 full neighbor—Number of FULL-state neighbors in Area 0 changes.

  • Area 0 up interface—Number of interfaces in up state in Area 0 changes.

  • AS number—AS number changes.

  • ABR summarization—ABR summarization changes.

  • GR end—GR ends.

  • Routing policy—Routing policy changes.

  • Intra-area tunnel—Intra-area tunnel changes.

  • Others—Other reasons.

# Display OSPFv3 neighbor log information for OSPFv3 process 1.

<Sysname> display ospfv3 1 event-log peer

               OSPFv3 Process 1 with Router ID 1.1.1.1

 Date       Time     Router ID       Reason       Instance ID  Interface
 2014-09-02 16:39:13 1.3.3.3         IntPhyChange 0            Vlan101
 2014-09-02 16:36:46 1.3.3.3         IntPhyChange 0            Vlan101
 2014-09-02 16:34:49 1.3.3.3         BFDDown      0            Vlan101
 2014-09-02 10:08:45 1.3.3.3         DeadExpired  0            Vlan102
 2014-09-02 10:08:39 1.3.3.3         DeadExpired  0            VLINK1
 2014-09-02 10:08:08 1.3.3.3         BFDDown      0            Vlan101

Table 144: Command output

Field

Description

Date &Time

Time when the neighbor state changes.

Router ID

Neighbor router ID.

Reason

Reasons for neighbor state changes:

  • ResetConnect—The connection is lost due to insufficient memory.

  • IntChange—The interface parameter has changed.

  • ResetOspfv3—The OSPFv3 process is reset.

  • UndoOspfv3—The OSPFv3 process is deleted.

  • UndoArea—The OSPFv3 area is deleted.

  • UndoInt—The interface is disabled.

  • IntLogChange—The logical attribute of the interface has changed.

  • IntPhyChange—The physical attribute of the interface has changed.

  • DeadExpired—The dead timer expires.

  • Retrans—Excessive retransmissions.

  • BFDDown—The interface is shut down by BFD.

  • SilentInt—The interface is configured as a silent interface.

  • ConfStubArea—The interface is configured with stub area parameters.

  • ConfNssaArea—The interface is configured with NSSA area parameters.

  • VlinkDown—The virtual link goes down.

  • BadLSReq—The interface receives BadLSReq events.

  • SeqMismatch—The interface receives SeqNumberMismatch events.

  • Way—The interface receives 1-Way events.

Instance ID

Instance ID for an interface.

Interface

Interface name.