What is the protocol number of OSPF used by S series switches

1

The Open Shortest Path First (OSPF) protocol is a link-state Interior Gateway Protocol (IGP) developed by the Internet Engineering Task Force (IETF). OSPF is IP-based and the protocol number is 89.

Other related questions:
Common LSA types defined by OSPF of S series switches
Question: What are the common LSAs used in OSPF of S series switches? Why Type 6 LSAs do not exist? Answer: On S series switches supporting OSPF, OSPF uses the following types of LSAs: Type 1 LSA: router LSA Type 2 LSA: network LSA Type 3 LSA: summary LSA Type 4 LSA: ASBR-summary LSA Type 5 LSA: AS-external-LSA Type 7 LSA: NSSA AS-external-LSA OSPF packets were encoded based on Type-Length-Value (TLV). To enable other OSPF functions, you need to use LSAs of other types. Type 6 LSAs, indicating group-membership-LSAs, are used to identify multicast group members in Multicast Open Shortest Path First (MOSPF). Switches do not support Type 6 LSAs. Type 8 LSAs, indicating external-attributes-LSAs, are used to import BGP routes into OSPF processes for inter-operations and reserve information about BGP routes such as AS-Path. Switches do not support Type 8 LSAs. The Opaque LSA type is defined by RFC 2370 and can use the TLV structure. Applications such as OSPF Traffic Engineering (TE) are implemented by the Opaque LSA. The Type 9 LSA is the Opaque LSA flooding on a link. The Type 10 LSA is the Opaque LSA flooding within an area. The Type 11 LSA is the Opaque LSA flooding within an AS.

How long is the default GR period of the OSPF routing protocol used by S series switches
For S series switches supporting OSPF, the default graceful restart (GR) period of the OSPF routing protocol is 120 seconds. If an OSPF neighbor relationship does not enter the Full state within 120 seconds, the GR fails. For example, when there are a large number of OSPF link-state advertisements (LSAs), LSA synchronization may not be complete within the default GR period, causing the GR to fail. In this case, run the graceful-restart period period command in the OSPF view to change the GR period on the Restarter.

What is the default STP mode for S series switches
For S (except the S1700) and E series switches, STP works in MSTP mode by default.

OSPF cost of S series switches
The ospf cost command can be executed on an S series switch that supports OSPF to configure the cost required for running the OSPF protocol on an interface. Application scenario: The interface cost can be automatically calculated by OSPF based on the interface bandwidth or manually configured by using the ospf cost command. If the costs and destination IP addresses of multiple routes discovered by one routing protocol are the same, load balancing can be implemented among the routes. Modify interface costs to implement load balancing as required. Configuration impact: If no interface cost is configured by using the ospf cost command, OSPF automatically calculates the interface cost based on the interface bandwidth. The calculation formula is as follows: Cost of the interface = Bandwidth reference value/Interface bandwidth. The integer of the calculated result is the cost of the interface. If the calculated result is smaller than 1, the cost value is 1. Changing the bandwidth reference value can change the cost of an interface. By default, the bandwidth reference value is 100 Mbit/s. Therefore, the default cost value of an Ethernet (100 Mbit/s) interface is 1 (100,000,000/the interface bandwidth). Example: Set the cost required by VLANIF 100 for running OSPF to 65. [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] ospf cost 65 Set the cost required by GE0/0/1 for running OSPF to 65. [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] ospf cost 65 Note: The cost calculated by OSPF is the cost of the route to the outbound interface of the destination network.

Maximum number of equal-cost OSPF routes supported by an S series switch
The maximum number of equal-cost OSPF routes on an S series modular switch that supports OSPF is 16 and that on an S series fixed switch that supports OSPF is 8. You can run the maximum load-balancing number command to set the maximum number of equal-cost OSPF routes.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top