NETWORK STATEMENT SHORTCUT IN OSPF

While configuring ip networking scenarios especially in labs, repetitive activities take a lot of time. One such case is when OSPFrouting protocol is run and configured on all interfaces in an area. Below is a simple shortcut to advertise all interfaces in OSPFrouting protocol –

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 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 .

Please follow and like us:
error

Tags:

Related Posts

Add Comment

Social Media Auto Publish Powered By : XYZScripts.com
Select your currency
USD United States (US) dollar

Checkout : E-STORE for latest release "JNCIP-SEC & JNCIA-SEC Interview Q&A " Dismiss