Configuring OSPF

OSPF Configuration Examples

Command

 

Purpose

 

 

 

Router# show ip ospf

neighbor [interface-name]

Displays OSPF neighbor information on a per-interface basis.

[neighbor-id]detail

 

 

 

 

 

Router# show ip ospf

request-list [neighbor]

Displays a list of all LSAs requested by a router.

[interface] [interface-neighbor]

 

 

 

 

Router# show ip ospf

retransmission-list

Displays a list of all LSAs waiting to be resent.

[neighbor] [interface] [interface-neighbor]

 

 

 

 

Router# show ip ospf

[process-id]summary-address

Displays a list of all summary address redistribution information

 

 

configured under an OSPF process.

 

 

 

Router# show ip ospf

virtual-links

Displays OSPF-related virtual links information.

 

 

 

To restart an OSPF process, use the following command in EXEC mode:

Command

Purpose

 

 

Router# clear ip ospf [pid] {process

Clears redistribution based on the OSPF routing process ID. If

redistribution counters [neighbor

the pid option is not specified, all OSPF processes are cleared.

[neighbor-interface][neighbor-id]]}

 

 

 

OSPF Configuration Examples

The following sections provide OSPF configuration examples:

OSPF Point-to-Multipoint Example

OSPF Point-to-Multipoint, Broadcast Example

OSPF Point-to-Multipoint, Nonbroadcast Example

Variable-Length Subnet Masks Example

OSPF Routing and Route Redistribution Examples

Route Map Examples

Changing OSPF Administrative Distance Example

OSPF over On-Demand Routing Example

LSA Group Pacing Example

Block LSA Flooding Example

Ignore MOSPF LSA Packets Example

OSPF Point-to-Multipoint Example

In Figure 41, the router named Mollie uses data-link connection identifier (DLCI) 201 to communicate with the router named Neon, DLCI 202 to the router named Jelly, and DLCI 203 to the router named Platty. Neon uses DLCI 101 to communicate with Mollie and DLCI 102 to communicate with Platty. Platty communicates with Neon (DLCI 401) and Mollie (DLCI 402). Jelly communicates with Mollie (DLCI 301). Configuration examples follow the figure.

Cisco IOS IP Configuration Guide

IPC-241

Page 287
Image 287
Cisco Systems 78-11741-02 manual Ospf Configuration Examples, Ospf Point-to-Multipoint Example, IPC-241