Thanks to Marco Gartmann for the bugreport.
networks {
<prefix>;
<prefix> hidden;
- }
+ };
external {
<prefix>;
<prefix> hidden;
<prefix> tag <num>;
- }
+ };
stubnet <prefix>;
stubnet <prefix> {
hidden <switch>;
summary <switch>;
cost <num>;
- }
+ };
interface <interface pattern> [instance <num>] {
cost <num>;
stub <switch>;
networks {
172.16.1.0/24;
172.16.2.0/24 hidden;
- }
+ };
interface "-arc0" , "arc*" {
type nonbroadcast;
authentication none;
route 10.2.0.0/24 via "arc0"; # Secondary network
route 192.168.10.0/24 via 198.51.100.100 {
ospf_metric1 = 20; # Set extended attribute
- }
+ };
route 192.168.10.0/24 via 198.51.100.100 {
ospf_metric2 = 100; # Set extended attribute
ospf_tag = 2; # Set extended attribute
bfd; # BFD-controlled route
- }
+ };
}
</code>