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

Configuration Guide - IP Unicast Routing

S7700 and S9700 V200R011C10

This document describes IP Unicast Routing configurations supported by the switch, including the principle and configuration procedures of IP Routing Overview, Static Route, RIP, RIPng, OSPF, OSPFv3, IS-IS(IPv4), IS-IS(IPv6), BGP, Routing Policy ,and PBR, and provides configuration examples.
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).
An OSPF Neighbor Relationship Cannot Be Established

An OSPF Neighbor Relationship Cannot Be Established

Fault Symptom

An OSPF neighbor relationship cannot be established between two devices.

Procedure

  1. Check whether the physical status and protocol status of interfaces on both ends of the link are Up and stable, whether packets are lost on the interfaces, and whether the two devices can ping each other with packets longer than 1500 bytes.

    If the physical status of the interfaces is not Up or unstable (interfaces flap for example), check whether the link connection is correct and whether the protocol status of the interfaces is Up. Ensure that no error packet statistics exist on the interfaces.

    If packet loss occurs during the ping test, verify that the MTUs of device interfaces along which ping packets travel are properly set.

  2. Check whether the two devices have the same OSPF process router ID.

    Run the display ospf [ process-id ] brief command on the two devices to check the OSPF process router ID.

    Each router ID in an OSPF process must be unique. Otherwise, devices on both ends of the link cannot establish an OSPF neighbor relationship, and routing information will be incorrect.

    If the two devices have the same OSPF process router ID, run the ospf [ process-id ] router-id router-id command in the system view to change the OSPF process router ID and ensure that the two devices have different OSPF process router IDs.

    After changing the OSPF process router ID, run the reset ospf [ process-id ] process command in the user view to make the configured router ID take effect.

  3. Check whether the two devices have the same OSPF area ID.

    Run the display ospf [ process-id ] brief command on the two devices to check the OSPF area ID.

    If the two devices have different OSPF area IDs, run the area area-id command in the OSPF view to change the OSPF area ID and ensure that the two devices have the same OSPF area ID.

  4. Check whether OSPF interfaces on both ends of the link have the same network type.

    Run the display ospf [ process-id ] interface command on the two devices to check the OSPF interface network type.

    The network types of the OSPF interfaces on both ends of a link must be the same; otherwise, the two interfaces cannot establish an OSPF neighbor relationship.

    If the network types of the two OSPF interfaces are different, run the ospf network-type { broadcast | nbma | p2mp | p2p } command in the OSPF interface view to change the OSPF interface network type.

    NOTE:

    If the network types of OSPF interfaces on both ends of the link are NBMA, run the peer ip-address [ dr-priority priority ] command in the OSPF view to configure NBMA neighbors.

  5. Check whether OSPF interfaces on both ends of the link have the same IP address mask.

    Run the display current-configuration interface interface-type interface-number command on the two devices to check the IP address of the specified OSPF interface.

    The IP address masks of the OSPF interfaces on both ends of a link must be the same; otherwise, the two interfaces cannot establish an OSPF neighbor relationship. On a P2MP network, to disable a device from checking the network mask so that an OSPF neighbor relationship can be established, run the ospf p2mp-mask-ignore command in the OSPF interface view.

    If the two OSPF interfaces have different IP address masks, run the ip address ip-address { mask | mask-length } command in the OSPF interface view to change the IP address mask and ensure that the two OSPF interfaces have the same IP address mask.

  6. Check whether IP addresses of OSPF interfaces on both ends of the link belong to the network segment specified by the network command.

    Run the display current-configuration interface interface-type interface-number command on both devices to check IP addresses of OSPF interfaces on both ends of the link and run the display current-configuration configuration ospf command on the two devices to check the OSPF process configuration.

    OSPF can run on an interface only when the following conditions are met:

    • The mask length of the interface's IP address is longer than or equal to that converted from the wildcard mask specified by the network command. OSPF uses wildcard masks. For example 0.0.0.255 indicates that the mask length is 24 bits.
    • The primary IP address of the interface belongs to the network segment specified by the network command.

    If the IP address of the interface does not meet the preceding conditions, run the ip address ip-address { mask | mask-length } command in the OSPF-enabled interface view to change the IP address of the interface. Alternatively, in the view of the area to which the OSPF process belongs, run the network command to change the configured network segment so that the IP address of the interface can meet the preceding conditions.

  7. Check whether the DR priorities of OSPF interfaces on both ends of the link are both 0.

    Run the display ospf [ process-id ] interface command on the two devices to check the OSPF interface's DR priority.

    On a broadcast or NBMA network, there must be at least one OSPF interface whose DR priority is not 0 to ensure that the DR can be elected. Otherwise, the neighbor status of devices on both ends of the link can be only 2-Way.

    If the DR priorities of the two OSPF interfaces are both 0, run the ospf dr-priority priority command in the OSPF interface view to change the DR priority. Ensure that there is at least one OSPF interface whose DR priority is not 0.

Translation
Download
Updated: 2019-04-01

Document ID: EDOC1000178324

Views: 223410

Downloads: 194

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