show ipv6 ospf interface

Displays interface information for all or specific OSPFv3-enabled interfaces.
Syntax
show ipv6 ospf interface [ brief ] [ ethernet unit/slot/port ] [ loopback number ] [ tunnel number ] [ ve vlan_id ]
Parameters
brief
Displays brief summary information about OSPFv3-enabled interfaces.
ethernet unit/slot/port
Specifies the physical interface. On standalone devices as well as stacked devices specifies the interface ID in the format unit/slot/port. On standalone devices, "1" is the unit number.
loopback number
Specifies a loopback port number in the range of 1 to 255.
tunnel number
Specifies a tunnel interface.
ve vlan_id
Specifies the VLAN number.
Modes

Privileged EXEC mode

Usage Guidelines

Use the brief keyword to limit the display to the following fields:

  • Interface
  • Area
  • Status
  • Type
  • Cost
  • State
  • Nbrs(F/C)

The show ipv6 ospf interface command displays the following information:

This field

Displays

Interface status

The status of the interface. Possible status includes the following:

  • Up.
  • Down.

Type

The type of OSPFv3 circuit running on the interface. Possible types include the following:

  • BROADCAST
  • POINT TO POINT UNKNOWN
  • POINT TO POINT

IPv6 Address

The IPv6 address assigned to the interface.

Instance ID

An identifier for an instance of OSPFv3.

Router ID

The IPv4 address of the device. By default, the router ID is the IPv4 address configured on the lowest numbered loopback interface. If the device does not have a loopback interface, the default router ID is the lowest numbered IPv4 address configured on the device.

Area ID

The IPv4 address or numerical value of the area in which the interface belongs.

Cost

The overhead required to send a packet through the interface.

Interface bandwidth

The configured bandwidth on a tunnel interface for routing metric purposes only.

default

Shows whether or not the default passive state is set.

State

The state of the interface. Possible states include the following:

  • DR - The interface is functioning as the Designated Router for OSPFv3.
  • BDR - The interface is functioning as the Backup Designated Router for OSPFv3.
  • Loopback - The interface is functioning as a loopback interface.
  • P2P - The interface is functioning as a point-to-point interface.
  • Passive - The interface is up but it does not take part in forming an adjacency.
  • Waiting - The interface is trying to determine the identity of the BDR for the network.
  • None - The interface does not take part in the OSPF interface state machine.
  • Down - The interface is unusable. No protocol traffic can be sent or received on such a interface.
  • DR other - The interface is a broadcast or NBMA network on which another router is selected to be the DR.
  • Active - The interface sends or receives all the OSPFv3 control packets, and forms the adjacency.

Transmit delay

The amount of time, in seconds, it takes to transmit Link State Updates packets on the interface.

Priority

The priority used when selecting the DR and the BDR. If the priority is 0, the interface does not participate in the DR and BDR election.

Timer intervals

The interval, in seconds, of the hello-interval, dead-interval, and retransmit-interval timers.

DR

The router ID (IPv4 address) of the DR.

BDR

The router ID (IPv4 address) of the BDR.

Number of I/F scoped LSAs

The number of interface LSAs scoped for a specified area, AS, or link.

DR Election

The number of times the DR election occurred.

Delayed LSA Ack

The number of the times the interface sent a delayed LSA acknowledgement.

Neighbor Count

The number of neighbors to which the interface is connected.

Adjacent Neighbor Count

The number of neighbors with which the interface has formed an active adjacency.

Neighbor

The router ID (IPv4 address) of the neighbor. This field also identifies the neighbor as a DR or BDR, if appropriate.

Interface statistics

The following statistics are provided for the interface:

  • Unknown - The number of Unknown packets transmitted and received by the interface. Also, the total number of bytes associated with transmitted and received Unknown packets.
  • Hello - The number of Hello packets transmitted and received by the interface. Also, the total number of bytes associated with transmitted and received Hello packets.
  • DbDesc - The number of Database Description packets transmitted and received by the interface. Also, the total number of bytes associated with transmitted and received Database Description packets.
  • LSReq - The number of link-state requests transmitted and received by the interface. Also, the total number of bytes associated with transmitted and received link-state requests.
  • LSUpdate - The number of link-state updates transmitted and received by the interface. Also, the total number of bytes associated with transmitted and received link-state requests.
  • LSAck - The number of link-state acknowledgements transmitted and received by the interface. Also, the total number of bytes associated with transmitted and received link-state acknowledgements.
