Cisco Vs Huawei CLI 9 – (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: Wide applications OSPF is applicable to networks of various sizes and even to the network consisting of hundreds of routers. Fast convergence 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). Loop-free According to the collected link status, OSPF calculates routes with the shortest path tree algorithm. This algorithm ensures the generation of loop-free routes. Area division 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. Equal-cost routes OSPF supports multiple equal-cost routes to the same destination. Routing hierarchy 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. Authentication Area-based and interface-based packet authentication guarantees the security of packet interaction. Multicast 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 188.8.131.52 0.255.255.255 area 0 NetworksHeaven(config-router)# network 184.108.40.206 0.0.0.255 area 0 NetworksHeaven(config-router)# end Useful Commands NetworksHeaven# show ip ospf interface Serial 1/0 NetworksHeaven# show ip ospf NetworksHeaven# show ip ospf neighbor NetworksHeaven# show ip route ospf|
|[NetworksHeaven] ospf 1 [NetworksHeaven-ospf-1] area 0 [NetworksHeaven-ospf-1-area-0.0.0.0] network 220.127.116.11 0.255.255.255 [NetworksHeaven-ospf-1-area-0.0.0.0] network 18.104.22.168 0.0.0.255 [NetworksHeaven-ospf-1-area-0.0.0.0] return Useful Commands <NetworksHeaven> display ospf interface Serial 1/0 <NetworksHeaven> display ospf 1 brief <NetworksHeaven> display ospf peer <NetworksHeaven> display ip routing-table protocol ospf|