WO2015018090A1 - 一种业务流链路的连通性检测方法、相关装置及系统 - Google Patents

一种业务流链路的连通性检测方法、相关装置及系统 Download PDF

Info

Publication number
WO2015018090A1
WO2015018090A1 PCT/CN2013/081229 CN2013081229W WO2015018090A1 WO 2015018090 A1 WO2015018090 A1 WO 2015018090A1 CN 2013081229 W CN2013081229 W CN 2013081229W WO 2015018090 A1 WO2015018090 A1 WO 2015018090A1
Authority
WO
WIPO (PCT)
Prior art keywords
identification information
service flow
network device
message
ccm
Prior art date
Application number
PCT/CN2013/081229
Other languages
English (en)
French (fr)
Inventor
陈锐
刘毅
Original Assignee
华为技术有限公司
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
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201380001205.5A priority Critical patent/CN105379180B/zh
Priority to EP13883841.2A priority patent/EP2858302B1/en
Priority to PCT/CN2013/081229 priority patent/WO2015018090A1/zh
Publication of WO2015018090A1 publication Critical patent/WO2015018090A1/zh

Links

Classifications

    • 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/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • 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/10Active monitoring, e.g. heartbeat, ping or trace-route

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, a related device, and a system for detecting connectivity of a service flow link in a network. Background technique
  • Ethernet technology has been widely used in enterprise networks, metropolitan area networks, and wide area networks due to its simplicity, low cost, and low cost.
  • traditional Ethernet can be maintained and has low operational capability.
  • OAM Ethernet Operation Management and Maintenance
  • the Ethernet OAM function is mainly divided into two parts:
  • the physical link Ethernet OAM function is used to implement the fault detection and notification function of the Ethernet physical link between the two devices.
  • the service Ethernet OAM function is mainly implemented end-to-end. Link connectivity management between devices (such as between users and users, through multiple network devices).
  • CFM Connectivity Fault Management
  • ME Maintenance Entities
  • a device that can be maintained in the network mainly refers to the bridge device in the network, and can be configured as a virtual local area network (VLAN) + medium access control (MAC). Layer forwarding device.
  • VLAN virtual local area network
  • MAC medium access control
  • MD Maintenance Domain
  • MA Maintenance Association
  • MIP Maintenance End Point
  • MEP Maintenance End Point
  • MIP Maintenance Intermediate Point
  • the MEP determines the range and boundary of the MD and MA. It is the edge node of the MD and MA and belongs to a certain MA.
  • the level of the MEP is equal to the level of the MD it is in.
  • the MEP is in the Up and Down directions.
  • the Up direction is the direction of the device forwarding layer.
  • the Down direction is the direction away from the device forwarding layer.
  • the MEP needs to be manually created.
  • the MIP is located inside the MA. Multiple MIPs can be deployed between the two MEPs to improve controllability and manageability of the network. MIP is automatically generated based on rules and cannot be created manually.
  • the fault detection function is implemented by Continuity Check (CC).
  • CC Continuity Check
  • Each MEP periodically sends a CCM message in its associated service virtual area network (S-VLAN), and receives the status of the peer MEP saved by the MEP update of the CCM message. If it is not received within a certain period of time, If the CCM packet sent by the peer MEP is faulty, the neighbor is faulty or the link is faulty.
  • S-VLAN service virtual area network
  • the fault acknowledgment function is implemented by loopback (LB).
  • the source MEP sends a loopback message (LBM) packet to the destination MEP through the MIP, and the destination MEP responds to the source MEP with a loopback response. (Loopback Reply, LBR) message.
  • LBM loopback message
  • LBR Loopback Reply
  • the fault location function is implemented by the LT.
  • the source MEP sends a Link Trace Message (LTM), and the MIP arrives at the destination MEP.
  • LTM Link Trace Message
  • the MIP and the destination MEP along the path must respond to the source MEP with a link trace response (Link Trace). Reply, LTR) message.
  • Link Trace link trace response
  • LTR link trace response
  • the source MEP can locate the fault.
  • the common scenario of an access device is that there are multiple service flows in an S-VLAN.
  • the dotted line shows the service flow, and the link between each service flow and the access device and the switching device. It is called a service flow link.
  • each pair of MEPs can be associated with only one service flow link identifier.
  • the complexity and difficulty are quite large, which affects the widespread promotion of CFM applications. Summary of the invention
  • the embodiments of the present invention provide a method for detecting connectivity of a service flow link, a related device, and a system, which are used to solve multiple service flow links on an access device in the prior art, and multiple pairs of MEPs need to be established.
  • the complexity and difficulty of configuring multiple pairs of MEPs is quite large, which affects the widespread promotion of CFM applications.
  • the first aspect provides a connectivity detection method for a service flow link in a network, where the network includes a first network device and a second network device, where the first network device is configured with a maintenance terminal point MEP.
  • the MEP is associated with the identification information of the multiple service flow links, and the method includes:
  • the first network device receives a plurality of connectivity detection messages (CCMs) from the second network device, where each CCM file carries the first identification information and the second identification information, where the first identification information is The set of the identification information of the plurality of service flow links, where the second identification information is the identification information of the service flow link used by the second network device to send the CCM message;
  • CCMs connectivity detection messages
  • the multiple service flow links are configured on the first network device, and the first network device receives multiple from the second network device Before the CCM message, it also includes: The first network device sends the set of the identification information of the multiple service flow links to the second network device.
  • the identifier information of the service flow link includes a user virtual local area network identifier
  • the first network device receives multiple CCM messages from the second network device according to a set period.
  • the service flow corresponding to the identifier information that exists in the set of the second identifier information that is not in the first identifier information but not in the plurality of CCM packets is determined. After the link is faulty, it also includes:
  • the fault alarm information that is the identification information of the faulty service flow link is sent.
  • the method further includes:
  • the fault recovery information is sent.
  • the method further includes:
  • the first network device sends a loopback message LBM message to the second network device, where the LBM packet carries the third identifier information, where the third identifier information is sent by the first network device to the LBM.
  • the method further includes:
  • the first network device sends a tracking message LTM message to the second network device, where the LTM message carries fourth identifier information, where the fourth identifier information is that the first network device sends the LTM message. Identification information of the service flow link used;
  • the first network device does not receive the tracking response LTR packet that is sent by the second network device and carries the fourth identifier information, it is determined that the service flow link corresponding to the fourth identifier information is faulty.
  • the first network device is an access device
  • the second network device is a routing device or a switching device.
  • the first network device is an access device
  • the second network device is at least one terminal device
  • the multiple service flow links are disposed on the at least one terminal device.
  • the identifier information of the service flow link includes a service virtual local area network (S-VLAN) to which the service flow link belongs, and the service flow is further included.
  • S-VLAN service virtual local area network
  • the access device is an optical line terminal
  • the terminal device is an optical network unit.
  • the second aspect provides a connectivity detection device for a service flow link, where the device is provided with a maintenance terminal point MEP and a plurality of service flow links, and the device includes:
  • a storage unit configured to store a correspondence between the MEP and the identification information of the multiple service flow links
  • a transceiver unit configured to receive a plurality of connectivity detection message CCM messages from the network device, where each CCM message carries the first identifier information and the second identifier information, where the first identifier information is the multiple service flows a set of identification information of the link, where the second identification information is identifier information of a service flow link used by the network device to send a CCM message;
  • a determining unit configured to compare the second identification information of the plurality of CCM messages received by the transceiver unit with the first identification information, if the second one of the multiple CCM messages If the identifier information is less than the first identifier information, the service flow link corresponding to the identifier information that exists in the set of the second identifier information that is not in the first identifier information but not in the plurality of CCM packets exists. malfunction.
  • the transceiver unit is further configured to: before receiving the multiple CCM packets from the network device, the identifier information of the multiple service flow links The collection is sent to the network device.
  • the identifier information of the service flow link includes a user virtual local area network identifier C-VLAN or a priority.
  • the transceiver unit receives multiple CCM messages from the network device according to a set period.
  • the determining unit is further configured to: determine second identifier information that is not present in the multiple CCM packets, but is not present in the first identifier information If the service flow link corresponding to the identification information in the set has a fault, if the multiple service flow links are faulty, the fault alarm information that the identification information is empty is sent; If at least one service flow link in the service flow link is faulty, the fault alarm information indicating that the identification information is the fault information of the faulty service flow link is sent.
  • the transceiver unit is further configured to:
  • the fault recovery information is sent.
  • the transceiver unit is further configured to send a loopback message LBM ⁇ to the network device, where
  • the LBM " ⁇ " carries the third identification information, where the third identification information is the identification information of the service flow link used by the transceiver unit to send the LBM message;
  • the determining unit is further configured to: if the transceiver unit does not receive the link loopback response LBR packet that carries the third identifier information returned by the network device, determine the service corresponding to the third identifier information The flow link is faulty.
  • the transceiver unit is further configured to use the network device And sending the tracking message LTM message, where the LTM message carries the fourth identifier information, where the fourth identifier information is the identifier information of the service flow link used by the first network device to send the LTM message;
  • the determining unit is further configured to: if the transceiver unit does not receive the tracking response LTR message that carries the fourth identifier information returned by the network device, determine a service flow link corresponding to the fourth identifier information There is a fault.
  • the network device is a routing device or a switching device.
  • the network device is at least one terminal device, and the multiple service flow links are disposed on the at least one terminal device.
  • the identifier information of the service flow link includes a service virtual local area network (S-VLAN) to which the service flow link belongs, and a service flow The C-VLAN or priority of the link.
  • S-VLAN service virtual local area network
  • the terminal device is an optical network unit.
  • the third aspect provides an access device, where the access device is configured with a maintenance terminal point MEP and a plurality of service flow links, where the access device includes:
  • a storage configured to store a correspondence between the MEP and the identification information of the multiple service flow links
  • a transceiver configured to receive a plurality of connectivity detection message CCM messages from the network device, where each CCM message carries first identification information and second identification information, where the first identification information is the multiple service flow chains a set of identification information of the road, where the second identifier information is identifier information of a service flow link used by the network device to send a CCM message;
  • the transceiver is further configured to: before receiving the multiple CCM packets from the network device, the identifier information of the multiple service flow links The collection is sent to the network device.
  • the identifier information of the service flow link includes a user virtual local area network identifier C-VLAN or a priority, or includes The service virtual LAN S-VLAN and the C-VLAN of the service flow link, or the priority of the service virtual local area network S-VLAN and the service flow link to which the service flow link belongs.
  • the transceiver is configured to receive multiple CCM messages from the network device according to a set period.
  • the processor is further configured to: determine second identifier information that is not present in the multiple CCM messages, but is not present in the first identifier information If the service flow link corresponding to the identification information in the set has a fault, if the multiple service flow links are faulty, the fault alarm information that the identification information is empty is sent; if the multiple service flow links are in the If at least one service flow link is faulty, the fault alarm information indicating that the identification information is the fault information of the faulty service flow link is sent.
  • the transceiver is further configured to:
  • the fault recovery information is sent.
  • the transceiver is further configured to send a loopback message to the network device, the LBM " ⁇ ,
  • the LBM file carries the third identifier information, where the third identifier information is identifier information of the service flow link used by the transceiver to send the LBM packet.
  • the processor is further configured to: if the transceiver does not receive the bearer returned by the network device The link loopback response LBR packet of the third identifier information determines that the service flow link corresponding to the third identifier information is faulty.
  • the transceiver is further used to the network device Sending a tracking message LTM message, where the LTM message carries fourth identification information, where the fourth identification information is identifier information of a service flow link used by the transceiver to send the LTM message;
  • the processor is further configured to: if the transceiver does not receive the tracking response LTR packet that carries the fourth identifier information returned by the network device, determine a service flow link corresponding to the fourth identifier information There is a fault.
  • the fourth aspect provides a terminal device, where the terminal device is configured with a maintenance terminal point MEP and a plurality of service flow links, where the terminal device includes:
  • a storage configured to store a correspondence between the MEP and the identification information of the multiple service flow links:
  • a transceiver configured to receive a plurality of connectivity detection message CCM messages from the network device, where each CCM message carries first identification information and second identification information, where the first identification information is the multiple service flow chains a set of identification information of the road, where the second identifier information is identifier information of a service flow link used by the network device to send a CCM message;
  • a processor configured to compare a second set of the second identification information of the plurality of CCM messages received by the transceiver with the first identification information, if the second one of the multiple CCM messages If the identifier information is less than the first identifier information, the service flow link corresponding to the identifier information that exists in the set of the second identifier information that is not in the first identifier information but not in the plurality of CCM packets exists. malfunction.
  • the transceiver is further configured to: before the multiple CCM messages from the network device, receive the multiple service flow links A collection of identification information is sent to the network device.
  • the identifier information of the service flow link includes a service virtual local area network S to which the service flow link belongs.
  • the VLAN and the user virtual LAN of the service flow link identify the C-VLAN.
  • the transceiver receives a plurality of CCM messages from the network device according to a set period.
  • the processor is further configured to: determine second identifier information that is not present in the multiple CCM messages, but is not present in the first identifier information If the service flow link corresponding to the identification information in the set has a fault, if the multiple service flow links are faulty, the fault alarm information that the identification information is empty is sent; if the multiple service flow links are in the If at least one service flow link is faulty, the fault alarm information indicating that the identification information is the fault information of the faulty service flow link is sent.
  • the transceiver is further configured to:
  • the fault recovery information is sent.
  • the transceiver is further configured to send a loopback message LBM message to the network device, where The LBM " ⁇ " carries the third identification information, where the third identification information is the identification information of the service flow link used by the transceiver to send the LBM message;
  • the processor is further configured to: if the transceiver does not receive the link loopback response LBR packet that carries the third identifier information returned by the network device, determine the service corresponding to the third identifier information The flow link is faulty.
  • the transceiver is further configured to send a tracking message LTM message to the network device, where the LTM message carries fourth identifier information, where the fourth identifier is The information is used by the transceiver to send the identification information of the service flow link used by the LTM message; the processor is further configured to: if the transceiver does not receive the network device, return the fourth The tracking response LTR message of the identification information determines that the service flow link corresponding to the fourth identification information is faulty.
  • a connectivity detection system for a service flow link including a first network device and a second network device, where the first network device is connected to the second network device, where A network device is provided with a maintenance terminal point MEP, and the MEP forms a corresponding relationship with the identification information of the multiple service flow links;
  • the first network device is configured to receive a plurality of connectivity detection message CCM messages from the second network device, where each CCM message carries first identification information and second identification information, where the first identification information is a set of identification information of the plurality of service flow links, where the second identification information is identifier information of a service flow link used by the second network device to send a CCM message; and the received information to be received And comparing the second identifier information of the plurality of CCMs to the first identifier information, and if the second identifier information of the plurality of CCM packets is less than the first identifier information, determining that the The service flow link corresponding to the first identification information but not in the set of the second identification information of the plurality of CCM messages is faulty.
  • the multiple service flow links are configured on the first network device, where the first network device is further configured to receive from the second Before the multiple CCM messages of the network device, the set of the identification information of the multiple service flow links is sent to the second network device.
  • the identifier information of the service flow link includes a user virtual local area network identifier C-VLAN or a priority.
  • the first network device receives multiple CCM messages from the second network device according to a set period.
  • the first network device is further configured to:
  • the fault alarm information that the identification information is empty is sent out; if at least one service flow link in the plurality of service flow links is faulty, the identifier information is sent as the identifier information of the faulty service flow link. Fault alarm information.
  • the first network device is further configured to: when receiving the second identifier from the second network device If the information is a CCM message of the identification information of all faulty service flow links, the fault recovery information is sent.
  • the first possible implementation manner of the fifth aspect, the second possible implementation manner of the fifth aspect, the third possible implementation manner of the fifth aspect, and the fourth possible aspect of the fifth aspect is the fifth possible implementation manner of the fifth aspect.
  • the first network device is further configured to:
  • the first network device is further used to: The second network device sends a tracking message LTM message, where the LTM message carries the fourth identifier information, where the fourth identifier information is the service flow link used by the first network device to send the LTM message. Identification information; If the tracking response that carries the fourth identifier information returned by the second network device is not received
  • the LTR packet determines that the service flow link corresponding to the fourth identifier information is faulty.
  • the multiple service flow links are configured on the second network device
  • the first network device is further configured to receive identification information of the multiple service flow links from the second network device.
  • the identifier information of the service flow link includes a service virtual local area network (S-VLAN) to which the service flow link belongs
  • S-VLAN service virtual local area network
  • the user virtual local area network of the service flow link identifies the C-VLAN or includes the service virtual local area network S-VLAN to which the service flow link belongs and the priority.
  • the connectivity detection method of the service flow link in the network provided by the first aspect, the connectivity detection device of the service flow link provided by the second aspect, the access device provided by the third aspect, and the terminal device provided by the fourth aspect Or the fifth aspect provides a connectivity detection system for the service flow link, which monitors multiple service flow links through a pair of MEPs, which simplifies the complexity and difficulty of configuration, and is beneficial to the widespread promotion of CFM applications.
  • FIG. 1 is a schematic diagram of a pair of MEPs monitoring a service flow link in the prior art
  • FIG. 2 is a schematic diagram of a first networking structure according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a second networking structure according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for detecting connectivity of a service flow link in a network according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a CCM packet according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of an LB packet according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a device for detecting connectivity of a service flow link according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of an access device according to an embodiment of the present invention
  • FIG. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a connectivity detection system for a service flow link according to an embodiment of the present invention. detailed description
  • the embodiment of the invention provides a method for detecting connectivity of a service flow link in a network, where the network includes a first network device and a second network device, where the first network device is configured with MEP, MEP and identification information of multiple service flow links. A correspondence is formed, and the method can be applied to the networking structure as shown in FIGS. 2 and 3.
  • MEP1 and multiple service flow links are set on the first network device, and MEP2 is set on the second network device, and MEP1 and MEP2 are configured in pairs, and multiple MEPs can be monitored by the pair of MEPs.
  • MEP1 is the uplink port and the direction is UP.
  • MEP1 is configured on the uplink port, which is equivalent to the traffic flow links monitored by MEP1.
  • the identification information of the service flow link monitored by the MEP1 and the MEP2 may be a priority, a client-side virtual local area network (C-VLAN), and the like. If the identification information of the service flow link is a C-VLAN, the C-VLAN It can be continuous or discrete.
  • the identification information of the service flow link is set to all.
  • the default is all C-VLANs in the S-VLAN. Even if the service flow in the S-VLAN is added or deleted, there is no need to manually modify the MEP configuration. Automatically traverse all C-VLANs in the S-VLAN. This can alleviate the difficulty of MEP configuration on the first network device and the second network device.
  • the first network device may be an access device
  • the second network device may be a routing device or a switching device.
  • the difficulty of MEP configuration on the first network device and the second network device is alleviated, and multiple service flow links are set on the second network device, and the first network device is configured.
  • the MEP of the second network device corresponds to the MEP of the second network device, and the ports of the MEPs on the first network device and the second network device are all uplink ports, and the direction is UP.
  • the first network device is an access device, and the second network device is at least one terminal device.
  • the access device may be an optical line terminal, and the terminal device may be an optical network unit. For the terminal device, you only need to configure a MEP to specify the C-VLAN of the monitored service flow link.
  • the MEP on one access device corresponds to the MEP on multiple terminal devices.
  • the identifier of the service flow link includes the S-VLAN to which the service flow link belongs, and the C-VLAN or the priority of the service flow link.
  • the two-layer identifier can be used to identify a service flow link.
  • the S-VLAN set of the terminal device is identified, and the inner layer identifier is a C-VLAN set or priority of the terminal device.
  • the C-VLAN set of the monitored service flow link is 100 service flow chains of VLAN 101 to VLAN 200.
  • the identification information of the service flow link monitored by the MEP1 on the terminal device is 101-200; the MA of the terminal device 2 is associated with the VLAN 200, and the C-VLAN set of the monitored service flow link is VLAN 150 to In the case of the VLAN 200, the identification information of the service flow link monitored by the MEP2 on the terminal device 2 is 150-200.
  • the MA associated with the MEPN+1 on the access device is associated with VLAN 1000.
  • VLAN 1000 is the S-VLAN of the access device service flow. It is also possible to set the inner layer identifier of the service flow link set in the terminal device N and the access device to all, so that the default is all C-VLANs in the current S-VLAN.
  • the method for detecting the connectivity of the service flow link in the network is as follows: S40: The first network device receives multiple CCM messages from the second network device.
  • Each CCM message carries the first identification information and the second identification information, where the first identification information is a set of identification information of the plurality of service flow links, and the second identification information is a service used by the second network device to send the CCM message. Identification information of the flow link.
  • S41 Compare the set of the second identification information in the received multiple CCM messages with the first identification information.
  • a plurality of service flow links are monitored by a pair of MEPs, which simplifies the complexity and difficulty of configuration, and is beneficial to the widespread promotion of CFM applications.
  • the multiple service flow links are set on the first network device, and the first network device in the S40 receives the second network device.
  • the plurality of CCM messages further include: the first network device sends the set of the identification information of the plurality of service flow links to the second network device.
  • the set of the identification information of the service flow link carried in the CCM packet sent by the second network device is sent by the first network device.
  • the first network device in the foregoing S40 receives the multiple CCM messages from the second network device according to the set period.
  • the setting period can be set as needed.
  • the method further includes: If there is a fault in the service flow link, the fault alarm information indicating that the identification information is empty is sent; if at least one service flow link in the multiple service flow links is faulty, the identifier information is sent as the identifier of the faulty service flow link. Fault alarm information of the information.
  • the format of the CCM packet is shown in Figure 5.
  • the header of the packet is omitted here. Only the structure of the packet is given.
  • the "Optional CCM TLV" field in the packet can be used to increase the length of the two types of types. , TLV ), where Value is a string, a number, a bit, etc., and the following is an example in which Value is a string.
  • the first layer TLV describes the set of identification information of each service flow link set by the local network device.
  • the S-VLAN is 1000 and the C-VLAN is 101 to 104.
  • the use of string forms provides flexible storage of C-VLAN contiguous or discrete sets.
  • the second layer TLV describes the identification information of the service flow link used by the local end to send the CCM packet, and is used by the peer network device to parse the CCM packets of the service flow links received, and also detect which C- The VLAN did not receive the packet. ⁇ Use bits, numbers, etc. to take up less space.
  • the C-VLAN can be two layers.
  • C-VLAN 1 can be used to represent the outer layer identifier, and
  • C-VLAN 2 is the inner layer identifier.
  • the CCM packets corresponding to all service flow links are not received, only one fault alarm is sent.
  • the fault information of the faulty service flow link is empty. If the CCM packet corresponding to the part of the service flow link of the second network device is not received, only one fault alarm information is sent, and the faulty service flow link identifier in the fault alarm information is sent.
  • the identification information of the service flow link corresponding to the unreceived CCM message is sent.
  • the method for detecting the connectivity of the service flow link in the network further includes: if the first network device receives the identifier information of the second fault that is carried by the second network device The CCM message sends a fault recovery message.
  • the first network device receives the CCM message of the identification information of all the faulty service flow links sent by the second network device, the fault recovery information is sent, and the reverse is not sent, thereby reducing the number of alarms on the user interface, and the user interface is more friendly.
  • the connectivity detection method of the service flow link in the network further includes: the first network device sends an LBM message to the second network device, where the LBM message carries the third identifier information, where the third identifier information is And determining, by the first network device, the identifier information of the service flow link used by the LBM packet; if the first network device does not receive the LBR packet that carries the third identifier information returned by the second network device, determining that the third identifier information corresponds to The service flow link is faulty.
  • the format of the LBM packet and the LBR packet is as shown in FIG. 6.
  • a new layer of TLV is added to the TLV field only in the existing packet.
  • the present invention requires that the LB packet sent and received be different from the prior art.
  • the invention may be configured to send an LB packet through all service flow links or a single service flow link.
  • the third identification information can be distinguished by using the third identification information.
  • the third identification information can be specified as needed. Of course, it can also be empty. If it is empty, it can be sent by default using the service flow link with the smallest identification information.
  • the value of the LB message is in the form of a string, a number, a bit, and the like.
  • the TLV describes the identification information of the service flow link used by the local network device to send the LBM packet.
  • the specific implementation of the TLV is the same as the TLV format of the CCM message.
  • the second network device After receiving the LBM packet, the second network device parses the TLV format in the LBM packet, and performs an LBR response to the service flow link used to send the LBM. The user can further locate the fault according to whether the second network device responds.
  • the connectivity detection method of the service flow link in the network further includes: the first network device sends an LTM message to the second network device, where the LTM message carries the fourth identifier information, and the fourth identifier information is The identifier information of the service flow link used by the network device to send the LTM message; if the first network device does not receive the LTR message that carries the fourth identifier information returned by the second network device, The service flow link corresponding to the fourth identifier information is determined to be faulty.
  • the network device may choose to use all service flow links to send when sending LT messages, or select a single service flow link to send.
  • the fourth identification information is distinguished by the fourth identification information.
  • the fourth identification information may be specified according to requirements, and may be empty. If it is empty, it may be sent by default using the service flow link with the smallest identification information.
  • the LT packet adds a layer of TLV to the existing packet format, and its Value is a string, a number, a bit, and the like.
  • the TLV describes the identification information of the service flow link used by the local network device to send the LTM message.
  • the specific implementation of the TLV is the same as the TLV format of the CCM message.
  • the peer network device parses the TLV format in the LTM packet, and then performs an LTR response to the service flow link used to send the LTM packet. The fault is then located based on whether the second network device is responsive.
  • the embodiment of the present invention provides a connectivity detection device for a service flow link.
  • the device is provided with an MEP and a plurality of service flow links.
  • the structure of the device is as shown in FIG. 7, and includes:
  • the storage unit 70 is configured to store a correspondence between the MEP and the identification information of the multiple service flow links.
  • the transceiver unit 71 is configured to receive a plurality of CCM messages from the network device, where each CCM message carries the first identifier information and the second identifier information, where the first identifier information is a set of identifier information of the multiple service stream links.
  • the second identifier information is identifier information of the service flow link used by the network device to send the CCM packet.
  • the determining unit 72 is configured to compare the second identification information of the plurality of CCM messages received by the transceiver unit 71 with the first identification information, if the second identification information of the plurality of CCM messages is less than the first The identification information is determined to be faulty in the service flow link corresponding to the identification information that exists in the first identification information but not in the set of the second identification information of the plurality of CCMs.
  • the transceiver unit 71 is further configured to send the set of the identification information of the multiple service flow links to the network device before receiving the multiple CCM messages from the network device.
  • the identifier information of the service flow link includes a C-VLAN or a priority.
  • the transceiver unit 71 receives multiple CCMs from the network device according to a set period. Message.
  • the determining unit 72 is further configured to: after determining that the service flow link corresponding to the identifier information that exists in the second identifier information that is not present in the first identifier information and that is not in the plurality of CCM packets is faulty If a plurality of service flow links are faulty, the fault alarm information that is empty is sent out; if at least one service flow link in the multiple service flow links is faulty, the identifier information is sent as a faulty service flow chain. Fault alarm information of the road identification information.
  • the transceiver unit 71 is further configured to: if receiving a CCM message from the network device that carries the second identifier information as the identifier information of all the faulty service flow links, issue the fault recovery information.
  • the transceiver unit 71 is further configured to send an LBM message to the network device, where the LBM message carries the third identifier information, where the third identifier information is an identifier of the service flow link used by the transceiver unit to send the LBM message. information.
  • the determining unit 72 is further configured to determine that the service flow link corresponding to the third identifier information is faulty if the transceiver unit 71 does not receive the LBR message carrying the third identifier information returned by the network device.
  • the transceiver unit 71 is further configured to send an LTM message to the network device, where the LTM message carries the fourth identifier information, where the fourth identifier information is a service flow link used by the first network device to send the LTM message. Identification information.
  • the determining unit 72 is further configured to determine that the service flow link corresponding to the fourth identifier information is faulty if the transceiver unit does not receive the LTR packet that carries the fourth identifier information returned by the network device.
  • the foregoing network device is a routing device or a switching device.
  • the network device is at least one terminal device, and multiple service flow links are set on at least one terminal device, where the terminal device is an optical network unit.
  • the identification information of the service flow link includes an S-VLAN to which the service flow link belongs, and also includes a C-VLAN or a priority of the service flow link.
  • an embodiment of the present invention provides an access device, where the access device is configured with an MEP and a plurality of service flow links.
  • the structure of the access device is as shown in FIG.
  • the storage 80 is configured to store a correspondence between the MEP and the identification information of the multiple service flow links.
  • the transceiver 81 is configured to receive a plurality of CCM messages from the network device, where each CCM message carries the first identifier information and the second identifier information, where the first identifier information is a set of identifier information of the multiple service stream links.
  • the second identifier information is identifier information of the service flow link used by the network device to send the CCM packet.
  • the processor 82 is configured to compare the second identification information of the plurality of CCM messages received by the transceiver 81 with the first identification information, if the second identification information of the multiple CCM messages is less than the first The identification information is determined to be faulty in the service flow link corresponding to the identification information that exists in the first identification information but not in the second identification information set of the plurality of CCM messages.
  • the memory 80 is connected to the transceiver 81 via a bus, and the transceiver 81 is connected to the processor 82 via a bus.
  • the transceiver 81 is further configured to: before receiving the multiple CCM messages from the network device, send the set of the identification information of the multiple service flow links to the network device.
  • the identifier information of the foregoing service flow link includes a C-VLAN or a priority, or a C-VLAN including an S-VLAN and a service flow link to which the service flow link belongs, or an S- to which the service flow link belongs.
  • the priority of VLANs and service flow links includes a C-VLAN or a priority, or a C-VLAN including an S-VLAN and a service flow link to which the service flow link belongs, or an S- to which the service flow link belongs.
  • the transceiver 81 is configured to receive multiple CCM messages from the network device according to a set period.
  • the processor 82 is further configured to: after determining that the service flow link corresponding to the identifier information that exists in the second identifier information that is not present in the first identifier information and that is not in the plurality of CCM packets is faulty If a plurality of service flow links are faulty, the fault alarm information that is empty is sent out; if at least one service flow link in the multiple service flow links is faulty, the identifier information is sent as a faulty service flow chain. Fault alarm information of the road identification information.
  • the transceiver 81 is further configured to: if receiving a CCM message from the network device that carries the second identification information as the identification information of all the faulty service flow links, issue the fault recovery information.
  • the transceiver 81 is further configured to send an LBM message to the network device, where the LBM message carries the third identifier information, where the third identifier information is a service flow chain used by the transceiver to send the LBM message. Road identification information.
  • the processor 82 is further configured to determine that the service flow link corresponding to the third identifier information is faulty if the transceiver 81 does not receive the LBR packet that carries the third identifier information returned by the network device.
  • the transceiver 81 is further configured to send an LTM message to the network device, where the LTM message carries the fourth identifier information, where the fourth identifier information is the identifier of the service flow link used by the transceiver to send the LTM message. .
  • the processor 82 is further configured to determine that the service flow link corresponding to the fourth identifier information is faulty if the transceiver does not receive the LTR message carrying the fourth identifier information returned by the network device.
  • an embodiment of the present invention provides a terminal device, where the terminal device is configured with an MEP and a plurality of service flow links.
  • the structure of the terminal device is as shown in FIG.
  • the memory 90 is configured to store a correspondence between the MEP and the identification information of the multiple service flow links.
  • the transceiver 91 is configured to receive a plurality of CCM messages from the network device, where each CCM message carries the first identifier information and the second identifier information, where the first identifier information is a set of identifier information of multiple service flow links.
  • the second identifier information is identifier information of the service flow link used by the network device to send the CCM packet.
  • the processor 92 is configured to compare the second identifier information of the plurality of CCM packets received by the transceiver 91 with the first identifier information, where the second identifier information of the multiple CCM packets is in the first identifier.
  • the information is determined to be faulty in the service flow link corresponding to the identification information that exists in the first identification information but not in the set of the second identification information of the plurality of CCMs.
  • the memory 90 is connected to the transceiver 91 via a bus, and the transceiver 91 and the processor 92 are connected by a bus.
  • the transceiver 91 is further configured to: send the set of the identification information of the multiple service flow links to the network device before receiving the multiple CCM messages from the network device.
  • the identifier information of the service flow link includes an S-VLAN to which the service flow link belongs and a C-VLAN of the service flow link.
  • the transceiver 91 receives a plurality of CCM messages from the network device according to a set period.
  • the processor 92 is further configured to: after determining that the service flow link corresponding to the identifier information that exists in the second identifier information that is not present in the first identifier information and that is not in the plurality of CCM packets is faulty If a plurality of service flow links are faulty, the fault alarm information that is empty is sent out; if at least one service flow link in the multiple service flow links is faulty, the identifier information is sent as a faulty service flow chain. Fault alarm information of the road identification information.
  • the transceiver 91 is further configured to: if the CCM message carrying the second identification information from the network device is the identification information of all the faulty service flow links, the fault recovery information is sent.
  • the transceiver 91 is further configured to send an LBM message to the network device, where the LBM message carries the third identifier information, where the third identifier information is an identifier of the service flow link used by the transceiver to send the LBM message. information.
  • the processor 92 is further configured to determine that the service flow link corresponding to the third identifier information is faulty if the transceiver 91 does not receive the LBR packet that carries the third identifier information returned by the network device.
  • the transceiver 91 is further configured to send an LTM message to the network device, where the LTM message carries the fourth identifier information, where the fourth identifier information is the identifier information of the service flow link used by the transceiver to send the LTM message. .
  • the processor 92 is further configured to determine that the service flow link corresponding to the fourth identifier information is faulty if the transceiver does not receive the LTR message carrying the fourth identifier information returned by the network device.
  • an embodiment of the present invention provides a connectivity detection system for a service flow link.
  • the structure of the system is as shown in FIG. 10, including a first network device 100 and a second network device 101.
  • the first network device 100 is configured with a MEP, and the MEP is associated with the identification information of the multiple service flow links.
  • the first network device 100 is configured to receive multiple CCM messages from the second network device 101, where each CCM message carries first identifier information and second identifier information, where the first identifier information is multiple service flow links. a set of the identification information, where the second identification information is the identification information of the service flow link used by the second network device to send the CCM message, and the second identification information of the plurality of received CCM messages and the first The identification information is compared, if the second identification information in the multiple CCM messages is less than The first identification information determines that the service flow link corresponding to the identification information that exists in the first identification information but not in the second identification information set of the plurality of CCM messages is faulty.
  • the foregoing multiple service flow links are configured on the first network device 100, and the first network device 100 is further configured to: after receiving multiple CCM messages from the second network device 101, multiple service flow chains.
  • the set of identification information of the road is sent to the second network device 101.
  • the identifier information of the service flow link includes a C-VLAN or a priority.
  • the first network device 100 receives the plurality of CCM messages from the second network device 101 according to the set period.
  • the foregoing first network device 100 is further configured to: the service flow link corresponding to the identifier information that is determined to exist in the first identification information but not in the second identifier information set of the multiple CCM texts is faulty Then, if there is a fault in the multiple service flow links, the fault alarm information that the identification information is empty is sent; if at least one service flow link in the multiple service flow links is faulty, the identifier information is sent as the faulty service flow. Fault alarm information of the link identification information.
  • the first network device 100 is further configured to: if the CCM packet carrying the second identifier information from the second network device 101 that carries the second identifier information as the identifier information of all faulty service flow links is received, the fault recovery information is sent.
  • the first network device 100 is further configured to: send an LBM packet to the second network device 101, where the LBM packet carries the third identifier information, where the third identifier information is that the first network device 100 sends the LBM packet. If the LBR packet carrying the third identifier information returned by the second network device 101 is not received, the service flow link corresponding to the third identifier information is determined to be faulty.
  • the first network device 100 is further configured to: send an LTM message to the second network device 101, where the LTM message carries the fourth identifier information, where the fourth identifier information is sent by the first network device 100 to send the LTM message. If the LTR packet carrying the fourth identifier information returned by the second network device 101 is not received, it is determined that the service flow link corresponding to the fourth identifier information is faulty.
  • the plurality of service flow links are configured on the second network device 101;
  • the device 100 is further configured to receive identification information of multiple service flow links from the second network device 101.
  • the identifier information of the service flow link includes an S-VLAN to which the service flow link belongs, a C-VLAN of the service flow link, or an S-VLAN to which the service flow link belongs, and a priority.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can be embodied in the form of one or more computer program products embodied on a computer-usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which computer usable program code is embodied.
  • a computer-usable storage medium including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一种业务流链路的监控方法及相关装置,该方法包括:第一MEP以第一设定周期向第二MEP分别发送与监控的每个业务流链路对应的连通性检测消息CCM报文,并接收第二MEP发送的CCM报文,CCM报文携带发送端监控的各业务流链路的标识集合以及发送端发送该CCM报文所使用的业务流链路的标识;若所述第一MEP在第二设定周期内未接收到所述第二MEP发送的与所述第二MEP监控的至少一个业务流链路对应的CCM报文,则发出故障告警信息。该方案通过一对MEP监控多条业务流链路,简化了配置的复杂度和难度,有利于CFM应用的广泛推广。

