No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - IP Unicast Routing

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Network Types of OSPF Interfaces

Configuring Network Types of OSPF Interfaces

Context

By default, the physical interface type determines the network type.

  • The network type of an Ethernet interface is broadcast.
  • The network type of a serial interface running PPP or HDLC is P2P.
  • The network type of an ATM interface or a frame relay (FR) interface is NBMA.
NOTE:
  • A P2MP network is forcibly changed from another other type of network.
  • AR100&AR120&AR150&AR160&AR200 series do not support frame-relay interface.
The network types of the interfaces on both ends of a link must be the same; otherwise, the OSPF neighbor relationship cannot be established.
  • When the network type of one OSPF interface is broadcast and the network type of the other OSPF interface is P2P, the two interfaces can still set up the neighbor relationship but cannot learn the OSPF routing information each other.
  • When the network types of OSPF interfaces on both ends of a link are P2MP and P2P, the two OSPF interfaces can establish OSPF neighbor relationship but cannot learn routing information from each other. To enable the interfaces to learn routing information from each other, configure the same interval for sending Hello packets and same neighbor holdtime on the two OSPF interfaces.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The OSPF interface view is displayed.

  3. Run ospf network-type { broadcast | nbma | p2mp | p2p [ peer-ip-ignore ] }

    The network type of the OSPF interface is configured.

    By default, the network type of an interface depends on the physical interface. The network type of an Ethernet interface is broadcast; the network type of a serial or POS interface (encapsulated with PPP or HDLC) is P2P; the network type of an ATM and FR interface is NBMA.

    When the network type is configured for an interface, the original network type of the interface is replaced.

    The network type can be configured to suit networking requirements.
    • If the network type of an interface is broadcast and a router does not support multicast addresses, change the network type of the interface to NBMA.
    • If the network type of an interface is NBMA and the network is fully meshed or any two routers are directly connected, change the network type of the interface to broadcast and do not configure neighboring router information on the interface.
    • If the network type of an interface is NBMA and the network is not fully meshed, change the network type of the interface to P2MP. After that, two indirectly connected routers can communicate through one router that can directly reach both the two routers. After the network type of the interface is changed to P2MP, configuring neighboring router information on the interface is unnecessary.
    • If only two routers run OSPF on the same network segment, changing the network type of the interface to P2P is recommended.
    NOTE:
    OSPF cannot be configured on a null interface.

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174069

Views: 132459

Downloads: 274

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next