User`s manual
Example: >show ip ospf routes
ROUTE MASK TOS NEXT HOP
192.168.2.0
255.255.255.0 0 0.0.0.0
>show ip ospf database lists the contents of the Link State Database
Example:
>show ip ospf database
LSA DATABASE OF AREA : 0.0.0.5
LSA Type Link ID ADV Router Age Seq#(hex) CheckSum
LSA DATABASE OF AREA : 0.0.0.4
LSA Type Link ID ADV Router Age Seq#(hex) CheckSum
Router 192.168.3.123 192.168.3.123 0 8000001B DBBF
>show ip ospf area displays a list of all OSPF areas created on this Switch
Example: >show ip ospf area
>show ip ospf neighbor displays a list of all neighboring routers running OSPF
Example: >show ip ospf neighbor
Configuration steps
Enable OSPF on the Switch by typing:
>router ospf
1.
Create all area IDs by typing:
>area create <area_id>
<area_id> is any number from 0.0.0.0 used to identify an OSPF area. Each OSPF AS must have a
backbone area, identified by 0.0.0.0. Area 0.0.0.0 already exists, you do not have to create it. An area ID
is expressed in dotted IP format. By default, all areas created are defined as normal.
2.
Identify stubby areas by typing:
>area <area_id> stub
3.
Assign interfaces to these areas using the area command:
>network <ip_address> area <area_id>
<ip_address> is the IP address of the router interface
4.
Assign a cost to each interface by entering:
>ip ospf cost <ip_address> <cost>
<cost> is the metric applied to this interface
5.
Assign a priority to each interface by entering:
>ip ospf priority <ip_address> <priority>
6.
Password protect each interface by creating an alphanumeric authentication key of up to eight characters.
Once the interface is protected, you can elect to password protect individual areas. If you want two OSPF
routers to exchange LSAs, their authentication keys must be the same.
To password protect a single interface, type:
7.
84