Description

一种业务流链路的连通性检测方法、 相关装置及系统 技术领域
本发明涉及通信技术领域, 尤其涉及一种网络中的业务流链路的连通性 检测方法、 相关装置及系统。 背景技术
以太网技术凭借其简单易用、 成本低廉等特点, 已在企业网、 城域网、 广域网范围内都得到大规模应用。 但是传统以太网可维护、 可运营能力比较 弱, 随着以太网推广范围的扩大, 对以太网操作管理维护 ( Operation Administration and Maintenance , OAM ) 功能的需求也越来越强烈。
以太网 OAM功能主要分为两部分: 物理链路以太网 OAM功能, 用于实现 两个设备之间的以太网物理链路的故障检测和通知功能; 业务以太网 OAM功 能, 主要实现端到端 (如用户到用户之间, 中间可以通过多个网络设备) 的 设备之间的链路连通性管理。
针对业务以太网 OAM功能, 常用的是电气和电子工程师学会(Institute of Electrical and Electronics Engineers , IEEE ) 802. lag连通性故障管理 ( Connectivity Fault Management, CFM )协议, 该协议应用虚拟桥接局 i或网 中的桥设备, 提供业务级与网络级的端到端的故障检测、 故障确认以及故障 定位的能力。 下面介绍 CFM的常用概念:
维护实体(Maintenance Entities, ME ): 网络中可维护的设备, 主要指网 络中的桥设备, 即可进行虚拟局域网 ( Virtual Local Area Network, VLAN ) + 媒质接入控制 (Medium Access Control, MAC )二层转发的设备。
维护域(Maintenance Domain, MD ): 用于划分连通性故障检测所覆盖的 网络范围。 为了准确定位故障点, 在 MD中引入了级别的概念, 共分为 8级, 用整数 0 ~ 7来表示, 数字越大级别越高, MD的范围也就越大。 不同 MD之间 可以相邻或嵌套, 但不能交叉, 且嵌套时只能由高级别 MD向低级别 MD嵌套, 即低级别 MD必须包含在高级别 MD内部, 一个级别唯一对应一个 MD。
维护集 ( Maintenance Association , MA ) : 确定了连通性检测消息 ( Continuity Check Message, CCM )的发送范围。 在 MD内根据需要可以配置 一个或多个 MA, MA的级别与其所在 MD的级别相同。
维护节点 ( Maintenance Point, MP ): 配置在设备接口上, 可分为维护终 端点 ( Maintenance End Point, MEP )和维护中间点 ( Maintenance Intermediate Point, MIP ) 两种。 MEP确定了 MD和 MA的范围和边界, 是 MD和 MA的边缘 节点, 属于某个 MA。 MEP的级别等于它所在的 MD的级别。 MEP分为 Up和 Down两个方向, Up方向为面向设备转发层面的方向, Down方向为远离设备 转发层面方向, MEP需要用户手工创建。 MIP位于 MA内部, 两个 MEP之间可 部署多个 MIP来提高对网络的可控性、 可管理性。 MIP根据规则自动生成, 不 能手工创建。
故障检测功能通过连通性检测( Continuity Check, CC )来实现。每个 MEP 在其相关的业务虚拟局域网 ( Service- VLAN, S-VLAN ) 周期性地发送 CCM 报文, 接收到 CCM报文的 MEP更新所保存的对端 MEP的状态, 如果一段时间 内没有接收到对端 MEP发送来的 CCM报文, 则认为对方故障或链路故障, 发 出告警信息。
故障确认功能通过环回(Loop Back, LB )来实现, 由源 MEP发送环回消 息(Loopback Message, LBM )报文, 经 MIP透传到目的 MEP, 并由目的 MEP 向源 MEP回应环回应答(Loopback Reply, LBR )报文。 当源 MEP在设定时间 内, 没有接收到目的 MEP发送的 LBR报文时, 则确认与目的 MEP之间的链路 故障。
故障定位功能通过 LT来实现, 由源 MEP发送链路追踪消息 (Link Trace Message, LTM ), 经 MIP到达目的 MEP, 沿途经过的 MIP和目的 MEP都要向源 MEP回应链路追踪应答( Link Trace Reply, LTR )报文。 当源 MEP与目的 MEP 之间的链路故障时, 故障链路一端的 MIP或目的 MEP就不能返回 LTR, 这时源 MEP就可以定位出故障的位置。 如图 1所示, 目前接入设备常见的场景是一个 S-VLAN下存在多条业务流, 图中虚线所示为业务流, 每条业务流与接入设备和交换设备之间的链路称为 业务流链路, 由于当前每对 MEP只能关联一条业务流链路的标识, 若要同时 监控接入设备上的多条业务流链路, 则需要建立多对 MEP, 配置多对 MEP的 复杂度和难度相当大, 这就影响了 CFM应用的广泛推广。 发明内容
本发明实施例提供一种业务流链路的连通性检测方法、 相关装置及系统, 用以解决现有技术中要同时监控接入设备上的多条业务流链路, 则需要建立 多对 MEP, 配置多对 MEP的复杂度和难度相当大, 从而影响 CFM应用的广 泛推广的问题。 第一方面, 提供一网络中的业务流链路的连通性检测方法, 所述网络包 括第一网络设备和第二网络设备, 其特征在于, 所述第一网络设备设置有维 护终端点 MEP,所述 MEP与多条业务流链路的标识信息形成对应关系,所述 方法包括:
所述第一网络设备接收来自所述第二网络设备的多个连通性检测消息 CCM "^文, 每个 CCM "^文携带第一标识信息和第二标识信息, 所述第一标 识信息为所述多条业务流链路的标识信息的集合, 所述第二标识信息为所述 第二网络设备发送 CCM报文所使用的业务流链路的标识信息; 以及
将接收到的所述多个 CCM报文中的第二标识信息的集合与所述第一标 识信息进行比较,若所述多个 CCM报文中的第二标识信息少于所述第一标识 信息,则判定存在于所述第一标识信息而未存在于所述多个 CCM报文的第二 标识信息的集合中的标识信息对应的业务流链路存在故障。
结合第一方面, 在第一种可能的实现方式中, 所述多条业务流链路设置 于所述第一网络设备上, 所述第一网络设备接收来自所述第二网络设备的多 个 CCM报文之前还包括: 所述第一网络设备将所述多条业务流链路的标识信息的集合发送给所述 第二网络设备。
结合第一方面、 或者第一方面的第一种可能的实现方式中, 在第二种可 能的实现方式中, 所述业务流链路的标识信息包括用户虚拟局域网标识
C-VLAN或者优先级。
结合第一方面, 在第三种可能的实现方式中, 所述第一网络设备按照设 定周期接收来自所述第二网络设备的多个 CCM报文。
结合第一方面, 在第四种可能的实现方式中, 判定存在于所述第一标识 信息而未存在于所述多个 CCM报文的第二标识信息的集合中的标识信息对 应的业务流链路存在故障之后, 还包括:
若所述多条业务流链路都存在故障, 则发出标识信息为空的故障告警信 息;
若所述多条业务流链路中的至少一条业务流链路存在故障, 则发出标识 信息为故障业务流链路的标识信息的故障告警信息。
结合第一方面的第四中可能的实现方式, 在第五种可能的实现方式中, 还包括:
若所述第一网络设备接收到来自所述第二网络设备的携带所述第二标识 信息为所有故障业务流链路的标识信息的 CCM报文, 则发出故障恢复信息。
结合第一方面、 第一方面的第一种可能的实现方式、 第一方面的第二种 可能的实现方式、 第一方面的第三种可能的实现方式、 第一方面的第四种可 能的实现方式或者第一方面的第五种可能的实现方式, 在第六种可能的实现 方式中, 还包括:
所述第一网络设备向所述第二网路设备发送环回消息 LBM报文, 所述 LBM报文携带第三标识信息, 所述第三标识信息为所述第一网络设备发送所 述 LBM报文所使用的业务流链路的标识信息;
若所述第一网络设备未接收到所述第二网络设备返回的携带所述第三标 识信息的链路环回应答 LBR报文, 则确定所述第三标识信息对应的业务流链 路存在故障。
结合第一方面、 第一方面的第一种可能的实现方式、 第一方面的第二种 可能的实现方式、 第一方面的第三种可能的实现方式、 第一方面的第四种可 能的实现方式、 第一方面的第五种可能的实现方式或者第一方面的第六种可 能的实现方式, 在第七种可能的实现方式中, 还包括:
所述第一网络设备向所述第二网络设备发送跟踪消息 LTM报文, 所述 LTM报文携带第四标识信息, 所述第四标识信息为所述第一网络设备发送所 述 LTM报文所使用的业务流链路的标识信息;
若所述第一网络设备未接收到所述第二网络设备返回的携带所述第四标 识信息的跟踪应答 LTR报文, 则确定所述第四标识信息对应的业务流链路存 在故障。
结合第一方面、 第一方面的第一种可能的实现方式、 第一方面的第二种 可能的实现方式、 第一方面的第三种可能的实现方式、 第一方面的第四种可 能的实现方式、 第一方面的第五种可能的实现方式、 第一方面的第六种可能 的实现方式或者第一方面的第七种可能的实现方式, 在第八种可能的实现方 式中, 所述第一网络设备为接入设备, 所述第二网络设备为路由设备或者交 换设备。
结合第一方面、 第一方面的第一种可能的实现方式、 第一方面的第二种 可能的实现方式、 第一方面的第三种可能的实现方式、 第一方面的第四种可 能的实现方式、 第一方面的第五种可能的实现方式、 第一方面的第六种可能 的实现方式或者第一方面的第七种可能的实现方式, 在第九种可能的实现方 式中, 所述第一网络设备为接入设备, 所述第二网络设备为至少一个终端设 备, 所述多条业务流链路设置于所述至少一个终端设备上。
结合第一方面的第九种可能的实现方式, 在第十种可能的实现方式中, 所述业务流链路的标识信息包括业务流链路所属的业务虚拟局域网 S-VLAN, 还包括业务流链路的 C-VLAN或者优先级。
结合第一方面的第九种可能的实现方式或者第一方面第十种可能的实现 方式, 在第十一种可能的实现方式中, 所述接入设备为光线路终端, 所述终 端设备为光网络单元。
第二方面, 提供一种业务流链路的连通性检测装置, 其特征在于, 所述 装置设置有维护终端点 MEP以及多条业务流链路, 所述装置包括:
存储单元, 用于存储所述 MEP与所述多条业务流链路的标识信息的对应 关系;
收发单元, 用于接收来自网络设备的多个连通性检测消息 CCM报文, 每 个 CCM "^文携带第一标识信息和第二标识信息,所述第一标识信息为所述多 条业务流链路的标识信息的集合, 所述第二标识信息为所述网络设备发送 CCM报文所使用的业务流链路的标识信息;
确定单元,用于将所述收发单元接收到的所述多个 CCM报文中的第二标 识信息的集合与所述第一标识信息进行比较,若所述多个 CCM报文中的第二 标识信息少于所述第一标识信息, 则判定存在于所述第一标识信息而未存在 于所述多个 CCM报文的第二标识信息的集合中的标识信息对应的业务流链 路存在故障。
结合第二方面, 在第一种可能的实现方式中, 所述收发单元, 还用于在 接收来自所述网络设备的多个 CCM报文之前,将所述多条业务流链路的标识 信息的集合发送给所述网络设备。
结合第二方面或者第二方面的第一种可能的实现方式, 在第二种可能的 实现方式中, 所述业务流链路的标识信息包括用户虚拟局域网标识 C-VLAN 或者优先级。
结合第二方面, 在第三种可能的实现方式中, 所述收发单元按照设定周 期接收来自所述网络设备的多个 CCM报文。
结合第二方面, 在第四种可能的实现方式中, 所述确定单元, 还用于: 在判定存在于所述第一标识信息而未存在于所述多个 CCM报文的第二 标识信息的集合中的标识信息对应的业务流链路存在故障之后, 若所述多条 业务流链路都存在故障, 则发出标识信息为空的故障告警信息; 若所述多条 业务流链路中的至少一条业务流链路存在故障, 则发出标识信息为故障业务 流链路的标识信息的故障告警信息。
结合第二方面的第四种可能的实现方式, 在第五种可能的实现方式中, 所述收发单元, 还用于:
若接收到来自所述网络设备的携带所述第二标识信息为所有故障业务流 链路的标识信息的 CCM报文, 则发出故障恢复信息。
结合第二方面、 第二方面的第一种可能的实现方式、 第二方面的第二种 可能的实现方式、 第二方面的第三种可能的实现方式、 第二方面的第四种可 能的实现方式或者第二方面的第五种可能的实现方式, 在第六种可能的实现 方式中, 所述收发单元, 还用于向所述网路设备发送环回消息 LBM ^艮文, 所 述 LBM "^文携带第三标识信息,所述第三标识信息为所述收发单元发送所述 LBM报文所使用的业务流链路的标识信息;
所述确定单元, 还用于若所述收发单元未接收到所述网络设备返回的携 带所述第三标识信息的链路环回应答 LBR报文, 则确定所述第三标识信息对 应的业务流链路存在故障。
结合第二方面、 第二方面的第一种可能的实现方式、 第二方面的第二种 可能的实现方式、 第二方面的第三种可能的实现方式、 第二方面的第四种可 能的实现方式、 第二方面的第五种可能的实现方式或者第二方面的第六种可 能的实现方式, 在第七种可能的实现方式中, 所述收发单元, 还用于向所述 网络设备发送跟踪消息 LTM报文, 所述 LTM报文携带第四标识信息, 所述 第四标识信息为所述第一网络设备发送所述 LTM报文所使用的业务流链路的 标识信息;
所述确定单元, 还用于若所述收发单元未接收到所述网络设备返回的携 带所述第四标识信息的跟踪应答 LTR报文, 则确定所述第四标识信息对应的 业务流链路存在故障。
结合第二方面、 第二方面的第一种可能的实现方式、 第二方面的第二种 可能的实现方式、 第二方面的第三种可能的实现方式、 第二方面的第四种可 能的实现方式、 第二方面的第五种可能的实现方式、 第二方面的第六种可能 的实现方式或者第二方面的第七种可能的实现方式, 在第八种可能的实现方 式中, 所述网络设备为路由设备或者交换设备。
结合第二方面、 第二方面的第一种可能的实现方式、 第二方面的第二种 可能的实现方式、 第二方面的第三种可能的实现方式、 第二方面的第四种可 能的实现方式、 第二方面的第五种可能的实现方式、 第二方面的第六种可能 的实现方式或者第二方面的第七种可能的实现方式, 在第九种可能的实现方 式中, 所述网络设备为至少一个终端设备, 所述多条业务流链路设置于所述 至少一个终端设备上。
结合第二方面的第九种可能的实现方式, 在第十种可能的实现方式中, 所述业务流链路的标识信息包括业务流链路所属的业务虚拟局域网 S-VLAN, 还包括业务流链路的 C-VLAN或者优先级。
结合第二方面的第九种可能的实现方式或者第二方面第十种可能的实现 方式, 在第十一种可能的实现方式中, 所述终端设备为光网络单元。
第三方面, 提供一种接入设备, 其特征在于, 所述接入设备设置有维护 终端点 MEP以及多条业务流链路, 所述接入设备包括:
存储器, 用于存储所述 MEP与所述多条业务流链路的标识信息的对应关 系;
收发器, 用于接收来自网络设备的多个连通性检测消息 CCM报文, 每个 CCM报文携带第一标识信息和第二标识信息, 所述第一标识信息为所述多条 业务流链路的标识信息的集合, 所述第二标识信息为所述网络设备发送 CCM 报文所使用的业务流链路的标识信息;
处理器,用于将所述收发器接收到的所述多个 CCM报文中的第二标识信 息的集合与所述第一标识信息进行比较,若所述多个 CCM报文中的第二标识 信息少于所述第一标识信息, 则判定存在于所述第一标识信息而未存在于所 述多个 CCM报文的第二标识信息的集合中的标识信息对应的业务流链路存 在故障。 结合第三方面, 在第一种可能的实现方式中, 所述收发器, 还用于: 接收来自所述网络设备的多个 CCM报文之前,将所述多条业务流链路的 标识信息的集合发送给所述网络设备。
结合第三方面或者第三方面的第一种可能的实现方式, 在第二种可能的 实现方式中, 所述业务流链路的标识信息包括用户虚拟局域网标识 C-VLAN 或者优先级、 或者包括业务流链路所属的业务虚拟局域网 S-VLAN和业务流 链路的 C-VLAN、 或者包括业务流链路所属的业务虚拟局域网 S-VLAN和业 务流链路的优先级。
结合第三方面, 在第三种可能的实现方式中, 所述收发器, 用于按照设 定周期接收来自所述网络设备的多个 CCM报文。
结合第三方面, 在第四种可能的实现方式中, 所述处理器, 还用于: 在判定存在于所述第一标识信息而未存在于所述多个 CCM报文的第二 标识信息的集合中的标识信息对应的业务流链路存在故障之后, 若所述多条 业务流链路都存在故障, 则发出标识信息为空的故障告警信息; 若所述多条 业务流链路中的至少一条业务流链路存在故障, 则发出标识信息为故障业务 流链路的标识信息的故障告警信息。
结合第三方面的第四种可能的实现方式, 在第五种可能的实现方式中, 所述收发器, 还用于:
若接收到来自所述网络设备的携带所述第二标识信息为所有故障业务流 链路的标识信息的 CCM报文, 则发出故障恢复信息。
结合第三方面、 第三方面的第一种可能的实现方式、 第三方面的第二种 可能的实现方式、 第三方面的第三种可能的实现方式、 第三方面的第四种可 能的实现方式或者第三方面的第五种可能的实现方式, 在第六种可能的实现 方式中, 所述收发器, 还用于向所述网路设备发送环回消息 LBM "^艮文, 所述 LBM 文携带第三标识信息,所述第三标识信息为所述收发器发送所述 LBM 报文所使用的业务流链路的标识信息;
所述处理器, 还用于若所述收发器未接收到所述网络设备返回的携带所 述第三标识信息的链路环回应答 LBR报文, 则确定所述第三标识信息对应的 业务流链路存在故障。
结合第三方面、 第三方面的第一种可能的实现方式、 第三方面的第二种 可能的实现方式、 第三方面的第三种可能的实现方式、 第三方面的第四种可 能的实现方式、 第三方面的第五种可能的实现方式或者第三方面的第六种可 能的实现方式, 在第七种可能的实现方式中, 所述收发器, 还用于向所述网 络设备发送跟踪消息 LTM报文, 所述 LTM报文携带第四标识信息, 所述第 四标识信息为所述收发器发送所述 LTM报文所使用的业务流链路的标识信 息;
所述处理器, 还用于若所述收发器未接收到所述网络设备返回的携带所 述第四标识信息的跟踪应答 LTR报文, 则确定所述第四标识信息对应的业务 流链路存在故障。
第四方面, 提供一种终端设备, 其特征在于, 所述终端设备设置有维护 终端点 MEP以及多条业务流链路, 所述终端设备包括:
存储器, 用于存储所述 MEP与所述多条业务流链路的标识信息的对应关 系:
收发器, 用于接收来自网络设备的多个连通性检测消息 CCM报文, 每个 CCM报文携带第一标识信息和第二标识信息, 所述第一标识信息为所述多条 业务流链路的标识信息的集合, 所述第二标识信息为所述网络设备发送 CCM 报文所使用的业务流链路的标识信息;
处理器,用于将所述收发器接收到的所述多个 CCM报文中的第二标识信 息的集合与所述第一标识信息进行比较,若所述多个 CCM报文中的第二标识 信息少于所述第一标识信息, 则判定存在于所述第一标识信息而未存在于所 述多个 CCM报文的第二标识信息的集合中的标识信息对应的业务流链路存 在故障。
结合第四方面, 在第一种可能的实现方式中, 述收发器, 还用于: 在接收来自所述网络设备的多个 CCM报文之前,将所述多条业务流链路 的标识信息的集合发送给所述网络设备。
结合第四方面、 或者第四方面的第一种可能的实现方式中, 在第二种可 能的实现方式中, 所述业务流链路的标识信息包括业务流链路所属的业务虚 拟局域网 S-VLAN以及业务流链路的用户虚拟局域网标识 C-VLAN。
所述收发器按照设定周期接收来自所述网络设备的多个 CCM报文。 结合第四方面, 在第四种可能的实现方式中, 所述处理器, 还用于: 在判定存在于所述第一标识信息而未存在于所述多个 CCM报文的第二 标识信息的集合中的标识信息对应的业务流链路存在故障之后, 若所述多条 业务流链路都存在故障, 则发出标识信息为空的故障告警信息; 若所述多条 业务流链路中的至少一条业务流链路存在故障, 则发出标识信息为故障业务 流链路的标识信息的故障告警信息。
结合第四方面的第四种可能的实现方式, 在第五种可能的实现方式中, 述收发器, 还用于:
若接收到来自所述网络设备的携带所述第二标识信息为所有故障业务流 链路的标识信息的 CCM报文, 则发出故障恢复信息。
结合第四方面、 第四方面的第一种可能的实现方式、 第四方面的第二种 可能的实现方式、 第四方面的第三种可能的实现方式、 第四方面的第四种可 能的实现方式或者第一四方面的第五种可能的实现方式, 在第六种可能的实 现方式中, 所述收发器, 还用于向所述网路设备发送环回消息 LBM报文, 所 述 LBM "^文携带第三标识信息, 所述第三标识信息为所述收发器发送所述 LBM报文所使用的业务流链路的标识信息;
所述处理器, 还用于若所述收发器未接收到所述网络设备返回的携带所 述第三标识信息的链路环回应答 LBR报文, 则确定所述第三标识信息对应的 业务流链路存在故障。
结合第四面、 第四方面的第一种可能的实现方式、 第四方面的第二种可 能的实现方式、 第四方面的第三种可能的实现方式、 第四方面的第四种可能 的实现方式、 第四方面的第五种可能的实现方式或者第四方面的第六种可能 的实现方式, 在第七种可能的实现方式中, 所述收发器, 还用于向所述网络 设备发送跟踪消息 LTM报文, 所述 LTM报文携带第四标识信息, 所述第四 标识信息为所述收发器发送所述 LTM报文所使用的业务流链路的标识信息; 所述处理器, 还用于若所述收发器未接收到所述网络设备返回的携带所 述第四标识信息的跟踪应答 LTR报文, 则确定所述第四标识信息对应的业务 流链路存在故障。
第五方面, 提供一种业务流链路的连通性检测系统, 包括第一网络设备 和第二网络设备, 所述第一网络设备和所述第二网络设备相连, 其特征在于, 所述第一网络设备设置有维护终端点 MEP,所述 MEP与多条业务流链路的标 识信息形成对应关系;
所述第一网络设备, 用于接收来自所述第二网络设备的多个连通性检测 消息 CCM报文, 每个 CCM报文携带第一标识信息和第二标识信息, 所述第 一标识信息为所述多条业务流链路的标识信息的集合, 所述第二标识信息为 所述第二网络设备发送 CCM报文所使用的业务流链路的标识信息;以及将接 收到的所述多个 CCM >¾文中的第二标识信息的集合与所述第一标识信息进 行比较, 若所述多个 CCM报文中的第二标识信息少于所述第一标识信息, 则 判定存在于所述第一标识信息而未存在于所述多个 CCM报文的第二标识信 息的集合中的标识信息对应的业务流链路存在故障。
结合第五方面, 在第一种可能的实现方式中, 所述多条业务流链路设置 于所述第一网络设备上, 所述第一网络设备, 还用于在接收来自所述第二网 络设备的多个 CCM报文之前,将所述多条业务流链路的标识信息的集合发送 给所述第二网络设备。
结合第五方面、 或者第五方面的第一种可能的实现方式中, 在第二种可 能的实现方式中, 所述业务流链路的标识信息包括用户虚拟局域网标识 C-VLAN或者优先级。
结合第五方面, 在第三种可能的实现方式中, 所述第一网络设备按照设 定周期接收来自所述第二网络设备的多个 CCM报文。 结合第五方面, 在第四种可能的实现方式中, 所述第一网络设备, 还用 于:
在判定存在于所述第一标识信息而未存在于所述多个 CCM报文的第二 标识信息的集合中的标识信息对应的业务流链路存在故障之后, 若所述多条 业务流链路都存在故障, 则发出标识信息为空的故障告警信息; 若所述多条 业务流链路中的至少一条业务流链路存在故障, 则发出标识信息为故障业务 流链路的标识信息的故障告警信息。
结合第五方面的第四中可能的实现方式, 在第五种可能的实现方式中, 所述第一网络设备, 还用于若接收到来自所述第二网络设备的携带所述第二 标识信息为所有故障业务流链路的标识信息的 CCM报文,则发出故障恢复信 息。
结合第五方面、 第五方面的第一种可能的实现方式、 第五方面的第二种 可能的实现方式、 第五方面的第三种可能的实现方式、 第五方面的第四种可 能的实现方式或者第五方面的第五种可能的实现方式, 在第六种可能的实现 方式中, 所述第一网络设备, 还用于:
向所述第二网路设备发送环回消息 LBM报文, 所述 LBM报文携带第三 标识信息,所述第三标识信息为所述第一网络设备发送所述 LBM报文所使用 的业务流链路的标识信息;
若未接收到所述第二网络设备返回的携带所述第三标识信息的链路环回 应答 LBR报文, 则确定所述第三标识信息对应的业务流链路存在故障。
结合第五方面、 第五方面的第一种可能的实现方式、 第五方面的第二种 可能的实现方式、 第五方面的第三种可能的实现方式、 第五方面的第四种可 能的实现方式、 第五方面的第五种可能的实现方式或者第五方面的第六种可 能的实现方式, 在第七种可能的实现方式中, 所述第一网络设备, 还用于: 向所述第二网络设备发送跟踪消息 LTM报文, 所述 LTM报文携带第四 标识信息, 所述第四标识信息为所述第一网络设备发送所述 LTM报文所使用 的业务流链路的标识信息; 若未接收到所述第二网络设备返回的携带所述第四标识信息的跟踪应答
LTR报文, 则确定所述第四标识信息对应的业务流链路存在故障。
结合第一方面, 在第八种可能的实现方式中, 所述多条业务流链路设置 于所述第二网络设备上;
所述第一网络设备, 还用于接收来自所述第二网络设备的所述多条业务 流链路的标识信息。
结合第一方面或者第一方面的第八种可能的实现方式, 在第九种可能的 实现方式中, 所述业务流链路的标识信息包括业务流链路所属的业务虚拟局 域网 S-VLAN以及业务流链路的用户虚拟局域网标识 C-VLAN或者包括业务 流链路所属的业务虚拟局域网 S-VLAN以及优先级。
根据第一方面提供的网络中的业务流链路的连通性检测方法、 第二方面 提供的业务流链路的连通性检测装置、 第三方面提供的接入设备、 第四方面 提供的终端设备或者第五方面提供提供的与业务流链路的连通性检测系统, 通过一对 MEP监控多条业务流链路, 简化了配置的复杂度和难度, 有利于 CFM应用的广泛推广。 附图说明
图 1为现有技术中一对 MEP监控一条业务流链路的示意图;
图 2为本发明实施例中第一种组网结构的示意图;
图 3为本发明实施例中第二种组网结构的示意图;
图 4为本发明实施例中网络中的业务流链路的连通性检测方法的流程图; 图 5为本发明实施例中 CCM报文的结构示意图;
图 6为本发明实施例中 LB报文的结构示意图;
图 7为本发明实施例中业务流链路的连通性检测装置的结构示意图; 图 8为本发明实施例中接入设备的结构示意图;
图 9为本发明实施例中终端设备的结构示意图;
图 10为本发明实施例中业务流链路的连通性检测系统的结构示意图。 具体实施方式
针对现有技术中要同时监控接入设备上的多条业务流链路, 则需要建立 多对 MEP, 配置多对 MEP的复杂度和难度相当大, 从而影响 CFM应用的广 泛推广的问题, 本发明实施例提供一种网络中的业务流链路的连通性检测方 法,网络包括第一网络设备和第二网络设备,第一网络设备设置有 MEP , MEP 与多条业务流链路的标识信息形成对应关系, 该方法可以应用在如图 2 和 3 所示的组网结构中。
在如图 2所示的组网结构中, 第一网络设备上设置 MEP1以及多条业务 流链路, 第二网络设备上设置 MEP2, MEP1与 MEP2成对配置, 可以通过这 对 MEP监控多条业务流链路, MEP1为上行口、 方向为 UP, MEP1虽然配置 在上行口,等效于配置在其所监控的各业务流链路上。 MEP1和 MEP2监控的 业务流链路的标识信息可以为优先级、 用户端虚拟局域网 ( Client- VLAN, C-VLAN )等等, 若业务流链路的标识信息为 C-VLAN, 则 C-VLAN可以是 连续的, 也可以是离散的。 业务流链路的标识信息配置为 all , 默认为是 S-VLAN下的所有 C-VLAN, 即使 S-VLAN下的业务流有增加或删除, 也无 需人工修改 MEP 配置, 在程序运行过程中会自动遍历 S-VLAN 下的所有 C-VLAN。这样可以减轻第一网络设备和第二网络设备上的 MEP配置的难度。 其中, 第一网络设备可以为接入设备, 第二网络设备可以为路由设备或者交 换设备等等。
在如图 3 所示的组网结构中, 更是减轻了第一网络设备和第二网络设备 上的 MEP配置的难度, 多条业务流链路设置在第二网络设备上, 第一网络设 备上的一个 MEP对应第二网络设备的 MEP,并且,第一网络设备和第二网络 设备上的 MEP所在端口都是上行口、 方向为 UP。 图中示出的是第一网络设 备为接入设备, 第二网络设备为至少一个终端设备, 具体的, 接入设备可以 为光线路终端, 终端设备可以为光网络单元。 针对终端设备, 只要配置一个 MEP, 指定监控的业务流链路的 C-VLAN。 针对接入设备, 也只要配置一个 MEP, 一个接入设备上的 MEP对应多个终端设备上的 MEP。 其中, 业务流 链路的标识信息包括业务流链路所属的 S-VLAN , 还包括业务流链路的 C-VLAN或者优先级, 可以釆用两层标识来标识一个业务流链路, 外层标识 终端设备的 S-VLAN集合,内层标识为终端设备的 C-VLAN集合或者优先级。
例如, 若在如图 3所示的组网结构中, 终端设备一上的 MEP1所在 MA 关联 VLAN 100, 监控的业务流链路的 C-VLAN集合为 VLAN 101 to VLAN 200的 100条业务流链路,那么,终端设备一上 MEP1监控的业务流链路的标 识信息为 101-200; 终端设备二上的 MEP2所在 MA关联 VLAN 200, 监控的 业务流链路的 C-VLAN集合为 VLAN 150 to VLAN 200,那么,终端设备二上 MEP2监控的业务流链路的标识信息为 150-200。接入设备上的 MEPN+1所在 MA关联 VLAN1000。 VLAN1000是接入设备业务流的 S-VLAN。还可以将终 端设备一 终端设备 N和接入设备中设置的业务流链路的内层标识设 置为 all, 这样默认为是当前 S-VLAN下的所有 C-VLAN。
如图 4所示, 网络中的业务流链路的连通性检测方法的执行步骤如下: S40: 第一网络设备接收来自第二网络设备的多个 CCM报文。
每个 CCM报文携带第一标识信息和第二标识信息,第一标识信息为多条 业务流链路的标识信息的集合,第二标识信息为第二网络设备发送 CCM报文 所使用的业务流链路的标识信息。
S41 : 将接收到的多个 CCM报文中的第二标识信息的集合与第一标识信 息进行比较。
S42: 若多个 CCM "^文中的第二标识信息少于第一标识信息, 则判定存 在于第一标识信息而未存在于多个 CCM 文的第二标识信息的集合中的标 识信息对应的业务流链路存在故障。
本实施例通过一对 MEP监控多条业务流链路, 简化了配置的复杂度和难 度, 有利于 CFM应用的广泛推广。
具体的, 上述网络中的业务流链路的连通性检测方法, 多条业务流链路 设置于第一网络设备上, 上述 S40 中的第一网络设备接收来自第二网络设备 的多个 CCM报文之前还包括:第一网络设备将多条业务流链路的标识信息的 集合发送给第二网络设备。
第二网络设备发送的 CCM报文中携带的业务流链路的标识信息的集合 是第一网络设备发送的。
具体的, 上述 S40 中的第一网络设备按照设定周期接收来自第二网络设 备的多个 CCM报文。 设定周期可以按照实际需要进行设定。
较优的 ,上述 S42中的判定存在于第一标识信息而未存在于多个 CCM报 文的第二标识信息的集合中的标识信息对应的业务流链路存在故障之后, 还 包括: 若多条业务流链路都存在故障, 则发出标识信息为空的故障告警信息; 若多条业务流链路中的至少一条业务流链路存在故障, 则发出标识信息为故 障业务流链路的标识信息的故障告警信息。
CCM报文的格式如图 5所示,这里省略了报文头,只给出了报文体结构, 其中,可以利用报文中的 "Optional CCM TLV"字段增加两层类型长度值( Type Length Value, TLV ),其中 Value为字符串、数字、比特等等形式,下面以 Value 为字符串为例进行说明。 第一层 TLV描述本端网络设备设置的各业务流链路 的标识信息的集合, 假设为 S-VLAN为 1000, C-VLAN为 101 to 104, 字符 串格式如下: "C-VLAN=101 to 104"。使用字符串形式能够灵活存储 C-VLAN 连续或者离散集合。 第二层 TLV描述本端发送该 CCM报文所使用的业务流 链路的标识信息,用来供对端网络设备解析收到了哪些业务流链路的 CCM报 文, 同时也能检测哪些 C-VLAN没有收到报文。 釆用比特、 数字等形式, 可 以占用更小的空间。
针对图 3所示的组网结构, C-VLAN可以为两层,可以用 C-VLAN1代表 外层标识, C-VLAN2代表内层标识。
为避免链路故障时产生大量告警, 若未接收到所有业务流链路对应的 CCM报文, 只发出一个故障告警信息, 故障告警信息中的故障业务流链路的 标识信息为空。 若未接收到来自第二网络设备的部分业务流链路对应的 CCM 报文, 也是只发出一个故障告警信息, 故障告警信息中的故障业务流链路标 识为未接收到的 CCM报文对应的业务流链路的标识信息。
较优的, 上述网络中的业务流链路的连通性检测方法, 还包括: 若第一 网络设备接收到来自第二网络设备的携带第二标识信息为所有故障业务流链 路的标识信息的 CCM报文, 则发出故障恢复信息。
若第一网络设备接收到第二网络设备发送的所有故障业务流链路的标识 信息的 CCM报文, 则发出故障恢复信息, 反之则不发送, 从而可以减轻用户 界面的告警数, 用户界面更加友好。
较优的, 上述网络中的业务流链路的连通性检测方法, 还包括: 第一网 络设备向第二网路设备发送 LBM报文, LBM报文携带第三标识信息, 第三 标识信息为第一网络设备发送 LBM报文所使用的业务流链路的标识信息;若 第一网络设备未接收到第二网络设备返回的携带第三标识信息的 LBR报文, 则确定第三标识信息对应的业务流链路存在故障。
LBM报文、 LBR报文除去报文头的格式如图 6所示, 相对于现有的报文 仅在 TLV字段新增一层 TLV, 本发明要求发送和接收 LB报文与现有技术不 同, 本发明要求发送 LB报文时可以选择通过所有业务流链路发送, 也可以选 择单条业务流链路发送。 可以通过第三标识信息来区分, 第三标识信息可以 根据需要进行指定, 当然也可以为空, 为空时, 可以默认使用标识信息最小 的业务流链路发送。
LB报文的 Value为字符串、 数字、 比特等等形式。 TLV描述本端网络设 备发送该 LBM报文所使用的业务流链路的标识信息。 TLV的具体实现与 CCM 报文的 TLV格式相同。 第二网络设备收到 LBM报文之后, 解析 LBM报文中 的 TLV格式,从而针对发送该 LBM ^艮文所使用的业务流链路进行 LBR响应。 用户可以根据根据第二网络设备是否响应来进行进一步定位故障。
较优的, 上述网络中的业务流链路的连通性检测方法, 还包括: 第一网 络设备向第二网络设备发送 LTM报文, LTM报文携带第四标识信息, 第四标 识信息为第一网络设备发送 LTM报文所使用的业务流链路的标识信息; 若第 一网络设备未接收到第二网络设备返回的携带第四标识信息的 LTR报文, 则 确定第四标识信息对应的业务流链路存在故障。
网络设备在发送 LT报文时可以选择使用所有业务流链路发送,也可以选 择单条业务流链路发送。 通过第四标识信息来区分, 第四标识信息可以根据 需要进行指定, 当然也可以为空, 为空时, 可以默认使用标识信息最小的业 务流链路发送。
与 LB报文相同, LT报文在现有的报文格式上新增一层 TLV, 其 Value 为字符串、 数字、 比特等等形式。 TLV描述本端网络设备发送该 LTM报文所 使用的业务流链路的标识信息。 TLV的具体实现与 CCM报文的 TLV格式相 同。 对端网络设备收到 LTM报文之后, 解析 LTM报文中的 TLV格式, 从而 针对发送该 LTM报文所使用的业务流链路进行 LTR响应。然后根据第二网络 设备是否响应来定位故障。
基于同一发明构思, 本发明实施例通过一种业务流链路的连通性检测装 置, 该装置设置有 MEP以及多条业务流链路, 该装置的结构如图 7所示, 包 括:
存储单元 70, 用于存储 MEP与多条业务流链路的标识信息的对应关系。 收发单元 71 , 用于接收来自网络设备的多个 CCM报文, 每个 CCM报文 携带第一标识信息和第二标识信息, 第一标识信息为多条业务流链路的标识 信息的集合,第二标识信息为网络设备发送 CCM报文所使用的业务流链路的 标识信息。
确定单元 72 , 用于将收发单元 71接收到的多个 CCM报文中的第二标识 信息的集合与第一标识信息进行比较,若多个 CCM报文中的第二标识信息少 于第一标识信息,则判定存在于第一标识信息而未存在于多个 CCM "^文的第 二标识信息的集合中的标识信息对应的业务流链路存在故障。
较优的, 上述收发单元 71 , 还用于在接收来自网络设备的多个 CCM报 文之前, 将多条业务流链路的标识信息的集合发送给网络设备。
具体的, 上述业务流链路的标识信息包括 C-VLAN或者优先级。
具体的, 上述收发单元 71按照设定周期接收来自网络设备的多个 CCM 报文。
较优的, 上述确定单元 72, 还用于: 在判定存在于第一标识信息而未存 在于多个 CCM报文的第二标识信息的集合中的标识信息对应的业务流链路 存在故障之后, 若多条业务流链路都存在故障, 则发出标识信息为空的故障 告警信息; 若多条业务流链路中的至少一条业务流链路存在故障, 则发出标 识信息为故障业务流链路的标识信息的故障告警信息。
较优的, 上述收发单元 71 , 还用于: 若接收到来自网络设备的携带第二 标识信息为所有故障业务流链路的标识信息的 CCM报文,则发出故障恢复信 息。
较优的, 上述收发单元 71 , 还用于向网路设备发送 LBM报文, LBM报 文携带第三标识信息 ,第三标识信息为收发单元发送 LBM报文所使用的业务 流链路的标识信息。
确定单元 72,还用于若收发单元 71未接收到网络设备返回的携带第三标 识信息的 LBR 艮文, 则确定第三标识信息对应的业务流链路存在故障。
较优的, 上述收发单元 71 , 还用于向网络设备发送 LTM报文, LTM报 文携带第四标识信息, 第四标识信息为第一网络设备发送 LTM报文所使用的 业务流链路的标识信息。
确定单元 72, 还用于若收发单元未接收到网络设备返回的携带第四标识 信息的 LTR报文, 则确定第四标识信息对应的业务流链路存在故障。
具体的, 上述网络设备为路由设备或者交换设备。
具体的, 上述网络设备为至少一个终端设备, 多条业务流链路设置于至 少一个终端设备上, 上述终端设备为光网络单元。
较优的, 业务流链路的标识信息包括业务流链路所属的 S-VLAN, 还包 括业务流链路的 C-VLAN或者优先级。
基于同一发明构思, 本发明实施例提供一种接入设备, 接入设备设置有 MEP以及多条业务流链路, 该接入设备的结构如图 8所示, 包括:
存储器 80 , 用于存储 MEP与多条业务流链路的标识信息的对应关系。 收发器 81 , 用于接收来自网络设备的多个 CCM报文, 每个 CCM报文携 带第一标识信息和第二标识信息, 第一标识信息为多条业务流链路的标识信 息的集合,第二标识信息为网络设备发送 CCM报文所使用的业务流链路的标 识信息。
处理器 82, 用于将收发器 81接收到的多个 CCM报文中的第二标识信息 的集合与第一标识信息进行比较,若多个 CCM报文中的第二标识信息少于第 一标识信息,则判定存在于第一标识信息而未存在于多个 CCM报文的第二标 识信息的集合中的标识信息对应的业务流链路存在故障。
存储器 80与收发器 81之间通过总线连接, 收发器 81与处理器 82之间 通过总线连接。
较优的, 上述收发器 81 , 还用于: 接收来自网络设备的多个 CCM报文 之前, 将多条业务流链路的标识信息的集合发送给网络设备。
具体的, 上述业务流链路的标识信息包括 C-VLAN或者优先级、 或者包 括业务流链路所属的 S-VLAN和业务流链路的 C-VLAN、 或者包括业务流链 路所属的 S-VLAN和业务流链路的优先级。
具体的, 上述收发器 81 , 用于按照设定周期接收来自网络设备的多个 CCM报文。
较优的, 上述处理器 82, 还用于: 在判定存在于第一标识信息而未存在 于多个 CCM报文的第二标识信息的集合中的标识信息对应的业务流链路存 在故障之后, 若多条业务流链路都存在故障, 则发出标识信息为空的故障告 警信息; 若多条业务流链路中的至少一条业务流链路存在故障, 则发出标识 信息为故障业务流链路的标识信息的故障告警信息。
较优的, 上述收发器 81 , 还用于: 若接收到来自网络设备的携带第二标 识信息为所有故障业务流链路的标识信息的 CCM报文, 则发出故障恢复信 息。
较优的, 上述收发器 81 , 还用于向网路设备发送 LBM报文, LBM报文 携带第三标识信息,第三标识信息为收发器发送 LBM报文所使用的业务流链 路的标识信息。
处理器 82,还用于若收发器 81未接收到网络设备返回的携带第三标识信 息的 LBR报文, 则确定第三标识信息对应的业务流链路存在故障。
较优的, 上述收发器 81 , 还用于向网络设备发送 LTM报文, LTM报文 携带第四标识信息, 第四标识信息为收发器发送 LTM报文所使用的业务流链 路的标识信息。
处理器 82, 还用于若收发器未接收到网络设备返回的携带第四标识信息 的 LTR 艮文, 则确定第四标识信息对应的业务流链路存在故障。
基于同一发明构思, 本发明实施例提供一种终端设备, 该终端设备设置 有 MEP以及多条业务流链路, 该终端设备的结构如图 9所示, 包括:
存储器 90, 用于存储 MEP与多条业务流链路的标识信息的对应关系。 收发器 91 , 用于接收来自网络设备的多个 CCM报文, 每个 CCM报文携 带第一标识信息和第二标识信息, 第一标识信息为多条业务流链路的标识信 息的集合,第二标识信息为网络设备发送 CCM报文所使用的业务流链路的标 识信息。
处理器 92, 用于将收发器 91接收到的多个 CCM报文中的第二标识信息 的集合与第一标识信息进行比较,若多个 CCM报文中的第二标识信息于第一 标识信息,则判定存在于第一标识信息而未存在于多个 CCM "^文的第二标识 信息的集合中的标识信息对应的业务流链路存在故障。
存储器 90与收发器 91之间通过总线连接, 收发器 91与处理器 92之间 通过总线连接。
较优的, 上述收发器 91 , 还用于: 在接收来自网络设备的多个 CCM报 文之前, 将多条业务流链路的标识信息的集合发送给网络设备。
具体的, 上述业务流链路的标识信息包括业务流链路所属的 S-VLAN以 及业务流链路的 C-VLAN。
具体的, 上述收发器 91按照设定周期接收来自网络设备的多个 CCM报 文。 较优的, 上述处理器 92, 还用于: 在判定存在于第一标识信息而未存在 于多个 CCM报文的第二标识信息的集合中的标识信息对应的业务流链路存 在故障之后, 若多条业务流链路都存在故障, 则发出标识信息为空的故障告 警信息; 若多条业务流链路中的至少一条业务流链路存在故障, 则发出标识 信息为故障业务流链路的标识信息的故障告警信息。
较优的, 上述收发器 91 , 还用于: 若接收到来自网络设备的携带第二标 识信息为所有故障业务流链路的标识信息的 CCM报文, 则发出故障恢复信 息。
较优的, 上述收发器 91 , 还用于向网路设备发送 LBM报文, LBM报文 携带第三标识信息,第三标识信息为收发器发送 LBM报文所使用的业务流链 路的标识信息。
处理器 92,还用于若收发器 91未接收到网络设备返回的携带第三标识信 息的 LBR报文, 则确定第三标识信息对应的业务流链路存在故障。
较优的, 上述收发器 91 , 还用于向网络设备发送 LTM报文, LTM报文 携带第四标识信息, 第四标识信息为收发器发送 LTM报文所使用的业务流链 路的标识信息。
处理器 92, 还用于若收发器未接收到网络设备返回的携带第四标识信息 的 LTR 艮文, 则确定第四标识信息对应的业务流链路存在故障。
基于同一发明构思, 本发明实施例提供一种业务流链路的连通性检测系 统, 该系统的结构如图 10所示, 包括第一网络设备 100和第二网络设备 101 , 第一网络设备 100和第二网络设备 101相连,第一网络设备 100设置有 MEP, MEP与多条业务流链路的标识信息形成对应关系。
第一网络设备 100, 用于接收来自第二网络设备 101的多个 CCM报文, 每个 CCM报文携带第一标识信息和第二标识信息,第一标识信息为多条业务 流链路的标识信息的集合,第二标识信息为第二网络设备发送 CCM报文所使 用的业务流链路的标识信息;以及将接收到的多个 CCM报文中的第二标识信 息的集合与第一标识信息进行比较,若多个 CCM报文中的第二标识信息少于 第一标识信息,则判定存在于第一标识信息而未存在于多个 CCM报文的第二 标识信息的集合中的标识信息对应的业务流链路存在故障。
具体的, 上述多条业务流链路设置于第一网络设备 100上, 第一网络设 备 100, 还用于在接收来自第二网络设备 101的多个 CCM报文之前, 将多条 业务流链路的标识信息的集合发送给第二网络设备 101。
具体的, 上述业务流链路的标识信息包括 C-VLAN或者优先级。
具体的,上述第一网络设备 100按照设定周期接收来自第二网络设备 101 的多个 CCM报文。
较优的, 上述第一网络设备 100, 还用于: 在判定存在于第一标识信息而 未存在于多个 CCM 文的第二标识信息的集合中的标识信息对应的业务流 链路存在故障之后, 若多条业务流链路都存在故障, 则发出标识信息为空的 故障告警信息; 若多条业务流链路中的至少一条业务流链路存在故障, 则发 出标识信息为故障业务流链路的标识信息的故障告警信息。
较优的, 上述第一网络设备 100, 还用于若接收到来自第二网络设备 101 的携带第二标识信息为所有故障业务流链路的标识信息的 CCM报文,则发出 故障恢复信息。
较优的,上述第一网络设备 100,还用于: 向第二网路设备 101发送 LBM 报文, LBM报文携带第三标识信息, 第三标识信息为第一网络设备 100发送 LBM报文所使用的业务流链路的标识信息; 若未接收到第二网络设备 101返 回的携带第三标识信息的 LBR报文, 则确定第三标识信息对应的业务流链路 存在故障。
较优的, 上述第一网络设备 100,还用于: 向第二网络设备 101发送 LTM 报文, LTM报文携带第四标识信息, 第四标识信息为第一网络设备 100发送 LTM报文所使用的业务流链路的标识信息; 若未接收到第二网络设备 101返 回的携带第四标识信息的 LTR报文, 则确定第四标识信息对应的业务流链路 存在故障。
较优的, 上述多条业务流链路设置于第二网络设备 101 上; 第一网络设 备 100, 还用于接收来自第二网络设备 101的多条业务流链路的标识信息。 具体的, 上述业务流链路的标识信息包括业务流链路所属的 S-VLAN以 及业务流链路的 C-VLAN或者包括业务流链路所属的 S-VLAN以及优先级。
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或 计算机程序产品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可釆用在一个或多个 其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器、 CD-ROM、 光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序产 品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图 和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中的流程 和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得通 过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流 程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设 备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存储器 中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个流程或 多个流程和 /或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的 处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图 一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的步 骤。
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知了 基本创造性概念, 则可对这些实施例作出另外的变更和修改。 所以, 所附权 利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 脱离本发明实施例的精神和范围。 这样, 倘若本发明实施例的这些修改和变 型属于本发明权利要求及其等同技术的范围之内, 则本发明也意图包含这些 改动和变型在内。

