OSPF router-id election

Post Reply
xijq227

OSPF router-id election

Post by xijq227 »

Hypervisor:
Unified Networking Lab with TiMOS-B-12.0.R11

Topology:
R1-----R2

Problem:
On R1:
interface "system"
address 1.1.1.1/32
no shutdown
exit
interface "toR2"
address 12.1.1.1/24
port 1/1/1
no shutdown
exit
#--------------------------------------------------
echo "OSPFv2 Configuration"
#--------------------------------------------------
ospf
no shutdown
exit
#--------------------------------------------------
echo "OSPFv2 (Inst: 10) Configuration"
#--------------------------------------------------
ospf 10
area 0.0.0.0
interface "system"
no shutdown
exit
interface "toR2"
interface-type point-to-point
no shutdown
exit
exit
no shutdown
exit
The router couldn't auto-elect a router-id, thus, ospf operation status is disabled:
*A:vRR>config>router# show router ospf 10 status

===============================================================================
OSPFv2 (10) Status
===============================================================================
OSPF Cfg Router Id : 0.0.0.0
OSPF Oper Router Id : 0.0.0.0
OSPF Version : 2
OSPF Admin Status : Enabled
OSPF Oper Status : Disabled
vasudha202

Re: OSPF router-id election

Post by vasudha202 »

OSPF router ID is automatically derived only for the base instance. For other instances (for example ospf instance 10 like you have) you need to explicitly specify it while creating the instance or after (and restart ospf for it to take effect):
*A:R1# configure router ospf 10
- no ospf [<ospf-instance>]
- ospf [<ospf-instance>] [<router-id>]

<ospf-instance> : [0..31]
<router-id> : <ip-address>
User avatar
thekotaksampah
Member
Posts: 100
Joined: 06 Jan 2014 20:04

Re: OSPF router-id election

Post by thekotaksampah »

You should restart your OSPF process in your routing, do command:

configure router ospf shutdown
configure router ospf no shutdown

Hope it works J,
Technical Blog: ngoprek.achyarnurandi.id
keith_250

Re: OSPF router-id election

Post by keith_250 »

Your RID on the VSIM should default to 255.0.0.0 if nothing is configured. In a real device if nothing is configured the base MAC address of the chassis is used.

depending on your code release you should be able to clear OSPF using the below (im on r14)

*A:r1# clear router ospf neighbor
<ip-int-name|ip-address>
"system" "v12"
Post Reply

Return to “7750 SR”