paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 1 | @node OSPFv2, OSPFv3, RIPng, Top |
| 2 | @comment node-name, next, previous, up |
| 3 | @chapter OSPFv2 |
| 4 | |
| 5 | OSPF version 2 is a routing protocol which described in |
| 6 | @asis{RFC2328} - @cite{OSPF Version 2}. OSPF is IGP (Interior Gateway |
| 7 | Protocols). Compared with RIP, OSPF can provide scalable network |
| 8 | support and faster convergence time. OSPF is widely used in large |
| 9 | networks such as ISP backbone and enterprise networks. |
| 10 | |
| 11 | @menu |
| 12 | * Configuring ospfd:: |
| 13 | * OSPF router:: |
| 14 | * OSPF area:: |
| 15 | * OSPF interface:: |
| 16 | * Redistribute routes to OSPF:: |
| 17 | * Showing OSPF information:: |
| 18 | * Debugging OSPF:: |
| 19 | @end menu |
| 20 | |
| 21 | @node Configuring ospfd, OSPF router, OSPFv2, OSPFv2 |
| 22 | @comment node-name, next, previous, up |
| 23 | @section Configuring ospfd |
| 24 | |
| 25 | There is no @command{ospfd} specific options. Common options can be |
| 26 | specified (@pxref{Common Invocation Options}) to @command{ospfd}. |
| 27 | @command{ospfd} needs interface information from @command{zebra}. So |
| 28 | please make it sure @command{zebra} is running before invoking |
| 29 | @command{ospfd}. |
| 30 | |
| 31 | Like other daemons, @command{ospfd} configuration is done in OSPF |
| 32 | specific configuration file @file{ospfd.conf}. |
| 33 | |
| 34 | @node OSPF router, OSPF area, Configuring ospfd, OSPFv2 |
| 35 | @comment node-name, next, previous, up |
| 36 | @section OSPF router |
| 37 | |
| 38 | To start OSPF process you have to specify the OSPF router. As of this |
| 39 | writing, @command{ospfd} does not support multiple OSPF processes. |
| 40 | |
| 41 | @deffn Command {router ospf} {} |
| 42 | @deffnx Command {no router ospf} {} |
| 43 | Enable or disable the OSPF process. @command{ospfd} does not yet |
| 44 | support multiple OSPF processes. So you can not specify an OSPF process |
| 45 | number. |
| 46 | @end deffn |
| 47 | |
| 48 | @deffn {OSPF Command} {ospf router-id @var{a.b.c.d}} {} |
| 49 | @deffnx {OSPF Command} {no ospf router-id} {} |
| 50 | @end deffn |
| 51 | |
| 52 | @deffn {OSPF Command} {ospf abr-type @var{type}} {} |
| 53 | @deffnx {OSPF Command} {no ospf abr-type @var{type}} {} |
| 54 | @var{type} can be cisco|ibm|shortcut|standard |
paul | d4f5031 | 2003-01-22 19:26:00 +0000 | [diff] [blame] | 55 | More information regarding the behaviour controlled by this command can |
| 56 | be found in draft-ietf-ospf-abr-alt-05.txt and |
| 57 | draft-ietf-ospf-shortcut-abr-02.txt |
| 58 | Quote: "Though the definition of the Area Border Router (ABR) |
| 59 | in the OSPF specification does not require a router with multiple |
| 60 | attached areas to have a backbone connection, it is actually |
| 61 | necessary to provide successful routing to the inter-area and |
| 62 | external destinations. If this requirement is not met, all traffic |
| 63 | destined for the areas not connected to such an ABR or out of the |
| 64 | OSPF domain, is dropped. This document describes alternative ABR |
| 65 | behaviors implemented in Cisco and IBM routers." |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 66 | @end deffn |
| 67 | |
| 68 | @deffn {OSPF Command} {ospf rfc1583compatibility} {} |
| 69 | @deffnx {OSPF Command} {no ospf rfc1583compatibility} {} |
paul | 37163d6 | 2003-02-03 18:40:56 +0000 | [diff] [blame] | 70 | This rfc2328, the sucessor to rfc1583, suggests according to section |
| 71 | G.2 (changes) in section 16.4 a change to the path preference |
| 72 | algorithm that prevents possible routing loops that were possible in |
| 73 | the old version of OSPFv2. More specifically it demands that inter-area |
| 74 | paths and intra-area path are now of equal preference but still both |
| 75 | preferred to external paths. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 76 | @end deffn |
| 77 | |
| 78 | @deffn {OSPF Command} {passive interface @var{interface}} {} |
| 79 | @deffnx {OSPF Command} {no passive interface @var{interface}} {} |
| 80 | @end deffn |
| 81 | |
| 82 | @deffn {OSPF Command} {timers spf <0-4294967295> <0-4294967295>} {} |
| 83 | @deffnx {OSPF Command} {no timers spf} {} |
| 84 | @end deffn |
| 85 | |
| 86 | @deffn {OSPF Command} {refresh group-limit <0-10000>} {} |
| 87 | @deffnx {OSPF Command} {refresh per-slice <0-10000>} {} |
| 88 | @deffnx {OSPF Command} {refresh age-diff <0-10000>} {} |
| 89 | @end deffn |
| 90 | |
| 91 | @deffn {OSPF Command} {auto-cost refrence-bandwidth <1-4294967>} {} |
| 92 | @deffnx {OSPF Command} {no auto-cost refrence-bandwidth} {} |
| 93 | @end deffn |
| 94 | |
| 95 | @deffn {OSPF Command} {network @var{a.b.c.d/m} area @var{a.b.c.d}} {} |
| 96 | @deffnx {OSPF Command} {network @var{a.b.c.d/m} area @var{<0-4294967295>}} {} |
| 97 | @deffnx {OSPF Command} {no network @var{a.b.c.d/m} area @var{a.b.c.d}} {} |
| 98 | @deffnx {OSPF Command} {no network @var{a.b.c.d/m} area @var{<0-4294967295>}} {} |
hasso | a5b2b59 | 2004-04-17 10:09:29 +0000 | [diff] [blame] | 99 | This command specifies the OSPF enabled interface(s). If the interface has |
| 100 | an address from range 192.168.1.0/24 then the command below enables ospf |
| 101 | on this interface so router can provide network information to the other |
| 102 | ospf routers via this interface. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 103 | @example |
| 104 | @group |
| 105 | router ospf |
hasso | a5b2b59 | 2004-04-17 10:09:29 +0000 | [diff] [blame] | 106 | network 192.168.1.0/24 area 0.0.0.0 |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 107 | @end group |
| 108 | @end example |
hasso | a5b2b59 | 2004-04-17 10:09:29 +0000 | [diff] [blame] | 109 | Prefix length in interface must be equal or bigger (ie. smaller network) than |
| 110 | prefix length in network statement. For example statement above doesn't enable |
| 111 | ospf on interface with address 192.168.1.1/23, but it does on interface with |
| 112 | address 192.168.1.129/25. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 113 | @end deffn |
| 114 | |
| 115 | @node OSPF area, OSPF interface, OSPF router, OSPFv2 |
| 116 | @comment node-name, next, previous, up |
| 117 | @section OSPF area |
| 118 | |
| 119 | @deffn {OSPF Command} {area @var{a.b.c.d} range @var{a.b.c.d/m}} {} |
| 120 | @deffnx {OSPF Command} {area <0-4294967295> range @var{a.b.c.d/m}} {} |
| 121 | @deffnx {OSPF Command} {no area @var{a.b.c.d} range @var{a.b.c.d/m}} {} |
| 122 | @deffnx {OSPF Command} {no area <0-4294967295> range @var{a.b.c.d/m}} {} |
hasso | 63869f1 | 2004-04-19 14:43:46 +0000 | [diff] [blame] | 123 | Summarize intra area paths from specified area into one Type-3 summary-LSA |
| 124 | announced to other areas. This command can be used only in ABR and ONLY |
| 125 | router-LSAs (Type-1) and network-LSAs (Type-2) (ie. LSAs with scope area) can |
| 126 | be summarized. Type-5 AS-external-LSAs can't be summarized - their scope is AS. |
| 127 | Summarizing Type-7 AS-external-LSAs isn't supported yet by Quagga. |
| 128 | @example |
| 129 | @group |
| 130 | router ospf |
| 131 | network 192.168.1.0/24 area 0.0.0.0 |
| 132 | network 10.0.0.0/8 area 0.0.0.10 |
| 133 | area 0.0.0.10 range 10.0.0.0/8 |
| 134 | @end group |
| 135 | @end example |
| 136 | With configuration above one Type-3 Summary-LSA with routing info 10.0.0.0/8 is |
| 137 | announced into backbone area if area 0.0.0.10 contains at least one intra-area |
| 138 | network (ie. described with router or network LSA) from this range. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 139 | @end deffn |
| 140 | |
hasso | 63869f1 | 2004-04-19 14:43:46 +0000 | [diff] [blame] | 141 | @deffn {OSPF Command} {area @var{a.b.c.d} range IPV4_PREFIX not-advertise} {} |
| 142 | @deffnx {OSPF Command} {no area @var{a.b.c.d} range IPV4_PREFIX not-advertise} {} |
| 143 | Instead of summarizing intra area paths filter them - ie. intra area paths from this |
| 144 | range are not advertised into other areas. |
| 145 | This command makes sense in ABR only. |
| 146 | @end deffn |
| 147 | |
hasso | 6b3fac0 | 2004-04-20 04:11:36 +0000 | [diff] [blame] | 148 | @deffn {OSPF Command} {area @var{a.b.c.d} range IPV4_PREFIX substitute IPV4_PREFIX} {} |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 149 | @deffnx {OSPF Command} {no area @var{a.b.c.d} range IPV4_PREFIX substitute IPV4_PREFIX} {} |
hasso | 63869f1 | 2004-04-19 14:43:46 +0000 | [diff] [blame] | 150 | Substitute summarized prefix with another prefix. |
| 151 | @example |
| 152 | @group |
| 153 | router ospf |
| 154 | network 192.168.1.0/24 area 0.0.0.0 |
| 155 | network 10.0.0.0/8 area 0.0.0.10 |
| 156 | area 0.0.0.10 range 10.0.0.0/8 substitute 11.0.0.0/8 |
| 157 | @end group |
| 158 | @end example |
| 159 | One Type-3 summary-LSA with routing info 11.0.0.0/8 is announced into backbone area if |
| 160 | area 0.0.0.10 contains at least one intra-area network (ie. described with router-LSA or |
| 161 | network-LSA) from range 10.0.0.0/8. |
| 162 | This command makes sense in ABR only. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 163 | @end deffn |
| 164 | |
| 165 | @deffn {OSPF Command} {area @var{a.b.c.d} virtual-link @var{a.b.c.d}} {} |
| 166 | @deffnx {OSPF Command} {area <0-4294967295> virtual-link @var{a.b.c.d}} {} |
| 167 | @deffnx {OSPF Command} {no area @var{a.b.c.d} virtual-link @var{a.b.c.d}} {} |
| 168 | @deffnx {OSPF Command} {no area <0-4294967295> virtual-link @var{a.b.c.d}} {} |
| 169 | @end deffn |
| 170 | |
| 171 | @deffn {OSPF Command} {area @var{a.b.c.d} shortcut} {} |
| 172 | @deffnx {OSPF Command} {area <0-4294967295> shortcut} {} |
| 173 | @deffnx {OSPF Command} {no area @var{a.b.c.d} shortcut} {} |
| 174 | @deffnx {OSPF Command} {no area <0-4294967295> shortcut} {} |
| 175 | @end deffn |
| 176 | |
| 177 | @deffn {OSPF Command} {area @var{a.b.c.d} stub} {} |
| 178 | @deffnx {OSPF Command} {area <0-4294967295> stub} {} |
| 179 | @deffnx {OSPF Command} {no area @var{a.b.c.d} stub} {} |
| 180 | @deffnx {OSPF Command} {no area <0-4294967295> stub} {} |
| 181 | @end deffn |
| 182 | |
| 183 | @deffn {OSPF Command} {area @var{a.b.c.d} stub no-summary} {} |
| 184 | @deffnx {OSPF Command} {area <0-4294967295> stub no-summary} {} |
| 185 | @deffnx {OSPF Command} {no area @var{a.b.c.d} stub no-summary} {} |
| 186 | @deffnx {OSPF Command} {no area <0-4294967295> stub no-summary} {} |
| 187 | @end deffn |
| 188 | |
| 189 | @deffn {OSPF Command} {area @var{a.b.c.d} default-cost <0-16777215>} {} |
| 190 | @deffnx {OSPF Command} {no area @var{a.b.c.d} default-cost <0-16777215>} {} |
| 191 | @end deffn |
| 192 | |
| 193 | @deffn {OSPF Command} {area @var{a.b.c.d} export-list NAME} {} |
| 194 | @deffnx {OSPF Command} {area <0-4294967295> export-list NAME} {} |
| 195 | @deffnx {OSPF Command} {no area @var{a.b.c.d} export-list NAME} {} |
| 196 | @deffnx {OSPF Command} {no area <0-4294967295> export-list NAME} {} |
hasso | 63869f1 | 2004-04-19 14:43:46 +0000 | [diff] [blame] | 197 | Filter Type-3 summary-LSAs announced to other areas originated from intra- |
| 198 | area paths from specified area. |
| 199 | @example |
| 200 | @group |
| 201 | router ospf |
| 202 | network 192.168.1.0/24 area 0.0.0.0 |
| 203 | network 10.0.0.0/8 area 0.0.0.10 |
| 204 | area 0.0.0.10 export-list foo |
| 205 | ! |
| 206 | access-list foo permit 10.10.0.0/16 |
| 207 | access-list foo deny any |
| 208 | @end group |
| 209 | @end example |
| 210 | With example above any intra-area paths from area 0.0.0.10 and from range |
| 211 | 10.10.0.0/16 (for example 10.10.1.0/24 and 10.10.2.128/30) are announced into |
| 212 | other areas as Type-3 summary-LSA's, but any others (for example 10.11.0.0/16 |
| 213 | or 10.128.30.16/30) aren't. |
hasso | c266ac7 | 2004-04-19 17:31:00 +0000 | [diff] [blame] | 214 | This command makes sense in ABR only. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 215 | @end deffn |
| 216 | |
| 217 | @deffn {OSPF Command} {area @var{a.b.c.d} import-list NAME} {} |
| 218 | @deffnx {OSPF Command} {area <0-4294967295> import-list NAME} {} |
| 219 | @deffnx {OSPF Command} {no area @var{a.b.c.d} import-list NAME} {} |
| 220 | @deffnx {OSPF Command} {no area <0-4294967295> import-list NAME} {} |
hasso | 63869f1 | 2004-04-19 14:43:46 +0000 | [diff] [blame] | 221 | Same as export-list, but it applies to paths announced into specified area as |
| 222 | Type-3 summary-LSAs. |
| 223 | @end deffn |
| 224 | |
hasso | 808c0a7 | 2004-04-19 15:10:20 +0000 | [diff] [blame] | 225 | @deffn {OSPF Command} {area @var{a.b.c.d} filter-list prefix NAME in} {} |
| 226 | @deffnx {OSPF Command} {area @var{a.b.c.d} filter-list prefix NAME out} {} |
| 227 | @deffnx {OSPF Command} {area <0-4294967295> filter-list prefix NAME in} {} |
| 228 | @deffnx {OSPF Command} {area <0-4294967295> filter-list prefix NAME out} {} |
| 229 | @deffnx {OSPF Command} {no area @var{a.b.c.d} filter-list prefix NAME in} {} |
| 230 | @deffnx {OSPF Command} {no area @var{a.b.c.d} filter-list prefix NAME out} {} |
| 231 | @deffnx {OSPF Command} {no area <0-4294967295> filter-list prefix NAME in} {} |
| 232 | @deffnx {OSPF Command} {no area <0-4294967295> filter-list prefix NAME out} {} |
hasso | c266ac7 | 2004-04-19 17:31:00 +0000 | [diff] [blame] | 233 | Filtering Type-3 summary-LSAs to/from area using prefix lists. This command |
| 234 | makes sense in ABR only. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 235 | @end deffn |
| 236 | |
| 237 | @deffn {OSPF Command} {area @var{a.b.c.d} authentication} {} |
| 238 | @deffnx {OSPF Command} {area <0-4294967295> authentication} {} |
| 239 | @deffnx {OSPF Command} {no area @var{a.b.c.d} authentication} {} |
| 240 | @deffnx {OSPF Command} {no area <0-4294967295> authentication} {} |
| 241 | @end deffn |
| 242 | |
| 243 | @deffn {OSPF Command} {area @var{a.b.c.d} authentication message-digest} {} |
| 244 | @deffnx {OSPF Command} {area <0-4294967295> authentication message-digest} {} |
| 245 | @end deffn |
| 246 | |
| 247 | @node OSPF interface, Redistribute routes to OSPF, OSPF area, OSPFv2 |
| 248 | @comment node-name, next, previous, up |
| 249 | @section OSPF interface |
| 250 | |
| 251 | @deffn {Interface Command} {ip ospf authentication-key AUTH_KEY} {} |
| 252 | @deffnx {Interface Command} {no ip ospf authentication-key} {} |
| 253 | Set OSPF authentication key to a simple password. After setting @var{AUTH_KEY}, |
| 254 | all OSPF packets are authenticated. @var{AUTH_KEY} has length up to 8 chars. |
| 255 | @end deffn |
| 256 | |
| 257 | @deffn {Interface Command} {ip ospf message-digest-key KEYID md5 KEY} {} |
| 258 | @deffnx {Interface Command} {no ip ospf message-digest-key} {} |
| 259 | Set OSPF authentication key to a cryptographic password. The cryptographic |
| 260 | algorithm is MD5. KEYID identifies secret key used to create the message |
paul | 4fc7085 | 2004-09-12 05:48:35 +0000 | [diff] [blame] | 261 | digest. KEY is the actual message digest key up to 16 chars. Note that OSPF |
| 262 | MD5 authentication requires that time never go backwards, even across |
| 263 | resets, if ospfd is to be able to promptly reestabish adjacencies with it's |
| 264 | neighbours after restarts/reboots. The host should have system time be set |
| 265 | at boot from an external source (eg battery backed clock, NTP, etc.) if MD5 |
| 266 | authentication is to be expected to work reliably. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 267 | @end deffn |
| 268 | |
| 269 | @deffn {Interface Command} {ip ospf cost <1-65535>} {} |
| 270 | @deffnx {Interface Command} {no ip ospf cost} {} |
| 271 | Set link cost for the specified interface. The cost value is set to router-LSA's |
| 272 | metric field and used for SPF calculation. |
| 273 | @end deffn |
| 274 | |
| 275 | @deffn {Interface Command} {ip ospf dead-interval <1-65535>} {} |
| 276 | @deffnx {Interface Command} {no ip ospf dead-interval} {} |
| 277 | Set number of seconds for RouterDeadInterval timer value used for Wait Timer |
| 278 | and Inactivity Timer. This value must be the same for all routers attached |
| 279 | to a common network. The default value is 40 seconds. |
| 280 | @end deffn |
| 281 | |
| 282 | @deffn {Interface Command} {ip ospf hello-interval <1-65535>} {} |
| 283 | @deffnx {Interface Command} {no ip ospf hello-interval} {} |
| 284 | Set number of seconds for HelloInterval timer value. Setting this value, |
| 285 | Hello packet will be sent every timer value seconds on the specified interface. |
| 286 | This value must be the same for all routers attached to a common network. |
| 287 | The default value is 10 seconds. |
| 288 | @end deffn |
| 289 | |
| 290 | @deffn {Interface Command} {ip ospf network (broadcast|non-broadcast|point-to-multipoint|point-to-point)} {} |
| 291 | @deffnx {Interface Command} {no ip ospf network} {} |
| 292 | Set explicitly network type for specifed interface. |
| 293 | @end deffn |
| 294 | |
| 295 | @deffn {Interface Command} {ip ospf priority <0-255>} {} |
| 296 | @deffnx {Interface Command} {no ip ospf priority} {} |
| 297 | Set RouterPriority integer value. Setting higher value, router will be more |
| 298 | eligible to become Designated Router. Setting the value to 0, router is no |
| 299 | longer eligible to Designated Router. |
| 300 | The default value is 1. |
| 301 | @end deffn |
| 302 | |
| 303 | @deffn {Interface Command} {ip ospf retransmit-interval <1-65535>} {} |
| 304 | @deffnx {Interface Command} {no ip ospf retransmit interval} {} |
| 305 | Set number of seconds for RxmtInterval timer value. This value is used |
| 306 | when retransmitting Database Description and Link State Request packets. |
| 307 | The default value is 5 seconds. |
| 308 | @end deffn |
| 309 | |
| 310 | @deffn {Interface Command} {ip ospf transmit-delay} {} |
| 311 | @deffnx {Interface Command} {no ip ospf transmit-delay} {} |
| 312 | Set number of seconds for InfTransDelay value. LSAs' age should be |
| 313 | incremented by this value when transmitting. |
| 314 | The default value is 1 seconds. |
| 315 | @end deffn |
| 316 | |
| 317 | @node Redistribute routes to OSPF, Showing OSPF information, OSPF interface, OSPFv2 |
| 318 | @comment node-name, next, previous, up |
| 319 | @section Redistribute routes to OSPF |
| 320 | |
| 321 | @deffn {OSPF Command} {redistribute (kernel|connected|static|rip|bgp)} {} |
| 322 | @deffnx {OSPF Command} {redistribute (kernel|connected|static|rip|bgp) @var{route-map}} {} |
| 323 | @deffnx {OSPF Command} {redistribute (kernel|connected|static|rip|bgp) metric-type (1|2)} {} |
| 324 | @deffnx {OSPF Command} {redistribute (kernel|connected|static|rip|bgp) metric-type (1|2) route-map @var{word}} {} |
| 325 | @deffnx {OSPF Command} {redistribute (kernel|connected|static|rip|bgp) metric <0-16777214>} {} |
| 326 | @deffnx {OSPF Command} {redistribute (kernel|connected|static|rip|bgp) metric <0-16777214> route-map @var{word}} {} |
| 327 | @deffnx {OSPF Command} {redistribute (kernel|connected|static|rip|bgp) metric-type (1|2) metric <0-16777214>} {} |
| 328 | @deffnx {OSPF Command} {redistribute (kernel|connected|static|rip|bgp) metric-type (1|2) metric <0-16777214> route-map @var{word}} {} |
| 329 | @deffnx {OSPF Command} {no redistribute (kernel|connected|static|rip|bgp)} {} |
| 330 | @end deffn |
| 331 | |
| 332 | @deffn {OSPF Command} {default-information originate} {} |
| 333 | @deffnx {OSPF Command} {default-information originate metric <0-16777214>} {} |
| 334 | @deffnx {OSPF Command} {default-information originate metric <0-16777214> metric-type (1|2)} {} |
| 335 | @deffnx {OSPF Command} {default-information originate metric <0-16777214> metric-type (1|2) route-map @var{word}} {} |
| 336 | @deffnx {OSPF Command} {default-information originate always} {} |
| 337 | @deffnx {OSPF Command} {default-information originate always metric <0-16777214>} {} |
| 338 | @deffnx {OSPF Command} {default-information originate always metric <0-16777214> metric-type (1|2)} {} |
| 339 | @deffnx {OSPF Command} {default-information originate always metric <0-16777214> metric-type (1|2) route-map @var{word}} {} |
| 340 | @deffnx {OSPF Command} {no default-information originate} {} |
| 341 | @end deffn |
| 342 | |
| 343 | @deffn {OSPF Command} {distribute-list NAME out (kernel|connected|static|rip|ospf} {} |
| 344 | @deffnx {OSPF Command} {no distribute-list NAME out (kernel|connected|static|rip|ospf} {} |
| 345 | @end deffn |
| 346 | |
| 347 | @deffn {OSPF Command} {default-metric <0-16777214>} {} |
| 348 | @deffnx {OSPF Command} {no default-metric} {} |
| 349 | @end deffn |
| 350 | |
| 351 | @deffn {OSPF Command} {distance <1-255>} {} |
| 352 | @deffnx {OSPF Command} {no distance <1-255>} {} |
| 353 | @end deffn |
| 354 | |
| 355 | @deffn {OSPF Command} {distance ospf (intra-area|inter-area|external) <1-255>} {} |
| 356 | @deffnx {OSPF Command} {no distance ospf} {} |
| 357 | @end deffn |
| 358 | |
| 359 | @deffn {Command} {router zebra} {} |
| 360 | @deffnx {Command} {no router zebra} {} |
| 361 | @end deffn |
| 362 | |
| 363 | @node Showing OSPF information, Debugging OSPF, Redistribute routes to OSPF, OSPFv2 |
| 364 | @comment node-name, next, previous, up |
| 365 | @section Showing OSPF information |
| 366 | |
| 367 | @deffn {Command} {show ip ospf} {} |
| 368 | @end deffn |
| 369 | |
| 370 | @deffn {Command} {show ip ospf interface [INTERFACE]} {} |
| 371 | @end deffn |
| 372 | |
| 373 | @deffn {Command} {show ip ospf neighbor} {} |
| 374 | @deffnx {Command} {show ip ospf neighbor INTERFACE} {} |
| 375 | @deffnx {Command} {show ip ospf neighbor detail} {} |
| 376 | @deffnx {Command} {show ip ospf neighbor INTERFACE detail} {} |
| 377 | @end deffn |
| 378 | |
| 379 | @deffn {Command} {show ip ospf database} {} |
| 380 | @end deffn |
| 381 | |
| 382 | @deffn {Command} {show ip ospf database (asbr-summary|external|network|router|summary)} {} |
| 383 | @deffnx {Command} {show ip ospf database (asbr-summary|external|network|router|summary) @var{link-state-id}} {} |
| 384 | @deffnx {Command} {show ip ospf database (asbr-summary|external|network|router|summary) @var{link-state-id} adv-router @var{adv-router}} {} |
| 385 | @deffnx {Command} {show ip ospf database (asbr-summary|external|network|router|summary) adv-router @var{adv-router}} {} |
| 386 | @deffnx {Command} {show ip ospf database (asbr-summary|external|network|router|summary) @var{link-state-id} self-originate} {} |
| 387 | @deffnx {Command} {show ip ospf database (asbr-summary|external|network|router|summary) self-originate} {} |
| 388 | @end deffn |
| 389 | |
| 390 | @deffn {Command} {show ip ospf database max-age} {} |
| 391 | @end deffn |
| 392 | |
| 393 | @deffn {Command} {show ip ospf database self-originate} {} |
| 394 | @end deffn |
| 395 | |
| 396 | @deffn {Command} {show ip ospf refresher} {} |
| 397 | @end deffn |
| 398 | |
| 399 | @deffn {Command} {show ip ospf route} {} |
| 400 | @end deffn |
| 401 | |
| 402 | @node Debugging OSPF, , Showing OSPF information, OSPFv2 |
| 403 | @comment node-name, next, previous, up |
| 404 | @section Debugging OSPF |
| 405 | |
| 406 | @deffn {Command} {debug ospf packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv) [detail]} {} |
| 407 | @deffnx {Command} {no debug ospf packet (hello|dd|ls-request|ls-update|ls-ack|all) (send|recv) [detail]} {} |
| 408 | @end deffn |
| 409 | |
| 410 | @deffn {Command} {debug ospf ism} {} |
| 411 | @deffnx {Command} {debug ospf ism (status|events|timers)} {} |
| 412 | @deffnx {Command} {no debug ospf ism} {} |
| 413 | @deffnx {Command} {no debug ospf ism (status|events|timers)} {} |
| 414 | @end deffn |
| 415 | |
| 416 | @deffn {Command} {debug ospf nsm} {} |
| 417 | @deffnx {Command} {debug ospf nsm (status|events|timers)} {} |
| 418 | @deffnx {Command} {no debug ospf nsm} {} |
| 419 | @deffnx {Command} {no debug ospf nsm (status|events|timers)} {} |
| 420 | @end deffn |
| 421 | |
| 422 | @deffn {Command} {debug ospf lsa} {} |
| 423 | @deffnx {Command} {debug ospf lsa (generate|flooding|refresh)} {} |
| 424 | @deffnx {Command} {no debug ospf lsa} {} |
| 425 | @deffnx {Command} {no debug ospf lsa (generate|flooding|refresh)} {} |
| 426 | @end deffn |
| 427 | |
| 428 | @deffn {Command} {debug ospf zebra} {} |
| 429 | @deffnx {Command} {debug ospf zebra (interface|redistribute)} {} |
| 430 | @deffnx {Command} {no debug ospf zebra} {} |
| 431 | @deffnx {Command} {no debug ospf zebra (interface|redistribute)} {} |
| 432 | @end deffn |
| 433 | |
| 434 | @deffn {Command} {show debugging ospf} {} |
| 435 | @end deffn |
| 436 | |