Displaying OSPFv3 results

The show ipv6 ospf command and its variations can be used to display information about OSPFv3 configurations.

Before you begin

About this task

Use one or more of the following commands to verify OSPFv3 information. Using the show ipv6 ospf command is optional, and the variations of the command can be entered in any order.

Procedure

  1. Enter the show ipv6 ospf command to display general OSPFv3 information.
    device# show ipv6 ospf 
    OSPFv3 Process number 0 with Router ID 0xc0a80001(192.168.0.1)
    Running 0 days 0 hours 49 minutes 2 seconds
    Number of AS scoped LSAs is 1
    Sum of AS scoped LSAs Checksum is 0000d72f
    External LSA Limit is 250000
    Database Overflow Interval is 10
    Database Overflow State is NOT OVERFLOWED
    Route calculation executed 10 times
    Pending outgoing LSA count 0
    Authentication key rollover interval 300 seconds
    Number of areas in this router is 3
    Router is operating as ABR
    Router is operating as ASBR, Redistribute: STATIC
    High Priority Message Queue Full count: 0
    BFD is disabled, BFD HoldoverInterval: 0
    Graceful restart helper is enabled, strict lsa checking is disabled
    Nonstop Routing is enabled
    Administrative Distance
    - External Routes: 110
    - Intra Area Routes: 110
    - Inter Area Routes: 110
    Maximum Paths: 8
    
    
    The example output offers general OSPFv3 information and indicates that the device is not operating as an ASBR. If the device is not operating as an ASBR, there is no information about redistribution in the output.
  2. The following example of the show ipv6 ospf summary command shows summary output for the one IPv6 OSPF session that is configured.
    device# show ipv6 ospf summary 
    Total number of IPv6 OSPF instances: 1
    
    Seq Instance                        Intfs   Nbrs    Nbrs-Full LSAs    Routes
    1   default-vrf                     3       1       1         19      3
      
  3. The following example of the show ipv6 ospf summary all-vrfs total command shows the cumulative summary output for OSPFv3 sessions.
    device# show ipv6 ospf summary all-vrfs total
    -----------------------------------------
             IPv6 OSPF Summary Total
    -----------------------------------------
    Number of instances: 1024
    Number of interfaces: 2048
    Number of neighbors: 2048
    Number of neighbors  in FULL state: 2048
    Number of LSAs: 76786
    Number of Routes: 67570
      
  4. The following example of the show ipv6 ospf neighbor command shows OSPFv3 neighbor information for the device.
    Note

    Note

    QCount is the LSA retransmission list count. The number displays the number of LSAs that are waiting for acknowledgements.
    device# show ipv6 ospf neighbor 
    Total number of neighbors in all states: 1
    Number of neighbors in state Full      : 1
    
    RouterID        Pri State    DR              BDR             Interface     State    QCount
    192.168.0.2       1 Full     192.168.0.1     192.168.0.2     Eth 0/1       DR       0
    
    
  5. The following example of the show ipv6 ospf neighbor detail command shows detailed OSPFv3 neighbor information for the device.
    device# show ipv6 ospf neighbor detail
    Total number of neighbors in all states: 1
    Number of neighbors in state Full      : 1
    
    RouterID        Pri State    DR              BDR             Interface     State    QCount
    192.168.0.2       1 Full     192.168.0.1     192.168.0.2     Eth 0/1       DR       0
                    Option: 00-00-00    Timer: 683
    BFD State: NONE, BFD HoldoverInterval(sec):Configured: 0 Current: 0
    
    
  6. The following example of the show ipv6 ospf memory command shows memory allocation information for OSPFv3.
    device# show ipv6 ospf memory vrf vrf_1
       Total Dynamic Memory Allocated for this instance : 87046288 bytes
    global shared memory pool for all instances
       Memory Type               Size       Allocated  Max-alloc  Alloc-Fails
       MTYPE_OSPF6_AREA          1100       1024       1065       0
       MTYPE_OSPF6_AREA_RANGE    52         0          16         0
       MTYPE_OSPF6_SUMMARY_ADDRE 36         0          16         0
       MTYPE_OSPF6_IF            396        2048       2625       0
       MTYPE_OSPF6_NEIGHBOR      24916      2048       2098       0
       MTYPE_OSPF6_ROUTE_NODE    36         71666      72415      0
       MTYPE_OSPF6_ROUTE_INFO    52         71666      80537      0
       MTYPE_OSPF6_PREFIX        24         0          16         0
       MTYPE_OSPF6_LSA           252        76787      133135     0
       MTYPE_OSPF6_VERTEX        196        5120       5327       0
       MTYPE_OSPF6_SPFTREE       60         1024       1056       0
       MTYPE_OSPF6_NEXTHOP       32         5134       8192       0
       MTYPE_OSPF6_EXTERNAL_INFO 52         0          1024       0
       MTYPE_THREAD              68         14703      15192      0
       MTYPE_OSPF6_LINK_LIST     44         6849444    7050698    0
       MTYPE_OSPF6_LINK_NODE     28         170996     265654     0
       MTYPE_OSPF6_LSA_RETRANSMI 20         0          25598      0
    Global Memory Pool Usage for all instances : 415468328 bytes
    global Heap memory for all instances
       Memory Type               Size       Allocated  Max-alloc  Alloc-Fails
       MTYPE_OSPF6_TOP           41104      1024       1024       0
       MTYPE_OSPF6_LSA_HDR       416        76787      107723     0
       MTYPE_OSPF6_RMAP_COMPILED 0          0          0          0
       MTYPE_OSPF6_OTHER         96         132591     137421     0
       MTYPE_THREAD_MASTER       200        1024       1024       0
    ---------------------
    Packet Tx thread Info        
    ---------------------
    Queue Id[0]: Enqueued[291763] Dequeued [291763]
    Queue Id[1]: Enqueued[13108] Dequeued [13108]
    Send Failed Packets - 0
    device#
    
  7. The following example of the show ipv6 ospf area command shows detailed output for assigned OSPFv3 Area 0.
    device# show ipv6 ospf area 0
    Area 0:
      Authentication: Not Configured
      Active interface(s)attached to this area: Eth 0/1
      Inactive interface(s)attached to this area: None
      Number of Area scoped LSAs is 6
      Sum of Area LSAs Checksum is 000370d3
      Statistics of Area 0:
        SPF algorithm executed 7 times
        SPF last updated: 145 sec ago
        Current SPF node count: 3
          Router: 2 Network: 1
          Maximum of Hop count to nodes: 2
    
    
  8. The following example of the show ipv6 ospf interface brief command shows limited OSPFv3 interface information.
    device# show ipv6 ospf interface brief                    
    Interface     Area            Status Type Cost  State    Nbrs(F/C)
    Eth 0/1       0               up     BCST 1     DR       1/1
    Lo 1          1               up     BCST 1     Loopback 0/0
    Lo 2          2               up     BCST 1     Loopback 0/0
    
    
  9. The following example of the show ipv6 ospf virtual-neighbor command shows information about an OSPFv3 virtual neighbor.
    device# show ipv6 ospf virtual-neighbor 
    Index Router ID        Address                       State     Interface
    1     192.168.0.2      2018:6::5                     Full      Eth 0/1
                    Option: 00-00-00    QCount: 0    Timer: 578
    
    
  10. The following example of the show ipv6 ospf virtual-links command shows information about OSPFv3 virtual links.
    device# show ipv6 ospf virtual-links 
    Transit Area ID  Router ID        Interface Address             State
    1                192.168.0.2      2018:6::4                     P2P
      Timer intervals(sec) :
        Hello 10, Hello Jitter 10,  Dead 40, Retransmit 5, TransmitDelay 1
      DelayedLSAck:     3 times
      Authentication: Not Configured
      Statistics:
          Type     tx         rx         tx-byte    rx-byte
          Unknown  0          0          0          0
          Hello    9          9          356        360
          DbDesc   3          2          104        136
          LSReq    1          1          64         28
          LSUpdate 8          7          600        784
          LSAck    7          5          312        240
          OSPF messages dropped,no authentication: 0
      Neighbor: State: Full Address: 2018:6::5 Interface: Eth 0/1
    
  11. The following example of the show ipv6 ospf database command with the type-7 keyword shows detailed output for a configured NSSA.
    device# show ipv6 ospf database type-7  
    LSA Key - Rtr:Router Net:Network Inap:InterPrefix Inar:InterRouter
              Extn:ASExternal Grp:GroupMembership Typ7:Type7 Link:Link
              Iap:IntraPrefix Grc:Grace
    
    
    Area ID         Type LSID       Adv Rtr         Seq(Hex) Age  Cksum Len   Sync
    2               Typ7 1          192.168.0.1     80000002 211  f5fd  44    Yes
         Bits: EF-
         Metric: 10
         Prefix Options:
         Referenced LSType: 0
         Prefix: ::/0
         Forwarding-Address: 4321::56
    2               Typ7 2          192.168.0.1     80000001 143  a5b2  60    Yes
         Bits: EF-
         Metric: 1
         Prefix Options:
         Referenced LSType: 0
         Prefix: 9876::5/128
         Forwarding-Address: 4321::56
    
    
  12. The following example of the show ipv6 ospf routes command shows output for OSPFv3 routes.
    device# show ipv6 ospf routes   
      Current Route count: 3
        Intra: 3 Inter: 0 External: 0 (Type1 0/Type2 0)
        Equal-cost multi-path: 0
        OSPF Type: IA- Intra, OA - Inter, E1 - External Type1, E2 - External Type2
       Destination                    Cost       E2Cost     Tag        Flags    Dis
    IA 1234::56/128                   0          0          0          00000002 110
       Next_Hop_Router                Outgoing_Interface Adv_Router
       ::                             Lo 1               192.168.0.1
       Destination                    Cost       E2Cost     Tag        Flags    Dis
    IA 2018:6::/64                    1          0          0          00000003 110
       Next_Hop_Router                Outgoing_Interface Adv_Router
       ::                             Eth 0/1            192.168.0.1
       Destination                    Cost       E2Cost     Tag        Flags    Dis
    IA 4321::56/128                   0          0          0          00000002 110
       Next_Hop_Router                Outgoing_Interface Adv_Router
       ::                             Lo 2               192.168.0.1
    
    
  13. The following example of the show ipv6 ospf database as-external command shows information about external LSAs.
    device# show ipv6 ospf database as-external   
    LSA Key - Rtr:Router Net:Network Inap:InterPrefix Inar:InterRouter
              Extn:ASExternal Grp:GroupMembership Typ7:Type7 Link:Link
              Iap:IntraPrefix Grc:Grace
    
    
    Area ID         Type LSID       Adv Rtr         Seq(Hex) Age  Cksum Len   Sync
    N/A             Extn 2          192.168.0.1     80000001 221  d72f  44    Yes
         Bits: E--
         Metric: 1
         Prefix Options:
         Referenced LSType: 0
         Prefix: 9876::5/128
    
    
  14. The following example of the show ipv6 ospf database command shows information about different OSPFv3 LSAs.
    device# show ipv6 ospf database
    LSA Key - Rtr:Router Net:Network Inap:InterPrefix Inar:InterRouter
              Extn:ASExternal Grp:GroupMembership Typ7:Type7 Link:Link
              Iap:IntraPrefix Grc:Grace
    
    
    Area ID         Type LSID       Adv Rtr         Seq(Hex) Age  Cksum Len   Sync
    0               Link 2          192.168.0.1     80000001 790  8399  56    Yes
    0               Link 2          192.168.0.2     80000001 652  e939  56    Yes
    0               Rtr  0          192.168.0.1     80000003 309  2b16  40    Yes
    0               Rtr  0          192.168.0.2     80000002 649  1e26  40    Yes
    0               Net  2          192.168.0.1     80000001 648  eafb  32    Yes
    0               Inap 1          192.168.0.1     80000001 790  2d79  44    Yes
    0               Inap 10         192.168.0.1     80000001 309  0b74  44    Yes
    0               Iap  60         192.168.0.1     80000001 648  96dd  44    Yes
    1               Rtr  0          192.168.0.1     80000002 309  23a0  24    Yes
    1               Inap 4          192.168.0.1     80000001 790  1c2d  36    Yes
    1               Inap 11         192.168.0.1     80000001 309  017d  44    Yes
    1               Iap  0          192.168.0.1     80000002 1233 e227  52    Yes
    2               Rtr  0          192.168.0.1     80000001 309  4975  24    Yes
    2               Inap 7          192.168.0.1     80000001 309  f0af  44    Yes
    2               Inap 9          192.168.0.1     80000001 309  e95a  36    Yes
    2               Typ7 1          192.168.0.1     80000002 309  f5fd  44    Yes
    2               Typ7 2          192.168.0.1     80000001 241  a5b2  60    Yes
    2               Iap  0          192.168.0.1     80000001 309  0ede  52    Yes
    N/A             Extn 2          192.168.0.1     80000001 241  d72f  44    Yes
    
    
  15. The following example of the show ipv6 ospf spf tree command with the tree shows information about the SPF trees.
    device# show ipv6 ospf spf tree
    SPF tree for Area 0
    +- 192.168.0.1 cost 0
         +- 192.168.0.1:2(N) cost 1
             +- 192.168.0.2:0 cost 1
    
    SPF tree for Area 1
    +- 192.168.0.1 cost 0
    
    SPF tree for Area 2
    +- 192.168.0.1 cost 0
     
    
  16. The following example of the show ipv6 ospf spf table command with the table shows information about the SPF table.
    device# show ipv6 ospf spf table
    SPF table for Area 0
      Destination           Bits Options  Cost  Nexthop                   Interface
    R 192.168.0.2          ----- V6E---R--    1  fe80::629c:9fff:fe5a:8919 Eth 0/1
    N 192.168.0.1[2]       ----- V6E---R--    1  ::                        Eth 0/1
    
    SPF table for Area 1
      Destination           Bits Options  Cost  Nexthop                   Interface
    
    SPF table for Area 2
      Destination           Bits Options  Cost  Nexthop                   Interface
    
    
  17. The following example of the show ipv6 ospf redistribute route command shows information about routes that the device has redistributed into OSPFv3.
    device# show ipv6 ospf redistribute route
    Id     Prefix                                     Protocol  Metric Type  Metric
    2      9876::5/128                                Static    Type-2       1
    
    
  18. The following example of the show ipv6 ospf routes command shows information about a specified OSPFv3 route.
    device# show ipv6 ospf routes 1234::56/128
       Destination                    Cost       E2Cost     Tag        Flags    Dis
    IA 1234::56/128                   0          0          0          00000002 110
       Next_Hop_Router                Outgoing_Interface Adv_Router
       ::                             Lo 1               192.168.0.1