Nothing Special   »   [go: up one dir, main page]

WO2012055247A1 - 伪线路由扩散方法和设备 - Google Patents

伪线路由扩散方法和设备 Download PDF

Info

Publication number
WO2012055247A1
WO2012055247A1 PCT/CN2011/075749 CN2011075749W WO2012055247A1 WO 2012055247 A1 WO2012055247 A1 WO 2012055247A1 CN 2011075749 W CN2011075749 W CN 2011075749W WO 2012055247 A1 WO2012055247 A1 WO 2012055247A1
Authority
WO
WIPO (PCT)
Prior art keywords
protocol message
pseudo
line
access
routing protocol
Prior art date
Application number
PCT/CN2011/075749
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 EP11835521.3A priority Critical patent/EP2624507B1/en
Priority to ES11835521.3T priority patent/ES2526576T3/es
Priority to RU2013123695/08A priority patent/RU2555243C2/ru
Priority to CA2815402A priority patent/CA2815402C/en
Priority to AU2011320276A priority patent/AU2011320276B2/en
Priority to JP2013535249A priority patent/JP5774711B2/ja
Priority to KR1020137011826A priority patent/KR101451642B1/ko
Publication of WO2012055247A1 publication Critical patent/WO2012055247A1/zh
Priority to US13/868,728 priority patent/US20130230045A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/68Pseudowire emulation, e.g. IETF WG PWE3
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/033Topology update or discovery by updating distance vector protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5603Access techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and device for distributing a pseudo line. Background technique
  • PseudoWire is a kind of packet switching network (PSN) that carries a key element of a simulation service from one provider to another (Provider Edge, ⁇ ) to another or multiple devices. mechanism.
  • PSN packet switching network
  • SS-PW Single-Segment PseudoWire
  • MS-PW Multi-Segment PseudoWire
  • an access device such as a Subscriber Line Access Multiplexer (DSLAM) spreads the PW route to each node device in the network, thereby enabling access devices (such as DSLAM) and switching.
  • DSLAM Subscriber Line Access Multiplexer
  • the Switching PE S-PE can automatically find the destination node device based on the routing information to complete data exchange.
  • the PW route diffusion method is as shown in FIG. 1 , in which an access device (such as a DSLAM1) uses an Interior Gateway Protocol (IGP) or a multi-protocol extended border gateway protocol (Multiple Protocol Border Gateway Protocol).
  • IGP Interior Gateway Protocol
  • MP-BGP Multi-protocol extended border gateway protocol
  • the aggregation node device (such as router 1) also uses the IGP or MP-BGP protocol message to extend the PW route of the aggregation node device to Switching device S-PE; After receiving the PW route, the switching device S-PE uses the IGP or MP-BGP protocol message to extend the PW route to other node devices in the network (such as router Router2 and access device DSLAM2); other node devices (For example, Router2 and DSLAM2) extract PW routes from IGP or MP-BGP protocol messages to complete the spread of PW routes in the network.
  • the access device is usually only a Layer 2 device.
  • the access device needs to upgrade the control plane to Layer 3, which not only increases the complexity of the access device, but also increases the burden on the access device.
  • the technical problem to be solved by the embodiments of the present invention is to provide a pseudo-channel spreading method, a system, and a sink node device, which are used to reduce the complexity of the access device.
  • Embodiments of the present invention provide a method for spreading a pseudo line, including:
  • Non-routing protocol message is an access node control protocol message carrying port information of the access device
  • the embodiment of the present invention further provides a sink node device, including:
  • a receiving module configured to receive a non-routing protocol message sent by the access device, where the non-routing protocol message is an access node control protocol message carrying port information;
  • An obtaining module configured to obtain, according to the non-routing protocol message received by the receiving module, a pseudo-line of the access device
  • a generating module configured to generate, according to the pseudo line obtained by the acquiring module, a routing protocol message carrying the pseudo line
  • a sending module configured to send the routing protocol message generated by the generating module to the switching device, so that the switching device diffuses the pseudo line by;
  • the obtaining module includes:
  • a searching unit configured to search for an access circuit identifier corresponding to the port information from a mapping relationship between the pre-configured port information and the access circuit identifier according to the port information carried in the access node control protocol message;
  • an encapsulating unit configured to encapsulate the access circuit identifier and a global identifier and a prefix of the access device into a pseudo-line of the access device.
  • the embodiment of the invention further provides a method for diffusing a pseudo line, comprising:
  • Non-routing protocol message is an access node control protocol message of the pseudo-line carrying the access device, where the pseudo-line of the access device is indicated by the indication access circuit
  • the global identifier and prefix of the access device is an access node control protocol message of the pseudo-line carrying the access device, where the pseudo-line of the access device is indicated by the indication access circuit
  • the embodiment of the invention further provides a sink node device, including:
  • a receiving module configured to receive a non-routing protocol message sent by the access device, where the non-routing protocol message is an access node control protocol message of the pseudo-line carrying the access device, and the pseudo-line of the access device is indicated by the access a circuit identifier, a global identifier of the access device, and a prefix;
  • An obtaining module configured to obtain, according to the non-routing protocol message received by the receiving module, a pseudo-line of the access device
  • a generating module configured to generate, according to the pseudo line obtained by the acquiring module, a routing protocol message carrying the pseudo line
  • a sending module configured to send the routing protocol message generated by the generating module to the switching device, so that the switching device diffuses the pseudo line by.
  • the sink node device receives the non-routing protocol message sent from the access device, where the non-routing protocol message carries the port information of the pseudo-line or the access device, and obtains the pseudo-line according to the non-routing protocol message. And generating a routing protocol message carrying the pseudo line to send to the switching device, so that the switching device diffuses the pseudo line, and prevents the access device from sending the routing protocol message, so that the access device only needs to maintain the pseudo line of the access device. Passing the pseudo line in the Layer 2 network reduces the complexity of the access device.
  • 1 is a schematic diagram of a pseudo-line release of a multi-segment pseudowire in the prior art
  • 2 is a schematic diagram of a PW route extension in a first embodiment provided by the present invention
  • FIG. 3 is a flow chart of a method for diffusing a pseudo line according to a first embodiment of the present invention
  • FIG. 4 is a flow chart of a method for diffusing a pseudo line according to a second embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an ANCP extension field in a second embodiment provided by the present invention
  • FIG. 6 is a schematic structural diagram of an ETH OAM extension field in a second embodiment provided by the present invention
  • FIG. 7 is a third embodiment provided by the present invention. a pseudo flow line by a flow chart of the diffusion method
  • FIG. 8 is a schematic structural diagram of a sink node device according to a fourth embodiment of the present invention.
  • FIG. 9 is a schematic structural view of a pseudo-line diffusion system according to a fifth embodiment of the present invention.
  • FIG. 10 is a schematic diagram of another pseudo-line diffusion system according to a fifth embodiment of the present invention. Still another pseudo-circuit of the fifth embodiment is illustrated by the structure of the diffusion system
  • a pseudo-line spreading method In the embodiment of the present invention, a pseudo-line spreading method, a system, and a sink node device are provided, which are used to reduce the complexity and burden of the access device. The details are described below separately.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the access device DSLAM1 to the sink node device Router1, and the access device DSLAM2 to the sink node device Router2 are generally referred to as access segments, and non-routing protocols can be used to transmit messages on the access segment.
  • non-routing protocols can be used to transmit messages on the access segment.
  • the distribution of PW routes by the configuration protocol specific to the access device can simplify the complexity and burden of the access device.
  • access devices such as DSLAM1 and DSLAM2
  • can use unique configuration protocols such as Access Node Control Protocol (ANCP) or Ethernet Operation, Administration and Maintenance.
  • ANCP Access Node Control Protocol
  • ETH OAM Ethernet Operation, Administration and Maintenance
  • PW route diffusion of access devices can be implemented using ANCP protocol.
  • ANCP Access Node Control Protocol
  • ETH OAM Ethernet Operation, Administration and Maintenance
  • GPON Gigabit-Capable PON
  • the basic flow of the pseudo-line diffusion method according to the first embodiment of the present invention can be referred to FIG. 3, and the pseudo-line diffusion method is:
  • Step 301 The sink node device receives a non-routing protocol message sent from the access device, where the non-routing protocol message carries the port information of the pseudo-line or the access device.
  • the access device maintains a pseudo-line by the table, and the access device sends a non-routing protocol message carrying the pseudo-line to the sink node device.
  • the access device does not maintain its own pseudo-line list, and the sink node device maintains the pseudo-line list, and the access device sends a non-routing protocol message carrying the port information of the access device to the aggregation. Node device.
  • the non-routing protocol message is specifically a Layer 2 management protocol message such as an ANCP protocol message or an ETH OAM protocol message.
  • Step 302 The sink node device obtains a pseudo line according to the non-routing protocol message.
  • the pseudo-line is directly obtained from the non-routing protocol message.
  • the sink node device may The port information is used to search for the AC ID corresponding to the port information from the mapping between the pre-configured port information and the access circuit identifier (AC ID), and the AC ID and the global ID of the access device (Global ID).
  • the prefix (Prefix) is encapsulated into an Attachment Individual Identifier (All) information, that is, encapsulated into a pseudo-line.
  • Step 303 The sink node device generates a routing protocol message according to the pseudo line, and sends the routing protocol message to the switching device, so that the switching device diffuses the pseudo line.
  • the aggregation node device transmits the message carrying the pseudo line to the S-PE through the MP-BGP protocol or the IGP protocol, and the S-PE diffuses the pseudo line to other sections through the MP-BGP protocol or the IGP protocol. Point device.
  • the sink node device receives the non-routing protocol message sent from the access device, where the non-routing protocol message carries the port information of the pseudo-line or the access device, and obtains the pseudo-line according to the non-routing protocol message. And generating a routing protocol message carrying the pseudo line to send to the switching device, so that the switching device diffuses the pseudo line by, preventing the access device from sending a routing protocol message, so that the access device only needs to maintain the pseudo of the access device.
  • the line is used to implement the transmission of the pseudo line in the Layer 2 network, which reduces the complexity of the access device.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • a PW route of a diffusion access device (such as a DSLAM) is implemented by using a specially configured non-routing protocol such as an ANCP protocol or an ETH OAM protocol.
  • the PW route extension diagram of this embodiment is the same as that of FIG. 2.
  • the ANCP protocol is used in a DSL or Ethernet access scenario
  • the Eth OAM protocol is used in a GPON access scenario, but other conditions are not excluded, such as the ETH OAM protocol for DSL or Ethernet or EPON access scenarios.
  • Step 401 The access device DSLAM1 enables the PW routing function, and encapsulates the Global ID, Prefix, and AC ID of the access device DSLAM1 into ⁇ Information, that is, encapsulated into PW routes.
  • Step 402 The access device DSLAM1 carries the ⁇ information (that is, the PW route) and reports it to the aggregation node device Router1 through a specially configured non-routing protocol message, such as an ANCP protocol message or an ETH OAM protocol message.
  • a specially configured non-routing protocol message such as an ANCP protocol message or an ETH OAM protocol message.
  • the ANCP protocol uses the Global System for Mobile Communications (GSM) protocol to implement topology discovery, line configuration and operation, administration and maintenance (OAM) functions.
  • GSM Global System for Mobile Communications
  • OAM administration and maintenance
  • the ANCP protocol can add an extension field based on the GSM version 3 protocol.
  • the extension field uses the Type, Length, Value, TLV format, in addition to topology discovery, line configuration, and OAM functions. In addition, it can be used for new features.
  • the format of the extended field is as shown in FIG. 5.
  • the extension field is used to implement the transmission of the ⁇ information (that is, the PW route) in the ANCP protocol message.
  • the Message Type defines a new type, which can be named as a PW route type, has a TLV attribute, and carries variable length information.
  • the basic structure of the ETH OAM protocol message is shown in Figure 6.
  • the code value of OxFE can be Device vendor definition, support for unique features.
  • the code field is used to implement the transmission of the ⁇ information (ie, PW route) in the ETH OAM protocol message.
  • ⁇ information ie, PW route
  • a new Organizationally Unique Identifier UAI
  • the PW routing OUI can be named, and the TLV attribute is provided, and the variable length information is carried.
  • Step 403 The aggregation node device Router1 receives the ANCP protocol message or the ETH 0 AM protocol message carrying the ⁇ information (that is, the PW route).
  • Step 404 The aggregation node device Router1 extracts the ⁇ information (that is, the PW route) in the ANCP protocol message or the ETH OAM protocol message, and generates an MP-BGP protocol message or an IGP protocol message carrying the ⁇ information (that is, the PW route).
  • the local routing table may be updated according to the ⁇ information (that is, the PW route).
  • Step 405 The aggregation node device Router1 transmits the ⁇ information (that is, the PW route) to the switching device S-PE through the MP-BGP protocol message or the IGP protocol message.
  • the IP edge device can group multiple pieces of information into one group and uniformly encapsulate it into one message and send it to the S-PE to improve the efficiency of the protocol.
  • Step 406 The switching device S-PE obtains the ⁇ information (that is, the PW route) according to the received message, and updates the ⁇ information (that is, the PW route) to the PW routing table.
  • Step 407 The switching device S-PE sends the MP-BGP protocol message or the IGP protocol message carrying the ⁇ information (that is, the PW route) to the aggregation node device Router2.
  • Step 408 The aggregation node device Router2 receives the MP-BGP protocol message or the IGP protocol message carrying the ⁇ information (that is, the PW route).
  • Step 409 The aggregation node device Router2 obtains the ⁇ information (that is, the PW route) in the MP-BGP protocol message or the IGP protocol message, and generates the ANCP message carrying the ⁇ information (that is, the PW route) by using the ⁇ information (that is, the PW route). Configured non-routing protocol messages).
  • the aggregation node device may also use the ⁇ information (that is, the PW route) to be used for the local PW service. Therefore, the corresponding routing entry of the ⁇ information is also generated in the local PW routing table.
  • the local routing table may be updated according to the ⁇ information (that is, the PW route).
  • the aggregation node device Router2 sends an ANCP message carrying the ⁇ information (that is, the PW route) to the access device DSLAM2;
  • Step 411 The access device DSLAM2 receives the ANCP protocol message carrying the ⁇ information (that is, the PW route), extracts the ⁇ information in the ANCP protocol message, updates the PW routing table, and indicates that the next hop of the PW route is the switching device S- PE.
  • the above steps are reciprocated in the various switching devices and access devices and the sink node devices of the network, realizing the spread of the pseudowires between the nodes of the network.
  • the aggregation node device Router1 can also receive the second routing protocol message (such as an IGP protocol message or an MP-BGP protocol message) sent by the switching device S-PE, where the second routing protocol message carries the second
  • the second pseudo line of the access device DSLAM2 is configured to: obtain the second pseudo line according to the second routing protocol message, and generate a second non-routing protocol for carrying the second pseudo line according to the obtained second pseudo line A message (such as an ANCP protocol message or a Layer 2 management protocol message such as an ETH OAM protocol message), and sends a second non-routing protocol message to the access device DSLAM2.
  • the sink node device receives the non-routing protocol message sent from the access device, where the non-routing protocol message carries the port information of the pseudo-line or the access device, and obtains the pseudo-line according to the non-routing protocol message. And generating a routing protocol message carrying the pseudo line to send to the switching device, so that the switching device diffuses the pseudo line by, preventing the access device from sending a routing protocol message, so that the access device only needs to maintain the pseudo of the access device.
  • the line is used to implement the transmission of the pseudo line in the Layer 2 network, which reduces the complexity of the access device.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • the PW route of the access device needs to be maintained and advertised by the access device.
  • the PW route of the DSLAM1 needs to be maintained and advertised by the DSLAM1 itself, and the PW routing table is maintained in the DSLAM1.
  • the aggregation node device agent maintains the PW route of the access device, and the aggregation node device is controlled by the existing configuration protocol (such as ANCP protocol or ETH OAM protocol) between the aggregation node device and the access device. Maintenance of the PW route of the access device.
  • the PW route of the DSLAM1 is maintained on the node of the aggregation node, and the PW route of Router1 is also maintained.
  • the following uses the ANCP protocol or the ETH OAM protocol to implement the PW routing of the DSLAM1.
  • the ANCP protocol is used in DSL or Ethernet access scenarios, and the Eth OAM protocol is used.
  • the EPON access scenario but does not exclude other situations, such as ETH OAM protocol for DSL or Ethernet or GPON access scenarios.
  • FIG. 7 it is a flowchart of a method for diffusing a pseudo line provided by the embodiment, and the method for spreading the pseudo line includes:
  • Step 701 Pre-configure a mapping relationship between the port information of the access device and the AC ID in the aggregation node device.
  • the operator can manually configure the mapping between the port information of the access device and the AC ID in the aggregation node device in the form of a configuration file.
  • the port information of the access device may include DSL or Optical Network Unit (ONU) port information, and/or includes optical line terminal (OLT) port information; the AC ID may be port information, or Is a logical number for port information.
  • the DSL or ONU port information may be an Access Loop Identifier (ALI) or a Circuit ID.
  • ALI Access Loop Identifier
  • DSL or ONU port information As DSLAM or ONU ID eth slot2/port2 [: vlan-id];
  • the above OLT port information can be: Access-Node-Identifier slotl/portl [: vlan-id];
  • the access-Node-Identifier is the identifier of the OLT.
  • the slotl/portl is the chassis number, the rack number, the frame number, the slot number, and the sub-slot of the OLT.
  • the ONU ID is the ONU identifier, and the slot2/port2 is the chassis number, the rack number, and the frame on the ONU.
  • vpi.vci is the virtual path identifier and virtual channel identifier on the DSL line
  • VLAN ID is the virtual local area network identifier;
  • the "DSL or ONU port information" may also be a specific type of ATM cell, Time Division Multiplex (TDM) time slot, Ethernet (ETH) frame, or Internet Protocol (IP) packet.
  • TDM Time Division Multiplex
  • ETH Ethernet
  • IP Internet Protocol
  • the ONU port information can contain the virtual path identifier of the ATM (Virtual Path Identifier, VPI) and Virtual Channel Identifier (VCI), TDM slot number, Media Access Control (MAC) address, Virtual Local Area Network ID (VLAN ID), Ethernet Priority, IP address, Differentiated Services Code Point (DSCP), etc.
  • VPI Virtual Path Identifier
  • VCI Virtual Channel Identifier
  • MAC Media Access Control
  • VLAN ID Virtual Local Area Network ID
  • Ethernet Priority IP address
  • DSCP Differentiated Services Code Point
  • Step 702 The access device (such as the DSLAM1) reports the port information to the sink node device through the ANCP protocol message or the ETH OAM protocol message.
  • the access device (such as the DSLAM1) reports the port information to the sink node device through the ANCP protocol message or the ETH OAM protocol message.
  • Step 703 The aggregation node device (for example, Router1) searches for the mapping between the pre-configured port information and the AC ID according to the received port information, and obtains the AC ID corresponding to the port information, and the AC ID and the Global ID of the access device. Prefix encapsulated into information (ie PW routing);
  • Step 704 The aggregation node device updates the PW routing table according to the generated UI information.
  • Step 705 The aggregation node device transmits the ⁇ information (that is, the PW route) to the switching device S-PE through the MP-BGP protocol message or the IGP protocol message. According to actual needs, the aggregation node device can group multiple pieces of information into one group. Give S-PE to improve the efficiency of the protocol.
  • Step 706 The switching device S-PE obtains the ⁇ information according to the received message, and updates the PW routing table.
  • Step 708 The aggregation node device Router2 extracts the ⁇ information (that is, the PW route) from the received MP-BGP protocol message or the IGP protocol message, and updates the PW routing table.
  • ⁇ information that is, the PW route
  • Step 709 The aggregation node device Router2 sends an ANCP protocol message or an ETH OAM protocol message carrying the ⁇ information (that is, the PW route) to the access device DSLAM2, and the access device DSLAM2 extracts the ⁇ information (that is, the PW route), and updates the PW routing table.
  • the aggregation node device and the switching device maintain the routing tables of the PW routes, and perform the above steps back and forth, completing the diffusion of the pseudo lines by the network.
  • the aggregation node device Router1 can also receive the second routing protocol message (for example, an IGP protocol message or an MP-BGP protocol message) sent by the switching device S-PE, where the second routing protocol message carries the second connection. And generating, by the second routing protocol message, the second pseudo-wire according to the second routing protocol message, and generating, by the second pseudo-line, the second non-routing protocol message carrying the second pseudo-line (for example, a Layer 2 management protocol message such as an ANCP protocol message or an ETH OAM protocol message), and sending a second non-routing protocol message to the access device DSLAM2.
  • the second routing protocol message for example, an IGP protocol message or an MP-BGP protocol message
  • the second routing protocol message carries the second connection.
  • the sink node device receives the non-routing protocol message sent from the access device, where the non-routing protocol message carries the port information of the pseudo-line or the access device, and obtains the pseudo-line according to the non-routing protocol message. And generating a routing protocol message carrying the pseudo line to send to the switching device, so that the switching device diffuses the pseudo line by, preventing the access device from sending a routing protocol message, so that the access device only needs to maintain the pseudo of the access device.
  • the line is used to implement the transmission of the pseudo line in the Layer 2 network, which reduces the complexity of the access device.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • FIG. 8 is a schematic structural diagram of a sink node device according to an embodiment of the present invention, including:
  • the receiving module 11 is configured to receive a non-routing protocol message sent by the access device, where the non-routing protocol message carries the pseudo-line of the access device or the port information of the access device.
  • the obtaining module 12 is configured to obtain a pseudowire route according to the non-routing protocol message received by the receiving module 11.
  • the generating module 13 is configured to generate a routing protocol message carrying the pseudo line according to the pseudo line obtained by acquiring the modulo 12 block.
  • the sending module 14 is configured to send the routing protocol message generated by the generating module 13 to the switching device, so that the switching device diffuses the pseudo line by;
  • the non-routing protocol message may be a Layer 2 management protocol message such as an ANCP protocol message or an ⁇ protocol message.
  • the obtaining module 12 may include:
  • the searching unit 121 is configured to: when the non-routing protocol message received by the receiving module 11 carries port information, search for the port according to the mapping relationship between the pre-configured port information and the access circuit identifier according to the port information carried in the non-routing protocol message.
  • the access circuit identifier corresponding to the information
  • the encapsulating unit 122 is configured to encapsulate the access circuit identifier and the global identifier of the access device and the prefix of the access device into the pseudo-wire of the access device, and output the same to the generating module 13, as shown in FIG.
  • the obtaining module 12 may include: The obtaining unit 123 is configured to: when the non-routing protocol message received by the receiving module 11 carries the pseudo-line, the pseudo-line is directly extracted from the non-routing protocol message, and output to the generating module 13, as shown in FIG.
  • the receiving module 11 is further configured to receive a second routing protocol message sent by the switching device, where the second routing protocol message carries the second pseudo line of the second access device;
  • the obtaining module 12 is further configured to obtain the second pseudo line according to the second routing protocol message received by the receiving module 11;
  • the generating module 13 is further configured to generate, according to the second pseudo line acquired by the obtaining module 12, a second non-routing protocol message carrying the second pseudo line;
  • the sending module 14 is further configured to send the second non-routing protocol message generated by the generating module 13 to the access device;
  • the second non-routing protocol message may be a Layer 2 management protocol message such as an ANCP protocol message or an ETH OAM protocol message.
  • the receiving module 11 receives the non-routing protocol message sent from the access device, where the non-routing protocol message carries the port information of the pseudo-line or the access device, and the obtaining module 12 obtains the pseudo according to the non-routing protocol message.
  • the routing module generates, by the generating module 13, a routing protocol message carrying the pseudo-line, which is sent by the sending module 14 to the switching device, so that the switching device spreads the pseudo-route, so that the access device can send the routing protocol message, so that the access device can only maintain
  • the pseudo-line of the access device implements the transmission of the pseudo-line in the Layer 2 network, which reduces the complexity of the access device.
  • Embodiment 5 is a diagrammatic representation of Embodiment 5:
  • FIG. 11 is a schematic diagram of a pseudo-line diffusion system according to an embodiment of the present invention.
  • the access device 1 is configured to send a non-routing protocol message to the sink node device 2, where the non-routing protocol message carries the pseudo-line of the access device 1 or the port information of the access device 1;
  • the aggregation node device 2 is configured to receive a non-routing protocol message sent from the access device 1, and extract, according to the non-routing protocol message, a pseudo-line of the access device 1; according to the pseudo-line, generate and carry the pseudo-line Routing the protocol message, and sending the routing protocol message to the switching device 3;
  • the switching device 3 is configured to receive a routing protocol message sent by the sink node device 2, and extract the pseudowire Routing, and spreading the pseudowire to other access devices or sink node devices;
  • the non-routing protocol message may be a Layer 2 management protocol message such as an ANCP protocol message or an ⁇ protocol message.
  • the sink node device 2 receives the non-routing protocol message sent from the access device 1, and the non-routing protocol message carries the pseudo-line of the access device 1 or the port information of the access device 1, according to the non-routing.
  • the protocol message is obtained, and the routing protocol message carrying the pseudo line is generated and sent to the switching device 3 to prevent the access device 1 from sending a routing protocol message, so that the access device 1 only needs to maintain the pseudo line of the access device 1.
  • the complexity of the access device 1 is reduced.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Flash disk, Read-Only Memory (ROM), Random Access Memory (RAM), disk or CD.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明实施例涉及通信技术领域,公开了一种伪线路由扩散方法和汇聚设备。其中,该方法包括:接收接入设备发送的非路由协议消息,该非路由协议消息为接入节点控制协议消息;根据接入节点控制协议消息中携带的信息获得伪线路由,并将携带伪线路由的路由协议消息发送给交换设备,以使所述交换设备扩散所述伪线路由。实施本发明实施例,可以降和入设备的复杂度。