Claims

权 利 要 求
1、 一种网络中的业务流链路的连通性检测方法, 所述网络包括第一网络 设备和第二网络设备, 其特征在于, 所述第一网络设备设置有维护终端点
MEP,所述 MEP与多条业务流链路的标识信息形成对应关系 ,所述方法包括: 所述第一网络设备接收来自所述第二网络设备的多个连通性检测消息 CCM "^文, 每个 CCM "^文携带第一标识信息和第二标识信息, 所述第一标 识信息为所述多条业务流链路的标识信息的集合, 所述第二标识信息为所述 第二网络设备发送 CCM报文所使用的业务流链路的标识信息; 以及
将接收到的所述多个 CCM报文中的第二标识信息的集合与所述第一标 识信息进行比较,若所述多个 CCM报文中的第二标识信息少于所述第一标识 信息,则判定存在于所述第一标识信息而未存在于所述多个 CCM报文的第二 标识信息的集合中的标识信息对应的业务流链路存在故障。
2、 如权利要求 1所述的方法, 其特征在于, 所述多条业务流链路设置于 所述第一网络设备上, 所述第一网络设备接收来自所述第二网络设备的多个 CCM报文之前还包括:
所述第一网络设备将所述多条业务流链路的标识信息的集合发送给所述 第二网络设备。
3、 如权利要求 1或 2所述的方法, 其特征在于, 所述业务流链路的标识 信息包括用户虚拟局域网标识 C-VLAN或者优先级。
4、 如权利要求 1所述的方法, 其特征在于, 所述第一网络设备按照设定 周期接收来自所述第二网络设备的多个 CCM报文。
5、 如权利要求 1-4任一所述的方法, 其特征在于, 还包括:
所述第一网络设备向所述第二网路设备发送环回消息 LBM报文, 所述 LBM报文携带第三标识信息, 所述第三标识信息为所述第一网络设备发送所 述 LBM报文所使用的业务流链路的标识信息;
若所述第一网络设备未接收到所述第二网络设备返回的携带所述第三标 识信息的链路环回应答 LBR报文, 则确定所述第三标识信息对应的业务流链 路存在故障。
6、 如权利要求 1-5所述的方法, 其特征在于, 还包括:
所述第一网络设备向所述第二网络设备发送跟踪消息 LTM报文, 所述 LTM报文携带第四标识信息, 所述第四标识信息为所述第一网络设备发送所 述 LTM报文所使用的业务流链路的标识信息;
若所述第一网络设备未接收到所述第二网络设备返回的携带所述第四标 识信息的跟踪应答 LTR报文, 则确定所述第四标识信息对应的业务流链路存 在故障。
7、 如权利要求 1-6任一所述的方法, 其特征在于, 所述第一网络设备为 接入设备, 所述第二网络设备为路由设备或者交换设备。
8、 如权利要求 1-7任一所述的方法, 其特征在于, 所述第一网络设备为 接入设备, 所述第二网络设备为至少一个终端设备, 所述多条业务流链路设 置于所述至少一个终端设备上。
9、 如权利要求 8所述的方法, 其特征在于, 所述业务流链路的标识信息 包括业务流链路所属的业务虚拟局域网 S-VLAN , 还包括业务流链路的 C-VLAN或者优先级。
10、 如权利要求 8或 9所述的方法, 其特征在于, 所述接入设备为光线 路终端, 所述终端设备为光网络单元。
11、 一种业务流链路的连通性检测装置, 其特征在于, 所述装置设置有 维护终端点 MEP以及多条业务流链路, 所述装置包括:
存储单元, 用于存储所述 MEP与所述多条业务流链路的标识信息的对应 关系;
收发单元, 用于接收来自网络设备的多个连通性检测消息 CCM报文, 每 个 CCM "^文携带第一标识信息和第二标识信息,所述第一标识信息为所述多 条业务流链路的标识信息的集合, 所述第二标识信息为所述网络设备发送 CCM报文所使用的业务流链路的标识信息; 确定单元,用于将所述收发单元接收到的所述多个 CCM报文中的第二标 识信息的集合与所述第一标识信息进行比较,若所述多个 CCM报文中的第二 标识信息少于所述第一标识信息, 则判定存在于所述第一标识信息而未存在 于所述多个 CCM报文的第二标识信息的集合中的标识信息对应的业务流链 路存在故障。
12、 如权利要求 11所述的装置, 其特征在于, 所述收发单元, 还用于在 接收来自所述网络设备的多个 CCM报文之前,将所述多条业务流链路的标识 信息的集合发送给所述网络设备。
13、 如权利要求 11或 12所述的装置, 其特征在于, 所述业务流链路的 标识信息包括用户虚拟局域网标识 C-VLAN或者优先级。
14、 一种接入设备, 其特征在于, 所述接入设备设置有维护终端点 MEP 以及多条业务流链路, 所述接入设备包括:
存储器, 用于存储所述 MEP与所述多条业务流链路的标识信息的对应关 系;
收发器, 用于接收来自网络设备的多个连通性检测消息 CCM报文, 每个 CCM报文携带第一标识信息和第二标识信息, 所述第一标识信息为所述多条 业务流链路的标识信息的集合, 所述第二标识信息为所述网络设备发送 CCM 报文所使用的业务流链路的标识信息;
处理器,用于将所述收发器接收到的所述多个 CCM报文中的第二标识信 息的集合与所述第一标识信息进行比较,若所述多个 CCM报文中的第二标识 信息少于所述第一标识信息, 则判定存在于所述第一标识信息而未存在于所 述多个 CCM报文的第二标识信息的集合中的标识信息对应的业务流链路存 在故障。
15、如权利要求 14所述的接入设备, 其特征在于, 所述收发器, 还用于: 接收来自所述网络设备的多个 CCM报文之前,将所述多条业务流链路的 标识信息的集合发送给所述网络设备。
16、 如权利要求 14或 15所述的接入设备, 其特征在于, 所述业务流链 路的标识信息包括用户虚拟局域网标识 C-VLAN或者优先级、 或者包括业务 流链路所属的业务虚拟局域网 S-VLAN和业务流链路的 C-VLAN、 或者包括 业务流链路所属的业务虚拟局域网 S-VLAN和业务流链路的优先级。
17、 如权利要求 14所述的接入设备, 其特征在于, 所述收发器, 用于按 照设定周期接收来自所述网络设备的多个 CCM报文。
18、如权利要求 14所述的接入设备, 其特征在于, 所述处理器, 还用于: 在判定存在于所述第一标识信息而未存在于所述多个 CCM报文的第二 标识信息的集合中的标识信息对应的业务流链路存在故障之后, 若所述多条 业务流链路都存在故障, 则发出标识信息为空的故障告警信息; 若所述多条 业务流链路中的至少一条业务流链路存在故障, 则发出标识信息为故障业务 流链路的标识信息的故障告警信息。
19、 一种业务流链路的连通性检测系统, 包括第一网络设备和第二网络 设备, 所述第一网络设备和所述第二网络设备相连, 其特征在于, 所述第一 网络设备设置有维护终端点 MEP,所述 MEP与多条业务流链路的标识信息形 成对应关系;
所述第一网络设备, 用于接收来自所述第二网络设备的多个连通性检测 消息 CCM报文, 每个 CCM报文携带第一标识信息和第二标识信息, 所述第 一标识信息为所述多条业务流链路的标识信息的集合, 所述第二标识信息为 所述第二网络设备发送 CCM报文所使用的业务流链路的标识信息;以及将接 收到的所述多个 CCM >¾文中的第二标识信息的集合与所述第一标识信息进 行比较, 若所述多个 CCM报文中的第二标识信息少于所述第一标识信息, 则 判定存在于所述第一标识信息而未存在于所述多个 CCM报文的第二标识信 息的集合中的标识信息对应的业务流链路存在故障。
20、 如权利要求 19所述的系统, 其特征在于, 所述多条业务流链路设置 于所述第一网络设备上, 所述第一网络设备, 还用于在接收来自所述第二网 络设备的多个 CCM报文之前,将所述多条业务流链路的标识信息的集合发送 给所述第二网络设备。
21、 如权利要求 19或 20所述的系统, 其特征在于, 所述业务流链路的 标识信息包括用户虚拟局域网标识 C-VLAN或者优先级。
22、 如权利要求 19所述的系统, 其特征在于, 所述第一网络设备, 还用 于:
在判定存在于所述第一标识信息而未存在于所述多个 CCM报文的第二 标识信息的集合中的标识信息对应的业务流链路存在故障之后, 若所述多条 业务流链路都存在故障, 则发出标识信息为空的故障告警信息; 若所述多条 业务流链路中的至少一条业务流链路存在故障, 则发出标识信息为故障业务 流链路的标识信息的故障告警信息。
23、如权利要求 19-22任一所述的系统,其特征在于,所述第一网络设备, 还用于:
向所述第二网路设备发送环回消息 LBM报文, 所述 LBM报文携带第三 标识信息,所述第三标识信息为所述第一网络设备发送所述 LBM报文所使用 的业务流链路的标识信息;
若未接收到所述第二网络设备返回的携带所述第三标识信息的链路环回 应答 LBR报文, 则确定所述第三标识信息对应的业务流链路存在故障。
24、 如权利要求 19-22所述的系统, 其特征在于, 所述第一网络设备, 还 用于:
向所述第二网络设备发送跟踪消息 LTM报文, 所述 LTM报文携带第四 标识信息, 所述第四标识信息为所述第一网络设备发送所述 LTM报文所使用 的业务流链路的标识信息;
若未接收到所述第二网络设备返回的携带所述第四标识信息的跟踪应答 LTR报文, 则确定所述第四标识信息对应的业务流链路存在故障。
25、 如权利要求 19所述的系统, 其特征在于, 所述业务流链路的标识信 息包括业务流链路所属的业务虚拟局域网 S-VLAN 以及业务流链路的用户虚 拟局域网标识 C-VLAN或者包括业务流链路所属的业务虚拟局域网 S-VLAN 以及优先级。
PCT/CN2013/081229 2013-08-09 2013-08-09 一种业务流链路的连通性检测方法、相关装置及系统 WO2015018090A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201380001205.5A CN105379180B (zh) 2013-08-09 2013-08-09 一种业务流链路的连通性检测方法、相关装置及系统
EP13883841.2A EP2858302B1 (en) 2013-08-09 2013-08-09 Connectivity check method of service stream link, related apparatus and system
PCT/CN2013/081229 WO2015018090A1 (zh) 2013-08-09 2013-08-09 一种业务流链路的连通性检测方法、相关装置及系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/081229 WO2015018090A1 (zh) 2013-08-09 2013-08-09 一种业务流链路的连通性检测方法、相关装置及系统

