Tip

This is the documentation for the 22.02 version. Looking for the documentation of the latest version? Have a look here.

OSPF6 Status

TNSR supports several commands to display information about the OSPF6 daemon configuration and its status.

See also

For more general dynamic routing status information, see Dynamic Routing Manager Status

The general form of the command to view OSPF6 state information is show route dynamic ospf6 <options>.

Configuration Information

To view the OSPF6 configuration:

tnsr# show route dynamic ospf6 config
interface GigabitEthernet3/0/0
    ipv6 ospf6 passive

interface TenGigabitEthernet6/0/0
    ipv6 ospf6 cost 10

router ospf6
    ospf6 router-id 10.2.0.1
    interface GigabitEthernet3/0/0 area 0.0.0.0
    interface TenGigabitEthernet6/0/0 area 0.0.0.0

Status Information

To view the OSPF6 database:

tnsr# show route dynamic ospf6 database

        Area Scoped Link State Database (Area 0.0.0.0)

Type LSId           AdvRouter       Age   SeqNum                        Payload
Rtr  0.0.0.0        10.2.0.1        146 80000002             10.27.0.1/0.0.0.13
Rtr  0.0.0.0        10.27.0.1       147 80000002             10.27.0.1/0.0.0.13
Net  0.0.0.13       10.27.0.1       147 80000001                      10.27.0.1
Net  0.0.0.13       10.27.0.1       147 80000001                       10.2.0.1
INP  0.0.0.0        10.2.0.1        146 80000003               2001:db8:f0::/64
INP  0.0.0.0        10.27.0.1       147 80000003               2001:db8:f2::/64
INP  0.0.0.13       10.27.0.1       147 80000001              2001:db8:0:2::/64

        I/F Scoped Link State Database (I/F GigabitEthernet3/0/0 in Area 0.0.0.0)

Type LSId           AdvRouter       Age   SeqNum                        Payload
Lnk  0.0.0.14       10.2.0.1        187 80000001        fe80::290:bff:fe7a:8a65

        I/F Scoped Link State Database (I/F TenGigabitEthernet6/0/0 in Area 0.0.0.0)

Type LSId           AdvRouter       Age   SeqNum                        Payload
Lnk  0.0.0.15       10.2.0.1        187 80000001        fe80::290:bff:fe7a:8a67
Lnk  0.0.0.13       10.27.0.1       192 80000001        fe80::290:bff:fe7a:87c1

        AS Scoped Link State Database

Type LSId           AdvRouter       Age   SeqNum                        Payload

To view information about interfaces participating in OSPF6:

tnsr# show route dynamic ospf6 interface
GigabitEthernet3/0/0 is up, type BROADCAST
  Interface ID: 14
  Internet Address:
    inet : 10.2.0.1/24
    inet6: 2001:db8:f0::1/64
    inet6: fe80::290:bff:fe7a:8a65/128
  Instance ID 0, Interface MTU 1500 (autodetect: 1500)
  MTU mismatch detection: enabled
  Area ID 0.0.0.0, Cost 100
  State DR, Transmit Delay 1 sec, Priority 1
  Timer intervals configured:
   Hello 10, Dead 40, Retransmit 5
  DR: 10.2.0.1 BDR: 0.0.0.0
  Number of I/F scoped LSAs is 1
    0 Pending LSAs for LSUpdate in Time 00:00:00 [thread off]
    0 Pending LSAs for LSAck in Time 00:00:00 [thread off]
TenGigabitEthernet6/0/0 is up, type BROADCAST
  Interface ID: 15
  Internet Address:
    inet : 203.0.113.2/24
    inet6: 2001:db8:0:2::2/64
    inet6: fe80::290:bff:fe7a:8a67/128
  Instance ID 0, Interface MTU 1500 (autodetect: 1500)
  MTU mismatch detection: enabled
  Area ID 0.0.0.0, Cost 100
  State BDR, Transmit Delay 1 sec, Priority 1
  Timer intervals configured:
   Hello 10, Dead 40, Retransmit 5
  DR: 10.27.0.1 BDR: 10.2.0.1
  Number of I/F scoped LSAs is 2
    0 Pending LSAs for LSUpdate in Time 00:00:00 [thread off]
    0 Pending LSAs for LSAck in Time 00:00:00 [thread off]
TenGigabitEthernet6/0/1 is down, type BROADCAST
  Interface ID: 16
   OSPF not enabled on this interface
TenGigabitEthernet8/0/0 is down, type BROADCAST
  Interface ID: 17
   OSPF not enabled on this interface

