You seem to be confusing the port # with the protocol # ("the port number is responsible for understanding the protocol type"). Port #s are used in UDP (protocol # 17) and TCP (protocol # 6) to specify the associated process. OSFP uses protocol # 89, and does not use port #s. The protocol # is in the IP header, whereas the port #s are in the UDP and TCP headers.