Examples

This example shows sample output from the show ipv6 ospf interface command when no arguments or keywords are used.

device# show ipv6 ospf interface

e 1/1/9 admin up, oper up, IPv6 enabled
  IPv6 Address:
      fe80::224:10ff:fe76:4bc0
      201::1/64
  Instance ID 0, Router ID 2.2.2.2
  Area ID 0, Cost 1, Type BROADCAST
  MTU: 1500
  State DR, Transmit Delay 1 sec, Priority 1, Link-LSA Tx not suppressed
  Timer intervals :
    Hello 10, Hello Jitter 10  Dead 40, Retransmit 5
  Authentication Use: Enabled
   KeyRolloverTime(sec): Configured: 300 Current: 0
   KeyRolloverState: NotActive
   Outbound: None
   Inbound: None
  DR:2.2.2.2 BDR:1.1.1.1  Number of I/F scoped LSAs is 2
  DRElection:     2 times, DelayedLSAck:   425 times
  Neighbor Count = 1,   Adjacent Neighbor Count= 1
     Neighbor:
      1.1.1.1 (BDR)
    Statistics of interface e 1/1/9:
      Type     tx         rx         tx-byte    rx-byte
      Unknown  0          0          0          0
      Hello    80035      80133      3201392    3205320
      DbDesc   5          3          240        144
      LSReq    1          1          28         76
      LSUpdate 2095       1262       171228     92540
      LSAck    425        419        32020      48604
      OSPF messages dropped,no authentication: 0

This example shows sample output from the show ipv6 ospf interface command when the brief keyword is used.

device# show ipv6 ospf interface brief
Interface     Area        Status Type Cost  State    Nbrs(F/C)
e 1/1/9       0           up     BCST 1     DR       1/1
e 1/1/12      0           down   BCST 0     Down     0/0
ve 20         0           up     BCST 1     DR       0/0
ve 60         0           up     BCST 1     DR       0/0
ve 310        0           down   BCST 0     Down     0/0
ve 360        0           down   BCST 0     Down     0/0
loopback 1    0           up     BCST 1     Loopback 0/0
loopback 2    0           up     BCST 1     Loopback 0/0
loopback 3    0           up     BCST 1     Loopback 0/0

This example shows information about a specified OSPF-enabled Ethernet interface, including the cost, where the cost is calculated using the default interface speed and auto cost.

device# show ipv6 ospf interface ethernet 3/1/1

     e 3/1/1 admin up, oper up, ospf enabled, state up
     fe80::224:10ff:fe76:4bc0
      201::1/64, 
     Area 0
     Database Filter: Not Configured
     State BDR, Pri 1, Cost 1, Options 2, Type broadcast Events 3

This example shows information about a specified OSPF-enabled Ethernet interface, including the cost, which has been calculated using the configured interface bandwidth and the default auto-cost.

device# show ipv6 ospf interface ethernet 3/1/1

     e 1/1/3 admin up, oper up, IPv6 enabled
  IPv6 Address:
      fe80::ce4e:24ff:fe6d:bc00
      9000:1111:9013::2/64
  Instance ID 0, Router ID 192.168.3.1
  Area ID 0, Cost 34, Type BROADCAST
  MTU: 1500
  State DR, Transmit Delay 1 sec, Priority 1, Link-LSA Tx not suppressed
  Timer intervals :
    Hello 10, Hello Jitter 10  Dead 40, Retransmit 5
  Authentication Use: Enabled
   KeyRolloverTime(sec): Configured: 300 Current: 0
   KeyRolloverState: Not Active
   Outbound: None
   Inbound: None
  DR:192.168.3.1 BDR:192.168.1.1  Number of I/F scoped LSAs is 2
  DRElection:     2 times, DelayedLSAck:     1 times
  Neighbor Count = 1,   Adjacent Neighbor Count= 1
     Neighbor:
      192.168.1.1 (BDR)
    Statistics of interface e 1/1/3:
      Type     tx         rx         tx-byte    rx-byte   
      Unknown  0          0          0          0                 
      Hello    82         78         3268       3120      
      DbDesc   2          3          116        304       
      LSReq    1          1          148        28        
      LSUpdate 16         7          1144       1048      
      LSAck    1          3          156        328       
      OSPF messages dropped, no authentication: 0

History
Release version Command history
08.0.30 This command was modified to include configured bandwidth status.