Command Reference
OSPFv2 Commands
Neighbor
ip-address
[
poll-interval
seconds
] [
priority
priority
] [
cost
cost
] ]
no neighbor
ip-address
[ [
poll-interval
] [
priority
] | [ cost
] ]
Parameter
Description
Parameter
Description
ip address
IP address of the neighbor
poll-interval
seconds
(Optional) Specifies the interval of polling neighbors in seconds. The
range is from 0 to 2147483647.
Only the non-broadcast (NBMA) network type supports this option.
priority
priority
(Optional) Configures the priority of non-broadcast network
neighbors. The range is from 0 to 255. Only the non-broadcast
(NBMA) network type supports this option.
cost
cost
(Optional) Configures the cost to each neighbor in point-to-multipoint
network, not defined by default, where the cost configured on the
interface will be used. The range is from 0 to 65535.
Only the point-to-multipoint [non-broadcast] network type supports
this option.
Defaults
No neighbor is defined by default.
The default neighbor polling interval is 120 seconds.
The default NBMA neighbor priority is 0.
Command
Mode
Routing process configuration mode
Usage Guide
The RGOS software must explicitly configure the neighbor information for every non-broadcast
network neighbor. The IP address of a neighbor must be the master IP address of that neighbor
interface.
In the NBMA network, if the neighbor device becomes inactive, in other words, if the Hello packet is
not received within the device dead-interval, the OSPF will send more Hello packets to the neighbor.
The interval at which the Hello packets are sent is called the polling interval. When the OSPF starts to
work for the first time, it sends Hello packets only to the neighbor whose priority is not 0, so that the
neighbor whose priority is set as 0 will not participate in the DR/BDR election. When the DR/BDR is
generated, the DR/BDR sends the Hello packets to all neighbors to establish the neighbor
relationship.
Since the point-to-multipoint non-broadcast network has no broadcast capability, neighbors cannot be
found dynamically. So, it is required to use this command to manually configure neighbor. In addition,
it is possible to configure the cost to each neighbor through the cost option for the point-to-multipoint
network type.
Configuration
Examples
The following example declares an OSPF non-broadcast network neighbor, with the IP address
172.16.24.2, priority 1 and polling interval 150 seconds.
Ruijie(config)# routerospf
20
Ruijie(config-router)# network
172.16.24.0 0.0.0.255
area 0
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...