Celestica Documentation Portal

Find your product documents here

show ip ospf interface

Displays OSPF interface information.

Syntaxshow ip ospf [vrf <vrfname>|all] interface [<IFNAME>]|[traffic <IFNAME>]
Command modeEXEC
Parameters
  • vrfname – VRF Name. Maximum: 15 characters, prefixed with Vrf.

  • IFNAME – Interface name (Example: Ethernet1, Vlan1, PortChannel1).

UsageNone
Supported Releases 1.1.0 or later
Click commandNone
Example
sonic# show ip ospf interface
Ethernet8 is up
  ifindex 106, MTU 9100 bytes, BW 1000 Mbit <UP,BROADCAST,RUNNING,MULTICAST>
  Internet Address 20.20.20.2/24, Broadcast 20.20.20.255, Area 0.0.0.0
  MTU mismatch detection: enabled
  Router ID 10.10.10.2, Network Type BROADCAST, Cost: 100
  Transmit Delay is 1 sec, State DR, Priority 1
  Backup Designated Router (ID) 10.10.10.1, Interface Address 20.20.20.1
  Multicast group memberships: OSPFAllRouters OSPFDesignatedRouters
  Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5
    Hello due in 0.698s
  Neighbor Count is 1, Adjacent neighbor count is 1


sonic#
sonic# show ip ospf interface traffic

Interface       HELLO            DB-Desc         LS-Req           LS-Update        LS-Ack
                Rx/Tx            Rx/Tx            Rx/Tx            Rx/Tx            Rx/Tx
--------------------------------------------------------------------------------------------
Ethernet8        53/60             3/2             1/1             5/2             2/3

sonic# show ip ospf vrf Vrf-20 interface
VRF Name: Vrf-20
Ethernet8 is up
  ifindex 106, MTU 9100 bytes, BW 1000 Mbit <UP,BROADCAST,RUNNING,MULTICAST>
  Internet Address 20.20.20.2/24, Broadcast 20.20.20.255, Area 0.0.0.0
  MTU mismatch detection: enabled
  Router ID 10.10.10.2, Network Type BROADCAST, Cost: 100
  Transmit Delay is 1 sec, State DR, Priority 1
  Backup Designated Router (ID) 1.1.1.1, Interface Address 20.20.20.1
  Saved Network-LSA sequence number 0x80000002
  Multicast group memberships: OSPFAllRouters OSPFDesignatedRouters
  Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5
    Hello due in 9.041s
  Neighbor Count is 1, Adjacent neighbor count is 1