Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Webcast- Automate Nexus9k

Highlighted
Community Member

which single network command will start ospf on all interfaces of a router?

I just red the below question and its answer. Please explain some one about that. also explain what is 0.0.0.0 and 255.255.255.255

 

which single network command will start ospf on all interfaces of a router ?

 

answer :     netwrok 0.0.0.0 255.255.255.255

 

7 REPLIES
VIP Green

Re: which single network command will start ospf on all interfaces of a router?

Hi

 network 0.0.0.0 255.255.255.255 command will enable OSPF in all interfaces.

 You can understand this wild card representation as all interfaces.

 

 

-If I helped you somehow, please, rate it as useful.-

Community Member

Re: which single network command will start ospf on all interfaces of a router?

Will you explain about 255.255.255.255 with little detail?
VIP Green

Re: which single network command will start ospf on all interfaces of a router?

This means all bits set on the network side will be allowed.

 Let say, if you use 0.255.255.255 then you are saying the first octect can't be changed.

This is wild card mask concept.

 

-If I helped you somehow, please, rate it as useful.-

Community Member

Re: which single network command will start ospf on all interfaces of a router?

one last question. If i want to exclude one interface with passive command then what will happen ? How ?

Re: which single network command will start ospf on all interfaces of a router?

Then Passive command will overwrite the default command. Setting an interface as passive disables the sending of routing updates on that interface, hence adjacencies will not be formed in OSPF. However, the particular subnet will continue to be advertised to other interfaces.

 

Regards,

Deepak Kumar

VIP Green

Re: which single network command will start ospf on all interfaces of a router?

The proper way to do this is configure "passive interface default" which will enable passive interface in all interface.

 This command is enabled globally and you need to apply once.

 Then, you can pick up the interface you want and issue the command "no passive interface"

 This is the easier and secure way to manage router with multiples interfaces.

 

-If I helped you somehow, please, rate it as useful.-

Community Member

Re: which single network command will start ospf on all interfaces of a router?

But what will happen my " netwrok 0.0.0.0 255.255.255.255 " command in regards when i need to exclude one interface as passive ?
They exclude the specific interface ? and an a futured added interface automatically part of ospf ?
105
Views
0
Helpful
7
Replies
CreatePlease to create content