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.
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 NBMA Network Attributes
Configuring NBMA Network Attributes
Procedure
(Optional) Set the network type to NBMA.
An NBMA network must be fully meshed. Any two switches on the NBMA network must be directly reachable. In most cases,
however, this requirement cannot be met. To resolve this problem,
run specific commands to forcibly change the network type to NBMA.
For details, see Configuring
Network Types for OSPF Interfaces.
Run system-view
The system view is displayed.
Run interfaceinterface-typeinterface-number
The interface view is displayed.
(Optional) On an Ethernet interface,
run undo portswitch
The interface is switched to Layer 3 mode.
By default,
an Ethernet interface works in Layer 2 mode.
Run ospf network-typenbma
The network type of the
OSPF interface is set to NBMA.
(Optional) Set the interval at which Hello packets for
polling are sent on the NBMA network.
On the NBMA network, after the neighbor relationship becomes
invalid, the switch sends Hello packets at an interval defined in the polling mechanism.
Run ospf timer pollinterval
The interval at which Hello
packets for polling are sent by an NBMA interface is set.
The
default value is 120, in seconds.
Configure a neighboring switch on the NBMA network.
If the network type of an interface is NBMA, the interface
cannot broadcast Hello packets to discover neighboring switches. Therefore, the IP address of a neighboring switch must be configured on
the interface and whether the neighboring switch can participate in DR
election must be determined on the interface.
Run quit
Exit from the interface view.
Run ospf [ process-id ]
The OSPF process view is displayed.
Run peerip-address [ dr-prioritypriority ]
A neighboring switch is configured on the NBMA network.