Description

伪线路由扩散方法和设备
本申请要求于 2010 年 10 月 26 日提交中国专利局、 申请号为 201010526452.5、 发明名称为"伪线路由扩散方法、 系统和汇聚节点设备 "的中 国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及通信技术领域, 具体涉及一种伪线路由扩散方法和设备。 背景技术
伪线 (PseudoWire , PW ) 是一种通过包交换网络 ( Packet Switching Network, PSN ) 把一个仿真业务的关键要素从一个服务商提供边缘设备 ( Provider Edge , ΡΕ )运载到另一个或多个 ΡΕ的机制。 在大多数情况下, 单 段伪线(Single-Segment PseudoWire, SS-PW )可以满足运载要求, 但是, 在 两台 PE之间不能建立信令连接或者不能建立隧道时, 或两个 PE上的信令不同 的情况下, 要通过多段伪线(Multi-Segment PseudoWire, MS-PW )来完成运 载。 在创建多段 PW时,接入设备如用户线接入复接器 ( Digital Subscriber Line Access Multiplexer , DSLAM )要将 PW路由扩散至网络中每个节点设备, 从而 使得接入设备(如 DSLAM )和交换设备 ( Switching PE, S-PE )可以根据路 由信息自动找到目的节点设备, 从而完成数据交换。
现有技术中, PW路由扩散方法如图 1所示,其中,接入设备(如 DSLAM1 ) 釆用内部网关协议(Interior Gateway Protocol, IGP )或者多协议扩展边界网 关协议 ( Multiple Protocol Border Gateway Protocol, MP-BGP ) 消息, 将接入 设备的 PW路由发送到交换设备 S-PE; 同样,汇聚节点设备(如路由器 Router 1 ) 也用 IGP或 MP-BGP协议消息将汇聚节点设备的 PW路由扩展到交换设备 S-PE; 交换设备 S-PE接收到 PW路由后,釆用 IGP或者 MP-BGP协议消息向网络中的其 他节点设备(如路由器 Router2、 接入设备 DSLAM2 )扩展 PW路由; 其他节点 设备(如 Router2、 DSLAM2 )从 IGP或者 MP-BGP协议消息中并提取 PW路由, 从而完成 PW路由在网络中的扩散。
接入设备通常仅是二层设备, 而在多段 PW场景中为了支持 PW路由扩展, 接入设备需要将控制面升级为三层, 这样不仅增加了接入设备的复杂度, 而 且增加了接入设备的负担。
发明内容
本发明实施例所要解决的技术问题是提供一种伪线路由扩散方法、 系统 和汇聚节点设备, 用于降低了接入设备的复杂度。
本发明实施例提供一种伪线路由扩散方法, 包括:
接收接入设备发送的非路由协议消息, 所述非路由协议消息为携带接入 设备的端口信息的接入节点控制协议消息;
根据所述非路由协议消息携带的端口信息从预先配置的端口信息与接入 电路标识的映射关系中查找所述端口信息对应的接入电路标识, 并将所述接 入电路标识和所述接入设备的全球标识、 前缀封装成所述接入设备的伪线路 由;
根据所述伪线路由, 生成携带所述伪线路由的路由协议消息, 并将所述 路由协议消息发送给交换设备, 以使所述交换设备扩散所述伪线路由。
相应的, 本发明实施例还提供一种汇聚节点设备, 包括:
接收模块, 用于接收接入设备发送的非路由协议消息, 所述非路由协议 消息为携带端口信息的接入节点控制协议消息;
获取模块, 用于根据所述接收模块接收到的所述非路由协议消息, 获取 接入设备的伪线路由;
生成模块, 用于根据所述获取模块获取的所述伪线路由, 生成携带所述 伪线路由的路由协议消息;
发送模块, 用于将所述生成模块生成的所述路由协议消息发送给交换设 备, 以使所述交换设备扩散所述伪线路由;
其中, 所述获取模块包括:
查找单元, 用于根据所述接入节点控制协议消息携带的端口信息从预先 配置的端口信息与接入电路标识的映射关系中查找所述端口信息对应的接入 电路标识;
封装单元, 用于将所述接入电路标识和所述接入设备的全球标识、 前缀 封装成所述接入设备的伪线路由。 本发明实施例还提供一种伪线路由扩散方法, 包括:
接收接入设备发送的非路由协议消息, 所述非路由协议消息为携带接入 设备的伪线路由的接入节点控制协议消息, 所述接入设备的伪线路由指示接 入电路标识、 所述接入设备的全球标识、 前缀;
根据所述非路由协议消息, 获取接入设备的伪线路由;
根据所述伪线路由, 生成携带所述伪线路由的路由协议消息, 并将所述 路由协议消息发送给交换设备, 以使所述交换设备扩散所述伪线路由。
本发明实施例还提供一种汇聚节点设备, 包括:
接收模块, 用于接收接入设备发送的非路由协议消息, 所述非路由协议 消息为携带接入设备的伪线路由的接入节点控制协议消息所述接入设备的伪 线路由指示接入电路标识、 所述接入设备的全球标识、 前缀;
获取模块, 用于根据所述接收模块接收到的所述非路由协议消息, 获取 接入设备的伪线路由;
生成模块, 用于根据所述获取模块获取的所述伪线路由, 生成携带所述 伪线路由的路由协议消息;
发送模块, 用于将所述生成模块生成的所述路由协议消息发送给交换设 备, 以使所述交换设备扩散所述伪线路由。
本发明实施例中, 汇聚节点设备接收发自接入设备的非路由协议消息, 该非路由协议消息携带伪线路由或接入设备的端口信息, 根据该非路由协议 消息, 获取伪线路由, 并生成携带该伪线路由的路由协议消息发送给交换设 备, 以使交换设备扩散伪线路由, 避免接入设备发送路由协议消息, 使得接 入设备只需要维护接入设备的伪线路由, 实现了在二层网络中传递伪线路由, 降低了接入设备的复杂度。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅 仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性 劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1是现有技术中多段伪线的伪线路由发布示意图; 图 2是本发明提供的第一实施例中 PW路由扩展示意图;
图 3是本发明提供的第一实施例伪线路由扩散方法的流程图;
图 4是本发明提供的第二实施例伪线路由扩散方法的流程图;
图 5是本发明提供的第二实施例中 ANCP扩展字段的结构示意图; 图 6是本发明提供的第二实施例中 ETH OAM扩展字段的结构示意图; 图 7是本发明提供的第三实施例的伪线路由扩散方法的流程图;
图 8是本发明提供的第四实施例的汇聚节点设备的结构示意图;
图 9是本发明提供的第五实施例的一种伪线路由扩散系统的结构示意图; 图 10是本发明提供的第五实施例的另一伪线路由扩散系统的结构示意 图 11是本发明提供的第五实施例的又一种伪线路由扩散系统的结构示意
具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其他实施例 , 都属于本发明保护的范围。
本发明实施例中提供了一种伪线路由扩散方法、 系统和汇聚节点设备, 用于降低了接入设备的复杂度和负担。 以下分别进行详细说明。
实施例一:
请参见图 2 , 从接入设备 DSLAM1至汇聚节点设备 Routerl , 以及从接入设 备 DSLAM2至汇聚节点设备 Router2—般被称为接入段, 在接入段上可以釆用 非路由协议来传输消息, 例如, 以接入设备特有的配置协议进行 PW路由的分 发, 可以简化接入设备的复杂度和负担。
举例来说, 接入设备, 如 DSLAM1、 DSLAM2, 可以釆用特有的配置协 议如接入节点控制协议( Access Node Control Protocol , ANCP )或以太网操作、 管理和维护 ( Ethernet Operation, Administration and Maintenance , ETH OAM ) 协议来实现接入设备的 PW路由扩散。 通常, ANCP协议用于数字用户线路 ( Digital Subscriber Line , DSL )或以太网接入场景; ETH OAM协议用于千 兆位无源光网络( Gigabit-Capable PON, GPON )接入场景, 但不排除其它情
Optical Network, EPON )接入场景。
本发明第一实施例的伪线路由扩散方法的基本流程可参考图 3 , 本实施例 伪线路由扩散方法为:
步骤 301 , 汇聚节点设备接收发自接入设备的非路由协议消息, 所述非路 由协议消息携带伪线路由或接入设备的端口信息。
一种可选方式中, 接入设备维护伪线路由表, 接入设备发送携带伪线路 由的非路由协议消息给汇聚节点设备。
另一种可选方式中, 接入设备不维护自身的伪线路由表, 而由汇聚节点 设备来维护伪线路由表, 接入设备发送携带接入设备的端口信息的非路由协 议消息给汇聚节点设备。
本发明实施例中, 上述的非路由协议消息具体为 ANCP协议消息、 ETH OAM协议消息等二层管理协议消息。
步骤 302, 汇聚节点设备根据所述非路由协议消息, 获取伪线路由。
一种可选方式中, 若汇聚节点设备接收的非路由协议消息携带伪线路由, 则直接从非路由协议消息中获取伪线路由。
一种可选方式中, 若汇聚节点设备接收的非路由协议消息携带的是接入 设备的端口信息, 其中, 端口信息可以是接入环路标识或者电路标识等, 则 汇聚节点设备可以根据该端口信息从预先配置的端口信息与接入电路标识 ( Access Circuit Identifier, AC ID )的映射关系中, 查找该端口信息对应的 AC ID, 并将 AC ID和接入设备的全球标识(Global ID )、 前缀( Prefix )封装成附 加惟一标识标识 ( Attachment Individual Identifier, All )信息, 即封装成伪线 路由。
步骤 303 , 汇聚节点设备根据所述伪线路由生成路由协议消息, 并将所述 路由协议消息发送给交换设备, 以使所述交换设备扩散所述伪线路由。
其中, 汇聚节点设备通过 MP-BGP协议或 IGP协议把携带伪线路由的消息 传送到 S-PE , S-PE通过 MP-BGP协议或 IGP协议将该伪线路由又扩散到其他节 点设备。
本发明实施例中, 汇聚节点设备接收发自接入设备的非路由协议消息, 该非路由协议消息携带伪线路由或接入设备的端口信息, 根据该非路由协议 消息, 获取伪线路由, 并生成携带该伪线路由的路由协议消息发送给交换设 备, 以使所述交换设备扩散所述伪线路由, 避免接入设备发送路由协议消息, 使得接入设备只需要维护接入设备的伪线路由, 实现了在二层网络中传递伪 线路由, 降低了接入设备的复杂度。
实施例二:
参见图 4, 是本发明第二实施例的伪线路由扩散方法的流程图。 本实施例 釆用特别配置的非路由协议如 ANCP协议或 ETH OAM协议实现扩散接入设备 (如 DSLAM ) 的 PW路由。 本实施例的 PW路由扩展示意图与图 2相同。 通常, ANCP协议用于 DSL或以太网接入场景, Eth OAM协议用于 GPON接入场景, 但不排除其它情况, 例如 ETH OAM协议用于 DSL或以太网或 EPON接入场景。
其中, 下面以 DSL接入场景为例, 该伪线路由扩散方法的具体步骤为: 步骤 401 , 接入设备 DSLAM1使能 PW路由功能, 将接入设备 DSLAM1的 Global ID、 Prefix和 AC ID封装成 ΑΠ信息 , 即封装成 PW路由。
步骤 402, 接入设备 DSLAM1通过特别配置的非路由协议消息, 如 ANCP 协议消息或 ETH OAM协议消息, 携带 ΑΠ信息 (即 PW路由) 并上报给汇聚节 点设备 Routerl。
其中, ANCP协议釆用全球移动通讯系统 (Global System for Mobile Communications, GSM )协议来实现拓朴发现、 线路配置和操作、 管理和维 护 ( Operation, Administration and Maintenance, OAM )功能。 ANCP协议可以 在 GSM版本 3协议的基础上, 增加扩展字段, 该扩展字段釆用类型、 长度和 值(Type, Length, Value, TLV )格式, 除了可用于实现拓朴发现、 线路配 置和 OAM功能外,还可以用于新增功能。其中,该扩展字段的格式如图 5所示。 本实施例中, 利用该扩展字段, 实现 ΑΠ信息(即 PW路由)在 ANCP协议消息 中的传递。 为实现本发明的内容, Message Type定义新的 type, 举例可以命名 为 PW路由 type, 具备 TLV属性, 携带可变长的 ΑΠ信息。
ETH OAM协议消息的基本结构如图 6所示: 其中, code值为 OxFE可以由 设备商定义, 支持特有的功能。 利用 code字段, 实现 ΑΠ信息(即 PW路由)在 ETH OAM协议消息中的传递。 为实现本发明的内容, 定义新的组织唯一标识 ( Organizationally Unique Identifier, OUI ), 举例可以命名为 PW路由 OUI, 具 备 TLV属性, 携带可变长的 ΑΠ信息。
步骤 403 , 汇聚节点设备 Routerl接收携带 ΑΠ信息 (即 PW路由) 的 ANCP 协议消息或 ETH 0 AM协议消息。
步骤 404 , 汇聚节点设备 Routerl提取出 ANCP协议消息或 ETH OAM协议 消息中的 ΑΠ信息 (即 PW路由), 生成携带 ΑΠ信息 (即 PW路由) MP-BGP协 议消息或 IGP协议消息。
在一个可选的方式中,汇聚节点设备 Routerl提取出 ANCP协议消息或 ETH OAM协议消息中的 ΑΠ信息 (即 PW路由)之后, 可以根据 ΑΠ信息 (即 PW路 由) 更新本地路由表。
步骤 405 , 汇聚节点设备 Routerl通过 MP-BGP协议消息或 IGP协议消息把 ΑΠ信息(即 PW路由 )传送给交换设备 S-PE。 根据实际的需要, IP边缘设备可 以把多个 ΑΠ信息组成一组,统一封装成一个消息发给 S-PE ,以提高协议效率。
步骤 406,交换设备 S-PE根据收到上述消息,获取出 ΑΠ信息(即 PW路由); 并将 ΑΠ信息 (即 PW路由) 更新到 PW路由表。
步骤 407 , 交换设备 S-PE将携带 ΑΠ信息 (即 PW路由) 的 MP-BGP协议消 息或 IGP协议消息发送给汇聚节点设备 Router2。
步骤 408,汇聚节点设备 Router2接收携带 ΑΠ信息(即 PW路由)的 MP-BGP 协议消息或 IGP协议消息。
步骤 409 , 汇聚节点设备 Router2获取出 MP-BGP协议消息或 IGP协议消息 中的 ΑΠ信息(即 PW路由), 将 ΑΠ信息(即 PW路由)生成携带 ΑΠ信息(即 PW 路由) 的 ANCP消息 (特别配置的非路由协议消息)。
需要说明是是, 实际上汇聚节点设备也可能使用 ΑΠ信息 (即 PW路由), 以用于本地的 PW业务, 因此, 也会在本地的 PW路由表中生成该 ΑΠ信息相应 的路由表项。
在一个可选的方式中, 汇聚节点设备 Router2提取出 ΑΠ信息(即 PW路由) 之后, 可以根据 ΑΠ信息 (即 PW路由) 更新本地路由表。 步骤 410, 汇聚节点设备 Router2将携带 ΑΠ信息 (即 PW路由) 的 ANCP消 息发送给接入设备 DSLAM2;
步骤 411 , 接入设备 DSLAM2接收到携带 ΑΠ信息 (即 PW路由) 的 ANCP 协议消息, 提取出 ANCP协议消息中的 ΑΠ信息, 更新 PW路由表, 并指明 PW 路由的下一跳为交换设备 S-PE。
在网络的各个交换设备和接入设备和汇聚节点设备中往复上述步骤, 实 现了伪线路由的在网络各个节点间的扩散。
本发明实施例二中, 汇聚节点设备 Routerl还可以接收交换设备 S-PE发送 的第二路由协议消息(例如 IGP协议消息或 MP-BGP协议消息), 其中, 该第二 路由协议消息携带第二接入设备 DSLAM2的第二伪线路由; 并根据上述的第 二路由协议消息, 获取第二伪线路由; 根据获取的第二伪线路由, 生成携带 第二伪线路由的第二非路由协议消息 (例如 ANCP协议消息或 ETH OAM协议 消息等二层管理协议消息), 并将第二非路由协议消息发送给接入设备 DSLAM2。
本发明实施例中, 汇聚节点设备接收发自接入设备的非路由协议消息, 该非路由协议消息携带伪线路由或接入设备的端口信息, 根据该非路由协议 消息, 获取伪线路由, 并生成携带该伪线路由的路由协议消息发送给交换设 备, 以使所述交换设备扩散所述伪线路由, 避免接入设备发送路由协议消息, 使得接入设备只需要维护接入设备的伪线路由, 实现了在二层网络中传递伪 线路由, 降低了接入设备的复杂度。
实施例三:
在实施例二中, 接入设备的 PW路由需要接入设备来维护和发布, 如 DSLAM1的 PW路由需要 DSLAM1自身来维护和发布, 在 DSLAM1内维护有 PW路由表。 在本实施例中, 由汇聚节点设备代理维护接入设备的 PW路由, 在汇聚节点设备和接入设备之间, 通过现有的配置协议(如 ANCP协议或 ETH OAM协议)来控制汇聚节点设备对接入设备的 PW路由的维护。
本实例中, 汇聚节点设备 Routerl处维护 DSLAM1的 PW路由, 也同样维护 Routerl的 PW路由。 下面釆用 ANCP协议或 ETH OAM协议实现扩散 DSLAM1 的 PW路由。 通常, ANCP协议用于 DSL或以太网接入场景, Eth OAM协议用 于 EPON接入场景, 但不排除其它情况, 例如 ETH OAM协议用于 DSL或以太 网或 GPON接入场景。
参见图 7 , 是本实施例提供的伪线路由扩散方法的流程图, 该伪线路由扩 散方法包括:
步骤 701 , 在汇聚节点设备中预先配置接入设备的端口信息与 AC ID的映 射关系。
其中, 操作人员可以釆用手工方式, 并以配置文件列表的形式预先在汇 聚节点设备中配置接入设备的端口信息与 AC ID之间的映射关系。
其中, 接入设备的端口信息可以包含 DSL或光网络单元( Optical Network Unit, ONU )端口信息, 和 /或包括光线路终端 (Optical Line Terminal, OLT ) 端口信息; AC ID可以是端口信息,或者是对端口信息的一种逻缉编号。其中, DSL或 ONU端口信息可以是接入环路标识( Access Loop Identifier, ALI )或电 路标识(Circuit ID ), 例如:
当网络线路传输基于异步传输模式( Asynchronous Transfer Mode, ATM ) 协议时, 将 "DSL或 ONU端口信息" 配置为: DSLAM或 ONU ID atm slot2/port2: vpi. vci ,
当网络线路传输基于 ETH协议时, 将 "DSL或 ONU端口信息" 配置为 DSLAM或 ONU ID eth slot2/port2 [: vlan-id];
其 中 , 上述的 OLT端 口 信息可 以 是: Access-Node-Identifier slotl/portl [: vlan-id];
其中, Access-Node-Identifier为 OLT的标识, slotl/portl为 OLT上的机拒 ( chassis )号、机架 ( rack )号、框 ( frame )号、槽位 ( slot )号、子槽位 ( sub-slot ) 号、 端口 ( port ) 号的一种或多种的组合; ONU ID 为 ONU标识, slot2/port2 为 ONU上的机拒( chassis )号、 机架( rack )号、 框( frame )号、 槽位( slot ) 号、 子槽位(sub-slot )号、 端口 (port )号的一种或多种的组合; vpi.vci为 DSL 线路上的虚路径标识符和虚通道标识符, VLAN ID为虚拟局域网标识;
其中, "DSL或 ONU端口信息"也可以是特定的一类 ATM信元、 时分复用 ( Time Division Multiplex, TDM )时隙、以太网( ETH )帧或网络协议( Internet Protocol, IP )分组,例如 ONU端口信息可以包含 ATM的虚通路标识( Virtual Path Identifier, VPI )和虚通道识别符( Virtual Channel Identifier, VCI )、 TDM时 隙号、 媒体访问控制 (Media Access Control, MAC )地址、 虚拟局域网标识 ( Virtual Local Area Network ID, VLAN ID )、 以太网优先级、 IP地址、 区分 服务码点 ( Differentiated Services Code Point, DSCP )等。
步骤 702, 接入设备(如 DSLAM1 )通过 ANCP协议消息或 ETH OAM协议 消息, 携带端口信息上报给汇聚节点设备。
步骤 703 , 汇聚节点设备 (如 Routerl )根据收到的端口信息, 查询预先 配置的端口信息与 AC ID的映射关系,得到端口信息对应的 AC ID,将该 AC ID 和接入设备的 Global ID、 Prefix封装成 ΑΠ信息 (即 PW路由);
步骤 704, 汇聚节点设备按照生成的 ΑΠ信息, 更新 PW路由表。
步骤 705 , 汇聚节点设备通过 MP-BGP协议消息或 IGP协议消息把 ΑΠ信息 (即 PW路由)传送到交换设备 S-PE, 根据实际的需要, 汇聚节点设备可以把 多个 ΑΠ信息组成一组发给 S-PE , 以提高协议效率。
步骤 706, 交换设备 S-PE根据收到消息, 获取出 ΑΠ信息, 更新 PW路由表。 步骤 707 , 交换设备 S-PE通过 MP-BGP协议消息或 IGP协议消息把 ΑΠ信息 (即 PW路由)发送给汇聚节点设备 Router2。
步骤 708 , 汇聚节点设备 Router2从接收到 MP-BGP协议消息或 IGP协议消 息中提取 ΑΠ信息 (即 PW路由), 更新 PW路由表。
步骤 709, 汇聚节点设备 Router2发送携带 ΑΠ信息 (即 PW路由) 的 ANCP 协议消息或 ETH OAM协议消息给接入设备 DSLAM2 , 接入设备 DSLAM2提取 ΑΠ信息 (即 PW路由), 更新 PW路由表。
其中, 汇聚节点设备和交换设备维护这些 PW路由的路由表, 往复执行上 述步骤, 完成了伪线路由在网络中的扩散。
本发明实施例三, 汇聚节点设备 Routerl还可以接收交换设备 S-PE发送的 第二路由协议消息(例如 IGP协议消息或 MP-BGP协议消息), 其中, 该第二路 由协议消息携带第二接入设备 DSLAM2的第二伪线路由; 并根据上述的第二 路由协议消息, 获取第二伪线路由; 根据获取的第二伪线路由, 生成携带第 二伪线路由的第二非路由协议消息 (例如 ANCP协议消息或 ETH OAM协议消 息等二层管理协议消息), 并将第二非路由协议消息发送给接入设备 DSLAM2。
本发明实施例中, 汇聚节点设备接收发自接入设备的非路由协议消息, 该非路由协议消息携带伪线路由或接入设备的端口信息, 根据该非路由协议 消息, 获取伪线路由, 并生成携带该伪线路由的路由协议消息发送给交换设 备, 以使所述交换设备扩散所述伪线路由, 避免接入设备发送路由协议消息, 使得接入设备只需要维护接入设备的伪线路由, 实现了在二层网络中传递伪 线路由, 降低了接入设备的复杂度。
实施例四:
请参阅图 8, 图 8为本发明实施例提供的一种汇聚节点设备的结构示意图, 以包括:
接收模块 11 , 用于接收接入设备发送的非路由协议消息, 其中, 该非路 由协议消息携带接入设备的伪线路由或接入设备的端口信息。
获取模块 12, 用于根据接收模块 11接收到的非路由协议消息, 获取伪线 路由。
生成模块 13 , 用于根据获取模 12块获取的伪线路由, 生成携带该伪线路 由的路由协议消息。
发送模块 14, 用于将生成模块 13生成的路由协议消息发送给交换设备, 以使交换设备扩散所述伪线路由;
其中, 上述的非路由协议消息可以为 ANCP协议消息或 ΕΤΗ ΟΑΜ协议消 息等二层管理协议消息。
在一个可选的实施例中, 上述的获取模块 12可以包括:
查找单元 121, 用于在接收模块 11接收到的非路由协议消息携带端口信息 时, 根据该非路由协议消息携带的端口信息从预先配置的端口信息与接入电 路标识的映射关系中查找该端口信息对应的接入电路标识;
封装单元 122, 用于将查找单元 121查找到的接入电路标识和接入设备的 全球标识、 前缀封装成接入设备的伪线路由; 并输出给生成模块 13 , 如图 9所 示。
在另一个可选的实施例中, 上述的获取模块 12可以包括: 获取单元 123 , 用于当接收模块 11接收到的非路由协议消息携带伪线路由 时, 则直接从该非路由协议消息中提取伪线路由, 并输出给生成模块 13 , 如 图 10所示。
可选的, 该接收模块 11 , 还用于接收发自交换设备的第二路由协议消息, 其中, 该第二路由协议消息携带第二接入设备的第二伪线路由;
相应地, 获取模块 12, 还用于根据接收模块 11接收到的第二路由协议消 息, 获取第二伪线路由;
相应地, 生成模块 13 , 还用于根据获取模块 12获取的第二伪线路由, 生 成携带第二伪线路由的第二非路由协议消息;
相应地, 发送模块 14, 还用于将生成模块 13生成的第二非路由协议消息 发送给上述接入设备;
其中, 第二非路由协议消息可以为 ANCP协议消息或 ETH OAM协议消息 等二层管理协议消息。
本发明实施例中, 接收模块 11接收发自接入设备的非路由协议消息, 该 非路由协议消息携带伪线路由或接入设备的端口信息, 获取模块 12根据该非 路由协议消息, 获取伪线路由, 生成模块 13生成携带该伪线路由的路由协议 消息由发送模块 14发送给交换设备, 以使交换设备扩散伪线路由, 避免接入 设备发送路由协议消息, 使得接入设备可以只维护接入设备的伪线路由, 实 现了在二层网络中传递伪线路由, 降低了接入设备的复杂度。
实施例五:
请参阅图 11 , 图 11为本发明实施例提供的一种伪线路由扩散系统的结构 由扩散系统包括:
接入设备 1 , 用于接发送非路由协议消息给汇聚节点设备 2, 其中, 该非 路由协议消息携带接入设备 1的伪线路由或接入设备 1的端口信息;
汇聚节点设备 2, 用于接收发自接入设备 1的非路由协议消息, 根据该非 路由协议消息, 提取接入设备 1的伪线路由; 根据该伪线路由, 生成携带该伪 线路由的路由协议消息, 并将该路由协议消息发送给交换设备 3;
交换设备 3 , 用于接收汇聚节点设备 2发送的路由协议消息, 并提取伪线 路由, 并将该伪线路由扩散至其他接入设备或汇聚节点设备;
其中, 上述的非路由协议消息可以为 ANCP协议消息或 ΕΤΗ ΟΑΜ协议消 息等二层管理协议消息。
本发明实施例中,汇聚节点设备 2接收发自接入设备 1的非路由协议消息 , 该非路由协议消息携带接入设备 1的伪线路由或接入设备 1的端口信息, 根据 该非路由协议消息, 获取伪线路由, 并生成携带该伪线路由的路由协议消息 发送给交换设备 3 , 避免接入设备 1发送路由协议消息, 使得接入设备 1只需要 维护接入设备 1的伪线路由, 实现了在二层网络中传递伪线路由, 降低了接入 设备 1的复杂度。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成, 该程序可以存储于一计算机可 读存储介质中,存储介质可以包括:闪存盘、只读存储器( Read-Only Memory , ROM ), 随机存取器(Random Access Memory, RAM ), 磁盘或光盘等。
阐述, 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同 时, 对于本领域的一般技术人员, 依据本发明的思想, 在具体实施方式及应 用范围上均会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的 限制。

