protocol ospf v2 ospf4 {
  ipv4 { export where source = RTS_DEVICE; import all; };
  area 0 {
    interface "loop0" { stub yes; };
    interface "e0" { type pointopoint; cost 5; bfd off; };
    interface "e1" { type pointopoint; cost 5; bfd off; };
    interface "e2" { type pointopoint; cost 5; bfd off; };
    interface "e3" { type pointopoint; cost 5; bfd off; };
  };
}

protocol ospf v3 ospf6 {
  ipv6 { export where source = RTS_DEVICE; import all; };
  area 0 {
    interface "loop0" { stub yes; };
    interface "e0" { type pointopoint; cost 5; bfd off; };
    interface "e1" { type pointopoint; cost 5; bfd off; };
    interface "e2" { type pointopoint; cost 5; bfd off; };
    interface "e3" { type pointopoint; cost 5; bfd off; };
  };
}