Publications (1)

Publication Number Publication Date
WO2015018090A1 true WO2015018090A1 (zh) 2015-02-12

Family

ID=52460580

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/081229 WO2015018090A1 (zh) 2013-08-09 2013-08-09 一种业务流链路的连通性检测方法、相关装置及系统

Country Status (3)

Country Link
EP (1) EP2858302B1 (zh)
CN (1) CN105379180B (zh)
WO (1) WO2015018090A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107947974B (zh) * 2017-11-17 2021-01-19 国云科技股份有限公司 一种云平台业务的网络关键链路检测方法
CN112202634B (zh) * 2020-09-23 2022-04-15 烽火通信科技股份有限公司 一种网络链路故障检测及传递方法及系统
CN113395319B (zh) * 2021-04-26 2022-09-16 国网江西省电力有限公司经济技术研究院 网络故障感知的方法、系统、电子设备及存储介质
CN113438733B (zh) * 2021-06-21 2022-10-11 中国电信股份有限公司 基于5g和wifi实现室内定位的系统、方法及电子设备
CN114244468A (zh) * 2021-12-23 2022-03-25 安徽皖通邮电股份有限公司 Otn链路快速定位故障点的方法、存储介质及设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050099949A1 (en) * 2003-11-10 2005-05-12 Nortel Networks Limited Ethernet OAM domains and ethernet OAM frame format
US20070025256A1 (en) * 2005-07-12 2007-02-01 Cisco Technology, Inc. Broadband access node with a virtual maintenance end point
CN102291245A (zh) * 2010-06-21 2011-12-21 中兴通讯股份有限公司 一种检测错配故障的方法及维护终端点

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0724859D0 (en) * 2007-12-20 2008-01-30 Ericsson Telefon Ab L M Improvements in or relating to networks
BRPI0910949B1 (pt) * 2008-04-16 2020-09-15 Telefonaktiebolaget Lm Ericsson (Publ) Método e sistema para detectar e corrigir uma incompatibilidade, e, ponto de extremidade de associação de manutenção

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050099949A1 (en) * 2003-11-10 2005-05-12 Nortel Networks Limited Ethernet OAM domains and ethernet OAM frame format
US20070025256A1 (en) * 2005-07-12 2007-02-01 Cisco Technology, Inc. Broadband access node with a virtual maintenance end point
CN102291245A (zh) * 2010-06-21 2011-12-21 中兴通讯股份有限公司 一种检测错配故障的方法及维护终端点