Claims

权 利 要求
1、 一种伪线路由扩散方法, 其特征在于,
接收接入设备发送的非路由协议消息, 所述非路由协议消息为携带接入 设备的端口信息的接入节点控制协议消息;
根据所述非路由协议消息携带的端口信息从预先配置的端口信息与接入 电路标识的映射关系中查找所述端口信息对应的接入电路标识, 并将所述接 入电路标识和所述接入设备的全球标识、 前缀封装成所述接入设备的伪线路 由;
根据所述伪线路由, 生成携带所述伪线路由的路由协议消息, 并将所述 路由协议消息发送给交换设备, 以使所述交换设备扩散所述伪线路由。
2、如权利要求 1所述的伪线路由扩散方法, 其特征在于,接入节点控制 协议釆用全球移动通讯系统协议。
3、如权利要求 1或 2所述的伪线路由扩散方法, 其特征在于, 所述路由 协议消息为内部网关协议消息或多协议扩展边界网关协议消息。
4、如权利要求 1至 3任一项所述的伪线路由扩散方法, 其特征在于, 所 述接入设备的端口信息包括: 光网络单元端口信息, 和 /或包括光线路终端端 口信息。
5、 一种汇聚节点设备, 其特征在于, 包括:
接收模块, 用于接收接入设备发送的非路由协议消息, 所述非路由协议 消息为携带端口信息的接入节点控制协议消息;
获取模块, 用于根据所述接收模块接收到的所述非路由协议消息, 获取 接入设备的伪线路由;
生成模块, 用于根据所述获取模块获取的所述伪线路由, 生成携带所述 伪线路由的路由协议消息;
发送模块, 用于将所述生成模块生成的所述路由协议消息发送给交换设 备, 以使所述交换设备扩散所述伪线路由;
其中, 所述获取模块包括:
查找单元, 用于根据所述接入节点控制协议消息携带的端口信息从预先 配置的端口信息与接入电路标识的映射关系中查找所述端口信息对应的接入 电路标识;
封装单元, 用于将所述接入电路标识和所述接入设备的全球标识、 前缀 封装成所述接入设备的伪线路由。
6、如权利要求 5所述的汇聚节点设备, 其特征在于,接入节点控制协议 釆用全球移动通讯系统协议。
7、如权利要求 5或 6所述的汇聚节点设备, 其特征在于, 所述路由协议 消息为内部网关协议消息或多协议扩展边界网关协议消息。
8、如权利要求 5至 7任一项所述的汇聚节点设备, 其特征在于, 所述接 入设备的端口信息包括: 光网络单元端口信息, 和 /或包括光线路终端端口信 息。
9、 一种伪线路由扩散方法, 其特征在于, 包括:
接收接入设备发送的非路由协议消息, 所述非路由协议消息为携带接入 设备的伪线路由的接入节点控制协议消息, 所述接入设备的伪线路由指示接 入电路标识、 所述接入设备的全球标识、 前缀;
根据所述非路由协议消息, 获取接入设备的伪线路由;
根据所述伪线路由, 生成携带所述伪线路由的路由协议消息, 并将所述 路由协议消息发送给交换设备, 以使所述交换设备扩散所述伪线路由。
10、 如权利要求 9所述的伪线路由扩散方法, 其特征在于, 接入节点控 制协议釆用全球移动通讯系统协议。
11、如权利要求 9或 10所述的伪线路由扩散方法, 所述路由协议消息为 内部网关协议消息或多协议扩展边界网关协议消息。
12、 如权利要求 9至 11任一项所述的伪线路由扩散方法, 其特征在于, 所述接入设备的端口信息包括: 光网络单元端口信息, 和 /或包括光线路终端 端口信息。
13、 一种汇聚节点设备, 其特征在于, 包括:
接收模块, 用于接收接入设备发送的非路由协议消息, 所述非路由协议 消息为携带接入设备的伪线路由的接入节点控制协议消息所述接入设备的伪 线路由指示接入电路标识、 所述接入设备的全球标识、 前缀;
获取模块, 用于根据所述接收模块接收到的所述非路由协议消息, 获取 接入设备的伪线路由;
生成模块, 用于根据所述获取模块获取的所述伪线路由, 生成携带所述 伪线路由的路由协议消息;
发送模块, 用于将所述生成模块生成的所述路由协议消息发送给交换设 备, 以使所述交换设备扩散所述伪线路由。
14、如权利要求 13所述的汇聚节点设备, 其特征在于,接入节点控制协 议釆用全球移动通讯系统协议。
15、 如权利要求 13或 14所述的汇聚节点设备, 其特征在于, 所述路由 协议消息为内部网关协议消息或多协议扩展边界网关协议消息。
16、 如权利要求 13至 15任一项所述的汇聚节点设备, 其特征在于, 所 述接入设备的端口信息包括: 光网络单元端口信息, 和 /或包括光线路终端端 口信息。
PCT/CN2011/075749 2010-10-26 2011-06-15 伪线路由扩散方法和设备 WO2012055247A1 (zh)

