Displaying OSPFv3 Results

The show ipv6 ospf command and its variations can be used to display information about OSPFv3 configurations.
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.
  1. The following example of the show ipv6 ospf command displays general OSPFv3 information.
    device> show ipv6 ospf
    
    OSPFv3 Process number 0 with Router ID 0xc0a862d5(10.168.98.213)
     Running 0 days 2 hours 55 minutes 36 seconds
     Number of AS scoped LSAs is 4
     Sum of AS scoped LSAs Checksum is 18565
     External LSA Limit is 250000 
     Database Overflow Interval is 10 
     Database Overflow State is NOT OVERFLOWED 
     Route calculation executed 15 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: CONNECTED RIP 
     High Priority Message Queue Full count: 0
     Graceful restart helper is enabled, strict lsa checking is disabled
     Nonstop-routing is ENABLED
    
    
  2. The following example of the show ipv6 ospf area command shows detailed output for assigned OSPFv3 Area 1.
    device> show ipv6 ospf area 1
    
    Area 1:  
      Authentication: Not Configured
      Active interface(s)attached to this area: None
      Inactive interface(s)attached to this area: ve 20  ve 30 
      Number of Area scoped LSAs is 311
      Sum of Area LSAs Checksum is 9e8fff
      Statistics of Area 1:
        SPF algorithm executed 10 times
        SPF last updated: 5920 sec ago
        Current SPF node count: 1
          Router: 1 Network: 0
          Maximum of Hop count to nodes: 0
    
    
  3. 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 1/1/1    0     up      BCST 1     DROther   1/1
    loopback 1   0     up      BCST 1     Loopback  0/0
    
    
  4. The following example of the show ipv6 ospf neighbor command shows OSPFv3 neighbor information for the device.
    device> show ipv6 ospf neighbor 
    
    Total number of neighbors in all states: 2
    Number of neighbors in state Full      : 2
    RouterID        Pri State    DR              BDR             Interface  [State]
    192.168.98.111    1 Full     192.168.98.111  192.168.98.213  e 4/3/1    [BDR]
    192.168.98.111    1 Full     192.168.98.111  192.168.98.213  ve 17      [BDR]
    
  5. 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     10.14.14.14      2001:db8:44:44::4             Full      eth 1/1/8
                    Option: 00-00-00    QCount: 0    Timer: 408
    2     10.14.14.14      2001:db8:44:44::4             Full      tunnel 256
                    Option: 00-00-00    QCount: 0    Timer: 43
    
  6. 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.0.0.200       Link 897        192.168.98.213  80000007 1277 9044  64    Yes 
    0.0.0.200       Link 136        192.168.98.111  80000007 582  fb0b  64    Yes 
    0.0.0.200       Link 2049       192.168.98.213  80000006 1277 381a  64    Yes 
    0.0.0.200       Link 1156       192.168.98.111  80000007 582  cf38  64    Yes 
    0.0.0.200       Link 2052       192.168.98.213  80000004 799  5b06  64    Yes 
    0.0.0.200       Rtr  0          192.168.98.111  800002ea 823  cb7b  56    Yes 
    0.0.0.200       Rtr  0          192.168.98.213  800001c7 799  8402  56    Yes 
    0.0.0.200       Net  1156       192.168.98.111  80000004 823  b2d2  32    Yes 
    0.0.0.200       Net  136        192.168.98.111  80000008 823  aed2  32    Yes 
    N/A             Extn 0000021d   10.223.223.223 	800000a8 1319 441e  32   	Yes 
    
    
  7. The following example of the show ipv6 ospf routes command shows output for OSPFv3 routes.
    device> show ipv6 ospf routes   
    
    Current Route count: 309
        Intra: 304 Inter: 4 External: 1 (Type1 0/Type2 1)
        Equal-cost multi-path: 56
        OSPF Type: IA- Intra, OA - Inter, E1 - External Type1, E2 - External Type2
       Destination                    Cost       E2Cost     Tag        Flags    Dis
    E2 ::/0                           2          1          0          00000003 110
       Next_Hop_Router                Outgoing_Interface Adv_Router     
       fe80::768e:f8ff:fe3e:1800      e 4/3/1            192.168.98.111 
       fe80::768e:f8ff:fe3e:1800      ve 17              192.168.98.111 
       Destination                    Cost       E2Cost     Tag        Flags    Dis
    IA 5100::192:61:1001:0/112        3          0          0          00000007 110
       Next_Hop_Router                Outgoing_Interface Adv_Router     
       fe80::768e:f8ff:fe3e:1800      e 4/3/1            192.168.98.111 
       fe80::768e:f8ff:fe3e:1800      ve 17              192.168.98.111 
       Destination                    Cost       E2Cost     Tag        Flags    Dis
    IA 5100::192:111:2:111/128        1          0          0          00000007 110
       Next_Hop_Router                Outgoing_Interface Adv_Router     
       fe80::768e:f8ff:fe3e:1800      e 4/3/1            192.168.98.111 
       fe80::768e:f8ff:fe3e:1800      ve 17              192.168.98.111 
       Destination                    Cost       E2Cost     Tag        Flags    Dis
    IA 5100::192:111:3:111/128        1          0          0          00000007 110
       Next_Hop_Router                Outgoing_Interface Adv_Router     
       fe80::768e:f8ff:fe3e:1800      e 4/3/1            192.168.98.111 
    --More--, next page: Space, next line: Return key, quit: Control-c
    
    
  8. 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.98.213  80000004 895  6e5e  44    Yes 
         Bits: E--
         Metric: 0
         Prefix Options: 
         Referenced LSType: 0
         Prefix: 5100:213:213:0:192:213:1:0/112
    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 1          192.168.98.190  80001394 643  1cc9  28    Yes 
         Bits: E--
         Metric: 1
         Prefix Options: 
         Referenced LSType: 0
         Prefix: ::/0                                                 
    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.98.71   80000258 132  a3ff  32    Yes 
         Bits: E-T
         Metric: 1
         Prefix Options: 
         Referenced LSType: 0
         Prefix: ::/0
         Tag: 1
    
  9. The following example of the show ipv6 ospf spf tree command with the tree keyword shows information about the SPF trees.
    device> show ipv6 ospf spf tree
     SPF tree for Area 0
    +- 10.223.223.223 cost 0
    +- 10.223.223.223:88 cost 1
    +- 10.1.1.1:0 cost 1
    
  10. The following example of the show ipv6 ospf spf command with the table keyword 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.98.111        --V-B V6E---R-   1  fe80::768e:f8ff:fe3e:1800 e 4/3/1
    R 192.168.98.111        --V-B V6E---R-   1  fe80::768e:f8ff:fe3e:1800 ve 17 
    N 192.168.98.111[136]   ----- V6E---R-   1  ::                        e 4/3/1
    N 192.168.98.111[1156   ----- V6E---R-   1  ::                        ve 17 
    
  11. 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
    1      5100::192:213:163:0/112             Connect   Type-2       0
    2      5100:213:213:0:192:213:1:0/112      Connect   Type-2       0
    
  12. The following example of the show ipv6 ospf routes command shows information about a specified OSPFv3 route.
    device> show ipv6 ospf routes 2001::192:111:42:111
    Destination                    Cost       E2Cost     Tag        Flags    Dis
    IA 2001::192:111:42:111/128       1          0         0       00000007 110
       Next_Hop_Router                Outgoing_Interface Adv_Router     
       fe80::768e:f8ff:fe3e:1800      e 4/3/1            10.168.98.111 
       fe80::768e:f8ff:fe3e:1800      ve 17              10.168.98.111