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:
The OSPFv3 neighbor state goes down.
The OSPFv3 neighbor state goes backward because the local end receives BadLSReq, SeqNumberMismatch, and 1-Way 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:
|
# 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:
|
Instance ID | Instance ID for an interface. |
Interface | Interface name. |