Cisco Vs Huawei LAB I – (Configuring OSPF)
OSPF is a link-state IGP. At present, OSPFv2 is intended for IPv4. Defined by the Internet Engineering Task Force (IETF), the Open Shortest Path First (OSPF) protocol is an Interior Gateway Protocol (IGP) implemented on the basis of the link status.
OSPF has the following features:
OSPF is applicable to networks of various sizes and even to the network consisting of hundreds of routers.
Once the network topology changes, Update packets are transmitted to synchronize the link state databases (LSDBs) of all the routers within the Autonomous System (AS).
According to the collected link status, OSPF calculates routes with the shortest path tree algorithm. This algorithm ensures the generation of loop-free routes.
An AS can be divided into different areas to facilitate AS management. After the area partition, an LSDB stores routing information only of the local area. The reduce of LSDB size dramatically reduces memory and CPU usage. In addition, less bandwidth is consumed because of the decrease in routing information transmitted within the AS.
OSPF supports multiple equal-cost routes to the same destination.
Four types of routing are available. They are listed in the descending order of priority: intraarea routes, inter-area routes, Type 1 external routes, and Type 2 external routes.
Area-based and interface-based packet authentication guarantees the security of packet interaction.
Multicast packets are transmitted only on certain types of links to reduce the interference for some devices.
|NetworksHeaven(config)# router ospf 1
NetworksHeaven(config-router)# network 220.127.116.11 0.255.255.255 area 0
NetworksHeaven(config-router)# network 18.104.22.168 0.0.0.255 area 0
|[NetworksHeaven] ospf 1
[NetworksHeaven-ospf-1] area 0
[NetworksHeaven-ospf-1-area-0.0.0.0] network 22.214.171.124 0.255.255.255
[NetworksHeaven-ospf-1-area-0.0.0.0] network 126.96.36.199 0.0.0.255