We have discussed various configuration scenarios of OSPF in our series of blogs in the past.
While configuring IP networking scenarios especially in labs, repetitive activities take a lot of time. One such case is when OSPF routing protocol is run and configured on all interfaces in an area.
Network Statement Shortcut in OSPF configuration
Below is a simple shortcut in OSPF to advertise all interfaces in OSPF routing protocol –
Or, other one can be like this –
The network statements match and advertise any ip enabled interfaces from the router. Using the wildcard mask “255.255.255.255″ works well however wildcard of “0.0.0.0″ is another way of placing the configuration.
The above shortcut becomes more useful when the devices are in bulk.