474
Function:
This command configures the OSPF router connecting NBMA network. the
“
no neighbor A.B.C.D [<COST>| priority <value> | poll-interval <value>]
” command
removes this configuration fs
Parameter: <COST>,
OSPF neighbor cost value ranging between 1-65535;
priority
<value>
, neighbor priority defaulted at 0 and ranges between 0-255;
poll-interval
<value>
, 120s by default, which the polling time before neighbor relationship come into
shape , ranging between 1-65535
Default:
No default configuration
Command Mode:
OSPF protocol mode
Usage Guide:
Use this command on NBMA network to configure neighbor manually.
Every known non-broadcasting neighbor router should be configured with a neighbor
entry. The configured neighbor address should be the main address of the interface. The
poll-interval should be much larger than the hello-interval
Example:
Switch#config terminal
Switch(config)#router ospf 100
Switch(config-router)#neighbor 1.2.3.4 priority 1 poll-interval 90
Switch(config-router)#neighbor 1.2.3.4 cost 15
14.6.3.32 network area
Command: network NETWORKADDRESS area <area-id>
no network NETWORKADDRESS area <area-id>
Function:
This command enables OSPF routing function one the interface with IP
address matched with the network address. The “
no network NETWORKADDRESS
area <area-id>
“ command removes the configuration and stop OSPF on corresponding
interface.
Parameter: NETWORKADDRESS = A.B.C.D/M | A.B.C.D X.Y.Z.W,
Shown with the
network address prefix or the mask. Wildcast mask if shown in mask; <
area-id>
is the ip
address or area number shown in point divided demical system, if shown in demcial
integer, it ranges between 0~4294967295
Default:
No default
Command Mode:
OSPF protocol mode
Usage Guide:
When certain segment belongs to certain area, interface the segment
belongs will be in this area, starting hello and database interaction with the connected
neighbor.
Example:
Switch#config terminal
Switch(config)#router ospf 100