ospfd provides an OSPF version 2 routing protocol as described in RFC2178. OSPF is one of IGPs (Interior Gateway Protocols). Compared with RIP, OSPF can serve much more networks and priod of convergence is very short. OSPF is widely used in large networks such as ISP backbone and enterprise network.
Menu |
---|
Configuring ospfd |
OSPF router |
OSPF area |
OSPF interface |
Redistribute routes to OSPF |
Showing OSPF information |
Debugging OSPF |
There are no ospfd specific options. Common options can be specified (See also Common Invocation Options.) to ospfd. ospfdneeds interface information from zebra. So please make it sure zebrais running before invoking ospfd
Like other daemons ospfd configuration is done in OSPF
specific configuration file ospfd.conf
To start OSPFprocess you have to specify OSPFrouter. As
of this writing ospfd does not support multiple OSPF
process.
Set OSPF authentication key for simple password. With setting AUTH_KEY,
all OSPF pakcets are authenticated. AUTH_KEY has length up to 8 chars.
Set OSPF authentication key for cryptographic password. The cryptographic
algorithm is MD5. KEYID identifies secret key used to create the
message digest. KEY is the actual message digest key up to 16 chars.
Set link cost for specified interface. The cost value is set to
router-LSA's metric field and used for SPF calculation.
Set number of seconds for RouterDeadInterval timer value used for
Wait Timer and Inactivity Timer. This value must be the same for
all routers attached to a common network. The default value is 40 seconds.
Set number of seconds for HelloInterval timer value. Setting this
value, Hello packet will be sent every timer value seconds on specified
interface. This value must be the same for all routers attached to a common
network. The default value is 10 seconds.
Set explicitly network type for specifed interface
Set RouterPriority integer value. Setting higher value, router will
be more eligible to become Designated Router. Setting the value to 0,
router is no longer eligible to Designated Router. The default value is
1.
Set number of seconds for RxmtInterval timer value. This value is
used when retransmitting Database Description and Link State
Request packets. The default value is 5 seconds.
Set nubmer of seconds for InfTransDelay value. LSAs' age
should be incremented by this value when transmitting. The default value is 1
seconds.
This file documents the GNU Zebra software which manages common
TCP/IP routing protocols.
This is Edition 0.1, last updated 5 July 2000 of `The GNU Zebra
Manual', for Zebra Version 0.88.
Copyright (C) 1999, 2000 Kunihiro Ishiguro
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
preserved on all copies.
Permission is granted to copy and distribute modified versions of
this manual under the conditions for verbatim copying, provided that the
entire resulting derived work is distributed under the terms of a
permission notice identical to this one.
Permission is granted to copy and distribute translations of this
manual into another language, under the above conditions for modified
versions, except that this permission notice may be stated in a
translation approved by Kunihiro Ishiguro.
Command: no router ospf
Enable or disable the OSPF process. ospfd does not
yet support multiple OSPF processes. So you can not specify an
OSPF process nubmer.
OSPF Command: no ospf router-id
OSPF Command: no ospf abr-type TYPE
TYPE can be:
OSPF Command: no ospf rfc1583compatibility
OSPF Command: network A.B.C.D/M area <0-4294967295>
OSPF Command: no network A.B.C.D/M area A.B.C.D
OSPF Command: no network A.B.C.D/M area <0-4294967295>
This command specifies the OSPF enabled interface. If the interface has
an address of 10.0.0.1/8 then the command below provides network information
to the ospf beasties.
router ospf
netowrk 10.0.0.0/8 area 0
The netowrk command's mask length should be the same as the interface
address's mask.
OSPF Command: area <0-4294967295> range A.B.C.D/M
OSPF Command: no area A.B.C.D range A.B.C.D/M
OSPF Command: no area <0-4294967295> range A.B.C.D/M
OSPF Command: no area A.B.C.D range IPV4_PREFIX suppress
OSPF Command: area A.B.C.D range IPV4_PREFIX suppress substitute IPV4_PREFIX
OSPF Command: no area A.B.C.D range IPV4_PREFIX suppress substitute IPV4_PREFIX
OSPF Command: area <0-4294967295> virutal-link A.B.C.D
OSPF Command: no area A.B.C.Dvirtual-link A.B.C.D
OSPF Command: no area <0-4294967295> virutal-link A.B.C.D
OSPF Command: area <0-4294967295> shortcut
OSPF Command: no area A.B.C.D shortcut
OSPF Command: no area <0-4294967295> shortcut
OSPF Command: area <0-4294967295> stub
OSPF Command: no area A.B.C.D stub
OSPF Command: no area <0-4294967295> stub
OSPF Command: area <0-4294967295> stub no-summary
OSPF Command: no area A.B.C.D stub no-summary
OSPF Command: no area <0-4294967295> stub no-summary
OSPF Command: area <0-4294967295> default-cost <0-16777215>
OSPF Command: no area A.B.C.D default-cost <0-16777215>
OSPF Command: no area <0-4294967295> default-cost <0-16777215>
OSPF Command: area <0-4294967295> export-list NAME
OSPF Command: no area A.B.C.D export-list NAME
OSPF Command: no area <0-4294967295> export-list NAME
OSPF Command: area <0-4294967295> import-list NAME
OSPF Command: no area A.B.C.D import-list NAME
OSPF Command: no area <0-4294967295> import-list NAME
OSPF Command: area <0-4294967295> authentication
OSPF Command: no area A.B.C.D authentication
OSPF Command: no area <0-4294967295> authentication
OSPF Command: area <0-4294967295> authentication message-digest
Interface Command: no ip ospf authentication-key
Interface Command: no ip ospf message-digest-key
Interface Command: no ip ospf cost
Interface Command: no ip ospf dead-intercal
Interface Command: no ip ospf hello-intercal
Interface Command: no ip ospf network
Interface Command: no ip ospf prioirty
Interface Command: no ip ospf retransmit-intercal
Interface Command: no ip ospf transmit-delay
OSPF Command: no router zebra
Command: show ip ospf neighbor INTEFACE
Command: show ip ospf neighbor detail
Command: show ip ospf neighbor INTERFACE detail