Also Published As

Publication number Publication date
EP2858302A1 (en) 2015-04-08
CN105379180B (zh) 2019-02-26
EP2858302A4 (en) 2015-05-20
EP2858302B1 (en) 2016-10-12
CN105379180A (zh) 2016-03-02

Similar Documents

Publication Publication Date Title
EP3188409B1 (en) Oam mechanisms for evpn active-active services
US10623293B2 (en) Systems and methods for dynamic operations, administration, and management
EP2484060B1 (en) Technique for controlling data forwarding in computer networks
US8259590B2 (en) Systems and methods for scalable and rapid Ethernet fault detection
KR101706008B1 (ko) 통신 실패에 따라서 분산된 릴레이 제어 프로토콜 〔drcp〕 동작을 지원하기 위한 방법 및 시스템
US8982710B2 (en) Ethernet operation and maintenance (OAM) with flexible forwarding
EP3301861A1 (en) Evpn designated forwarder state propagation to customer edge devices using connectivity fault management
US8289839B2 (en) Scaling BFD sessions for neighbors using physical / sub-interface relationships
US9608903B2 (en) Systems and methods for recovery from network changes
WO2017036180A1 (zh) 报文的处理方法及装置
JP2006245849A (ja) 通信装置
EP2736198B1 (en) Message processing method and system
WO2015018090A1 (zh) 一种业务流链路的连通性检测方法、相关装置及系统
WO2012149862A1 (zh) 环网故障切换方法和装置
US9059791B2 (en) Method and apparatus for protecting tunnel
WO2009092257A1 (zh) 运营商骨干网传输网络的故障检测方法和装置
JP5678678B2 (ja) プロバイダ網及びプロバイダエッジ装置
WO2014009523A1 (en) Connectivity fault management in a communication network
WO2012083767A1 (zh) 一种隧道故障检测方法和流量工程节点
US8670299B1 (en) Enhanced service status detection and fault isolation within layer two networks
WO2019157802A1 (zh) 测量网络性能的方法、设备和网络系统
WO2015035852A1 (zh) 一种节点间状态通告的方法和设备
WO2011011934A1 (zh) 一种以太网隧道分段保护方法和装置
JP2012253530A (ja) ネットワークシステムにおけるフレーム配送経路の選択方法
Foschiano Cisco systems unidirectional link detection (udld) protocol

Legal Events

Date Code Title Description
REEP Request for entry into the european phase

Ref document number: 2013883841

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2013883841

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13883841

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE