WO2007082429A1 - Methods and devices for judging pw connection state and notifying ac connection state - Google Patents

Methods and devices for judging pw connection state and notifying ac connection state Download PDF

Info

Publication number
WO2007082429A1
WO2007082429A1 PCT/CN2006/002637 CN2006002637W WO2007082429A1 WO 2007082429 A1 WO2007082429 A1 WO 2007082429A1 CN 2006002637 W CN2006002637 W CN 2006002637W WO 2007082429 A1 WO2007082429 A1 WO 2007082429A1
Authority
WO
WIPO (PCT)
Prior art keywords
sub
state
maintenance
circuit
operation management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2006/002637
Other languages
English (en)
French (fr)
Inventor
Huachen Zhang
Ting Huo
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CNB2006100331457A external-priority patent/CN100428740C/zh
Priority claimed from CNB2006100331442A external-priority patent/CN100484097C/zh
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to AT06791219T priority Critical patent/ATE461572T1/de
Priority to EP06791219A priority patent/EP1978681B1/en
Priority to DE602006013047T priority patent/DE602006013047D1/de
Publication of WO2007082429A1 publication Critical patent/WO2007082429A1/zh
Priority to US12/174,503 priority patent/US20080273467A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0686Additional information in the notification, e.g. enhancement of specific meta-data

Definitions

  • the present invention relates to the field of packet switching network technologies, and in particular, to a method for judging a pseudowire (PW) connection state, a notification associated circuit (AC) connection state, and a service device thereof in a packet switching network.
  • PW pseudowire
  • AC notification associated circuit
  • PWE3 End-to-end pseudo-wire emulation
  • the implementation of the emulation service on the packet switched network can be divided into two types: One FW (Pseudo Wire) carries only one emulation service flow, that is, 1 TO 1 mode, and one PW carries multiple emulation service flows, that is, N TO 1 the way.
  • FW Pulseudo Wire
  • N TO 1 the way.
  • the establishment of a dynamic PW is the result of mutual negotiation between PEs (Provider Equipments) at both ends, and requires the participation of LDP (Marking Allocation Protocol).
  • the PEs at both ends must exchange local PW forwarding status.
  • the forwarding state of the local PW depends on the state of the AC (associated circuit or directly connected circuit) service that needs to be simulated, the state of the LDP session (LDP session) of the remote PE, and the state of the outer tunnel carrying the pseudowire service. .
  • the state of the AC service in the N TO 1 mode depends on the sum of the N sub-AC states corresponding to the PW. In the network model of the protocol, multiple PVCs that are simultaneously bound to the same PW in the N TO 1 mode are collectively referred to as an AC.
  • a PVC in the AC under the N TO 1 mode is referred to as a "sub-AC" of the AC): If the PW corresponds to more In the strip AC, if the last state is UP, that is, the sub-AC DOWN of the normal working state is off, the state of the AC is DOWN, that is, the abnormal working state or the invalid state; and all sub-ACs corresponding to the PW have one sub-AC UP, then The status of this AC is UP.
  • the state of the AC, the state of the LDP session of the remote PE, and the state of the outer tunnel are both up.
  • the forwarding state of the local PW is forwardable and the mapping is sent. If one of the three is DOWN, The forwarding state of the local PW is not forwarded. In this case, the Withdraw packet is sent, and the inner label is reclaimed.
  • the PW label is used to identify different PWs during forwarding. For example, in the case of PW UP, as long as the AC is Down, the forwarding state of the local FW is not forwarded, the Withdraw packet is sent, and the protocol is removed, as shown in Figure 1.
  • the protocol is not removed as long as the configuration is not deleted. Only the local PW status of the two parties of the notification message is sent. For example, in the case of PW UP, the forwarding state of the local PW is not forwardable as long as the AC is Down. However, the Withdraw packet teardown protocol is not sent at this time, but only the Notification packet is sent to notify the forwarding state of the local PW. It is not forwarded. It is implemented by advertising the forwarding code of the local PW. The inner label is retained. As shown in Figure 2, the status code of the local PW is included in the notification packet.
  • the prior art uses the AC status notification method to determine the connection status of the AC.
  • the technical solution is as follows:
  • mapping message of the inner-layer label is sent in the Martini mode depends on the state of the AC, the session state of the peer PE, and the state of the outer tunnel. And only If the state of the AC, the session state of the peer PE, and the outer tunnel state are changed to DOWN, the Withdraw message is sent to reclaim the inner label.
  • the status of the session with the peer PE is UP, and the mapping message of the inner tag is sent regardless of the state of the AC or the state of the outer tunnel.
  • the state of the AC or the state of the outer tunnel is changed to DOWN, the local PW status code is updated.
  • the difference between the mode and the Martini mode is that the configuration does not delete the protocol.
  • the notification mode does not remove the protocol to collect the inner label.
  • the notification message advertises that the local F state is not forwarded. The next time the device is re-up, it does not need to re-allocate the label.
  • the notification message is sent to notify the local PW forwarding status as forwardable.
  • the notification method has a greater advantage than the Martini method in that it can reduce the interaction of messages between PEs. But one of their common shortcomings is: Unable to advertise information about specific AC service pairs.
  • subACl-subAC3 and subAC2-subAC4 are two service flows, respectively, and the pseudowire PW1 is multiplexed by means of N TO 1; sub AC 1 and subAC2 are respectively connected to different ports of PE1, and the states of the two are respectively The combination forms the AC state at PE1.
  • SubAC3 and subAC4 are respectively connected to different ports of PE2, and the state combination forms the AC state at PE2. If the state of the LDP session of the remote PE and the state of the LSP are UP, the AC state of PE1 is Up, and the local PW forwarding status is OK. Forward the status, or send a Mapping message, or send a Notification message to advertise the local PW status UP.
  • the AC status of the PE2 is up.
  • the local PW forwarding status of the PE2 is also forwardable.
  • the local and remote PW forwarding status are forwardable.
  • the logical forwarding entry is sent.
  • the actual situation is that sub AC 1 and subAC3 are a service pair. Therefore, after the service information of subACl reaches PE2 through PW1, the service packet of subACl is still discarded by PE2. It can be seen that in this situation, the service information of the subACl cannot be finally forwarded to the destination after reaching the PE2 through the PW1, and valuable network bandwidth resources are wasted.
  • OAM Operation, Management, and Maintenance
  • QOS Quality of Service
  • MPLS Multiple Protocol Label Switching
  • OAM Operation, Management, and Maintenance
  • the OAM defect detection function is based on the periodic transmission of the CV (Connectivity Confirmation) message or the FFD (Fast Failure Detection) message from the source (ingress) to the sink (egress) of the LSP (label switching path).
  • the OAM packet is encapsulated with an MPLS packet at the source end.
  • the outer label of the packet is the outgoing label of the LSP (label switching path) on the node.
  • the inner label value is 14 ( OAM Route alert label ), and the rest is OAM. Protocol message payload.
  • the sink detects a defect, it sends a BDI (Reverse Defect Detection) packet to the sink through the reverse channel, so that the status of the current LSP can be known at the source and sink nodes of the LSP.
  • BDI Reverse Defect Detection
  • the OAM packet payload consists of the OAM function type, specific function type data, and a common BIP16 error detection mechanism. To speed up the processing and support the minimum packet length of existing Layer 2 technologies such as Ethernet, the minimum payload length of all OAM packets must be 44 bytes long.
  • CV and FFD messages There are two types of packets used for connection verification in the MPLS OAM mechanism proposed by Y.1711. That is, CV and FFD messages.
  • One of the CV packets is one second, and the FFD packet is 50 milliseconds by default. It can also be configured as 10 milliseconds, 20 milliseconds, 100 milliseconds, 200 milliseconds, and 500 milliseconds.
  • the MPLS OAM defect detection function is based on the periodic transmission of CV packets or FFD packets from the source (ingress) to the sink (egress) of the LSP.
  • the PW can be understood as consisting of two reverse LSPs in the data plane. Therefore, with
  • the MPLS LSP is unidirectional.
  • the data plane fault check can be performed by using the source and sink detection methods described in Y.1711. That is, the source periodically sends OAM detection packets to the sink. The terminal checks whether the test packet is received within the specified time. This type of detection can only meet the connectivity detection of the unidirectional link.
  • the PW is a two-way link.
  • the existing Y.1711 0AM inspection mode can only meet the inspection of one direction of the data plane. Detection.
  • the technical problem to be solved by the present invention is that, in the N TO 1 mode of overcoming the simulation service on the packet switching network in the prior art, the OAM defect detection cannot be applied to the PW state detection deficiency, and the insufficiency of the simulation service to the information cannot be accurately obtained.
  • a method for determining a connection status of a pseudo line in a packet switching network comprising the steps of: setting a pseudo line operation management and maintenance message for detecting a pseudo line connection state; and transmitting, by the local service device, the pseudo line operation management and maintenance Requesting a message and waiting for receiving a pseudo-line operation management and maintenance reply message replied by the peer service device;
  • the local service device After the local service device receives the reply message within a preset time, it determines that the pseudo line between the service devices is normal.
  • the local service device continuously performs pseudo line operation management and transmission through a pseudo line link. Maintain the packet and check whether the sent packet is returned within the preset time to determine whether the pseudo line is faulty.
  • the method further includes: setting a dummy line valid flag bit in the pseudo line hardware forwarding table, for constraining forwarding of the data message, the pseudo line effective flag bit being controlled by the detection result, the flag position bit indicating that the pseudo line is valid
  • the data packet is forwarded normally; otherwise, no forwarding is performed.
  • the operation management and maintenance message of the pseudo line includes three layers of labels, the outermost layer is a label switching path label, the middle is a pseudo line label, and the innermost layer is an operation management and maintenance label; the peer service device receives the After the pseudo line operation management and maintenance message, a stack operation is performed on the label switching path label, and the pseudo line label is replaced.
  • the peer service device receives the pseudo line operation management and maintenance request message, and the process of replying to the pseudo line operation management and maintenance answer includes:
  • the value of the label is equal to 14, indicating that the captured packet is a pseudo-line operation management and maintenance packet, and the operation management and maintenance message is replaced to obtain a new label exchange.
  • the path label and the pseudo line label reassemble the pseudo line operation management and maintenance message and send it back to the local service device.
  • the process of performing the replacement operation on the pseudo line label by the peer service device includes: the peer service device establishes the replacement entry of the inner layer label, and sends the replacement entry to the hardware; after the peer service device captures the pseudo line operation management and maintenance message , performing a replacement operation according to the entry.
  • the method further includes: setting an operation operation and maintenance message of the associated circuit, where the message carries Tape assignment circuit identification, sub-allocation circuit status field;
  • a service device for the above method in a packet switching network comprising a sending module and a receiving module, and an operation management and maintenance module connected to the sending module and the receiving module;
  • the operation management and maintenance module sends a pseudo-line operation management and maintenance through the sending module
  • the receiving module After receiving the packet, the receiving module sends the packet to the operation management and maintenance module for processing, if the received packet is a reply operation management and maintenance packet of the sent packet received within a preset time. When it is considered that the pseudo line between the service devices is normal.
  • a service device for the above method in a packet switching network comprising a sending module and a receiving module, and further comprising an operation management and maintenance module connected to the sending module;
  • the receiving module receives the pseudo line operation management and maintenance message and delivers the operation to the operation management and maintenance module;
  • the operation management and maintenance module returns the pseudo line operation management and maintenance message to the sender through the sending module.
  • a method for notifying a connection state of a connected circuit in a packet switching network comprising the steps of: setting an operation management and maintenance message of the associated circuit, wherein the message carries a sub-allocation circuit identifier and a sub-allocation circuit status field;
  • the service device records the state of the associated circuit of the terminal and the state of the remote sub-allocation circuit.
  • the service device determines that the state of the associated circuit of the terminal changes, before notifying the opposite end, the service device further includes: updating the state of the sub-allocation circuit recorded by the local end.
  • the method further includes: when the current terminal assignment circuit state and the remote sub-assignment circuit state recorded by the service device are both in a normal state, according to the pseudo line corresponding to the sub-allocation circuit W service forwarding; when the terminal assignment circuit state or the remote sub-allocation circuit state is abnormal, no forwarding is performed;
  • the method for determining the state of the sub-allocation circuit is: if the state of the sub-allocation circuit of the local end and the remote end is at the same time, the sub-allocation circuit is determined to be in a normal state; if the state of the sub-allocation circuit or the state of the remote sub-allocation circuit is In the abnormal state, the sub-allocation circuit is in an abnormal state.
  • the process of forwarding the service includes: querying the state of the corresponding sub-allocation circuit according to the sub-allocation circuit, and performing forwarding according to the corresponding pseudo-line when the sub-allocation circuit is in a normal state; otherwise, forwarding is not performed.
  • the sub-allocation circuit is identified by a sub-allocation circuit identifier
  • the sub-allocation circuit identifier is a virtual path identifier/virtual channel identifier, or a virtual local area network identifier; or the sub-allocation circuit identifier is a universal identifier indicating a service pair, and the universal identifier is set on the service device.
  • the processing of updating the status of the sub-allocation circuit recorded by the local end includes: setting a sub-allocation circuit status table in the service device, by setting the terminal assignment circuit state and the remote sub-allocation circuit status entry in the sub-allocation circuit status table Reacting the state of the sub-allocation circuit; modifying the state of the associated circuit of the terminal when the state of the terminal assignment circuit is changed; when receiving the operation management and maintenance message of the associated circuit, according to the The sub-associated circuit state changes the state of the remote sub-allocation circuit.
  • a service device for the above method in a packet switching network comprising an associated circuit module, a transmitting/receiving module, and an operation management and maintenance module connected to the associated circuit module and the transmitting/receiving module in the service device;
  • the associated circuit module notifies the operation management and maintenance module, and the operation management and maintenance module sends the operation management of the sub-allocation circuit identifier and the sub-allocation circuit status field through the transmission/reception module.
  • the maintenance message is notified to the peer.
  • the service device further includes a sub-allocation circuit hardware forwarding table module connected to the operation management and maintenance module, and the sub-allocation circuit hardware forwarding table module establishes a sub-allocation circuit identifier and a corresponding relationship between the state and the pseudo-line.
  • the normal state of the slave assignment circuit is valid when the state of the two-terminal assignment circuit is at the same time; the sub-allocation circuit is in an abnormal state when the terminal assignment circuit state or the remote sub-allocation circuit state is in an abnormal state;
  • the operation management and maintenance module queries the state of the corresponding sub-allocation circuit in the sub-allocation circuit hardware forwarding table module, and when the sub-allocation circuit is in a normal state, the transmitting/receiving module according to the corresponding The pseudo line is forwarded.
  • the service device further includes a sub-allocation circuit state table module connected to the operation management and maintenance module, and the sub-allocation circuit state table module records the state of the terminal assignment circuit and the state of the remote sub-allocation circuit to reflect the sub-allocation The effectiveness of the circuit.
  • the present invention has the following advantages:
  • the present invention extends the OAM defect detection proposed by Y.1711, so that the dedicated OAM tag network performance monitoring and fault alarm mechanism is applied to the PW, and the PW is effectively completed.
  • the detection of the connectivity of the data plane realizes the function of judging the continuity of the PW connection.
  • the detection method of the present invention is universal. During the entire detection process, the processing of the PW-OAM message does not involve any specific service.
  • the dedicated line or link to be tested by the PW can be any of the IEEE PWE3 drafts, such as Eth/TDM/FR/ATM.
  • the AC status notification function is implemented by extending the OAM type defined in ITU-TTY 1711.
  • the VAM/VCI (which can also be a VLAN ID) that can identify the sub-AC is carried in the packet.
  • Such treatment can solve the prior art PW UP state non-operational due to the AC UP, but not really forwarding packets Gen 1 ⁇ conditions, even if the AC information leading to one end and the other end of the PW PW reaches PE, can not be The forwarding continues, but is discarded by the PE, wasting the processing resources of the nodes along the way and the defects of valuable network bandwidth resources.
  • the invention can accurately obtain the information of the simulation service through the AC-OAM message, and rejects
  • the PW state is not consistent with the sub-AC UP of the same emulation service pair, so that the PW state and the real forwarding state are strictly consistent, which improves the validity of the PW forwarding and avoids the waste of the service that cannot be finally intercommunicated. And valuable network bandwidth resources, and solve the problem that the static PW cannot advertise the AC status.
  • FIG. 1 is a schematic diagram showing the principle of state notification by using the Martini method
  • FIG. 2 is a schematic diagram of a principle of advertising by using a notification method
  • FIG. 3 is a schematic diagram of a PW OAM detection process according to an embodiment of the invention
  • FIG. A schematic diagram of an AC status notification transmission process according to an embodiment of the present invention is shown.
  • FIG. 8 is an AC status notification transmission process according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of an AC status advertisement receiving process according to an embodiment of the present invention. Figure.
  • the existing OAM function can be implemented in two ways. The first one is to define a dedicated OAM label for network performance monitoring, fault alarm, similar to the OAM cell in the ATM. The second is similar to Ping in traditional IP networks, which discovers and locates network faults by simulating ICMP (Internet Control Message Protocol) echo request and reply.
  • ICMP Internet Control Message Protocol
  • PE1 is responsible for sending OAM packets. This is called the PW OAM active party. After receiving the OAM packet, PE2 replies with the corresponding OAM packet. This is called PW OAM passive. After the PW OAM packet is received on the detected PW link, the PE1 considers that the packet is received within the specified time. PW is normal; otherwise, a fault alarm is generated. Proceed as follows:
  • the PWOAM active party sends a F OAM request message.
  • the PW OAM detection process is as follows:
  • a PW is set up between PE1 (active party) and PE2 (passive party).
  • the host software generates forwarding entries and sends them to the hardware. In this way, you can directly access the hardware entries and no longer access the software. Configure OAM on PE1 and PE2 to detect the established PW.
  • PE1 starts the OAM detection timer and initiates OAM detection.
  • the PE1 host software sends the OAM label to the hardware and assembles the OAM package.
  • PE1 sends an OAM packet according to the PW hardware forwarding table
  • PE2 receives and parses the packet and delivers it to the OAM hardware module.
  • the PE2 OAM hardware module analyzes the packet and delivers it to the OAM packet assembly module.
  • PE1 receives, parses the message, and delivers it to the OAM hardware module.
  • OAM packets are sent back and forth on the PW link.
  • the OAM packet is sent by the active PE. After the link is round-tripped, it is received on the active PE. Therefore, the processing of the source and sink of the LSP OAM is collected on one PE device, and is sent by the active party, and the active party receives the detection. That is, the OAM function of the PW active party is formed by directly transplanting and merging the LSPOAM transmission, reception, and detection mechanisms.
  • the present invention defines a new OAM detection message: PW-OAM message, role class
  • the CV and FFD packets of the LSP OAM are used for PW connectivity state detection.
  • the function type of the message (Function Type) is 0x08.
  • the format of the message is shown in Table 1:
  • the active party continuously sends OAM packets through the FW link, and locally detects whether the sent packets are returned within the specified time, thereby determining whether the PW is faulty.
  • PW_Avail_flag a PW valid flag bit
  • PW—Avail— Flag is equal to 1, the PW is valid and the data can be forwarded normally; otherwise, the PW is faulty and the data forwarding packet is discarded.
  • the flag is controlled by the detection result. When detecting the failure of the PW, the flag is set to 0 to prevent data from being forwarded. Conversely, when the detection PW returns to normal, the flag is set to 1 to enable the data to be forwarded normally.
  • the PW packet contains three layers of labels, and the outermost layer is used for LSP forwarding. One layer is used for PW forwarding, and the innermost label should be OAM label: 14.
  • the PW OAM packet format is shown in Table 3:
  • the LSP OAM performs the POP (Post) operation on the LSP forwarding label on the sink, and then the label POP is processed by the OAM module, and finally detected by the host software.
  • POP Post
  • PW OAM is not detected here, but the OAM message is sent back to the active party. Therefore, the passive party receives the OAM packet, and the LSP label still performs the POP operation.
  • the PW label performs the SWAP (replacement) operation, obtains the new PW label and the LSP label, and sends the OAM packet back through the newly obtained label. This process is referred to herein as PW OAM reverse forwarding.
  • the OAM detection method used in the present invention, the detection process is similar to the ping operation, and the passive side operation is a process of "parsing and assembling", including: receiving, parsing, assembling, and transmitting.
  • the passive party In the PW OAM reverse forwarding process, in order to ensure efficient forwarding, all processing of the message is completed by hardware without any software participation. Therefore, after the PW OAM is configured, the passive party must create a set of SWAP entries of the inner label and send it to the hardware. After receiving the OAM packet, the passive party can send it back to the active party.
  • the present invention adds an OAM flag of the OAM-Flag in the ILM (Incoming Label Map) table of the hardware, and records it as OAM-F, indicating whether the PW is configured with OAM. For example, if the FW is configured with OAM, set OAM—F to 1; otherwise, set it to 0.
  • the ILM table structure supporting PW OAM is as shown in Table 4:
  • SWAP NHLFE-id detected PW
  • PW OAM reverse forwarding is implemented as follows:
  • the passive party When the passive party receives a PW packet, it first POPs the outer LSP label and then checks the ILM table according to the FW label. After checking, check the value of OAM-F.
  • OAM—F is equal to 0, it indicates that OAM is not configured on the PW, and all forwarding is processed normally.
  • the trap message is an OAM packet.
  • the switch performs the SWAP operation on the OAM packet to obtain a new LSP label and PW label. The message is sent back to the active party.
  • the invention also provides a service device based on the above method for judging the pseudowire connection state in the packet switching network, such as PE1 in FIG. 5, including a sending module and a receiving module, and further including operation management and maintenance connected with the sending module and the receiving module.
  • the module shown in the dotted line box in PE1 in Figure 5; the operation management and maintenance module sends the pseudo line operation management and maintenance message through the sending module; after receiving the message, the receiving module hands it to the operation management and maintenance module for processing.
  • the received message is a reply operation management and maintenance message of the sent message received within a preset time
  • the pseudo line between the service devices is considered to be normal.
  • the service device based on the above-mentioned method for judging the pseudowire connection state in another packet switching network provided by the present invention, such as PE2 in FIG. 5, includes a sending module and a receiving module, and further includes an operation management and maintenance module connected to the sending module. (As shown in the dotted line box in PE2 in Figure 5);
  • the receiving module receives the pseudo line operation management and maintenance message, and sends it to the operation management and maintenance module for processing; the operation management and maintenance module passes the pseudo line operation management and maintenance message.
  • the sending module returns to the sender.
  • the above method and the service device effectively complete the connectivity detection of the PW data plane.
  • the PW state at this time cannot truly reflect the forwarding state, even if one end
  • the AC information reaches the PE at the other end through the PW pseudowire, and cannot be forwarded, but is discarded by the PE, thereby wasting processing resources and valuable network bandwidth resources of the nodes along the path.
  • the invention provides a method for advertising connection state connection status in a packet switching network, which comprises the following contents:
  • the present invention extends the OAM type defined in ITU-T Y.1711, and adds an AC-OAM (Associated Circuit Operation Management and Maintenance) message to notify the peer when the local AC status changes.
  • the VPI Virtual Path Identifier
  • VCI Virtual Channel Identifier
  • the status of the sub-AC is the status of a PVC.
  • the function type of the OAM packet is 0x09, and the other fields are reserved (0x00). The format is shown in Table 5. ⁇ Table 5
  • the AC OAM is not the connectivity of the tester AC. It only advertises the peer with the OAM message when the state of the AC of the terminal changes.
  • an existing AC-PW binding relationship needs to be added to the existing hardware table in the PE to simulate the PW forwarding validity of the data.
  • the table is stored in hardware for controlling forwarding.
  • the present invention refers to the table as an AC hardware forwarding table.
  • the VPI/VCI and PW Label are used to indicate the AC-PW binding relationship, and an AC valid flag bit, AC-Avail-flag, is defined.
  • Table 6 shows the AC hardware forwarding table format:
  • an AC status table is added to the host software.
  • the table mainly includes two fields: the local AC state and the remote AC state, which indicate the AC state of the local end and the far end respectively.
  • the VPI/VCI role in the AC status table is an index that identifies a channel.
  • the format of the AC status table is shown in Table 7:
  • the local AC status is affected by the local AC module.
  • the AC module notifies the host software to change the local AC status in the AC status table.
  • the remote AC status is affected by the AC-OAM packet. After receiving the AC-OAM packet, the remote AC status in the AC status table is changed according to the sub-AC status in the packet.
  • the AC status table affects the AC hardware forwarding table. If the local AC status and the remote AC status are both UP, the host software sets AC_Avail_Flag in the AC hardware forwarding table to 1 to make the PW corresponding to the sub-AC valid. If the local AC status or the remote AC status is DOWN, the host software sets the AC-Avail_ Flag in the AC hardware forwarding table to 0, so that the PW corresponding to the sub-AC is invalid and cannot be forwarded.
  • An AC status notification process can be divided into a sending process and a receiving process.
  • the PE2 parses the packet and modifies the corresponding entry according to the packet content. .
  • FIG. 6 is a schematic diagram of an AC state notification principle according to an embodiment of the present invention.
  • the principle of the AC-OAM state advertisement is as follows: A PW is required between the PE1 and the PE2, and the PW state is UP.
  • the host software generates PW hardware forwarding entries. And delivered to the hardware; at PE1 Configure AC OAM advertisements on PE2 and PE2 to enable AC1 and PE2 to process AC OAM.
  • PE1 host software OAM module update AC status table is the local AC status
  • PE1 hardware OAM module updates the AC-Avail JFlag flag of the AC hardware forwarding table
  • the PE1 hardware queries the PW hardware forwarding table to assemble AC-OAM packets.
  • PE2 receives the packet, queries the PW hardware forwarding table, parses the packet, and delivers it to the hardware OAM module.
  • the PE2 hardware OAM module analyzes the packet, obtains the packet parameters, and submits it to the host software OAM module for processing;
  • the PE2 host software OAM module updates the AC state table, that is, the remote AC state, according to the sub-AC status in the packet.
  • PE2 host software
  • the OAM module commands the hardware OAM module to update the AC-Avail-Flag flag of the AC hardware forwarding table.
  • the PE can clearly know the status of the AC of the terminal and the state of the AC to the terminal AC, so that the simulated service pair information can be accurately learned, and the sub-AC U that is not belonging to the same emulation service pair is rejected.
  • the resulting PW UP ensures that the PW state and the true forwarding state are strictly consistent, and the service transmission that cannot be finally interworked is avoided, and the processing resources and valuable network bandwidth resources of the nodes along the path are wasted.
  • the sub-AC status changes such as from Up to Down (can be recorded as UP->Down), or from Down to Up (can be recorded as Down->UP);
  • the sub-AC status is UP->Down, perform steps (5) ⁇ (7),
  • the local AC status of the AC status table is changed to Down.
  • the AC-Avail-flag of the AC hardware forwarding table is set to the abnormal state. If the value is set to 0, the AC-OAM Down packet is sent.
  • Step (8) If the status of the sub-AC is Down->UP, go to Step (8) ⁇ (11), change the AC status of the AC status table to Up, and the AC status of the AC status table is Up.
  • the AC-Avail-flag of the forwarding table is set to the normal state. If it is set to 1, the AC-OAM Up packet is sent.
  • the receiving process is as follows:
  • the PE receives an AC-OAM packet.
  • step (3) Determine whether there is a matching sub-AC at the local end, and if not, end; if yes, proceed to step (4);
  • Step (7) ⁇ (9) to change the remote AC status of the AC status table to Up, and determine whether the AC status of the AC status table is Up. If yes, Set AC—Avail — Flag of the AC hardware forwarding table to the normal or valid state, for example, set to 1, otherwise it ends.
  • the AC-OAM advertises that the AC state mechanism is not limited to the N to 1 mode of ATM PWE3.
  • PWE3 services such as Eth/TDM/FR.
  • VPI/VCI can be used to identify a specific service pair.
  • Eth PWE3 can use Vlan ID (Virtual Local Area Network Identity) as the identifier of a specific service. Therefore, replacing the VPI/VCI in the AC-OAM packet and the AC hardware forwarding table with the identifier of the corresponding service, such as the Vlan ID in the Eth, can use the OAM packet based on the corresponding PW service emulation link.
  • AC status announcement A more uniform approach is to identify any particular pair of services using a generic sub-AC identifier.
  • the AC-ID is used to represent the VPI/VCI in the ATM, the VlanID in the Eth, and the like, and a mapping relationship between the AC-ID and the specific service pair identifier is established.
  • the format of the AC hardware forwarding table is as shown in Table 8:
  • the present invention further provides a service device based on an associated circuit connection state notification method in a packet switching network, including an associated circuit module and a transmitting/receiving module, and the service device further includes the associated circuit module, An operation management and maintenance (OAM) module connected to the transmitting/receiving module; when the state of the sub-allocation circuit changes, the associated circuit module notifies the operation management and maintenance module, and the operation management and maintenance module transmits the carrier sub-allocation circuit identifier through the transmitting/receiving module, The operation management and maintenance of the sub-allocation circuit status field are notified to the peer.
  • OAM operation management and maintenance
  • the service device further includes a sub-allocation circuit hardware forwarding table module connected to the operation management and maintenance module, and the sub-allocation circuit hardware forwarding table module establishes a sub-allocation circuit identifier and a corresponding relationship between the state and the pseudo-line, and the normal state of the sub-allocation circuit is The validity is valid when the state of the two-terminal assignment circuit is normal at the same time; when the terminal assignment circuit state or the remote sub-allocation circuit state is in an abnormal state, the sub-allocation circuit is in an abnormal state, that is, invalid; when the service is forwarded, the operation management And the maintenance module queries the state of the corresponding sub-allocation circuit in the sub-allocation circuit hardware forwarding table module, that is, the validity, when the sub-allocation circuit is in a normal state, that is, the transmitting/receiving module performs forwarding according to the corresponding pseudo-line, Query the PW hardware forwarding table for forwarding when forwarding.
  • a sub-allocation circuit hardware forwarding table module connected to
  • the service device also includes sub-allocation circuit status connected to the operation management and maintenance module
  • the table module, the sub-allocation circuit state table module records the state of the terminal assignment circuit and the state of the remote sub-allocation circuit to reflect the validity of the sub-allocation circuit.
  • the above two methods and their service devices that is, the method for judging the pw connection state and its service device, and the method for advertising the AC connection state and the service device thereof, may be used separately or in combination.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
  • Communication Control (AREA)
  • Control Or Security For Electrophotography (AREA)

Description

判断 FW连接状态、 通告 AC连接状态的方法及其设备
技术领域 本发明涉及包交换网络技术领域,尤其涉及一种包交换网络中判 断伪线路(PW )连接状态、 通告配属电路(AC )连接状态的方法以 及其服务设备。
背景技术 目前运营商在提供多种业务时, 采用的基本都是并行或"重叠"的 方式: 组建和维护多种网絡, 在呈现点针对每种不同的业务使用不同 的接入设备。 这样做除了使得网络规划更加复杂外, 而且无论是建设 成本还是运营成本都很昂贵。 所以运营商在提供多种业务时, 为了降 低建设和运营成本, 希望寻求一种在公用的包交换网络(PSN )上能 够提供多种业务的方法。
为了提供统一的多业务网絡平台, IETF 开始了在包交换网络上 传输任何业务的" X over PSN,,的标准化工作, 并把它命名为端到端的 伪线路仿真( Pseudo-Wire Emulation Edge-to-Edge , 缩写为 PWE3 )。
在包交换网络上仿真业务的实现可分为两种: 一条 FW ( Pseudo Wire, 伪线路)只携带一条仿真业务流, 即 1 TO 1方式, 和一条 PW 携带多条仿真业务流即 N TO 1方式。 一条 PW携带多条仿真业务流 的好处是可以更有效的使用 PW头。
动态 PW的建立是两端 PE ( Provider Equipment, 服务设备 )互 相协商的结果, 需要 LDP (标记分配协议)的参与。 两端 PE要交互 本地 PW转发状态。 本地 PW的转发状态取决于需要进行仿真的 AC (配属电路或称为直连电路)业务的状态、 和远端 PE的 LDP session ( LDP会话)的状态以及承载伪线业务的外层隧道的状态。而在 N TO 1方式下 AC业务的状态取决于该 PW对应的 N条子 AC状态的总和 (协议的网络模型中将 N TO 1 方式下同时绑定同一条 PW的多条 PVC合称为一条 AC, 为了阐述方便, 这里将 N TO 1方式下的 AC 中的一条 PVC称为这条 AC的一条 "子 AC" ): 如果在 PW对应的多 条子 AC中,最后一条状态为 UP即正常工作状态的子 AC DOWN掉, 则 AC的状态为 DOWN即非正常工作状态或称为失效状态; PW对 应的所有子 AC中有一条子 AC UP, 则这条 AC的状态为 UP。
在对端 PE的 AC DOWN情况下, 需要拆除本端 PE的 AC转发 表项, 否则本端 AC业务信息到达对端 PE后也不能最终转发到目的 地, 徒然浪费了宝贵的网絡带宽资源。
状态通告的方式有如下两种: Martini 方式的通告和拓展的 Notification方式的通告。
一、 Martini方式的通告:
AC的状态、 和远端 PE的 LDP session的状态以及外层隧道的状 态同时 UP, 则本地 PW的转发状态为可转发, 发送 Mapping (标签 映射 )报文; 如果三者中有一个 DOWN掉, 则本地 PW的转发状态 为不可转发, 此时就要发送 Withdraw (标签回收)报文, 收回内层 标签即 PW标签, (PW标签的作用是: 在转发时, 标识不同的 PW )。 如: 在 PW UP的情况下, 只要 AC DOWN了, 则本地 FW的转发状 态为不可转发, 发送 Withdraw报文, 拆除协议, 如图 1所示。
二、 Notification方式的通告:
在发送 Mapping交互内层标签之后,只要配置不删除,协议就不 拆除, 只发送 Notification消息交互双方的本地 PW状态。 如: 在 PW UP的情况下, 只要 AC DOWN了, 则本地 PW的转发状态为不可转 发, 但此时并不发 Withdraw报文拆除协议, 而只是发送 Notification 报文通告对方本地 PW的转发状态为不可转发,具体的通过通告本地 PW的转发码来实现, 保留内层标签, 如图 2所示, Notification报文 中包含本地 PW的状态码。
现有技术是采用 AC状态通告方式判断 AC的连接状态, 技术方 案如下:
Martini方式下是否发送交互内层标签的 Mapping报文取决于 AC 的状态、 对端 PE的 session状态以及外层隧道的状态同时 UP。 而只 要 AC的状态、对端 PE的 session状态以及外层隧道状态有一个转为 DOWN就发送 Withdraw报文收回内层标签。而 Notification方式下进 行配置后只要和对端 PE的 session的状态 UP, 而不管 AC的状态或 者外层隧道的状态, 就发送交互内层标签的 Mapping报文。 当 AC的 状态或者外层隧道的状态转为 DOWN, 只是更新本地的 PW状态码, 方式与 Martini方式的区别主要在于只要配置不删除, Notification方 式下就不拆除协议回收内层标签, 而只是发送 Notification报文通告 本地 F 状态为不可转发状态, 下次再 UP时, 不需要重新再分配标 签, 只是再发送 Notification报文通告本地 PW转发状态为可转发。
现有技术的局限在于:
( 1 ) 对于静态配置 PW而言, 即 PW的建立不需要 LDP协议 参与, 通过静态配置而成的情况下, 由于没有 LDP协议的参与, 因 此无法通告对端 AC的状态, 同时对于 PW自身的状态也无法得知。 因此, 当对端 PE的 AC DOW 或者 PW自身 DOWN时, 由于本端 表项, 浪费了宝贵的网络带宽资源。
( 2 )对于动态配置 PW而言, Notification方式比 Martini方式有 4艮大的优越性在于, 它可以减少 PE之间的消息艮文的交互。 但它们 的一个共同的不足点在于: 无法通告具体的 AC业务对的信息。
如图 3所示, 假设 subACl-subAC3和 subAC2-subAC4分別是两 条业务流, 且采用 N TO 1的方式复用伪线 PW1; sub AC 1和 subAC2 分别接入 PE1不同的端口, 两者状态组合形成 PE1处的 AC状态。 subAC3和 subAC4分别接入 PE2不同的端口, 状态组合形成 PE2处 的 AC状态。 在 PE1处, 与远端 PE的 LDP session的状态 UP以及夕卜 层隧道的状态 UP时, 如果 subACl状态由 DOWN变为 UP, 则 PE1 处的 AC状态就 UP, 此时本地 PW转发状态为可转发状态, 或者发 送 Mapping报文, 或者发送 Notification报文通告本地 PW状态 UP。 在 PE2处,与对端 PE的 session的状态以及外层隧道的状态都 UP时, 如果 subAC4状态由 DOWN变为 UP, 则 PE2处的 AC状态就 UP, 此时 PE2本地 PW转发状态也为可转发状态, 因为本地和远端的 PW 转发状态都为可转发, 这条 PW的状态为 UP, 下发逻辑转发表项。 但实际情况是 sub AC 1和 subAC3才是一个业务对, 所以 subACl的 业务信息通过 PW1到达 PE2后, 由于 subAC3状态 DOWN, subACl 的业务报文依然会被 PE2丟弃。 由此可见, 在这种状况下, 无论是 subACl的业务信息通过 PW1到达 PE2后并不能最终转发到目的地, 也浪费了宝贵的网络带宽资源。
OAM (操作、 管理和维护)功能在公共网中十分重要, 它能筒 化网络操作、 监测网络性能、 降低网络运营成本。 在提供业务质量 ( QOS )保证的网络中, OAM功能尤其重要。 MPLS( Multiple protocol label switching, 多协议标志交换)作为可拓展的下一代网络的关键技 术, 支持 QOS和多种网络业务, 同样要求操作、 管理和维护(OAM ) 功能。 ITU-T-Y.1711规定的所有 MPLS OAM报文都使用一个全球周 知的预留标签值 14 ,称作' ΌΑΜ Alert Label",以区别于普通的 MPLS 用户流量报文。
OAM缺陷检测功能是基于 CV (连通性确认)报文或 FFD (快 速失效检测)报文从 LSP (标签交换路径)的源端 (ingress )到宿端 ( egress ) 的周期性发送。 OAM报文在源端被封装为 MPLS报文, 即报文的外层标签为 LSP (标签交换路径 )在该节点的出标签, 内层 标签值为 14 ( OAM Route alert label ), 其余为 OAM协议报文净荷。 当宿端检测到缺陷时会通过反向通道向宿端发送 BDI (反向缺陷检 测)报文, 这样在 LSP的源宿节点都可以获知当前 LSP的状态。
OAM报文有效载荷由 OAM功能类型、 特定的功能类型数据、 和 1个普通的 BIP16错误检测机制构成。为加快处理和支持现有二层 技术如以太网等的最小报文长度, 所有的 OAM报文的最小负荷长度 必须为 44字节长。
Y.1711提出的 MPLS OAM机制中用于连接验证的有两种报文, 即 CV和 FFD报文。 其中, CV报文一秒中一个, FFD报文默认 50 毫秒, 其也可以配置成 10毫秒、 20毫秒、 100亳秒、 200毫秒和 500 毫秒一个。 MPLS OAM缺陷检测功能是基于 CV报文或 FFD报文从 LSP的源端 (ingress )到宿端 (egress ) 的周期性发送。
PW在数据平面可以理解为由两条反向的 LSP组成。 因此, 与
MPLS LSP类似, PW同样也需要一种检测技术, 检测其连接的有效 性。 但 ITU- T在 Y.1711提出的 OAM缺陷检测无法适用于 PW的状 态检测。在数据转发平面, MPLS LSP是单向的,可以通过 Y.1711 中 描述的 "源发宿收" 的检测方式进行数据平面故障检查, 即源端定时 地向宿端发送 OAM检测报文, 宿端在规定时间内检查是否收到检测 报文。 这种检测方式只能满足单向链路的连通性检测, PW则是一条 双向的链路, 现有的 Y.1711 0AM检查方式, 只能满足其数据平面一 个方向的检查, 无法满足 PW的检测。
可见在现有技术中, 无法进行某一子 AC状态的通告和 PW状态 的检测。
发明内容
本发明所要解决的技术问题是:克服现有技术在包交换网络上仿 真业务的 N TO 1方式下, OAM缺陷检测无法适用于 PW状态检测的 不足, 无法准确获知仿真业务对信息的不足, 提供一种包交换网络中 判断 PW连接状态、 通告 AC连接状态的方法以及其服务设备。
本发明为解决上述技术问题所采用的技术方案为:
一种包交换网络中判断伪线路连接状态的方法, 包括以下步骤: 设置伪线路操作管理和维护报文, 用于伪线路连通状态检测; 本端服务设备发送所述的伪线路操作管理和维护请求报文,并等 待接收对端服务设备回复的伪线路操作管理和维护回答报文;
当本端服务设备在预设时间内收到所述回复的报文后,确定服务 设备之间的伪线路正常。
所述本端服务设备不断通过伪线路链路发出伪线路操作管理和 维护报文, 并检测发出的报文是否在预设的时间内返回, 来确定伪线 路是否出现故障。
该方法还包括: 在伪线路硬件转发表中设置伪线路有效标志位, 用于约束数据报文的转发,所述伪线路有效标志位由所述检测结果控 制, 该标志位置位表示伪线路有效时, 数据报文正常转发; 否则不进 行转发。
所述伪线路的操作管理和维护报文中包含三层标签,最外层为标 签交换路径标签,中间为伪线路标签,最内层为操作管理和维护标签; 对端服务设备接收到所述伪线路操作管理和维护报文后,对所述标签 交换路径标签做出栈操作, 对所述伪线路标签进行替换操作。
在入域标签映射表中添加操作管理和维护标志位,表示对应的伪 线路是否配置操作管理和维护功能;
所述对端服务设备收到伪线路操作管理和维护请求艮文,回复伪 线路操作管理和维护回答的过程包括:
将外层的标签交换路径标签出栈,然后根据伪线路标签查所述的 入域标签映射表, 检查所述的操作管理和维护标志位;
根据所述操作管理和维护标志位判断伪线路是否配置操作管理 和维护功能, 如果没有, 则所有转发都正常处理; 如果伪线路已经配 置操作管理和维护功能, 则判断下一层标签;
如果存在下一层标签, 并且是栈底标签, 标签值等于 14, 则表 明捕获报文是伪线路操作管理和维护报文,对该操作管理和维护报文 做替换操作, 获得新的标签交换路径标签和伪线路标签, 重新组装伪 线路操作管理和维护报文, 发送回所述的本端服务设备。
所述对端服务设备对伪线路标签进行替换操作的过程包括: 对端服务设备建立内层标签的替换表项, 并下发至硬件; 对端服务设备捕获伪线路操作管理和维护报文后,根据所述表项 执行替换操作。
进一步包括: 设置配属电路操作管理和维护报文, 所述报文中携 带子配属电路标识、 子配属电路状态字段;
当服务设备子配属电路状态变化时 ,通过所述的配属电路操作管 理和维护^艮文通知对端。
一种包交换网络中用于上述方法的服务设备,包括发送模块和接 收模块,还包括与所述发送模块和接收模块连接的操作管理和维护模 块;
所述操作管理和维护模块通过所述的发送模块发送伪线路操作 管理和维护 ^艮文;
所述的接收模块接收报文后,交给所述的操作管理和维护模块进 行处理,如果所接收报文为在预设时间内收到的所述发送报文的回复 操作管理和维护报文时, 认为服务设备之间的伪线路正常。
一种包交换网络中用于上述方法的服务设备,包括发送模块和接 收模块, 还包括与所述发送模块连接的操作管理和维护模块;
所述的接收模块接收伪线路操作管理和维护报文,交给所述的操 作管理和维护模块进行处理;
所述操作管理和维护模块将所述的伪线路操作管理和维护报文 通过所述的发送模块返回给发送方。
一种包交换网络中配属电路连接状态通告方法, 包括以下步骤: 设置配属电路操作管理和维护报文,所述^ ¾文中携带子配属电路 标识、 子配属电路状态字段;
当服务设备子配属电路状态变化时,通过所述的配属电路操作管 理和维护艮文通知对端。
服务设备记录本端子配属电路状态和远端子配属电路状态,当服 务设备确定本端子配属电路状态变化时, 在通知对端之前, 还包括: 更新本端记录的子配属电路状态。
进一步包括: 当服务设备记录的本端子配属电路状态和远端子配 属电路状态同时为正常状态时,根据该子配属电路对应的伪线路进行 W 业务转发; 当本端子配属电路状态或远端子配属电路状态属于非正常 状态时, 不进行转发;
所述子配属电路状态的判断方法为:若本端和远端的子配属电路 状态同时为正常状态时, 则判定子配属电路为正常状态; 若本端子配 属电路状态或远端子配属电路状态为非正常状态,则子配属电路为非 正常状态。
在服务设备中建立子配属电路、伪线路、子配属电路状态的对应 关系, 将其设置在子配属电路硬件转发表内;
所述业务转发的过程包括:根据所述子配属电路查询对应子配属 电路的状态, 在子配属电路为正常状态时, 根据所对应的伪线路进行 转发; 否则不进行转发。
所述的子配属电路通过子配属电路标识进行标识;
所述的子配属电路标识为虚拟路径标识 /虚拟信道标识符, 或虚 拟局域网标识; 或者, 所述的子配属电路标识为表示业务对的通用标 识, 并在所述艮务设备上设置该通用标识与虚拟路径标识 /虚拟信道 标识符, 或虚拟局域网标识的映射关系。
所述更新本端记录的子配属电路状态的处理包括:在服务设备中 设置子配属电路状态表,通过在所述子配属电路状态表中设置本端子 配属电路状态和远端子配属电路状态表项来反应所述子配属电路的 状态; 当本端子配属电路状态改变时, 修改所述的本端子配属电路状 态; 当接收到所述的配属电路操作管理和维护报文时,根据报文中的 子配属电路状态, 改变所述的远端子配属电路状态。
一种包交换网络中用于上述方法的服务设备, 包括配属电路模 块、 发送 /接收模块, 在服务设备中还包括与所述配属电路模块、 发 送 /接收模块连接的操作管理和维护模块; 在子配属电路状态变化时, 所述配属电路模块通知所述的操作管理和维护模块,操作管理和维护 模块通过所述发送 /接收模块发送携带子配属电路标识、 子配属电路 状态字段的操作管理和维护报文通知对端。 所述服务设备还包括与所述操作管理和维护模块连接的子配属 电路硬件转发表模块,所述子配属电路硬件转发表模块中建立子配属 电路标识及其状态与伪线路的对应关系,所述子配属电路的正常状态 为在两端子配属电路状态同时为正常状态时有效;在本端子配属电路 状态或远端子配属电路状态属于非正常状态时所述子配属电路为非 正常状态;
在业务转发时,所述操作管理和维护模块查询所述子配属电路硬 件转发表模块中对应子配属电路的状态, 在子配属电路为正常状态 时, 由所述发送 /接收模块根据所对应的伪线路进行转发。
所述服务设备还包括与所述操作管理和维护模块连接的子配属 电路状态表模块 ,所述子配属电路状态表模块记录本端子配属电路状 态和远端子配属电路状态, 来反应所述子配属电路的有效性。
针对判断 PW连接状态及其服务设备, 本发明的有益效果为: 本 发明扩展 Y.1711提出的 OAM缺陷检测,使这种专用的 OAM标签网 络性能监控、 故障告警机制适用于 PW, 有效完成 PW数据平面连通 性的检测, 实现判断 PW连接通断的功能。
本发明检测方法是通用的, 在整个检测过程中, PW-OAM报文 的处理不涉及任何的具体业务。被检测 PW仿真的专线或链路, 可以 是 IEEE PWE3草案中规定的任何一种, 如 Eth/TDM/FR/ATM等。
针对通告 AC连接状态的方法及其服务设备,本发明的有益效果 为: 通过扩展 ITU-T-Y.1711定义的 OAM类型, 实现 AC状态通告功 能。 PW绑定方式为 ATM N tol方式时, 一旦子 AC状态有变化, 便 通过 OAM报文通知对端,报文中携带可以标识子 AC的 VPI/VCI (也 可以是 VLAN ID等)。 这样处理, 可以解决现有技术非业务对的 AC UP导致的 PW状态 UP,但并不能真正转发^ 1艮文状况,导致即使一端 的 AC信息通过 PW伪线到达另一端的 PE, 也不能被继续转发, 而 是被该 PE丢弃, 浪费沿途节点的处理资源和宝贵的网络带宽资源的 缺陷。
本发明通过 AC-OAM报文可以准确获知仿真业务对信息, 拒绝 由于不属于同一仿真业务对的子 AC UP而导致的 PW UP, 使 PW状 态和真正的转发状态严格一致, 提高了 PW转发的有效性,避免了不 能最终互通的业务传输浪费沿途节点的处理资源和宝贵的网络带宽 资源, 并解决了静态 PW无法通告 AC状态的问题。
附图说明 图 1为采用 Martini方式进行状态通告的原理示意图;
图 2为采用 Notification方式进行通告的原理示意图;
图 3为一条 PW携带多条仿真业务流的连接关系示意图; 图 4为根据本发明一实施例的检测 PW的原理示意图; 图 5为根据本发明一实施例的 PW OAM检测过程示意图; 图 6所示为根据本发明一实施例的 AC状态通告原理示意图; 图 Ί为根据本发明一实施例的 AC状态通告发送过程处理流程 图 8 为根据本发明一实施例的 AC状态通告接收过程处理流程 图。
具体实施方式
下面根据附图和实施例对本发明作进一步详细说明: 现有实现 OAM功能可以有两种方式,第一种是定义专用的 OAM 标签进行网络性能监控, 故障告警, 类似于 ATM中的 OAM信元; 第二种是类似于传统 IP网络中的 Ping, 通过模拟 ICMP ( Internet控 制消息协议 ) 的 echo request (请求)和 reply (回答), 发现和定位 网络故障。 在本发明中, 将上述两种 0AM实现方式结合起来, 即: 定义专用的 OAM标签, 通过模拟 ICMP echo request和 reply, 进行 PW故障检测。
如图 4所示, PE1负责发送 OAM报文(request ), 本文称之 PW OAM主动方; PE2接收到 OAM报文后, 回复相应的 OAM报文 ( reply ), 本文称之 PW OAM被动方。 通过 PW OAM报文在被检测 PW链路上的一来一回, 当 PE1 在规定时间内收到报文后, 认为该 PW正常; 否则, 产生故障告警。 步骤如下:
1、 PWOAM主动方发送 F OAM请求报文;
2、 PWOAM被动方收到后, 回复 PWOAM答复报文;
3、 PW OAM主动方检测在规定时间内是否收到 PW OAM答复 报文后, 如果收到, 认为该 PW正常; 否则, 产生故障告警。
如图 5所示, PW OAM一次的检测过程步骤如下:
(0 前提) PE1 (主动方)和 PE2 (被动方)之间建立 PW, 双 方主机软件生成转发表项, 并下发至硬件(这样, 转发直接访问硬件 表项即可, 不再访问软件); 在 PE1和 PE2上分别配置 OAM, 对建 立的 PW进行检测;
( 1 ) PE1启动 OAM检测定时器, 并发起 OAM检测;
( 2 ) PE1主机软件下发 OAM标签给硬件, 组装 OAM包;
(3) PE1根据 PW硬件转发表发送 OAM包;
(4) PE2接收并解析报文, 交 OAM硬件模块处理;
( 5 ) PE2 OAM硬件模块分析报文, 交 OAM包組装模块处理;
(6) PE2组装 OAM包;
( 7 ) PE2发送;
(8) PE1接收, 解析报文, 交 OAM硬件模块处理;
(9) 文上交主机软件, 完成一次检测。
一、 下面对 PWOAM主动方处理进行具体说明:
(一)功能
为了检测 PW双向的数据平面连通性, OAM报文在 PW链路上 进行一次往返。 OAM报文由主动方 PE发出, 经过链路往返后, 又 在主动方 PE接收。 所以, 将 LSP OAM源端和宿端的处理集于一台 PE设备, 在主动方发送, 并在主动方接收检测。 即: 将 LSPOAM的 发送、 接收和检测机制直接移植、 合并, 就构成 PW主动方的 OAM 功能。
(二) PW-OAM报文
本发明定义一种新的 OAM检测报文: PW-OAM报文, 作用类 似于 LSP OAM的 CV、 FFD报文, 用于 PW连通状态检测。 报文的 功能类型 (Function Type ) 为 0x08。 报文格式如表 1所示:
表 1
Figure imgf000014_0001
主动方不断通过 FW链路发出 OAM报文, 并在本地检测发出的 才艮文是否在规定时间内返回, 从而确定 PW是否出现故障。
(三) PW有效标志位( PW— Avail— Flag )
本发明在已存在的 PW硬件转发表(NHLFE ) 中, 新定义一个 PW有效标志位—— PW— Avail— Flag, 用于约束 PW数据报文的转发。 PW硬件转发表格式如表 2所示:
表 2
Figure imgf000014_0002
如果 PW— Avail— Flag等于 1 , 则 PW有效, 数据可以正常转发; 否则, 表示 PW出现故障, 丟弃数据转发报文。 该标志位由检测结果 控制, 当检测 PW出现故障时, 将该标志位置 0, 阻止数据转发; 反 之, 当检测 PW恢复正常时, 则将该标志位置 1 , 使数据正常转发。
注意: PW— Avail— Flag仅仅约束非 OAM的数据报文, 对 OAM 报文而言, 此标志无意义, 即该标志不能控制 OAM报文的转发(因 为 OAM报文也是查询该表进行转发的, 如果 PW_Avail_Flag影响 ΟΑΜ ·^文的转发, 则标志位无法置 1 )。 二、 下面对 PW OAM被动方处理进行具体说明:
(一 ) PW-OAM 艮文逆向转发
PW的 ΟΑΜ报文中包含 3层标签, 最外层用于 LSP转发, 中间 一层用于 PW转发, 最内层标签应该是 OAM标签: 14, PW OAM报 文格式如表 3所示:
表 3
Figure imgf000015_0001
LSP OAM在宿端将 LSP转发标签做 POP (出栈)操作, 再将标 签 14 POP, 交 OAM模块处理, 最终在主机软件检测。 但 PW OAM 不是在这里检测, 而是要将 OAM报文再回送给主动方。 因此, 被动 方接收到 OAM报文, LSP标签仍然做 POP操作, PW标签则要进行 SWAP (替换)操作, 获得新的 PW标签和 LSP标签, 通过新获得的 标签将 OAM报文回送。 这里称这一过程为 PW OAM逆向转发。 本 发明使用的 OAM检测方法,检测过程与 ping操作类似,在被动方的 操作就是"解析和组装"的过程, 包括: 接收、 解析、 组装、 发送。
(二) PW OAM检测标志 ( OAM_Flag )
在 PW OAM逆向转发过程中, 为了保证高效率转发, 报文的所 有处理都由硬件完成,没有任何软件的参与。 因此,在配置 PW OAM 后,被动方必须建立一套内层标签的 SWAP表项, 并下发至硬件,使 被动方接收到 OAM报文后, 可以再发送回给主动方。
为了实现逆向转发, 本发明在硬件的 ILM ( Incoming Label Map, 入域标签映射)表中添加一个 OAM—Flag 的 OAM 标志位, 记为 OAM— F, 表示该 PW是否配置 OAM。 例如, 如果 FW配置 OAM, 则置 OAM—F为 1;否则置为 0,支持 PW OAM的 ILM表结构如表 4:
表 4
ILM表
0 POP
np
下一层
Label 0AM—F
标签不 SWAP
是 14
1
下一层
标签是 SWAP NHLFE-id (被检测的 PW) (三)逆向转发过程
综上所述, PW OAM逆向转发实现如下:
当被动方收到一个 PW报文时, 首先将外层的 LSP标签 POP, 然后根据 FW标签查 ILM表。 查到后, 检查 OAM— F的值。
如果 OAM— F等于 0, 表明 PW没有配置 OAM, 所有转发都正 常处理;
如果 OAMJF等于 1 , 表明 PW已经配置 OAM, 判断下一层标 签。 如果存在下一层标签, 并且是栈底标签, 标签值等于 14, 则表 明捕获报文是 OAM报文, 对该 OAM报文做 SWAP操作, 获得新的 LSP标签和 PW标签, 重新組装 OAM报文, 发送回至主动方。
本发明同时提供一种包交换网络中基于上述判断伪线路连接状 态方法的服务设备, 如图 5中的 PE1 , 包括发送模块和接收模块, 还 包括与发送模块和接收模块连接的操作管理和维护模块(如图 5 中 PE1 内虚线框所示); 操作管理和维护模块通过发送模块发送伪线路 操作管理和维护报文; 接收模块接收报文后, 交给操作管理和维护模 块进行处理,如果所接收报文为在预设时间内收到的所述发送报文的 回复操作管理和维护报文时, 认为服务设备之间的伪线路正常。
本发明同时提供的另一种包交换网络中基于上述判断伪线路连 接状态方法的服务设备,如图 5中的 PE2,包括发送模块和接收模块, 还包括与发送模块连接的操作管理和维护模块(如图 5中 PE2内虚线 框所示); 接收模块接收伪线路操作管理和维护报文, 交给操作管理 和维护模块进行处理;操作管理和维护模块将伪线路操作管理和维护 报文通过发送模块返回给发送方。
以上方法及服务设备有效地完成了 PW数据平面的连通性检测, 此时, 如果不属同一仿真业务对的 AC UP导致 PW状态 UP, 这时的 PW状态是不能真正反映转发状态的, 即使一端的 AC信息通过 PW 伪线到达另一端的 PE, 也不能被继续转发, 而是被该 PE丢弃, 从而 浪费沿途节点的处理资源和宝贵的网络带宽资源。
以下对有关配属电路连接状态通告的方法和服务设备进行说明。 本发明提供一种包交换网络中的配属电路连接状态通告方法,包 括以下内容: .
一、 AC-OAM报文
本发明扩展 ITU-T- Y.1711定义的 OAM类型,新增 AC-OAM(配 属电路操作管理和维护)报文, 用于当本端 AC状态发生变化时, 通 告对端。 在发送的 AC-OAM报文中需要携带 VPI (虚拟路径标识) /VCI (虚拟信道标识符)字段, 用于标识子 AC, 用一个字节表示子 AC的状态即一条 PVC的状态, AC-OAM报文的功能类型(Function Type )为 0x09, 其它字段保留 (Reserved ) 为 0x00。 格式如表 5·· 表 5
Figure imgf000017_0001
AC OAM不是检测子 AC的联通性,只是在本端子 AC的状态改 变时, 借助 OAM 艮文通告对端。
二、 AC硬件转发表
为了控制仿真数据在 PW上转发的有效性, 在 PE内已存在的硬 件表中, 需要新增一个 AC-PW绑定关系, 用来仿真数据的 PW转发 有效性。 该表存放在硬件中, 用于控制转发, 本发明称该表为 AC硬 件转发表。 在 AC硬件转发表中, 使用 VPI/VCI和 PW Label表示 AC-PW的绑定关系,并定义一个 AC有效标志位—— AC一 Avail— Flag, AC硬件转发表格式如表 6所示:
表 6
Figure imgf000017_0002
当进行业务转发时, 先通过 VPI/VCI查该表, 以确定某个子 AC 当前所在的 PW是否有效即是否能够正常转发业务。 例如, 如果 AC— Avail— Flag等于 1 , 则 PW有效, 根据 PW Label查 PE内已存在 的 PW硬件转发表, 正常发送报文; 如果 AC_AvailJFlag等于 0, 表 示 AC出现故障, 则丢弃 4艮文。
三、 AC状态表
在每台 PE设备中, 在主机软件中, 新增一个 AC状态表。 该表 主要包括两个域: 本端 AC状态和远端 AC状态, 分别表示本端和远 端的 AC状态。 AC状态表中的 VPI/VCI作用是一个索引, 用于标识 某个通道。 AC状态表格式如表 7所示:
表 7
Figure imgf000018_0001
本端 AC状态由本端 AC模块影响, 当本端 AC状态改变时, AC 模块通知主机软件, 改变 AC状态表中的本端 AC状态。 远端 AC状 态由 AC-OAM报文影响, 当收到 AC-OAM报文后,根据报文中的子 AC状态, 改变 AC状态表中的远端 AC状态。
AC状态表影响 AC硬件转发表, 如果本端 AC状态和远端 AC 状态同时为 UP,主机软件将 AC硬件转发表中的 AC_Avail—Flag置 1 , 使子 AC对应的 PW有效。 如果本端 AC状态或远端 AC状态为 DOWN, 主机软件将 AC硬件转发表中的 AC— Avail— Flag置 0, 使子 AC对应的 PW无效, 不能转发。
四、 AC状态通告过程
1、 AC状态通告原理
一次 AC状态通告过程可以分为发送过程和接收过程。当 PE1的
AC状态改变时,ΡΕΙ先修改本端的相关表项,再向 ΡΕ2发送 AC-OAM 报文通告 AC状态; 当 PE2收到 AC-OAM报文后, 解析报文, 根据 报文内容修改相应表项。
如图 6所示为根据本发明一实施例的 AC状态通告原理示意图, AC-OAM状态通告原理如下: PE1和 PE2之间需建立 PW, PW状态 为 UP,双方主机软件生成 PW硬件转发表项,并下发至硬件;在 PE1 和 PE2上分别配置 AC OAM通告,使 PE1和 PE2都具有处理 AC OAM 的能力。
( 1 ) 当 AC状态发生改变时, AC模块通知主机软件;
( 2 ) PE1主机软件 OAM模块更新 AC状态表即本端 AC状态; ( 3 ) PE1硬件 OAM模块更新 AC硬件转发表的 AC— Avail JFlag 标志位;
( 4 ) PE1硬件查询 PW硬件转发表, 组装 AC-OAM报文;
( 5 )发送 AC-OAM 4艮文;
( 6 ) PE2接收报文, 查询 PW硬件转发表, 解析报文, 交硬件 OAM模块处理;
( 7 ) PE2硬件 OAM模块分析报文, 获得报文参数, 交主机软 件 OAM模块处理;
( 8 ) PE2主机软件 OAM模块, 根据报文中的子 AC状态, 更新 AC状态表即远端 AC状态;
( 9 ) PE2主机软件 OAM模块命令硬件 OAM模块, 更新 AC硬 件转发表的 AC— Avail—Flag标志位。
这样, 通过通告机制, PE就能明确知道一条业务流对中本端子 AC的状态和对端子 AC的状态,从而可以准确获知仿真业务对信息, 拒绝由于不属于同一仿真业务对的子 AC U 而导致的 PW UP,使 PW 状态和真正的转发状态严格一致,避免了不能最终互通的业务传输浪 费沿途节点的处理资源和宝贵的网络带宽资源。
2、 发送过程
如图 7所示, 发送过程处理流程如下:
( 1 ) 子 AC 状态发生变化, 如由 Up 变为 Down (可以记为 UP->Down ), 或由 Down变为 Up (可以记为 Down->UP );
( 2 ) AC模块通知主机软件: 子 AC状态发生改变;
( 3 ) ~ ( 4 )在 PW的状态为 Up的情况下, 主机软件判断子 AC 状态是由 UP->Down, 还是 Down->UP;
如果子 AC 状态是由 UP->Down, 则执行步骤(5 )〜(7 ), 将 AC 状态表的本端 AC 状态改变为 Down; 将 AC硬件转发表的 AC— Avail— Flag置为非正常即失效状态, 如置为 0, 并发送 AC-OAM Down报文;
如果子 AC状态是由 Down->UP, 则执行步驟( 8 ) ~ ( 11 ), 将 AC状态表的本端 AC状态改变为 Up, 且 AC状态表的远端 AC状态 也是 Up; 将 AC硬件转发表的 AC— Avail— Flag置为正常即有效状态, 如置为 1 , 发送 AC-OAM Up报文。
3、 接收过程
如图 8所示, 接收过程处理流程如下:
( 1 ) PE接收到 AC-OAM报文;
( 2 ) 解析报文, 获得 VPI/VCI和子 AC状态;
( 3 ) 判断本端是否存在匹配的子 AC, 如果没有则结束; 如果 存在, 则进行第 (4 ) 步;
( 4 ) 判断子 AC状态是 Up还是 Down;
i、 如果是 Down, 则执行步驟(5 ) 〜(6 ), 将 AC状态表的远端
AC状态改变为 Down,并将 AC硬件转发表的 AC__AvailJFlag置为非 正常即失效状态, 如置为 0;
ii、 如果子 AC状态是 Up, 则执行步驟( 7 ) ~ ( 9 )将 AC状态 表的远端 AC状态改变为 Up,并判断 AC状态表的本端子 AC状态是 否为 Up,如果是,则将 AC硬件转发表的 AC— Avail— Flag置为正常即 有效状态, 如置为 1 , 否则结束。
五、 AC状态通告的通用性
AC-OAM通告 AC状态机制不仅限于 ATM PWE3的 N to 1方式, 对于 Eth/TDM/FR等 PWE3业务, 也同样适用。 在 ATM PWE3中, 使用 VPI/VCI可以标识一个特定的业务对, 类似的, Eth PWE3中可 以使用 Vlan ID (虚拟局域网标识)作为一对特定业务的标识。 所以, 将 AC-OAM报文和 AC硬件转发表中的 VPI/VCI替换成相应业务的 标识符, 如 Eth中的 Vlan ID, 便可以在相应的 PW业务仿真链路上 使用基于 OAM报文的 AC状态通告。 更统一的方法是,使用通用的子 AC标识符标识任意一种特定的 业务对。 即使用 AC-ID来表示 ATM中的 VPI/VCI、 Eth中的 VlanID 等, 并建立一个 AC-ID与特定业务对标识的映射关系。 这样, AC硬 件转发表格式如表 8所示:
表 8
Figure imgf000021_0001
这样就可以只用维护一张 AC硬件转发表, AC和 PW的关系更 加简明; AC与 PW绑定的业务配置命令筒单, 配置量只有以前的一 半; 硬件实现相对简单, 通过线性查找 AC-ID对应的索引确定具体 PVC的信息, 从而提高转发速度。
如图 6所示,本发明同时提供一种包交换网络中基于配属电路连 接状态通告方法的服务设备, 包括配属电路模块、 发送 /接收模块, 在服务设备中还包括与所述配属电路模块、 发送 /接收模块连接的操 作管理和维护 (OAM )模块; 在子配属电路状态变化时, 配属电路 模块通知操作管理和维护模块, 操作管理和维护模块通过发送 /接收 模块发送携带子配属电路标识、子配属电路状态字段的操作管理和维 护才艮文通知对端。
服务设备还包括与操作管理和维护模块连接的子配属电路硬件 转发表模块,子配属电路硬件转发表模块中建立子配属电路标识及其 状态与伪线路的对应关系,子配属电路的正常状态即有效性为在两端 子配属电路状态同时为正常状态时有效;在本端子配属电路状态或远 端子配属电路状态属于非正常状态时子配属电路为非正常状态即无 效; 在业务转发时,操作管理和维护模块查询所述子配属电路硬件转 发表模块中对应子配属电路的状态即有效性,在子配属电路为正常状 态即有效时, 由发送 /接收模块根据所对应的伪线路进行转发, 在转 发时查询 PW硬件转发表进行转发。
服务设备还包括与操作管理和维护模块连接的子配属电路状态 表模块,子配属电路状态表模块记录本端子配属电路状态和远端子配 属电路状态, 来反应子配属电路的有效性。
以上所述两种方法及其服务设备,即判断 pw连接状态及其服务 设备,和通告 AC连接状态的方法及其服务设备,可以分别单独使用, 也可以结合在一起使用。
本领域技术人员不脱离本发明的实质和精神,可以有多种变形方 案实现本发明, 以上所述仅为本发明较佳可行的实施例而已, 并非因 此局限本发明的权利范围,凡运用本发明说明书及附图内容所作的等 效变化, 均包含于本发明的权利范围之内。

Claims

-21 - 权 利 要 求
1、 一种包交换网络中判断伪线路连接状态的方法, 其特征在于 包括以下步骤:
设置伪线路操作管理和维护报文, 用于伪线路连通状态检测; 本端服务设备发送所述的伪线路操作管理和维护请求报文,并等 待接收对端服务设备回复的伪线路操作管理和维护回 艮文;
当本端服务设备在预设时间内收到所述回复的报文后,确定服务 设备之间的伪线路正常。
2、 根据权利要求 1所述的包交换网絡中判断伪线路连接状态的 方法, 其特征在于: 所述本端服务设备不断通过伪线路链路发出伪线 路操作管理和维护报文, 并检测发出的报文是否在预设的时间内返 回, 来确定伪线路是否出现故障。
3、 根据权利要求 1或 2所述的包交换网络中判断伪线路连接状 态的方法, 其特征在于: 还包括: 在伪线路硬件转发表中设置伪线路 有效标志位, 用于约束数据报文的转发, 所述伪线路有效标志位由所 述检测结果控制, 该标志位置位表示伪线路有效时, 数据 4艮文正常转 发; 否则不进行转发。
4、 根据权利要求 3所述的包交换网絡中判断伪线路连接状态的 方法, 其特征在于: 所述伪线路的操作管理和维护报文中包含三层标 签, 最外层为标签交换路径标签, 中间为伪线路标签, 最内层为操作 管理和维护标签;对端服务设备接收到所述伪线路操作管理和维护报 文后, 对所述标签交换路径标签做出栈操作, 对所述伪线路标签进行 替换操作。
5、 根据权利要求 4所述的包交换网络中判断伪线路连接状态的 方法,其特征在于:在入域标签映射表中添加操作管理和维护标志位, 表示对应的伪线路是否配置操作管理和维护功能;
所述对端服务设备收到伪线路操作管理和维护请求报文,回复伪 线路操作管理和维护回答的过程包括: O 2007/082429
-22- 将外层的标签交换路径标签出栈,然后根据伪线路标签查所述的 入域标签映射表, 检查所述的操作管理和维护标志位;
根据所述操作管理和维护标志位判断伪线路是否配置操作管理 和维护功能, 如果没有, 则所有转发都正常处理; 如果伪线路已经配 置操作管理和维护功能, 则判断下一层标签;
如果存在下一层标签, 并且是栈底标签, 标签值等于 14, 则表 明捕获报文是伪线路操作管理和维护报文,对该操作管理和维护报文 做替换操作, 获得新的标签交换路径标签和伪线路标签, 重新组装伪 线路操作管理和维护报文, 发送回所述的本端服务设备。
6、 根据权利要求 5所述的包交换网络中判断伪线路连接状态的 方法, 其特征在于: 所述对端服务设备对伪线路标签进行替换操作的 过程包括:
对端服务设备建立内层标签的替换表项, 并下发至硬件; 对端服务设备捕获伪线路操作管理和维护报文后,根据所述表项 执行替换操作。
7、 根据权利要求 1或 2所述的包交换网络中判断伪线路连接状 态的方法, 其特征在于: 进一步包括:
设置配属电路操作管理和维护报文,所述报文中携带子配属电路 标识、 子配属电路状态字段;
当服务设备子配属电路状态变化时,通过所述的配属电路操作管 理和维护 ^艮文通知对端。
8、 一种包交换网络中用于权利要求 1所述方法的服务设备, 包 括发送模块和接收模块, 其特征在于: 还包括与所述发送模块和接收 模块连接的操作管理和维护模块;
所述操作管理和维护模块通过所述的发送模块发送伪线路操作 管理和维护 文;
所述的接收模块接收报文后,交给所述的操作管理和维护模块进 行处理,如果所接收报文为在预设时间内收到的所述发送报文的回复 操作管理和维护报文时, 认为服务设备之间的伪线路正常。
9、 一种包交换网络中用于权利要求 1所述方法的服务设备, 包 括发送模块和接收模块, 其特征在于: 还包括与所述发送模块连接的 操作管理和维护模块;
所述的接收模块接收伪线路操作管理和维护报文,交给所述的操 作管理和维护模块进行处理;
所述操作管理和维护模块将所述的伪线路操作管理和维护报文 通过所述的发送模块返回给发送方。
10、一种包交换网络中配属电路连接状态通告方法,其特征在于, 包括以下步驟:
设置配属电路操作管理和维护报文,所述报文中携带子配属电路 标识、 子配属电路状态字段;
当服务设备子配属电路状态变化时,通过所述的配属电路操作管 理和维护 ^艮文通知对端。
11、 根据权利要求 10所述的包交换网络中配属电路连接状态通 告方法, 其特征在于: 服务设备记录本端子配属电路状态和远端子配 属电路状态, 当服务设备确定本端子配属电路状态变化时, 在通知对 端之前, 还包括: 更新本端记录的子配属电路状态。
12、 根据权利要求 11所述的包交换网络中配属电路连接状态通 告方法, 其特征在于: 进一步包括:
当服务设备记录的本端子配属电路状态和远端子配属电路状态 同时为正常状态时, 根据该子配属电路对应的伪线路进行业务转发; 当本端子配属电路状态或远端子配属电路状态属于非正常状态时,不 进行转发;
所述子配属电路状态的判断方法为:若本端和远端的子配属电路 状态同时为正常状态时, 则判定子配属电路为正常状态; 若本端子配 属电路状态或远端子配属电路状态为非正常状态,则子配属电路为非 正常状态。
13、 根据权利要求 12所述的包交换网络中配属电路连接状态通 告方法, 其特征在于: 在服务设备中建立子配属电路、 伪线路、 子配 属电路状态的对应关系, 将其设置在子配属电路硬件转发表内;
所述业务转发的过程包括:根据所述子配属电路查询对应子配属 电路的状态, 在子配属电路为正常状态时,根据所对应的伪线路进行 转发; 否则不进行转发。
14、 根据权利要求 13所述的包交换网络中配属电路连接状态通 告方法, 其特征在于:
所述的子配属电路通过子配属电路标识进行标识;
所述的子配属电路标识为虚拟路径标识 /虚拟信道标识符, 或虚 拟局域网标识; 或者, 所述的子配属电路标识为表示业务对的通用标 识 , 并在所述服务设备上设置该通用标识与虚拟路径标识 /虚拟信道 标识符, 或虚拟局域网标识的映射关系。
15、 根据权利要求 11所述的包交换网络中配属电路连接状态通 告方法, 其特征在于: 所述更新本端记录的子配属电路状态的处理包 括: 在服务设备中设置子配属电路状态表, 通过在所述子配属电路状 态表中设置本端子配属电路状态和远端子配属电路状态表项来反应 所述子配属电路的状态; 当本端子配属电路状态改变时, 修改所述的 本端子配属电路状态; 当接收到所述的配属电路操作管理和维护报文 时,根据报文中的子配属电路状态,改变所述的远端子配属电路状态。
16、 一种包交换网络中用于权利要求 10所述方法的服务设备, 包括配属电路模块、 发送 /接收模块, 其特征在于: 在服务设备中还 包括与所述配属电路模块、 发送 /接收模块连接的操作管理和维护模 块; 在子配属电路状态变化时, 所述配属电路模块通知所述的操作管 理和维护模块, 操作管理和维护模块通过所述发送 /接收模块发送携 带子配属电路标识、子配属电路状态字段的操作管理和维护报文通知 对端。
17、 根据权利要求 16所述的包交换网络中的服务设备, 其特征 在于:所述服务设备还包括与所述操作管理和维护模块连接的子配属 电路硬件转发表模块,所述子配属电路硬件转发表模块中建立子配属 电路标识及其状态与伪线路的对应关系,所述子配属电路的正常状态 为在两端子配属电路状态同时为正常状态时有效;在本端子配属电路 状态或远端子配属电路状态属于非正常状态时所述子配属电路为非 正常状态;
在业务转发时,所述操作管理和维护模块查询所述子配属电路硬 件转发表模块中对应子配属电路的状态, 在子配属电路为正常状态 时, 由所述发送 /接收模块才艮据所对应的伪线路进行转发。
18、 根据权利要求 17所述的包交换网络中的服务设备, 其特征 在于:所述服务设备还包括与所述操作管理和维护模块连接的子配属 电路状态表模块,所述子配属电路状态表模块记录本端子配属电路状 态和远端子配属电路状态, 来反应所述子配属电路的有效性。
PCT/CN2006/002637 2006-01-17 2006-10-09 Methods and devices for judging pw connection state and notifying ac connection state Ceased WO2007082429A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
AT06791219T ATE461572T1 (de) 2006-01-17 2006-10-09 Verfahren und einrichtungen zur beurteilung des pw-verbindungszustands und zum mitteilen des ac- verbindungszustands
EP06791219A EP1978681B1 (en) 2006-01-17 2006-10-09 Methods and devices for judging pw connection state and notifying ac connection state
DE602006013047T DE602006013047D1 (de) 2006-01-17 2006-10-09 Verfahren und einrichtungen zur beurteilung des pw-verbindungszustands und zum mitteilen des ac-verbindungszustands
US12/174,503 US20080273467A1 (en) 2006-01-17 2008-07-16 Methods for determining pw connection state and for notifying ac connection state and the associated equipments

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN200610033144.2 2006-01-17
CNB2006100331457A CN100428740C (zh) 2006-01-17 2006-01-17 包交换网络中配属电路连接状态通告方法及服务设备
CNB2006100331442A CN100484097C (zh) 2006-01-17 2006-01-17 包交换网络中判断伪线路连接状态的方法及服务设备
CN200610033145.7 2006-01-17

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US12/174,503 Continuation US20080273467A1 (en) 2006-01-17 2008-07-16 Methods for determining pw connection state and for notifying ac connection state and the associated equipments

Publications (1)

Publication Number Publication Date
WO2007082429A1 true WO2007082429A1 (en) 2007-07-26

Family

ID=38287242

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/002637 Ceased WO2007082429A1 (en) 2006-01-17 2006-10-09 Methods and devices for judging pw connection state and notifying ac connection state

Country Status (5)

Country Link
US (1) US20080273467A1 (zh)
EP (1) EP1978681B1 (zh)
AT (1) ATE461572T1 (zh)
DE (1) DE602006013047D1 (zh)
WO (1) WO2007082429A1 (zh)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8976680B2 (en) * 2010-03-15 2015-03-10 Juniper Networks, Inc. Operations, administration, and management fields for packet transport
US20130007252A1 (en) * 2010-03-31 2013-01-03 Annikki Welin Operations, administrations and management proxy and a method for handling operations, administrations and management messages
US8559432B2 (en) 2010-09-23 2013-10-15 Telefonaktiebolaget Lm Ericsson (Publ) Pseudo-wire providing an in-band control channel using an offset
CN102088415B (zh) * 2011-03-14 2014-06-25 杭州华三通信技术有限公司 Mac地址撤销的方法及设备
US20130121164A1 (en) * 2011-11-11 2013-05-16 Nokia Siemens Networks Ethernet Solutions, Ltd. One to Many OAM/Protection Inter-Working Function
US20130258837A1 (en) * 2012-03-30 2013-10-03 Alcatel-Lucent Usa Inc. Pseudowire extended group actions in a packet switched network
US9960982B2 (en) 2012-07-24 2018-05-01 Accedian Networks Inc. Multi-hop reflector sessions
US8711708B2 (en) 2012-07-24 2014-04-29 Accedian Networks Inc. Automatic setup of reflector instances
CN102821010B (zh) * 2012-08-23 2015-05-13 广东电网公司电力调度控制中心 保护装置仿真仪
US9306830B2 (en) 2013-01-30 2016-04-05 Accedian Networks Inc. Layer-3 performance monitoring sectionalization
US9225664B2 (en) * 2013-03-15 2015-12-29 Alcatel Lucent System and method for aggregating pseudowires
US9497093B2 (en) 2013-09-24 2016-11-15 Alcatel Lucent Reliable status delivery and request mechanism for static pseudowires
CN105100020B (zh) * 2014-05-16 2019-08-09 中兴通讯股份有限公司 数据的处理方法、装置及网络设备
CN106559234B (zh) * 2015-09-28 2021-02-19 中兴通讯股份有限公司 控制消息发送方法及装置
CN115086231A (zh) * 2022-06-22 2022-09-20 杭州云合智网技术有限公司 Pw层oam的解析方法
US12531776B2 (en) * 2022-07-15 2026-01-20 Cisco Technology, Inc. Extending active measurement protocol with OAM channel
US20250274363A1 (en) * 2024-02-26 2025-08-28 Microsoft Technology Licensing, Llc Ingress traffic shift prediction

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09130381A (ja) * 1995-10-31 1997-05-16 Ricoh Co Ltd 無線lanシステム
CN1391379A (zh) * 2001-06-12 2003-01-15 华为技术有限公司 一种异步传输模式系统中永久虚拟线路的管理方法
CN1417986A (zh) * 2001-11-06 2003-05-14 华为技术有限公司 异步转移模式交换机业务互通测试方法及装置
US20040156313A1 (en) * 2003-02-03 2004-08-12 Hofmeister Ralph Theodore Method and apparatus for performing data flow ingress/egress admission control in a provider network
CN1625176A (zh) * 2003-12-03 2005-06-08 华为技术有限公司 边缘到边缘伪线仿真协议的实现方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10262064A (ja) * 1997-03-19 1998-09-29 Fujitsu Ltd 複数回線終端装置及び複数回線終端装置のoam処理方法
US7486622B2 (en) * 2003-04-28 2009-02-03 Alcatel-Lucent Usa Inc. OAM echo messaging to verify a service-based network distribution path
US7174427B2 (en) * 2003-12-05 2007-02-06 Intel Corporation Device and method for handling MPLS labels

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09130381A (ja) * 1995-10-31 1997-05-16 Ricoh Co Ltd 無線lanシステム
CN1391379A (zh) * 2001-06-12 2003-01-15 华为技术有限公司 一种异步传输模式系统中永久虚拟线路的管理方法
CN1417986A (zh) * 2001-11-06 2003-05-14 华为技术有限公司 异步转移模式交换机业务互通测试方法及装置
US20040156313A1 (en) * 2003-02-03 2004-08-12 Hofmeister Ralph Theodore Method and apparatus for performing data flow ingress/egress admission control in a provider network
CN1625176A (zh) * 2003-12-03 2005-06-08 华为技术有限公司 边缘到边缘伪线仿真协议的实现方法

