[FROG] ospfd: duplicate configuration shown when multiple instances of ospf running

Amol Lad Amol.Lad at 4rf.com
Mon Jan 25 14:21:04 UTC 2021


Hi,

  1.  I'm testing this in FRR master.
  2.  /etc/frr/frr.conf is deleted so per daemon configuration file can be used
  3.  enabled ospfd_instances=2,3,4,5 in /etc/frr/daemons
ospfd=yes
ospfd_instances=2,3,4,5
Now, do "no router instance-id" for all instances and then "router ospf" and add below statements:
ospf router-id 1.1.1.1
network 20.20.20.0/24 area 0
Please notice that configuration is "replicated" and if I save the configuration then above conf is written to all conf files.
Please advise
===
amol at amol-Virtual-Machine:~/frr$ sudo vtysh
% Can't open configuration file /etc/frr/vtysh.conf due to 'No such file or directory'.
Hello, this is FRRouting (version 7.6-dev-MyOwnFRRVersion-g82b844d8d).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
This is a git build of frr-7.4-dev-1400-g82b844d8d
Associated branch(es):
local:master
github/FRRouting/frr.git/master
amol-Virtual-Machine# sh run
Building configuration...
Current configuration:
!
frr version 7.6-dev-MyOwnFRRVersion
frr defaults traditional
hostname amol-Virtual-Machine
no ip forwarding
no ipv6 forwarding
!
router ospf 2
!
router ospf 3
!
router ospf 4
!
router ospf 5
!
line vty
!
end
amol-Virtual-Machine# conf term
amol-Virtual-Machine(config)# no router ospf 2
amol-Virtual-Machine(config)# no router ospf 3
amol-Virtual-Machine(config)# no router ospf 4
amol-Virtual-Machine(config)# no router ospf 5
amol-Virtual-Machine(config)# router ospf
amol-Virtual-Machine(config-router)# ospf router-id 1.1.1.1
amol-Virtual-Machine(config-router)# network 20.20.20.0/24 area 0
amol-Virtual-Machine(config-router)# do sh run
Building configuration...
Current configuration:
!
frr version 7.6-dev-MyOwnFRRVersion
frr defaults traditional
hostname amol-Virtual-Machine
no ip forwarding
no ipv6 forwarding
!
router ospf
ospf router-id 1.1.1.1
network 20.20.20.0/24 area 0
ospf router-id 1.1.1.1
network 20.20.20.0/24 area 0
ospf router-id 1.1.1.1
network 20.20.20.0/24 area 0
ospf router-id 1.1.1.1
network 20.20.20.0/24 area 0
!
line vty
!
end
====



More information about the frog mailing list