Priority Applications (8)

Application Number Priority Date Filing Date Title
EP11835521.3A EP2624507B1 (en) 2010-10-26 2011-06-15 Pseudo-wire routing diffusion method and device
ES11835521.3T ES2526576T3 (es) 2010-10-26 2011-06-15 Método y dispositivo de difusión de enrutamiento de pseudocable
RU2013123695/08A RU2555243C2 (ru) 2010-10-26 2011-06-15 Способ и устройство для распространения псевдопроводного маршрута
CA2815402A CA2815402C (en) 2010-10-26 2011-06-15 Method and equipment for diffusing pseudowire route
AU2011320276A AU2011320276B2 (en) 2010-10-26 2011-06-15 Method and equipment for diffusing pseudo wire route
JP2013535249A JP5774711B2 (ja) 2010-10-26 2011-06-15 擬似回線ルーティング伝播の方法および装置
KR1020137011826A KR101451642B1 (ko) 2010-10-26 2011-06-15 의사회선 라우트를 확산시키기 위한 방법 및 장비
US13/868,728 US20130230045A1 (en) 2010-10-26 2013-04-23 Method and equipment for diffusing pseudowire route

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010526452.5 2010-10-26
CN201010526452.5A CN102148748B (zh) 2010-10-26 2010-10-26 伪线路由扩散方法、系统和汇聚节点设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/868,728 Continuation US20130230045A1 (en) 2010-10-26 2013-04-23 Method and equipment for diffusing pseudowire route

Publications (1)

Publication Number Publication Date
WO2012055247A1 true WO2012055247A1 (zh) 2012-05-03

Family

ID=44422760

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/075749 WO2012055247A1 (zh) 2010-10-26 2011-06-15 伪线路由扩散方法和设备

Country Status (10)

Country Link
US (1) US20130230045A1 (zh)
EP (1) EP2624507B1 (zh)
JP (1) JP5774711B2 (zh)
KR (1) KR101451642B1 (zh)
CN (1) CN102148748B (zh)
AU (1) AU2011320276B2 (zh)
CA (1) CA2815402C (zh)
ES (1) ES2526576T3 (zh)
RU (1) RU2555243C2 (zh)
WO (1) WO2012055247A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016510967A (ja) * 2013-03-15 2016-04-11 アルカテル−ルーセント 疑似回線を集約するためのシステムおよび方法

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3044911B8 (en) 2013-09-09 2018-01-17 British Telecommunications public limited company Method and apparatus for communicating with an access node
EP2854335A1 (en) 2013-09-30 2015-04-01 British Telecommunications public limited company Data network management
CN105743683B (zh) * 2014-12-12 2019-03-05 华为技术有限公司 无源光网络中管理终端设备的方法、装置和系统
CN110089052B (zh) 2016-12-21 2022-02-08 英国电讯有限公司 网络节点和通信网络
US10218607B2 (en) 2017-01-27 2019-02-26 At&T Intellectual Property I, L.P. Flow distribution using fabric access tunnels
CN109495594B (zh) * 2017-09-11 2022-03-29 华为技术有限公司 一种数据传输方法、pnf sdn控制器、vnf sdn控制器及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039222A (zh) * 2007-04-25 2007-09-19 华为技术有限公司 一种告警信息传递方法、装置及网络设备
CN101299707A (zh) * 2007-09-20 2008-11-05 上海寰创通信科技有限公司 一种路由扩散方法
CN101316260A (zh) * 2007-05-30 2008-12-03 华为技术有限公司 封装转换方法及封装转换设备
CN101656673A (zh) * 2009-09-17 2010-02-24 华为技术有限公司 一种伪线建立方法和节点装置
US20100054264A1 (en) * 2007-05-01 2010-03-04 Fujitsu Limited Mpls tunnel identification method and device

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003069621A (ja) * 2001-08-23 2003-03-07 Hitachi Ltd 経路情報取り扱い方法
US7181531B2 (en) * 2002-04-30 2007-02-20 Microsoft Corporation Method to synchronize and upload an offloaded network stack connection with a network stack
US8555352B2 (en) * 2003-06-20 2013-10-08 Juniper Networks, Inc. Controlling access nodes with network transport devices within wireless mobile networks
US7280534B2 (en) * 2003-11-19 2007-10-09 Lucent Technologies Inc. Managed IP routing services for L2 overlay IP virtual private network (VPN) services
US7773554B2 (en) * 2003-12-03 2010-08-10 John Wallace Nasielski Methods and apparatus for CDMA2000/GPRS roaming
US8340102B2 (en) * 2004-04-05 2012-12-25 Verizon Business Global Llc Apparatus and method for providing a network termination point
US7869450B2 (en) * 2004-04-05 2011-01-11 Verizon Business Global Llc Method and apparatus for processing labeled flows in a communication access network
KR100624476B1 (ko) * 2005-01-04 2006-09-20 삼성전자주식회사 라우팅 프로토콜에서 경로 선정 방법
US7408941B2 (en) * 2005-06-14 2008-08-05 Cisco Technology, Inc. Method for auto-routing of multi-hop pseudowires
US8838829B2 (en) * 2005-07-11 2014-09-16 Cisco Technology, Inc. Pseudowire (PW) switching type-length-value (TLV)
US8406191B2 (en) * 2006-04-14 2013-03-26 Qualcomm Incorporated Pseudo wires for mobility management
US7613188B1 (en) * 2006-04-27 2009-11-03 Alcatel Lucent Ethernet VLL spoke termination at an IP interface
US8085791B1 (en) * 2006-09-08 2011-12-27 Juniper Networks, Inc. Using layer two control protocol (L2CP) for data plane MPLS within an L2 network access node
EP2536080A3 (en) * 2007-01-17 2013-10-02 Nortel Networks Limited Border gateway protocol procedures for MPLS and layer-2 VPN using Ethernet-based tunnels
CN101110745A (zh) * 2007-08-14 2008-01-23 华为技术有限公司 衔接二层网络和三层网络的方法、装置和系统
US8233378B2 (en) * 2008-05-15 2012-07-31 Telefonaktiebolaget L M Ericsson (Publ) Method and apparatus for validating control and data plane association
US7953004B2 (en) * 2009-01-06 2011-05-31 Alcatel Lucent Minimizing effects of packet delay variation in time-division multiplexing pseudowire services
CN101505227B (zh) * 2009-03-11 2012-06-27 华为技术有限公司 一种实现点到多点伪线的方法、设备和系统
US8194554B2 (en) * 2009-10-01 2012-06-05 Ciena Corporation Method and apparatus for providing bypass connectivity between routers
US20120287818A1 (en) * 2009-10-13 2012-11-15 Telefonaktiebolaget L M Ericsson (Publ) Multipoint-to-multipoint service for a communications network
US9521055B2 (en) * 2009-11-13 2016-12-13 Verizon Patent And Licensing Inc. Network connectivity management
US8472438B2 (en) * 2010-04-23 2013-06-25 Telefonaktiebolaget L M Ericsson (Publ) Efficient encapsulation of packets transmitted on a packet-pseudowire over a packet switched network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039222A (zh) * 2007-04-25 2007-09-19 华为技术有限公司 一种告警信息传递方法、装置及网络设备
US20100054264A1 (en) * 2007-05-01 2010-03-04 Fujitsu Limited Mpls tunnel identification method and device
CN101316260A (zh) * 2007-05-30 2008-12-03 华为技术有限公司 封装转换方法及封装转换设备
CN101299707A (zh) * 2007-09-20 2008-11-05 上海寰创通信科技有限公司 一种路由扩散方法
CN101656673A (zh) * 2009-09-17 2010-02-24 华为技术有限公司 一种伪线建立方法和节点装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2624507A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016510967A (ja) * 2013-03-15 2016-04-11 アルカテル−ルーセント 疑似回線を集約するためのシステムおよび方法

Also Published As

Publication number Publication date
CA2815402C (en) 2017-05-16
CA2815402A1 (en) 2012-05-03
CN102148748B (zh) 2014-05-21
EP2624507B1 (en) 2014-10-08
ES2526576T3 (es) 2015-01-13
JP2013546240A (ja) 2013-12-26
AU2011320276A1 (en) 2013-06-06
US20130230045A1 (en) 2013-09-05
CN102148748A (zh) 2011-08-10
EP2624507A4 (en) 2013-10-23
RU2013123695A (ru) 2014-12-10
JP5774711B2 (ja) 2015-09-09
AU2011320276B2 (en) 2015-04-23
RU2555243C2 (ru) 2015-07-10
EP2624507A1 (en) 2013-08-07
KR20130099147A (ko) 2013-09-05
KR101451642B1 (ko) 2014-10-16

Similar Documents

Publication Publication Date Title
US11258705B2 (en) Method, apparatus, and system for managing label of access network
CN108574630B (zh) Evpn报文处理方法、设备及系统
CN102045242B (zh) 网络通信方法和网络节点设备
US7136374B1 (en) Transport networks supporting virtual private networks, and configuring such networks
US7266124B2 (en) Method for setting up QoS supported bi-directional tunnel and distributing L2VPN membership information for L2VPN using extended LDP
CN111510378A (zh) Evpn报文处理方法、设备及系统
WO2012055247A1 (zh) 伪线路由扩散方法和设备
CN111385207A (zh) 一种业务数据的转发方法、网络设备及网络系统
WO2011095040A1 (zh) 无缝多协议标签交换网络中标签分配方法、装置和系统
WO2013182066A1 (zh) 标签分发方法及设备
WO2014194711A1 (zh) 报文处理方法、设备标签处理方法及设备
WO2011085693A1 (zh) 伪线建立方法、系统及设备
CN104919767A (zh) 用于实现在虚拟专用lan服务网络上的最短路径桥接mac模式支持的方法和装置
WO2012142753A1 (zh) Ip承载网性能监控的方法及设备
WO2013117165A1 (zh) 实现基于VPLS的E-tree业务的方法和节点
CN100502341C (zh) 在rpr网络上传输以太网业务的实现方法及系统
WO2012013060A1 (zh) 通过伪线传输业务的方法及装置
CN105991436B (zh) 端到端业务的传输处理方法及装置
Xiaoming et al. Evolution and key technologies of 5G-oriented IP RAN.
Li et al. Automatic Discovery Techniques for T-MPLS Packet Transport Network

Legal Events

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

Ref document number: 11835521

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2815402

Country of ref document: CA

ENP Entry into the national phase

Ref document number: 2013535249

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2011835521

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 20137011826

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2013123695

Country of ref document: RU

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2011320276

Country of ref document: AU

Date of ref document: 20110615

Kind code of ref document: A