Also Published As

Publication number Publication date
EP1978681A4 (en) 2009-01-21
ATE461572T1 (de) 2010-04-15
US20080273467A1 (en) 2008-11-06
EP1978681B1 (en) 2010-03-17
EP1978681A1 (en) 2008-10-08
DE602006013047D1 (de) 2010-04-29

Similar Documents

Publication Publication Date Title
US20080273467A1 (en) Methods for determining pw connection state and for notifying ac connection state and the associated equipments
CN102195865B (zh) 多宿网络中的通信网络路径和状态信息
CN103580894B (zh) 操作、管理和维护oam配置的方法、设备及系统
CN101447900A (zh) 一种建立双向转发检测的方法、系统及设备
WO2013182059A1 (zh) 多协议标签交换流量工程隧道建立方法及设备
CN101552711B (zh) 建立伪线映射的方法及装置
CN101771577A (zh) 一种为双向lsp建立双向转发检测的方法、系统及设备
CN100484097C (zh) 包交换网络中判断伪线路连接状态的方法及服务设备
KR20140117993A (ko) 링크 장애 추적을 위한 mpls-tp 네트워크 및 방법
US7623531B2 (en) Negotiation of datapath treatment for end-to-end interworked network traffic
WO2009092257A1 (zh) 运营商骨干网传输网络的故障检测方法和装置
CN102136995A (zh) Mpls与mpls-tp之间oam转换的方法及装置
CN102299865B (zh) 多协议标签交换传送技术环保护倒换方法及节点
CN102013990A (zh) 一种多段伪线故障的端到端通告方法及系统
WO2012106872A1 (zh) 实现连通性检测的方法、会聚设备和系统
CN105812198A (zh) 桥接网络端到端的监测方法和装置
EP2832061B1 (en) Pseudowire extended group messaging in a packet switched network
CN104205747B (zh) 分组交换网络中的伪线群组
CN100446476C (zh) 一种网络故障检测结果互通的方法和装置
Aggarwal OAM mechanisms in MPLS layer 2 transport networks
CN100428740C (zh) 包交换网络中配属电路连接状态通告方法及服务设备
CN101611595A (zh) 用于伪线仿真的多功能控制信道
CN100428730C (zh) 一种防止消息环路的方法
CN104303469B (zh) 分组交换网络中伪线扩展组的实施

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2006791219

Country of ref document: EP