OSPF, the abbreviation for Open Shortest Path First, is an internal gateway protocol based on link state developed by IETF. The current version of OSPF is version 2 (RFC2328). OSPF is applicable to networks of any size. Its quick convergence feature can send update message immediately after the network topology has changed, and its algorithm assures it will not generate routing loops. OSFP also have the following characteristics:
- Area division: divides the network of autonomous system into areas to facilitate management, thereby reducing the protocol’s CPU and memory utilization, and improving performance.
- Classless routing: allows the use of variable length subnet mask.
- ECMP: improves the utilization of multiple routes.
- Multicasting: reduces the impact on non-OSPF devices.
- Verification: interface-based packet verification ensures the security of the routing calculation.
Note: Autonomous system is a router and network group under the control of a management institution. All routers within an autonomous system must run the same routing protocol.
To create OSPF, take the following steps:
- Select Network > Routing > OSPF.
- From the Virtual Router drop-down list, select the Virtual Router for the new route.
- Click New.
- When running multiple OSPF processes in a VRouter, the network advertised in interfaces in each OSPF process cannot be same.
- When route entries with the same prefix exist in multiple OSPF processes, the system will compare the administrative distance of each route entry and the route entry with the lower administrative distance will be added to the VRouter's routing table. If their AD is the same, the route entry that was first discovered will be added to the routing table.
- If the OSPF route entries are redistributed to other routing protocols, the routing information of process 1 will be redistributed by default. If this process does not exist, the routing information of OSPF will not be redistributed.
- Network Address: Enter the IP address of network interface that enables OSPF protocol.
- Network Mask: Enter the mask of IP address.
- Area ID: Enter the area ID the network will be added to, in form of a 32-bit digital number, or an IP address.
- Click OK.
Enter the OSPF process ID. The default value is 1. The value ranges from 1 to 65535. Each OSPF process is individual, and has its own link state database and the related OSPF routing table. Each VRouter supports up to 4 OSPF processes and multiple OSPF processes maintain a routing table together.
When specifying the OSPF process ID, note the following matters:
|Router ID||Enter the Router ID used by OSPF protocol. Each router running OSPF protocol should be labeled with a Router ID. The Router ID is the unique identifier of an individual router in the whole OSPF domain, represented in the form of an IP address.
|HA Synchronization||Click the Enable button to enable HA synchronization. The OSPF configuration of the master and backup will be synchronized.|
|Network||Configure the network interface that enables OSPF and add the network to the specified area. Click New, and enter the network address, network mask and area ID.
|Static||Click the Enable button to introduce the static route protocol into the OSPF route and redistribute.|
|Connected||Click the Enable button to introduce the connected route protocol into the OSPF route and redistribute.|
|RIP||Click the Enable button to introduce the RIP route protocol into the OSPF route and redistribute.|
|OSPF||Click the Enable button to introduce the OSPF route protocol into the OSPF route and redistribute.|
|ISIS||Click the Enable button to introduce the ISIS route protocol into the OSPF route and redistribute.|
|BGP||Click the Enable button to introduce the BGP route protocol into the OSPF route and redistribute.|
|VPN||Click the Enable button to introduce the VPN route into the OSPF route and redistribute.|
Viewing the Neighbor Information
To view the neighbor information, take the following steps:
- Select Network > Routing > OSPF.
- Select the process ID check box, and the neighbor information will be displayed in the list below.
- Neighbor Router ID: Shows the router ID of OSPF neighbors.
- Priority: Shows the router priority. The router priority is used to determine which router will act as the designated router. The designated router will receive the link information of all the other routers in the network, and broadcast the received link information.
- Neighbor State: Shows the OSPF neighbor state. The OSPF neighbor state includes 8 types: Down, Attempt, Init, 2-Way, Exstart, Exchange, Loading and Full. The Full state includes Full/DR and Full/BDR.
- Timeout: Shows the neighbor timeout, which is the difference between dead time and hello transmission interval. The unit is second. If the OSPF doesn't receive the Hello packets from neighbor, the neighbor ship cannot be established continually.
- Neighbor IP: Shows the IP address of neighbor router.
- Local Interface: Shows the interface sends the Hello packets to the neighbor router.