cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1136
Views
0
Helpful
3
Replies

How to enable ospfv2 and ospfv3 in the router?

rajul_shri
Level 1
Level 1

Hi Guys,

 

I want to know how to enable how to enable ospf version 2 and 3 on the router.

I know,how to enable ospf v1 on the router.

Suppose I have  two routers connected R1-----R2 what command shall I type to enable ospfv2 and ospfv3?

 

Thanks,

Rajul.

3 Replies 3

Traian Bratescu
Level 1
Level 1

I don't know how to enable v1 :)

 

Version2:

R4#sh run | sec router ospf
router ospf 10
 network 34.34.34.0 0.0.0.255 area 0
ipv6 router ospf 10
 router-id 4.4.4.4

 

Version3:

R1#sh run int fa 0/0
Building configuration...

Current configuration : 147 bytes
!
interface FastEthernet0/0
 ip address 10.0.0.1 255.255.255.0
 ipv6 address 2001:DB8:0:4::3/64
 ipv6 ospf 10 area 1  !!! this is how you enable v3 - at the interface level

 

Traian

 

Hi Traian,

Thanks for response.It was helpful.

So for ospfv3, do we need to go to each interface of the router and configure the ospf?

Thanks,

Rajul.

 

 

Yes, there is no "network" command anymore under the routing process so now you enable the protocol per interface (and implicitly for all networks assigned to that interface)

 

You still need however a router ID which is selected automatically identical to OSPFv2 - or if there is no ip addresses you have to manually specify a router-id under the routing process.

Traian