To view information about current OSPF neighbors and adjacencies:

tnsr# show route dynamic ospf6 neighbor
Neighbor ID     Pri    DeadTime    State/IfState         Duration I/F[State]
10.27.0.1         1    00:00:33     Full/DR              00:04:41 TenGigabitEthernet6/0/0[BDR]

For more detailed neighbor information, use show route dynamic ospf6 neighbor detail.

tnsr# show route dynamic ospf6 neighbor detail
 Neighbor 10.27.0.1%TenGigabitEthernet6/0/0
    Area 0.0.0.0 via interface TenGigabitEthernet6/0/0 (ifindex 15)
    His IfIndex: 13 Link-local address: fe80::290:bff:fe7a:87c1
    State Full for a duration of 00:04:58
    His choice of DR/BDR 10.27.0.1/10.2.0.1, Priority 1
    DbDesc status: Slave SeqNum: 0xb7380c00
    Summary-List: 0 LSAs
    Request-List: 0 LSAs
    Retrans-List: 0 LSAs
    0 Pending LSAs for DbDesc in Time 00:00:00 [thread off]
    0 Pending LSAs for LSReq in Time 00:00:00 [thread off]
    0 Pending LSAs for LSUpdate in Time 00:00:00 [thread off]
    0 Pending LSAs for LSAck in Time 00:00:00 [thread off]

To view information about current OSPF6 routes:

tnsr# show route dynamic ospf6 route-table
*N IA 2001:db8:0:2::/64              ::                        TenGigabitEthern 00:05:37
*N IA 2001:db8:f0::/64               ::                        GigabitEthernet3 00:06:17
*N IA 2001:db8:f2::/64               fe80::290:bff:fe7a:87c1   TenGigabitEthern 00:05:32

To view information about current OSPF6 border routers:

tnsr# show route dynamic ospf6 border-routers
Router-ID       Rtr-Bits Options        Path-Type  Area

To view information about the OSPF6 area:

tnsr# show route dynamic ospf6 area
+-10.2.0.1 [0]
   +-10.27.0.1 Net-ID: 0.0.0.13 [100]
      +-10.27.0.1 [100]

To view OSPF6 link state information:

tnsr# show route dynamic ospf6 linkstate

        SPF Result in Area 0.0.0.0

Destination: 10.2.0.1
Destination type: Linkstate
Installed Time: 00:07:10 ago
  Changed Time: 00:07:10 ago
Lock: 2 Flags: BA--
Memory: prev: (nil) this: 0x23fc980 next: 0x23fd140
Associated Area: 0.0.0.0
Path Type: Intra-Area
LS Origin: Router Id: 0.0.0.0 Adv: 10.2.0.1
Options: --|R|-|--|E|V6
Router Bits: --------
Prefix Options: xxx
Metric Type: 1
Metric: 0 (0)
Paths count: 0
Nexthop count: 0
Nexthop:

Destination: 10.27.0.1
Destination type: Linkstate
Installed Time: 00:07:10 ago
  Changed Time: 00:07:10 ago
Lock: 2 Flags: BA--
Memory: prev: 0x23fc980 this: 0x23fd140 next: 0x23de700
Associated Area: 0.0.0.0
Path Type: Intra-Area
LS Origin: Router Id: 0.0.0.0 Adv: 10.27.0.1
Options: --|R|-|--|E|V6
Router Bits: --------
Prefix Options: xxx
Metric Type: 1
Metric: 100 (1)
Paths count: 0
Nexthop count: 1
Nexthop:
  fe80::290:bff:fe7a:87c1 TenGigabitEthern

Destination: 10.27.0.1 Net-ID: 0.0.0.13
Destination type: Linkstate
Installed Time: 00:07:10 ago
  Changed Time: 00:07:10 ago
Lock: 2 Flags: BA--
Memory: prev: 0x23fd140 this: 0x23de700 next: (nil)
Associated Area: 0.0.0.0
Path Type: Intra-Area
LS Origin: Network Id: 0.0.0.13 Adv: 10.27.0.1
Options: --|R|-|--|E|V6
Router Bits: --------
Prefix Options: xxx
Metric Type: 1
Metric: 100 (0)
Paths count: 0
Nexthop count: 1
Nexthop:
  :: TenGigabitEthern

To view SPF calculation information:

tnsr# show route dynamic ospf6 spf
+-10.2.0.1 [0]
   +-10.27.0.1 Net-ID: 0.0.0.13 [100]
      +-10.27.0.1 [100]