Network elements in a synchronous network may use several sources as synchronization references (e.g., external timing sources, terminating line signals, or an internal clock). Synchronization Status Messaging (SSM) allows a network, such as a Synchronous Optical Network (SONET), to manage the distribution of timing in synchronous networks. It provides a mechanism for downstream nodes of the network to determine the traceability of the synchronization distribution scheme back to a primary reference clock or highest quality clock that is available. In SONET networks, the messages are sent in SONET signals via the SI overhead byte and communicate clock quality information so that network elements within the synchronous network can select the most suitable synchronization reference available in the network and can avoid timing loops.
According to one example embodiment of the present invention, a node in a protection packet ring network includes a packet generation module that generates packets with information embedded in the packets. The information is relevant to both selection of timing and selection of an interface to a physical link. The node also includes a transmission module that transmits the packets via respective interfaces to adjacent nodes on the protection packet ring.
According to another example embodiment, a node in a protection packet ring network includes an observation module that observes information embedded in packets received from other nodes. The information identifies interfaces to physical links of the other nodes from which the packets were received. The node also includes a comparison module that compares the information of the packets to select which timing information included in the packets to use for clock timing in the node.
The foregoing will be apparent from the following more particular description of example embodiments of the invention, as illustrated in the accompanying drawings in which like reference characters refer to the same parts throughout the different views. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating embodiments of the present invention.
A description of example embodiments of the invention follows.
Ethernet was originally designed to handle asynchronous data (i.e., data that does not require a synchronous network); however, newer applications, such as the transport of circuit emulation services, video distribution, and the distribution of synchronization over packet networks, require a synchronous Ethernet network.
Typically, a TDM circuit service provider maintains a timing distribution network, providing synchronization traceable to a primary reference clock. While synchronization in existing TDM networks, such as SONET networks, is well understood and implemented, the nodes involved in typical packet-oriented transmission technology (e.g., ATM network nodes) do not require any synchronization capabilities for packet switching. As packet networks begin to integrate TDM-based applications, however, packet networks need to provide correct timing at traffic interfaces.
Implementing a synchronous Ethernet involves distributing synchronization status messages between nodes in the network for timing reference switching or selection. To accomplish this, the International Telecommunication Union (ITU) recommends in G.8261 encoding Synchronization Status Messaging (SSM) messages into a type of message standardized by the Institute of Electrical and Electronics Engineers (IEEE). That type of standardized message is an IEEE 802.3ah Operations Administration and Maintenance (OAM) message, also known as Ethernet in the First Mile.
Since IEEE 802.3ah is applicable only to point-to-point single hop links; it is not applicable to ring topologies. There is, therefore, no current way to distribute SSM messages over Resilient Packet Ring (RPR) networks. Accordingly, a method to distribute IEEE 802.3ah OAM based SSM messages over an RPR network is desired.
According to one example embodiment of the present invention, a node in a protection packet ring network includes a packet generation module that generates packets with information embedded in the packets. The information is relevant to both selection of timing and an interface to a physical link. The node also includes a transmission module that transmits the packets via respective interfaces to adjacent nodes on the protection packet ring.
The node may also include an observation module that observes information embedded in other packets identifying interfaces to physical links of the adjacent nodes from which the other packets were received, and may also include a comparison module that compares the information of the other packets to select which timing information included in the packets to use for clock timing in the node.
The information may include a direction indicator and a timing quality indicator, an interface identifier and a timing quality indicator, a station identifier and a timing quality indicator, or Synchronization Status Messaging (SSM) information, and may be embedded in an overhead section of the packets. Additionally, the transmission module may determine on which interfaces to transmit the packets by accessing a table associated with a protection layer. The transmission module also may disable transmission of packets via a protection path associated with a faulty physical link.
According to another example embodiment, a node in a protection packet ring network includes an observation module that observes information embedded in packets received from other nodes. The information of the packets identifies interfaces to physical links of the other nodes from which the packets were received. The node also includes a comparison module that compares the information of the packets to select which timing information included in the packets to use for clock timing in the node. Additionally, the observation module may remove Resilient Packet Ring (RPR) identifiers from the packets.
Resilient Packet Ring (RPR) in noun form refers to a ring-based network protocol that supports bridging to other network protocols, such as Ethernet. Today's RPR uses 48-bit source and destination Media Access Control (MAC) addresses in the same format as Ethernet. When an Ethernet frame is bridged onto an RPR ring, an RPR station on the ring encapsulates the Ethernet frame with an RPR header in an RPR frame. Likewise, when a station copies an RPR frame from the ring, the station removes the RPR header from the RPR frame and sends the corresponding RPR payload, which is the Ethernet frame, to the Ethernet traffic.
To transmit a frame from one RPR station to another on the RPR ring, RPR processing in the RPR station encapsulates the frame with an RPR header and adds the newly formed RPR frame to the ring. A station may flood the RPR frame to all other stations on the ring by setting information in the RPR header to indicate that the frame is to be flooded. While the RPR frame traverses the ring, it encounters other RPR stations.
At a given station, the destination MAC address of the RPR header is examined. If the destination address of the frame's RPR header is the same as the station's address and the frame is not indicated as being flooded, then the frame is copied without being forwarded to the next station on the ring. On the other hand, if the destination address of the RPR header is different from the station's address and the frame is not indicated as being flooded, then the frame is forwarded to the next station on the ring. However, if the frame is indicated as being flooded, then the frame is copied before being forwarded to the next station on the ring. To prevent a flooded frame from endlessly traveling around the ring, the station also examines the source address of the RPR header. If the source address is the same as the station's address, then the frame is dropped, thus, preventing an infinite loop.
When an RPR station receives a non-flooded RPR frame and recognizes the destination address, it removes the RPR frame completely from the ring, unlike in the case of flooded frames, which simply copy the contents of the frame and let the frame traverse the rest of the ring. When the receiving station removes the RPR frame from the ring, the bandwidth otherwise consumed by the RPR frame is available for use by other RPR stations. This is known as spatial reuse. It should be noted that an RPR station may implement spatial reuse if the destination of the frame is one of the RPR stations, otherwise, the station must flood the frame on the ring.
In addition to encoding the SSM message in the IEEE 802.3ah OAM packet 115t1, 115t2, Node A 105a also encodes a particular physical interface identifier (e.g., west or east side for an RPR ring) in the spare bits of the SSM message (i.e., the most significant half of the byte set aside for including the SSM message in the IEEE 802.3ah OAM packet). The physical interface identifier may indicate an actual physical interface to which the message is to be sent, a direction in which the message is to be transmitted, or an RPR station identifier to which the message is to be sent.
Alternatively, since most of the information included in an IEEE 802.3ah OAM packet is encoded using a Type-Length-Value (TLV) format, the physical interface identifier may be encoded in the TLV bytes of the IEEE 802.3ah OAM packet. According to the TLV format, a first byte indicates the type of the information, which is used to instruct a node how to decode the bytes containing the information. A second byte specifies the length of the information, which may be used by a node to skip the information when it is determined that the type cannot be interpreted by the node. The subsequent bytes encode the information itself. Using the TLV format, additional information, such as the physical interface, may be included in an OAM that may be ignored by a node that does not recognize the information type.
RPR Node A 105a encapsulates the IEEE 802.3ah OAM packet in an RPR frame and transmits the RPR frame in the direction specified by the physical interface identifier encoded in the message. In doing so, the node 105a sets the RPR frame's destination address to the MAC address of the neighbor RPR node that is situated in the direction of the physical interface identifier specified in the message, and sets the ringlet identifier of the frame to the ringlet corresponding to the physical interface identifier. The node 105a then forwards the RPR frame 115t1, 115t2, with the IEEE 802.3ah OAM based SSM message encapsulated therein, to the physical interface specified by the physical interface identifier.
An observation module 630 observes information 632 encoded in incoming packets 640t1, 640t2 specifying timing quality and direction of the messages 640t1, 640t2. A comparison module 635 compares the timing information 632 observed in the packets 640t1, 640t2 to determine which timing information 632 to use for clock timing, and selects the best timing reference to use for timing in the node 605.
The IEEE 802.3ah OAM frame 801b is then received at the RPR block 803 (820), which determines whether the frame 801b includes an IEEE 802.3ah OAM based SSM message (825, 830). In the case where a received frame does not include an SSM message, it is handled as data traffic per IEEE 802.17 (835), and the frame is encapsulated in an RPR frame 801c and transmitted on the RPR network by adding the RPR frame 801c to the RPR ring (850). In the case where a received frame does include an IEEE 802.3ah OAM based SSM message, the destination MAC address of the frame is set as either the address of the west or east adjacent node based on the direction that is encoded in the IEEE 802.3 OAM based SSM message (840). Flooding may be disabled for the frame by setting a flood indicator to indicate that the frame should not be flooded, and RPR protection may be disabled for the frame by setting a protection indicator to indicate that protection should not be provided for the frame. The frame including the SSM message is handled as unprotected known traffic per IEEE 802.17 (845) and is encapsulated in an RPR frame 801d and transmitted on the RPR network by adding the RPR frame 801d to the RPR ring (850).
The payload 901c, 901d is received (950, 955) and checked to determine whether it is a tunnel frame and whether it includes an IEEE 802.3ah OAM based SSM message (965, 970). If the payload is a tunnel frame 901d, then the tunnel identifier is removed from the frame 901d (955, 960) before making the SSM determination. If the payload 901c, 901d includes an IEEE 802.3ah OAM based SSM message, the payload 901c, 901d is copied and sent to a control module of the RPR station for processing (975); however, if the payload 901c, 901d does not include an IEEE 802.3ah OAM based SSM message, then it is forwarded to one or more ports of the RPR station based on a forwarding table (980).
While this invention has been particularly shown and described with references to example embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the invention encompassed by the appended claims. For example, while an IEEE 802.3ah OAM frame has been described in the above embodiments for transporting an SSM message over an RPR ring, any similar OAM message, such as OAM messages described in ITU Y.1731, may be used to distribute SSM messages over RPR networks based on the methods and apparatuses described above.
Further, it should be understood that the flow diagrams of