Got it

Network command

Created: Sep 27, 2020 06:57:44Latest reply: Sep 27, 2020 06:58:12 414 1 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi all,

What are the differences between the OSPF network command and the BGP network command?

Featured Answers

Recommended answer

Popeye_Wang
Admin Created Sep 27, 2020 06:58:12

Hello Sprout,

The OSPF network command is used to filter out the IP address of the interfaces that meet the conditions and specify the interfaces to run OSPF.

Conditions: Mask length of the IP addresses are not less than that in the network command. And IP addresses of the interfaces are in the range of the network segment specified by the network command 

For example, you can run the network 0.0.0.0 255.255.255.255 command to specify all interfaces that have IP addresses to run OSPF.

The BGP network command is used to import routes from the local IP routing table to BGP. Only the routes in the local IP routing table that exactly match the specified destination address and mask length can be added to the BGP routing table.

View more
  • x
  • convention:

All Answers

Hello Sprout,

The OSPF network command is used to filter out the IP address of the interfaces that meet the conditions and specify the interfaces to run OSPF.

Conditions: Mask length of the IP addresses are not less than that in the network command. And IP addresses of the interfaces are in the range of the network segment specified by the network command 

For example, you can run the network 0.0.0.0 255.255.255.255 command to specify all interfaces that have IP addresses to run OSPF.

The BGP network command is used to import routes from the local IP routing table to BGP. Only the routes in the local IP routing table that exactly match the specified destination address and mask length can be added to the BGP routing table.

View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.