Network Statement Shortcut in OSPF

Rashmi Bhardwaj | Blog,Config & Troubleshoot,Routing & Switching
Advertisements

OSPF Configuration

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 –

Advertisements

R1(config)#router ospf 1
R1(config-router)#network 0.0.0.0 0.0.0.0 area 0

Or, other one can be like this –
R1(config)#router ospf 1
R1(config-router)#network 0.0.0.0 255.255.255.255 area 0

The network statements match and advertise any ip enabled interfaces from the router. Using the wildcard mask255.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.

Continue Reading:

How to configure OSPF Virtual Link?

Configuring OSPF Multi-Area Adjacency : Example Scenario

ABOUT THE AUTHOR

Advertisements

Leave a Comment

Your email address will not be published. Required fields are marked *

Shopping Cart
Select your currency
USD United States (US) dollar
Scroll to Top