cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
482
Views
10
Helpful
7
Replies

Cisco Catalyst - How to verify the interfaces on which OSPF is enabled

TCCS TCS
Level 1
Level 1

Hello Experts,

Can you help me with the command which can find out on which physical interfaces OSPF is enabled for the Agg switch. I have below command output for show ip protocol

Agg#sh ip prot
*** IP Routing is NSF aware ***

Routing Protocol is "ospf 1"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Router ID 10.99.1.5
  Number of areas in this router is 1. 1 normal 0 stub 0 nssa
  Maximum path: 4
  Routing for Networks:
    10.0.0.0 0.255.255.255 area 0
  Passive Interface(s):
    GigabitEthernet1/1/1
    GigabitEthernet1/1/2
    GigabitEthernet1/1/3
    GigabitEthernet1/1/14

Port-channel1
    Port-channel2
   

Vlan322
    Vlan331
  Routing Information Sources:
    Gateway         Distance      Last Update
    10.99.1.4           110      2y18w
    10.99.1.1           110      1w4d
    10.99.1.2           110      1w4d
    10.99.1.3           110      15w5d
  Distance: (default is 110)

7 Replies 7

Hello

The above command will tell you what routing process are active and what interfaces are assigned to them, however there is a more specific commend to show you this.

Sh ip ospf interface brief

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hi Paul,

Thanks for the quick reply. Appreciated. I have the below output.  Does below output mean OSPF is enabled on these VLAN, port channel and physical interfaces?

What does these lines means

  • Vlan3808 is up, line protocol is down

    • Internet Address 10.199.1.1/32, Area 0

Agg#show ip ospf interface

Loopback0 is up, line protocol is up
  Internet Address 10.199.1.1/32, Area 0
  Process ID 1, Router ID 10.199.1.1, Network Type LOOPBACK, Cost: 1
  Loopback interface is treated as a stub Host

Port-channel1 is up, line protocol is up (connected)
  Internet Address 10.99.250.1/28, Area 0
  Process ID 1, Router ID 10.199.1.1, Network Type BROADCAST, Cost: 1
  Transmit Delay is 1 sec, State DR, Priority 1
  Designated Router (ID) 10.199.1.1, Interface address 10.99.250.1
  No backup designated router on this network
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:06
  Supports Link-local Signaling (LLS)
  Cisco NSF helper support enabled
  IETF NSF helper support enabled
  Index 3/3, flood queue length 0
  Next 0x0(0)/0x0(0)
  Last flood scan length is 0, maximum is 0
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 0, Adjacent neighbor count is 0
  Suppress hello for 0 neighbor(s)

Vlan3820 is up, line protocol is up
  Internet Address 10.99.250.129/29, Area 0
  Process ID 1, Router ID 10.199.1.1, Network Type BROADCAST, Cost: 1
  Transmit Delay is 1 sec, State DR, Priority 1
  Designated Router (ID) 10.199.1.1, Interface address 10.99.250.129
  No backup designated router on this network
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:05
  Supports Link-local Signaling (LLS)
  Cisco NSF helper support enabled
  IETF NSF helper support enabled
  Index 12/12, flood queue length 0
  Next 0x0(0)/0x0(0)
  Last flood scan length is 0, maximum is 0
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 0, Adjacent neighbor count is 0
  Suppress hello for 0 neighbor(s)


GigabitEthernet2/0/48 is up, line protocol is up (connected)
  Internet Address 10.99.1.21/30, Area 0
  Process ID 1, Router ID 10.199.1.1, Network Type BROADCAST, Cost: 1
  Transmit Delay is 1 sec, State DR, Priority 1
  Designated Router (ID) 10.199.1.1, Interface address 10.99.1.21
  No backup designated router on this network
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:02
  Supports Link-local Signaling (LLS)
  Cisco NSF helper support enabled
  IETF NSF helper support enabled
  Index 6/6, flood queue length 0
  Next 0x0(0)/0x0(0)
  Last flood scan length is 0, maximum is 0
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 0, Adjacent neighbor count is 0
  Suppress hello for 0 neighbor(s)

Port-channel18 is up, line protocol is up (connected)
  Internet Address 10.99.250.17/29, Area 0
  Process ID 1, Router ID 10.199.1.1, Network Type BROADCAST, Cost: 1
  Enabled by interface config, including secondary ip addresses
  Transmit Delay is 1 sec, State DR, Priority 1
  Designated Router (ID) 10.199.1.1, Interface address 10.99.250.17
  No backup designated router on this network
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:04
  Supports Link-local Signaling (LLS)
  Cisco NSF helper support enabled
  IETF NSF helper support enabled

Thanks Joseph. What does below lines means?

Vlan3808 is up, line protocol is down

  • Internet Address 10.199.1.1/32, Area 0

May be Vlan 3808 is not in use ,to bring the line protocol up for vlan . we need to pass it on Trunks and active access ports.

BTW, older IOS versions don't support the brief option.

show ip ospf interface brief as Paul mentioned. 

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: