WO2013097453A1 - 实现以太树业务的方法及运营商边缘设备 - Google Patents
实现以太树业务的方法及运营商边缘设备 Download PDFInfo
- Publication number
- WO2013097453A1 WO2013097453A1 PCT/CN2012/079164 CN2012079164W WO2013097453A1 WO 2013097453 A1 WO2013097453 A1 WO 2013097453A1 CN 2012079164 W CN2012079164 W CN 2012079164W WO 2013097453 A1 WO2013097453 A1 WO 2013097453A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- peer
- vlan
- information
- leaf
- local
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/15—Interconnection of switching modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4604—LAN interconnection over a backbone network, e.g. Internet, Frame Relay
- H04L12/462—LAN interconnection over a bridge based backbone
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4604—LAN interconnection over a backbone network, e.g. Internet, Frame Relay
- H04L12/462—LAN interconnection over a bridge based backbone
- H04L12/4625—Single bridge functionality, e.g. connection of two networks over a single bridge
Definitions
- E-Tree An Ethernet virtual circuit (English: Ethernet Virtual Circuit, EVC) service defined by the organization. Specifically, E-Tree has the following characteristics: 1), root (English: Root) node to leaf (English: Leaf) node is a one-to-many relationship, and there may be multiple root nodes; 2), root node ether The network frame can be sent to any Root node and Leaf node. 3) The Ethernet frame of the Leaf node can be sent to any Root node. However, the Ethernet frame of the Leaf node cannot be sent to other Leaf nodes, that is, the Leaf node and Leaf nodes cannot be connected and need to be isolated.
- EVC Ethernet Virtual Circuit
- Virtual Private LAN Service (English: Virtual Private LAN Service, VPLS) is a Layer 2 virtual virtual local area network (LAN) network built on the Multi Protocol Label Switching (MPLS) network.
- Private network (English: Virtual Private Network, referred to as:
- VPLS can be automatically implemented through the Border Bridge Protocol (English: Boder Gateway Protocol, BGP) protocol. Discovering PE and building a VPLS network provides great convenience for establishing large-scale VPLS.
- Border Bridge Protocol English: Boder Gateway Protocol, BGP
- the leaf PE attribute information of the peer PE device indicates that the peer PE device is a leaf PE device, and the local PE device is a leaf PE device, the pseudowire connection between the local PE device and the peer PE device is prohibited.
- the executing module is configured to: when the leaf PE attribute information of the peer PE device indicates that the peer PE device is a leaf PE device, and the local PE device is a leaf PE device, the local PE device and the peer PE device are prohibited. A pseudowire connection between.
- the technical solution provided by the embodiment of the present invention has the following advantages:
- the leaf PE attribute information of the edge PE device of the peer end is obtained, and the leaf PE attribute information of the peer PE device indicates that the peer PE device is a leaf PE device.
- the leaf PE attribute information of the local PE device indicates that the local PE device is a leaf PE device, and the technical solution for the pseudowire connection between the local PE device and the peer PE device is disabled, and the leaf nodes between the E-Tree services are implemented.
- FIG. 1 is a flowchart of a method for implementing an Ethernet tree service according to Embodiment 1 of the present invention
- FIG. 2 is a schematic diagram of a VPLS example provided in Embodiment 2 of the present invention
- 3 is a flowchart of a method for implementing an Ethernet tree service according to Embodiment 2 of the present invention
- FIG. 4 is a schematic diagram of a format of a Layer 2 related message according to Embodiment 2 of the present invention
- FIG. 4 is a schematic diagram of a format of an extended Layer 2 related message according to Embodiment 2 of the present invention
- FIG. 5 is a flowchart of a method for implementing an Ethernet tree service according to Embodiment 2 of the present invention
- FIG. 6a is a schematic diagram of an NLRI message format provided in Embodiment 2 of the present invention.
- 6b is a schematic diagram of an extended NLRI message format provided in Embodiment 2 of the present invention.
- FIG. 7 is a schematic diagram of a format of an extended Layer 2 related message according to Embodiment 2 of the present invention
- FIG. 8 is a structural block diagram of a carrier edge device according to Embodiment 3 of the present invention.
- FIG. 9 is a structural block diagram of a carrier edge device according to Embodiment 3 of the present invention.
- a method for implementing an Ethernet tree service includes the following steps:
- Step 101 Obtain the leaf PE attribute information of the edge PE device of the peer end, and the leaf PE attribute information is used to indicate whether the PE device is a leaf PE device.
- the PE device that is the leaf port is called a leaf PE device, and the SP and the leaf PE device are both connected to a leaf node.
- the PE device that has the root port is called a non-leaf PE device. At least one root node is connected to the leaf PE device.
- a leaf port and a root port are pre-configured on the PE device, and the leaf port can only be connected to the leaf node, and the root port can only be connected to the root node.
- Step 102 When the leaf PE attribute information of the peer PE device indicates that the peer PE device is a leaf PE device, and the local PE device is a leaf PE device, the pseudowire connection between the local PE device and the peer PE device is prohibited.
- the embodiment of the present invention obtains the leaf PE attribute information of the edge PE device of the peer end, and the leaf PE attribute information of the peer PE device indicates that the peer PE device is a leaf PE device, and the leaf PE attribute information of the local PE device indicates When the local PE device is a leaf PE device, the pseudo-wire connection between the local PE device and the peer PE device is prohibited.
- the E-Tree service is effectively isolated between the leaf nodes in the E-Tree service.
- multiple E-Tree nodes root node and leaf node
- the accessing circuit (English: Attachment Circuit, AC for short) is connected to the PE device.
- the multiple PEs are connected through a bidirectional pseudowire (English: Pseudo Wire, PW).
- the PW uses MPLS technology.
- a virtual connection is used to carry the service.
- the node can be a CE device.
- FIG. 2 is a schematic diagram of a VPLS instance according to an embodiment of the present invention.
- the root node CE1 and the leaf node CE2 are respectively connected to the operator edge device PE1 through the access circuit AC1 and the access circuit AC2, and the root node CE3 and The leaf node CE4 is connected to the operator edge device PE2 through the access circuit AC3 and the access circuit AC4, respectively, and PE1 and PE2 are connected by a bidirectional pseudowire PW, wherein the bidirectional PW is respectively composed of two unidirectional PWs, that is, pseudowires. PW1 and pseudowire PW2 are formed.
- the bridge module (VLAN Bridge) in the carrier edge device adds a corresponding root VLAN or leaf VLAN to the received Ethernet frame at the port, or maps the VLANs in the received Ethernet frame to corresponding ports.
- the root VLAN or the leaf VLAN after that, the bridge module sends the processed Ethernet frame to the virtual switching instance VSI via the root virtual local area network VLAN or the leaf virtual local area network VLAN, and the virtual switching instance VSI receives the received Ethernet frame through the pseudo line. Forward to the peer carrier edge device.
- the bridge module adds a corresponding root VLAN or a leaf VLAN to the received Ethernet frame according to the port attribute, and if the port that receives the Ethernet frame is the root port, adds the received Ethernet frame.
- the root VLAN if the port that receives the Ethernet frame is a leaf port, adds a leaf VLAN to the received Ethernet frame.
- the bridge module maps the VLANs in the received Ethernet frame to the corresponding root VLAN or leaf VLAN according to the port attribute. If the port that receives the Ethernet frame is the root port, the bridge module will receive the received The VLAN in the Ethernet frame is mapped to the root VLAN. If the port that receives the Ethernet frame is a leaf port, the VLAN in the received Ethernet frame is mapped to the leaf VLAN.
- the bridge module in PE1 adds a Root1 VLAN to CE1, and a Leafl VLAN to CE2.
- the bridge module in PE2 adds a Root2 VLAN to CE3 and a Leaf 2 VLAN to CE4.
- the VSI Virtual Switch Instance
- the VSI forwards the Ethernet frame with the root VLAN or the leaf VLAN to the peer PE through the end-to-end PW.
- the bridge module in the peer PE forwards or filters according to the VLAN (root VLAN or leaf VLAN) in the received Ethernet frame. For example, the pair has a root.
- the VALN's Ethernet frame is forwarded or the Ethernet frame with the leaf VLAN is filtered.
- the CE device as the root node and the leaf node respectively access the bridge module in the PE through the root port and the leaf port pre-configured by the PE, and configure a separate port for each access port on the bridge module.
- the VLAN ID (PVID) and the member set, and the bridge module configures the set of outgoing ports that the root VLAN and the leaf VLAN need to forward.
- Ethernet frame When an Ethernet frame enters a bridge module from a leaf port accessed by a leaf node, The Ethernet frame is tagged with the PVID corresponding to the leaf VLAN, and forwarded to the root port of the root node access, and finally forwarded to the root node; when the Ethernet frame enters the bridge from the root port accessed by a root node In the module, the Ethernet frame is tagged with the PVID corresponding to the root VLAN and forwarded to all member sets, that is, all leaf nodes in an E-tree and root nodes except itself.
- an access port refers to a port when an E-tree service accesses a PE device, and the root node is accessed.
- the port of the PE device is called the root port.
- the port when the leaf node accesses the PE device is called a leaf node.
- the bridge module configures the member set of the access port according to the provisions of IEEE 802.1.
- the member set specifically refers to the port set in the bridge module, and the bridge module receives the Ethernet frame.
- the Ethernet frame can be forwarded to all the leaf nodes and the root node except for itself according to the ports in the member set in an E-tree.
- the specific configuration method and configuration content of the member set are prior art, here No longer.
- the bridge module maps the VLAN in the Ethernet frame to a leaf VLAN, or adds a leaf VLAN to the Ethernet frame. Then, the Ethernet frame with the leaf VLAN is sent to the VSI of the PE1, and then the VSI of the PE1 forwards the Ethernet frame with the leaf VLAN to the VSI of the peer PE2 through the end-to-end PW; After receiving the Ethernet frame with the leaf VLAN, the VSI forwards the Ethernet frame with the leaf VLAN to the corresponding root node.
- the two leaf PEs associated with the E_Tree service are to be isolated from each other to ensure that Ethernet frames cannot be transmitted between the two leaf PEs associated with the E-Tree service.
- the non-leaf PE devices and the non-leaf PE devices can communicate with each other. Then, the PEs associated with the E-Tree service use their own independent VLAN space (for example, the Root1 VLAN in Figure 2 is different from the Root2 VLAN).
- the PE devices associated with the two E_Tree services need to negotiate for VLAN mapping and determine which PE device to perform VLAN mapping on, so that the two PEs associated with the E_Tree service are connected. Devices can perform mapping between VLANs and forward Ethernet frames based on VLAN mapping information.
- the PE associated with the E-Tree service (for example, PE1 and PE2 in Figure 2) exchanges BGP signaling messages,
- the BGP signaling message may include the leaf PE attribute information, the VLAN mapping capability indication information, and the local VLAN information of the PE device.
- the leaf PE attribute information is used to indicate whether the PE device is a leaf PE device, and the VLAN mapping capability indication information is used. Indicates whether the PE device has VLAN mapping capability (ie, whether it can perform Ethernet frame VLAN mapping), and the VLAN information includes the root VLAN information and the leaf VLAN information of the PE device. After that, the PE device can receive the PE attribute information, the VLAN mapping capability indication information, and the VLAN information from the peer PE device.
- the leaf PE attribute information, the VLAN mapping capability indication information, and the VLAN information of the peer PE device are determined to determine whether the pseudowire connection between the local PE device and the peer PE device is prohibited, and whether the VLAN mapping needs to be performed.
- each E-Tree service-related PE device can exchange BGP messages with each other.
- the message contains the information such as the VPN ID of the PE device.
- the BGP protocol establishes a PW between the two PEs based on the exchanged BGP message.
- a method for implementing an Ethernet tree service by extending the BGP protocol includes the following operations:
- Step 201 The PE device obtains the leaf PE attribute information of the peer PE device.
- the leaf PE attribute information is used to indicate whether the PE device is a leaf PE device.
- the PE device when all the PE devices are connected When the E-Tree node is a leaf node, the PE device is a leaf PE device. Otherwise, when the E-Tree node connected to the PE device has at least one root node, the PE device is a non-leaf PE device.
- the PE device obtains the leaf PE attribute information of the peer PE device, including:
- the PE device receives the Layer 2 related information of the leaf PE attribute information of the peer PE device that is sent by the peer PE device, and parses the received Layer 2 related information to obtain the leaf PE attribute information of the peer PE device.
- the related information refers specifically to the Layer 2 related information of the extended BGP protocol.
- the PE device associated with the E-Tree service in the VPLS network can notify the E-Tree attribute information of the leaf PE attribute information of the BGP protocol by extending the Layer 2 related information of the BGP protocol.
- the Layer 2 related information may specifically be an extended Layer 2 Info Extended Community.
- the message format of the original Layer 2 Info Extended Community of the BGP protocol can be seen in Figure 4a. It includes a 2-byte Extended community type, a 1-byte Encaps Type, and a 1-byte Control Flags. (Control ID), 2-byte Layer_2 MTU (Maximum Transmission Unit) and 2-byte Reserved (Reserved Field).
- the existing Layer 2 Info Extended Community shown in FIG. 4a can be extended to obtain an extended Layer 2 Info Extended Commimity carrying the leaf PE attribute information of the PE device.
- the existing Layer 2 Info Extended Community information shown in FIG. 4a can be extended, so that the extended Layer 2 Info Extended Community information can carry the leaf of the PE device.
- the sub-PE attribute information may also carry the VLAN mapping capability indication information and the VLAN information of the PE device.
- the VLAN mapping capability indication information of the PE device is used to indicate whether the PE device has the VLAN mapping capability. When the PE device has the VLAN mapping capability.
- the PE device can be configured with the mapping between the VLAN of the local PE and the VLAN of the peer PE.
- the VLAN information includes the root VLAN information and leaf VLAN information of the PE.
- the message format of the extended Layer 2 Info Extended Community may be as shown in FIG. 4b.
- the extended Layer 2 Info Extended Community defines a device identifier in the Control Flags field, and the device identifier may be a bit P in the Control Flags field.
- the bit P is used to indicate whether the PE device is a leaf PE device. For example, a P of 1 indicates that the PE device that sends the extended Layer 2 Info Extended Community is a leaf PE device, and a P of 0 indicates that the extended Layer 2 Info Extended Community is sent.
- the PE device is a non-leaf PE device.
- the extended Layer 2 Info Extended Community may further define a mapping capability indication information in the Control Flags field, where the mapping capability indication information may specifically be a bit V in the Control Flags field, and the bit V is It is used to indicate whether the PE device has the VLAN mapping capability. For example, a V of 1 indicates that the PE device that sends the extended Layer 2 Info Extended Community has VLAN mapping capability, and a V of 0 indicates that the PE device that sends the Layer 2 Info Extended Community does not have a VLAN. Mapping ability.
- a control word identifier is further defined in the Control Flags field, and the control word identifier may specifically be a bit C in the Control Flags field, and the bit C is used to mark whether the pseudowire group has control. Word, if C is 1, the control line is marked in the pseudowire group, and when C is 0, the control line is marked without a control word;
- an identifier is further defined in the Control Flags field, and the identifier may be a bit S in the Control Flags field, and the bit S marks whether the data plane packet delivers the frame sequentially, if S is 1 It means that the data plane packet is delivered in order. If S is 0, it indicates that the data plane packet is not delivered in order.
- the extended Layer 2 Info Extended Community can further define two root lengths of the root virtual local area network (Root VLAN) and the leaf virtual local area network (Leaf VLAN) after the Layer 2 MTU field based on the Layer 2 Info Extended Community.
- the field of the byte, the root VLAN and the P Leaf VLAN field are used to advertise the root VLAN information and the leaf VLAN information of the PE.
- Step 202 The PE device determines, according to the leaf PE attribute information of the peer PE device, whether the peer PE device is a leaf PE device.
- step 203 is performed.
- the PE information of the peer PE device indicates that the peer PE device is a leaf PE device, perform the following steps.
- Step 203 The PE device determines whether it is a leaf PE device.
- step 205 is performed;
- the PE device determines whether it is a leaf PE device, including:
- the PE device can determine its own leaf PE attribute according to the attributes of each E-Tree node that it is connected to. If the PE device does not have a root node, the PE device determines that it is a leaf PE device. At the root node, the PE device determines that it is not a leaf PE device.
- Step 204 The PE device stops transmitting and receiving Ethernet frames on the pseudowire established between the peer PE device, and the operation process ends.
- the PE device sets the attribute identifier of the pseudowire between the peer PE and the peer PE to indicate that the pseudowire is unavailable. For example, the identifier of the pseudowire between the peer PE and the peer PE is set to Down.
- the pseudowire transmits and receives an Ethernet frame;
- Step 205 The PE device obtains the VLAN mapping capability indication information and the VLAN information of the peer PE device, where the VLAN information of the peer PE device includes the root VLAN information of the peer PE and the leaf VLAN information.
- the PE device obtains the VLAN mapping capability indication information and the VLAN information of the peer PE device, including:
- the device After receiving the extended Layer 2 related information sent by the peer PE device, the device can parse the extended Layer 2 related information to obtain the VLAN mapping capability indication information and VLAN information of the peer PE device.
- Step 206 The PE device determines whether to enable the local VLAN mapping function according to the VLAN mapping capability indication information, the VLAN information, and the VLAN mapping capability indication information and the VLAN information of the peer PE device.
- This step specifically includes the following operations:
- Step 206-1 The PE device compares the VLAN information of the peer PE device with the VLAN information of the local PE device.
- step 206-2 is performed.
- the local VLAN mapping function is disabled and the operation process ends.
- Step 206-2 The PE device determines, according to the VLAN mapping capability indication information of the local PE device, whether the local PE device has the VLAN mapping capability.
- the local VLAN mapping function is not enabled and the operation process ends.
- step 206-3 is performed;
- Step 206-3 The PE device determines, according to the VLAN mapping capability indication information of the peer PE device, whether the peer PE device has the VLAN mapping capability.
- step 206-4 When the peer PE device has the VLAN mapping capability, go to step 206-4.
- the peer PE device When the peer PE device does not have the VLAN mapping capability, it is determined that the local VLAN mapping function is enabled, and the operation process ends.
- Step 206-4 The PE device determines whether the node ID of the local PE device is smaller than the node ID of the peer PE device obtained in advance.
- the node ID of the local PE device is smaller than the node ID of the peer PE device, it is determined that the local VLAN mapping function is enabled, and the operation process ends.
- the local VLAN mapping function is disabled and the operation process ends.
- the node ID in the embodiment of the present invention may be an IP address of the PE device.
- the PE device enables the VLAN mapping function to replace the VLAN information inside the Ethernet frame when receiving or sending an Ethernet frame, for example, replacing the local root VLAN or the leaf VLAN in the Ethernet frame header.
- the VLAN mapping function to replace the VLAN information inside the Ethernet frame when receiving or sending an Ethernet frame, for example, replacing the local root VLAN or the leaf VLAN in the Ethernet frame header.
- the root VLAN or leaf VLAN of the peer or replace the root VLAN or leaf VLAN of the peer in the Ethernet frame header with the local root VLAN or leaf VLAN.
- the PE device After receiving the Ethernet frame sent by the peer PE device, the PE device replaces the mapping of the peer VLAN information in the Ethernet frame with the VLAN information corresponding to the local PE device.
- the local VLAN information mapping in the Ethernet frame is replaced with the peer VLAN information corresponding to the peer PE device.
- the VLAN mapping capability indication information and the VLAN information of the peer PE device are obtained, and the VLAN mapping capability indication information, the VLAN information, and the VLAN mapping capability indication information and the VLAN information of the peer PE device are determined according to the local PE device.
- the implementation of the technical solution of the local VLAN mapping function can solve the problem of whether or not to perform VLAN mapping.
- a method for implementing an Ethernet tree service includes the following operations:
- Step 301 The PE device obtains the leaf PE attribute information of the peer PE device.
- the leaf PE attribute information is used to indicate whether the PE device is a leaf PE device.
- the PE device obtains the leaf PE attribute information of the peer PE device, including:
- the PE device associated with the E-Tree service in the VPLS network notifies the node ID and the leaf of each other by extending the network layer reachability information (English: Network Layer Reachability Information, NLRI) of the BGP protocol.
- Information such as PE attribute information.
- the message format of the NLRI information can be seen in Figure 6a. It includes 2 bytes of Length information, 8 bytes of Route Distinguisher information, and 2 bytes of VE ID (for PE devices). ID) information, 2-byte VE Block Offset information, 2-byte VE Block Size information, and 2-byte Label Base information.
- the NLRI information may be extended to obtain an extended NLRI of the leaf PE attribute information of the PE device.
- the message format of the extended NLRI information may be as shown in FIG. 6b, and the extended NLRI information is in the NLRI information.
- a 1-byte Flag flag word
- a bit P is further defined in the Flag field, and the bit P is used to indicate whether the PE device is a leaf PE. For example, if P is 1, the PE device that sends the extended NLRI information is a leaf PE device, and P is 0, indicating that the PE device that sends the extended NLRI information is a non-leaf PE device.
- Step 302 The PE device determines, according to the leaf PE attribute information of the peer PE device, whether the peer PE device is a leaf PE device.
- step 303 is performed.
- the PE information of the peer PE device indicates that the peer PE device is a leaf PE device, perform the following steps.
- Step 303 The PE device determines whether it is a leaf PE device.
- step 304 is performed;
- step 305 is performed;
- the method for determining whether the PE device is a leaf PE device is the same as the method described in step 203, and details are not described herein again.
- Step 304 The PE device prohibits the establishment of a pseudowire between the local PE device and the peer PE device, and the operation process ends;
- the leaf PE devices related to the two E-Tree services will not establish a pseudowire. Then, the two leaf PE devices associated with the E_Tree service cannot send and receive Ethernet frames, thereby performing the two leaf PE devices. Effective isolation.
- Step 305 The PE device obtains the VLAN mapping capability indication information and the VLAN information of the peer PE device, where the VLAN information of the peer PE device includes the root VLAN information of the peer PE and the leaf VLAN information.
- the PE device obtains the VLAN mapping capability indication information and the VLAN information of the peer PE device, including:
- the VLAN mapping capability indication information of the peer PE device and the Layer 2 related information of the VLAN information may be extended Layer 2 Info Extended Community of the BGP, and then, in the VPLS network, the E- Each PE device associated with the Tree service can notify each other of its VLAN mapping capability indication information and VLAN information through the extended Layer 2 Info Extended Community information.
- the Layer 2 Info Extended Community message format can be seen in Figure 4a.
- the Layer 2 Info Extended Community has been described in detail in Step 201, and will not be described here.
- the existing Layer 2 Info Extended Community information shown in FIG. 4a may be extended to obtain extended Layer 2 Info Extended Community information including the VLAN mapping capability indication information of the PE device and the VLAN information.
- the VLAN mapping capability indication information of the device is used to indicate whether the PE device has the VLAN mapping capability.
- the PE device can configure the mapping between the VLAN on the local PE device and the VLAN on the remote PE device.
- the VLAN information gives the root VLAN information and leaf VLAN information of the PE device.
- the message format of the extended BGP Layer 2 Info Extended Community information can be seen in FIG. 7.
- the extended Layer 2 Info Extended Community information in FIG. 7 does not need to carry the device identifier i, that is, the flag bit P, in Layer 2 After the Layer 2 MTU field of the Info Extended Community, the root VLAN and the leaf VLAN are defined as two fields. The root VLAN and the leaf VLAN are used to advertise the root VLAN information and the leaf VLAN information of the PE.
- Step 306 The PE device determines whether to enable the local VLAN mapping function according to the VLAN mapping capability indication information, the VLAN information, and the VLAN mapping capability indication information and the VLAN information of the peer PE device.
- step 206 For details on this step, please refer to step 206, which will not be described here.
- the leaf PE attribute information of the peer PE device indicates that the peer PE device is a leaf PE device, and the local PE device is a leaf PE device. If a pseudowire is established between the peer PE device and the peer PE device, the peer PE device does not establish a pseudowire.
- the E-Tree service can effectively isolate the leaf nodes and implement the common E-Tree service under the VPLS network. In this way, the VLAN mapping capability indication information and the VLAN information of the peer PE device are obtained, and the VLAN mapping capability indication information, the VLAN information, and the VLAN mapping capability indication information and the VLAN information of the peer PE device are determined according to the local PE device.
- the implementation of the technical solution of the local VLAN mapping function can solve the problem of whether or not to perform VLAN mapping.
- the above technical solution ensures compatibility with the Ethernet E-Tree service on the data plane, and does not need to modify the forwarding plane of the Ethernet and the VSI.
- the embodiment of the present invention further provides an operator edge PE device, which is used to implement the foregoing embodiments of the present invention.
- the device includes: a first obtaining module 401 and an executing module 402;
- the first obtaining module 401 is configured to obtain the leaf PE attribute information of the edge PE device of the peer end, and the leaf PE attribute information is used to indicate whether the PE device is a leaf PE device.
- the executing module 402 is configured to disable the pseudowire between the local PE device and the peer PE device when the leaf PE attribute information of the peer PE device indicates that the peer PE device is a leaf PE device and the local PE device is a leaf PE device. connection.
- the first obtaining module 401 includes:
- a first acquiring unit configured to receive Layer 2 related information that is sent by the peer PE device and that carries the leaf PE attribute information of the peer PE device, and parse the Layer 2 related information to obtain the peer PE device Leaf PE attribute information;
- a second acquiring unit configured to receive network layer reachability information of the leaf PE attribute information of the peer PE device that is sent by the peer PE device, and parse the network layer reachability information to obtain the pair Leaf PE attribute information of the end PE device.
- the executing module 402 is specifically configured to stop sending and receiving an Ethernet frame on the pseudowire if the local PE device and the peer PE device have established a pseudowire through the border gateway protocol, or if the local PE device is not connected to the peer end When a PE device establishes a pseudowire through the border gateway protocol, it is forbidden to establish a pseudowire with the peer PE device.
- the carrier edge device shown in FIG. 8 further includes:
- the second obtaining module 403 is configured to: when the leaf PE attribute information of the peer PE device indicates that the peer PE device is a non-leaf PE device, obtain the virtual LAN VLAN mapping capability indication information and the VLAN information of the peer PE device; And determining, according to the VLAN mapping capability indication information of the local PE device, the VLAN information, the VLAN mapping capability indication information and the VLAN information of the peer PE device, whether the local VLAN mapping function is enabled.
- the second obtaining module 403 is configured to receive the Layer 2 related information that is sent by the peer PE device and that carries the VLAN mapping capability indication information and the VLAN information of the peer PE device, and parses the Layer 2 related information. Obtaining VLAN mapping capability indication information and VLAN information of the peer PE device.
- the determining module 404 is specifically configured to: when the VLAN information of the peer PE device is inconsistent with the VLAN information of the local PE device, and the VLAN mapping capability indication information of the local PE device indicates that the local PE device has the VLAN mapping capability and the VLAN mapping capability indication of the peer PE device If the information indicates that the peer PE device does not have VLAN mapping capability, determine that the local VLAN mapping function is enabled; or
- the VLAN information of the peer PE device is inconsistent with the VLAN information of the local PE device, and the VLAN mapping capability indication information of the local PE device indicates that the local PE device has the VLAN mapping capability and the VLAN mapping capability indication information of the peer PE device indicates the peer end. If the PE device has the VLAN mapping capability, determine whether the node ID of the local PE device is smaller than the node ID of the peer PE device. If the node ID of the local PE device is smaller than the node ID of the peer PE device, you can enable the local VLAN mapping function. .
- the device obtains the VLAN mapping capability indication information and the VLAN information of the peer PE device, and determines whether to execute according to the VLAN mapping capability indication information of the local PE device, the VLAN information, and the VLAN mapping capability indication information and the VLAN information of the peer PE device.
- the implementation of the technical solution for configuring the mapping between the VLANs on the local PEs and the VLANs on the peer PEs can solve the problem of VLAN mapping.
- the VLAN in the above embodiment may be a C-VLAN, an S-VLAN, and a Q_in_Q defined in the IEEE 802.1 series standard.
- VLAN VLAN or B-VLAN.
- the above technical solution ensures compatibility with the Ethernet E-Tree service on the data plane, and does not need to modify the forwarding plane of the Ethernet and the VSI.
- a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
- the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
- the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
本发明公开了一种实现以太树业务的方法及运营商边缘设备,属于网络通信技术领域。本地PE设备获取对端运营商边缘PE设备的叶子PE属性信息;当对端PE设备的叶子PE属性信息指示对端PE设备为叶子PE设备,且本地PE设备为叶子PE设备时,禁止本地PE设备与所述对端PE设备之间的伪线连接。本发明技术方案实现了E-Tree业务下叶子节点间的有效隔离,从而实现VPLS网络下E-Tree业务。
Description
实现以太树业务的方法及运营商边缘设备 本申请要求于 2011年 12月 30日提交中国专利局、 申请号为 201110455729. 4、 发 明名称为 "实现以太树业务的方法及运营商边缘设备"的中国专利申请的优先权, 其全 部内容通过引用结合在本申请中。 技术领域 本发明涉及网络通信技术领域,特别涉及一种实现以太树业务的方法及运营商边缘 设备。 背景技术 以太树 (英文: E-Tree) 是城域以太网论坛 (英文: Metro Ethernet Forum, 简称:
MEF) 组织所定义的一种以太网虚拟电路 (英文: Ethernet Virtual Circuit, 简称: EVC)业务。 具体地, E-Tree具有如下的特性: 1 )、 根 (英文: Root)节点到叶子 (英文: Leaf )节点为一对多关系, 并可以存在多个 Root节点; 2)、 Root节点的以太网帧可以 发送到任意的 Root节点和 Leaf节点; 3)、 Leaf节点的以太网帧可以发送到任意的 Root 节点, 但是, Leaf 节点的以太网帧却不能发送到其他 Leaf 节点, 即 Leaf 节点与 Leaf 节点间不能连通, 需要隔离。
虚拟专用局域网业务 (英文: Virtual Private LAN Service, 简称: VPLS) 是一 种在多协议标签交换 (英文: Multi Protocol Label Switching, 简称: MPLS) 网络上构建 起来的用于虚拟以太局域网的二层虚拟专用网络(英文: Virtual Private Network, 简称:
VPN)技术。 VPLS技术使得用户可以从多个地理位置分散的点同时接入 MPLS网络并相互 访问。 由于目前核心网络主要都是采用网际协议 (英文: Internet Protocol , 简称:
IP) /MPLS技术, 所以通过 VPLS来提供虚拟以太网业务的需求越来越多, 其部署也已十 分广泛, VPLS可以通过边界网桥协议 (英文: Boder Gateway Protocol, 简称: BGP) 协 议来自动发现 PE并构建 VPLS网络, 对于建立大规模的 VPLS提供了很大的方便。
在现有 VPLS网络中, 所有运营商边缘 (英文: Provider Edge, 简称: PE) 设备之 间是全连通的,这使得无论是从根节点还是叶子节点发出的以太网帧都会达到所有其他 的根节点和叶子节点, 无法满足 E-Tree业务下叶子节点间的有效隔离, 即现有的 VPLS 网络还无法真正实现通用的 E-Tree业务。 尤其是现有的 BGP协议在构建 VPLS网络的
时候, 由于无法区分 PE连接的客户边缘 (英文: Customer Edge , 简称: CE ) 设备是 根节点还是叶子节点, 也就无法对叶子节点之间的信息流加以限制。 发明内容 本发明实施例提供了一种实现以太树业务的方法及运营商边缘设备,用于实现 VPLS 网络下的 E-Tree业务。 所述技术方案如下:
一种实现以太树业务的方法, 所述方法包括:
获取对端运营商边缘 PE设备的叶子 PE属性信息, 所述叶子 PE属性信息用于指示
PE设备是否为叶子 PE设备;
当所述对端 PE设备的叶子 PE属性信息指示对端 PE设备为叶子 PE设备,且本地 PE 设备为叶子 PE设备时, 禁止本地 PE设备与所述对端 PE设备之间的伪线连接。
一种运营商边缘设备, 所述设备包括: 第一获取模块、 检测模块和执行模块; 所述第一获取模块, 用于获取对端运营商边缘 PE设备的叶子 PE属性信息, 所述叶 子 PE属性信息用于指示 PE设备是否为叶子 PE设备;
所述执行模块, 用于当所述对端 PE设备的叶子 PE属性信息指示对端 PE设备为叶 子 PE设备, 且本地 PE设备为叶子 PE设备时, 禁止本地 PE设备与所述对端 PE设备之 间的伪线连接。
本发明实施例提供的技术方案带来的有益效果是: 通过获取对端运营商边缘 PE设 备的叶子 PE属性信息, 当对端 PE设备的叶子 PE属性信息指示对端 PE设备为叶子 PE 设备, 且本地 PE设备的叶子 PE属性信息指示本地 PE设备为叶子 PE设备时, 禁止本地 PE设备与对端 PE设备之间的伪线连接的技术方案的实现,实现 E-Tree业务下叶子节点 间的有效隔离, 从而实现 VPLS网络下 E-Tree业务。 附图说明 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所需要使用 的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对 于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得 其他的附图。
图 1是本发明实施例 1中提供的一种实现以太树业务的方法流程图;
图 2是本发明实施例 2中提供的一种 VPLS实例的示意图;
图 3是本发明实施例 2中提供的一种实现以太树业务的方法流程图; 图 4a是本发明实施例 2中提供的一种二层相关消息的格式示意图;
图 4b是本发明实施例 2中提供的一种扩展的二层相关消息的格式示意图; 图 5是本发明实施例 2中提供的一种实现以太树业务的方法流程图;
图 6a是本发明实施例 2中提供的一种 NLRI消息格式示意图;
图 6b是本发明实施例 2中提供的一种扩展的 NLRI消息格式示意图;
图 7是本发明实施例 2中提供的一种扩展的二层相关消息的格式示意图; 图 8是本发明实施例 3提供的一种运营商边缘设备结构框图;
图 9是本发明实施例 3提供的一种运营商边缘设备结构框图。
具体实施方式 为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明实施方式 作进一步地详细描述。
参见图 1, 一种实现以太树业务的方法, 具体包括如下步骤:
步骤 101 : 获取对端运营商边缘 PE设备的叶子 PE属性信息,所述叶子 PE属性信息 用于指示 PE设备是否为叶子 PE设备;
本发明实施例中, 将均是叶子端口的 PE设备称为叶子 PE设备, SP, 叶子 PE设备 上连接的均是叶子节点, 将存在根端口的 PE设备称为非叶子 PE设备, 也即非叶子 PE 设备上连接有至少一个根节点。
本发明实施例中, PE设备上预先配置有叶子端口和根端口, 叶子端口仅可以连接叶 子节点, 根端口则仅可以连接根节点。
步骤 102 : 当对端 PE设备的叶子 PE属性信息指示对端 PE设备为叶子 PE设备, 且 本地 PE设备为叶子 PE设备时, 禁止本地 PE设备与对端 PE设备之间的伪线连接。
本发明实施例通过获取对端运营商边缘 PE设备的叶子 PE属性信息, 并在对端 PE 设备的叶子 PE属性信息指示对端 PE设备为叶子 PE设备, 且本地 PE设备的叶子 PE属 性信息指示本地 PE设备为叶子 PE设备时, 禁止本地 PE设备与对端 PE设备之间的伪线 连接, 实现 E-Tree业务下叶子节点间的有效隔离, 从而实现 VPLS网络下 E_Tree业务。 本发明实施例中, 在 VPLS网络架构下, 多个 E-Tree节点 (根节点和叶子节点)通
过接入电路 (英文: Attachment Circuit, 简称 AC)接入到 PE设备, 多个 PE之间则通 过一条双向伪线 (英文: Pseudo Wire, 简称: PW) 进行连接, 其中, PW是利用 MPLS 技术构建的一条用于承载业务的虚拟连接, 节点具体可以是 CE设备。
参见图 2, 为本发明实施例所提供的一种 VPLS实例的示意图,根节点 CE1和叶子节 点 CE2分别通过接入电路 AC1和接入电路 AC2接入到运营商边缘设备 PE1, 根节点 CE3 和叶子节点 CE4分别通过接入电路 AC3和接入电路 AC4接入到运营商边缘设备 PE2, PE1 和 PE2通过一条双向伪线 PW连接, 其中, 该双向 PW分别由两条单向 PW, 即伪线 PW1 和伪线 PW2构成。
参见图 2, 运营商边缘设备中的网桥模块(VLAN Bridge)在端口处为收到的以太网 帧添加相应的根 VLAN或者叶子 VLAN,或者将收到的以太网帧内的 VLAN映射到相应的根 VLAN或者叶子 VLAN; 之后, 网桥模块将处理后的以太网帧经根虚拟局域网 VLAN或者叶 子虚拟局域网 VLAN发送到虚拟交换实例 VSI,虚拟交换实例 VSI将收到的以太网帧经伪 线转发给对端运营商边缘设备。
本发明实施例中, 网桥模块根据端口属性为收到的以太网帧添加相应的根 VLAN或 者叶子 VLAN, 如收到以太网帧的端口为根端口时, 则为收到的以太网帧添加根 VLAN, 如收到以太网帧的端口为叶子端口时, 则为收到的以太网帧添加叶子 VLAN;
本发明实施例中, 网桥模块根据端口属性将收到的以太网帧内的 VLAN映射到相应 的根 VLAN或者叶子 VLAN, 如收到以太网帧的端口为根端口时, 则将收到的以太网帧内 的 VLAN映射为根 VLAN, 如收到以太网帧的端口为叶子端口时, 则将收到的以太网帧内 的 VLAN映射为叶子 VLAN。
例如, PE1中的网桥模块为 CE1添加的是 Rootl VLAN,为 CE2添加的是 Leafl VLAN, PE2中的网桥模块为 CE3添加的是 Root2 VLAN, 为 CE4添加的是 Leaf 2 VLAN; 网桥模块 将带有根 VLAN或者叶子 VLAN的以太网帧发送到 VSI (Virtual Switch Instance, 虚拟 交换实例)之后, VSI通过端到端的 PW将带有根 VLAN或者叶子 VLAN的以太网帧转发给 对端 PE上的 VSI ;对端 PE在接收到以太网帧后,对端 PE内的网桥模块根据所接收以太 网帧内的 VLAN (根 VLAN或者叶子 VLAN)进行转发或者过滤处理, 例如, 对带有根 VALN 的以太网帧进行转发, 或者对带有叶子 VLAN的以太网帧进行过滤。
具体地, 作为根节点和叶子节点的 CE设备分别经 AC通过 PE所预先配置的根端口 和叶子端口接入 PE 内的网桥模块, 在网桥模块上为每一个接入端口配置单独的端口 VLAN标识(Port VLAN ID, PVID)及成员集,并且网桥模块分别配置根 VLAN和叶子 VLAN 需要转发的出端口集合。 当以太网帧从一个叶子节点接入的叶子端口进入网桥模块时,
该以太网帧会被打上对应于该叶子 VLAN的 PVID, 并被转发到根节点接入的根端口, 最 后被转发到根节点; 当以太网帧从一个根节点接入的根端口进入网桥模块时, 该以太网 帧会被打上对应于该根 VLAN的 PVID, 并被转发到所有的成员集, 即转发到一个 E-tree 内的所有叶子节点和除自身外的根节点。
本发明实施例中, 接入端口是指一 E-tree业务接入 PE设备时的端口, 根节点接入
PE设备时的端口称为根端口, 相应地, 叶子节点接入 PE设备时的端口称为叶子节点。
本发明实施例中, 网桥模块将会根据 IEEE 802. 1 的规定配置接入端口的成员集, 该成员集具体是指网桥模块内的端口集合, 网桥模块在接收到以太网帧后, 便可以在一 个 E-tree内根据成员集内的端口转发该以太网帧给所有叶子节点和除自身外的根节点, 有关成员集的具体配置方法及配置内容为现有技术, 此处就不再赘述。
例如,当一个以太网帧由叶子节点 CE2经 PE1上的叶子端口进入 PE1内网桥模块时, 该网桥模块将该以太网帧内的 VLAN映射为叶子 VLAN, 或者为以太网帧添加叶子 VLAN, 然后将该带有叶子 VLAN的以太网帧发送到 PE1的 VSI, 之后, PE1的 VSI通过端到端的 PW将带有叶子 VLAN的以太网帧转发给对端 PE2的 VSI ; 对端 PE2内的 VSI在接收到该 带有叶子 VLAN的以太网帧后,将该带有叶子 VLAN的以太网帧经接入的根端口转发到相 应的根节点。
根据 E-Tree业务的特性可以知道 E_Tree业务相关联的两个叶子 PE之间要进行消 息隔离, 以保证 E-Tree业务相关联的两个叶子 PE之间不能传递以太网帧, 叶子 PE设 备与非叶子 PE设备之间及非叶子 PE设备之间是可以进行通信的, 那么, 在 E-Tree业 务相关联的各 PE使用自身独立的 VLAN空间 (例如, 图 2中的 Rootl VLAN不同于 Root2 VLAN, Leafl VLAN不同于 Leaf2 VLAN) 的情况下, 两个 E_Tree业务相关的 PE设备之 间还需要协商以进行 VLAN映射, 及确定在哪个 PE设备上进行 VLAN映射, 以便 E_Tree 业务相关联的两个 PE设备之间可以根据 VLAN映射信息来完成其 VLAN之间的映射并进 行以太网帧的转发。
那么,为了实现 VPLS下 E-Tree业务相关联的叶子 PE设备间的有效隔离,及 E_Tree 业务相关联的可以通信的 PE设备间的 VLAN映射, 即为了实现图 1所示的方法, 本发明 实施例提出了如下的技术方案:
E-Tree业务相关联的 PE (例如图 2中的 PE1和 PE2 ) 设备交换 BGP信令消息, 该
BGP信令消息中可以包含有 PE设备的叶子 PE属性信息、 VLAN映射能力指示信息及本地 VLAN信息; 其中, 叶子 PE属性信息用于指示 PE设备是否为叶子 PE设备, VLAN映射能 力指示信息用于指示 PE设备是否具有 VLAN映射能力 (即, 它是否能够对以太网帧进行
VLAN映射), 而 VLAN信息则包括 PE设备上的根 VLAN信息和叶子 VLAN信息; 之后, PE 设备便可以根据自身的叶子 PE属性信息、 VLAN映射能力指示信息及 VLAN信息以及从对 端 PE设备接收到的对端 PE设备的叶子 PE属性信息、 VLAN映射能力指示信息及 VLAN 信息来确定是否禁止本地 PE设备与对端 PE设备之间的伪线连接, 以及确定自身是否需 要执行 VLAN映射。
在 E-Tree业务相关的每个 PE设备遵循现有的基于 BGP协议构建 VPLS网络时, 在 BGP的协议流程下, 每个 E-Tree业务相关的 PE设备之间可以互相交换 BGP消息, 该 BGP消息包含有 PE设备的 VPN标识等信息, 然后 BGP协议再根据交换的 BGP消 息在两个 PE之间建立一条 PW。参见图 3, 一种通过扩展 BGP协议来实现以太树业务的 方法, 具体包括如下操作:
步骤 201 : PE设备获取对端 PE设备的叶子 PE属性信息, 本发明实施例中, 叶子 PE 属性信息用于指示 PE设备是否为叶子 PE设备, 本发明实施例中, 当 PE设备所连接的 所有 E-Tree节点均为叶子节点时, 该 PE设备就是叶子 PE设备, 否则, 当该 PE设备所 连接的 E-Tree节点中有至少一个根节点时, 该 P E设备就是非叶子 PE设备;
本发明实施例中, PE设备获取对端 PE设备的叶子 PE属性信息包括:
PE设备接收对端 PE设备发送的携带有对端 PE设备的叶子 PE属性信息的二层相关 信息, 解析所接收到的二层相关信息得到对端 PE设备的叶子 PE属性信息, 所述二层相 关信息具体是指扩展的 BGP协议的二层相关信息;
本发明实施例中, VPLS网络内 E-Tree业务相关联的 PE设备可以通过扩展 BGP协议 的二层相关信息来相互通知自身的叶子 PE属性信息等 E-Tree属性信息,其中,上述 BGP 协议的二层相关信息具体可以是扩展的 Layer2 Info Extended Community (二层相关信 息)。
其中, BGP协议原有的 Layer2 Info Extended Community 的消息格式可以参见图 4a, 它包括 2字节的 Extended community type (扩展类型)、 1字节的 Encaps Type (封 装类型)、 1字节的 Control Flags (控制标识)、 2字节的 Layer_2 MTU (最大传输单元) 和 2字节的 Reserved (保留字段)。
本发明实施例中, 可以对图 4a所示的现有的 Layer2 Info Extended Community进 行扩展, 得到携带有 PE 设备的叶子 PE 属性信息的扩展的 Layer2 Info Extended Commimity。
另外, 还可以将图 4a所示的现有的 Layer2 Info Extended Community信息进行扩 展, 使得扩展后的 Layer2 Info Extended Community信息除了可以携带有 PE设备的叶
子 PE属性信息外, 还可以携带 PE设备的 VLAN映射能力指示信息及 VLAN信息; 其中, PE设备的 VLAN映射能力指示信息用于指示该 PE设备是否具有 VLAN映射能力, 当 PE 设备具有 VLAN映射能力时, PE设备才可以配置本地 PE设备上 VLAN与对端 PE设备上 VLAN间的对应关系, VLAN信息包括 PE设备的根 VLAN信息和叶子 VLAN信息。
具体地, 扩展的 Layer2 Info Extended Community的消息格式可以参见图 4b, 该 扩展的 Layer2 Info Extended Community在 Control Flags字段中定义一个设备标识, 该设备标识具体可以为 Control Flags字段中的一个比特位 P, 该比特位 P用于指示 PE 设备是否为叶子 PE 设备, 例如, P 为 1 则表示发送该扩展 Layer2 Info Extended Community的 PE设备为叶子 PE设备, P为 0则表示发送该扩展 Layer2 Info Extended Community的 PE设备为非叶子 PE设备。
进一步地,参见图 4b,该扩展的 Layer2 Info Extended Community还可以在 Control Flags 字段中定义一个映射能力指示信息, 该映射能力指示信息具体可以是 Control Flags字段中的一个比特位 V, 该比特位 V用于指示 PE设备是否具有 VLAN映射能力, 例如, V为 1则表示发送该扩展 Layer2 Info Extended Community的 PE设备具有 VLAN 映射能力, V为 0则表示发送该 Layer2 Info Extended Community的 PE设备不具有 VLAN 映射能力。
另外, 参见图 4b, 该 Control Flags字段中还定义有一个控制字标识, 该控制字标 识具体可以是 Control Flags字段中的一个比特位 C, 该比特位 C用于标记伪线分组中 是否带控制字, 若 C为 1时则标识伪线分组中带控制字, C为 0时则标识伪线分组中不 带控制字;
参见图 4b, 该 Control Flags字段中还定义有一个标识字, 该标识字具体可以是 Control Flags字段中的一个比特位 S, 该比特位 S标记数据平面分组是否按序递送帧, 若 S为 1则表示数据平面分组是按序传递的, 若 S为 0标识数据平面分组不是按序递送 的。
需要说明的是, 参见图 4b, Control Flags字段中除了上述已定义的比特位 P、 V、
C和 S外, 该 Control Flags字段中的其他比特位必须置零。
进一步地,参见图 4b,该扩展的 Layer2 Info Extended Community还可以在 Layer2 Info Extended Community的基础上, 在 Layer2 MTU字段之后, 进一步定义根虚拟局 域网 Root VLAN和叶子虚拟局域网 Leaf VLAN两个长度为两个字节的字段, 该 Root VLAN 禾 P Leaf VLAN字段分别用于通告 PE的 Root VLAN信息和 Leaf VLAN信息。
需要指明的是, 以上扩展的二层相关信息中的各字段的名称和出现顺序可以有所不
同, 并不能改变本发明的实质。
步骤 202 : PE设备根据对端 PE设备的叶子 PE属性信息确定对端 PE设备是否为叶 子 PE设备,
当对端 PE设备的叶子 PE属性信息指示对端 PE设备为叶子 PE设备时,执行步骤 203 ; 当对端 PE设备的叶子 PE属性信息指示对端 PE设备为非叶子 PE设备时,执行步骤
205;
步骤 203 : PE设备确定自身是否为叶子 PE设备,
当自身为叶子 PE设备时, 执行步骤 204;
当自身为非叶子 PE设备时, 执行步骤 205 ;
本发明实施例中, PE设备确定自身是否为叶子 PE设备包括:
PE设备可以在 VPLS网络构建时, 将 PE设备的叶子 PE属性信息存储到 PE设备中, 这样, PE设备便可以根据预先存储的叶子 PE属性信息来确定自身是否为叶子 PE设备; 或者
PE设备可以实时根据自身连接的各个 E-Tree节点的属性来确定自己的叶子 PE属 性, 如果 PE设备自身未连接有根节点, 则该 PE设备判定自身是叶子 PE设备, 如果 PE 设备自身连接有根节点, 则该 PE设备判定自身不是叶子 PE设备。
步骤 204: PE设备停止在与对端 PE设备间建立的伪线上收发以太网帧, 操作流程 结束;
本步骤在具体实现时, PE设备设置与对端 PE设备间的伪线的属性标识位以指示伪 线不可用, 例如将与对端 PE设备间的伪线的标识位设置为 Down, 停止在该伪线上收发 以太网帧;
这样, 虽然两个 E-Tree业务相关的叶子 PE设备之间建立有伪线, 但是该伪线不可 用, 那么, 两个 E-Tree业务相关联的叶子 PE设备便不能通过该伪线进行以太网帧的收 发, 从而对这两个叶子 PE设备进行了有效隔离。
步骤 205 : PE设备获取对端 PE设备的 VLAN映射能力指示信息及 VLAN信息, 其中, 对端 PE设备的 VLAN信息包括对端 PE的根 VLAN信息和叶子 VLAN信息;
本发明实施例中, PE设备获取对端 PE设备的 VLAN映射能力指示信息及 VLAN信息 包括:
接收对端 PE设备所发送的携带有所述对端 PE设备的 VLAN映射能力指示信息及 VLAN信息的二层相关信息,解析接收到的二层相关信息得到对端 PE设备的 VLAN映射能 力指示信息及 VLAN信息;
由步骤 201中对扩展的二层相关信息的描述可以知道, E-Tree业务相关联的 PE设 备可以通过扩展的二层相关信息来相互通知自身的 VLAN映射能力指示信息及 VLAN信 息, 那么, PE设备在接收到对端 PE设备发送的扩展的二层相关信息后, 就可以解析扩 展的二层相关信息得到对端 PE设备的 VLAN映射能力指示信息及 VLAN信息。
需要指明的是, 以上所述的扩展的二层相关信息中各字段的名称和出现顺序可以有 所不同, 并不能改变本发明的实质。
步骤 206: PE设备根据自身的 VLAN映射能力指示信息及 VLAN信息和对端 PE设备 的 VLAN映射能力指示信息及 VLAN信息, 确定是否启用本地 VLAN映射功能。
本步骤具体包括如下操作:
步骤 206-1: PE设备比较对端 PE设备的 VLAN信息是否与本地 PE设备的 VLAN信息 一致,
当对端 PE设备的 VLAN信息与自身的 VLAN信息不一致时, 执行步骤 206-2;
当对端 PE设备的 VLAN信息与自身的 VLAN信息一致时,不启用本地 VLAN映射功能, 操作流程结束;
步骤 206-2: PE设备根据本地 PE设备的 VLAN映射能力指示信息来确定本地 PE设 备是否具有 VLAN映射能力,
当本地 PE设备不具有 VLAN映射能力时, 不启用本地 VLAN映射功能, 操作流程结 束;
当本地 PE设备具有 VLAN映射能力时, 执行步骤 206-3;
步骤 206-3: PE设备根据对端 PE设备的 VLAN映射能力指示信息确定对端 PE设备 是否具有 VLAN映射能力,
当对端 PE设备具有 VLAN映射能力时, 执行步骤 206-4;
当对端 PE设备不具有 VLAN映射能力时, 确定启用本地 VLAN映射功能, 操作流程 结束;
步骤 206-4: PE设备判断本地 PE设备的节点 ID是否小于预先获取的对端 PE设备 的节点 ID,
如果本地 PE设备的节点 ID小于对端 PE设备的节点 ID,则确定启用本地 VLAN映射 功能, 操作流程结束;
如果本地 PE设备的节点 ID不小于对端 PE设备的节点 ID,则不启用本地 VLAN映射 功能, 操作流程结束;
其中, 本发明实施例中节点 ID具体可以是 PE设备的 IP地址。
通过获取对端运营商边缘 PE设备的叶子 PE属性信息, 当对端 PE设备的叶子 PE属 性信息指示对端 PE设备为叶子 PE设备, 且本地 PE设备为叶子 PE设备时,, 则停止在 通过 BGP协议与对端 PE设备间已经建立的伪线上收发以太网帧, 从而实现 E-Tree业务 下 VPLS的叶子 PE之间的有效隔离, 并可以兼容现有的基于 BGP协议而构建的 VPLS网 络。
本发明实施例中, PE设备启用 VLAN映射功能, 以便在接收或者发送以太网帧时, 将以太网帧内部的 VLAN信息进行替换, 例如, 将以太帧首部中的本地的根 VLAN或叶子 VLAN替换为对端的根 VLAN或叶子 VLAN, 或者将以太帧首部中的对端的根 VLAN或叶子 VLAN替换为本地的根 VLAN或叶子 VLAN。
下面简单的介绍一下, PE设备在启用本地 VLAN映射功能, 当接收或者发送以太网 帧时进行的操作:
PE设备在接收到对端 PE设备发送的以太网帧后,将该以太网帧内的对端 VLAN信息 映射替换为本地 PE设备对应的 VLAN信息;
PE设备在发送以太网帧到对端 PE设备时,将该以太网帧内的本地 VLAN信息映射替 换为对端 PE设备所对应的对端 VLAN信息。
这样, 通过获取对端 PE设备的 VLAN映射能力指示信息及 VLAN信息, 并根据本地 PE设备的 VLAN映射能力指示信息及 VLAN信息和对端 PE设备的 VLAN映射能力指示信息 及 VLAN信息, 确定是否启用本地 VLAN映射功能的技术方案的实现, 可以解决是否进行 VLAN映射的问题。
上述技术方案使得在数据平面上可以保证与以太网 E-Tree业务的兼容性, 并且不 需修改以太网及 VSI的转发平面。 下面结合具体实施例给出另一种在 PE间在交换 BGP消息并同时为 E-Tree动态建立 PW的方法, 它也可以实现 E-Tree业务的叶子 PE之间的隔离。 参见图 5, 一种实现以太 树业务的方法, 具体包括如下操作:
步骤 301 : PE设备获取对端 PE设备的叶子 PE属性信息, 本发明实施例中, 叶子 PE 属性信息用于指示 PE设备是否为叶子 PE设备;
本发明实施例中, PE设备获取对端 PE设备的叶子 PE属性信息包括:
接收对端 PE设备发送的携带有所述对端 PE设备的叶子 PE属性信息的 BGP网络层 可达性信息,解析所接收到的 BGP网络层可达性信息得到对端 PE设备的叶子 PE属性信 息。
本发明实施例中, VPLS网络内 E-Tree业务相关联的 PE设备通过扩展 BGP协议的网 络层可达性信息 (英文: Network Layer Reachability Information, 简称: NLRI ) 来 互相通知自身的节点 ID及叶子 PE属性信息等信息。
其中, NLRI信息的消息格式可以参见图 6a, 它包括 2字节的 Length (长度)信息、 8字节的 Route Distinguisher (路由标识或者地址修饰符) 信息、 2字节的 VE ID (PE 设备的 ID)信息、 2字节的 VE Block Offset (标签块的偏移量)信息、 2字节的 VE Block Size (标签块的大小) 信息及 2字节的 Label Base (标签基底) 信息。
本发明实施例中, 可以将上述 NLRI信息进行扩展, 得到携带 PE设备的叶子 PE属 性信息的扩展 NLRI ;具体地,扩展的 NLRI信息的消息格式可以参见图 6b,该扩展的 NLRI 信息在 NLRI信息的基础上, 在 Label Base字段之后, 定义了一个 1字节的 Flag (标志 字), 并在该 Flag字段中进一步地定义一个比特位 P,该比特位 P用于指示 PE设备是否 为叶子 PE设备, 例如, P为 1则表示发送该扩展 NLRI信息的 PE设备为叶子 PE设备, P 为 0则表示发送该扩展 NLRI信息的 PE设备为非叶子 PE设备。
以上扩展的 NLRI中的各字段的出现顺序可以有所不同, 并不能改变本发明的实质。 步骤 302: PE设备根据对端 PE设备的叶子 PE属性信息确定对端 PE设备是否为叶 子 PE设备,
当对端 PE设备的叶子 PE属性信息指示对端 PE设备为叶子 PE设备时,执行步骤 303; 当对端 PE设备的叶子 PE属性信息指示对端 PE设备为非叶子 PE设备时,执行步骤
305;
步骤 303: PE设备确定自身是否为叶子 PE设备,
当自身为叶子 PE设备时, 执行步骤 304;
当自身为非叶子 PE设备时, 执行步骤 305;
PE设备确定自身是否为叶子 PE设备的方法与步骤 203中所述的方法相同, 此处就 不再赘述。
步骤 304: PE设备禁止建立本地 PE设备与所述对端 PE设备间的伪线, 操作流程结 束;
这样, 两个 E-Tree业务相关的叶子 PE设备将不会建立伪线, 那么, E_Tree业务相 关联的两个叶子 PE设备便不能进行以太网帧的收发, 从而对两个叶子 PE设备进行了有 效隔离。
步骤 305: PE设备获取对端 PE设备的 VLAN映射能力指示信息及 VLAN信息, 其中, 对端 PE设备的 VLAN信息包括对端 PE的根 VLAN信息和叶子 VLAN信息;
本发明实施例中, PE设备获取对端 PE设备的 VLAN映射能力指示信息及 VLAN信息 包括:
接收对端 PE设备发送的携带有所述对端 PE设备的 VLAN映射能力指示信息及 VLAN 信息二层相关信息,解析接收到的二层相关信息得到对端 PE设备的 VLAN映射能力指示 信息及 VLAN信息;
本发明实施例中携带有所述对端 PE设备的 VLAN映射能力指示信息及 VLAN信息二 层相关信息具体可以是扩展 BGP的 Layer2 Info Extended Community (二层相关信息), 那么, VPLS网络内 E-Tree业务相关联的各 PE设备便可以通过该扩展的 Layer2 Info Extended Community信息来相互通知自身的 VLAN映射能力指示信息及 VLAN信息。
其中, Layer2 Info Extended Community的消息格式可以参见图 4a, 步骤 201中 已对 Layer2 Info Extended Community进行了详细说明, 此处就不再赘述。
本发明实施例中, 还可以将图 4a所示的现有的 Layer2 Info Extended Community 信息进行扩展,得到包含 PE设备的 VLAN映射能力指示信息及 VLAN信息的扩展的 Layer2 Info Extended Community信息; 其中, PE设备的 VLAN映射能力指示信息用于指示该 PE设备是否具有 VLAN映射能力, 当 PE设备具有 VLAN映射能力时,该 PE设备才可以配 置本地 PE设备上 VLAN与对端 PE设备上 VLAN间对应关系, VLAN信息给出 PE设备的根 VLAN信息和叶子 VLAN信息。
具体地, 扩展 BGP的 Layer2 Info Extended Community信息的消息格式可以参见 图 7, 与图 4b相比, 图 7中扩展的 Layer2 Info Extended Community信息不需要携带 设备标 i只, 即标志位 P, 在 Layer2 Info Extended Community的 Layer2 MTU字段之后, 定义了 Root VLAN和 Leaf VLAN两个长度为两个字节的字段, 该 Root VLAN和 Leaf VLAN 字段则分别用于通告 PE的 Root VLAN信息和 Leaf VLAN信息。
需要指明的是, 以上所述的扩展的二层相关信息中各字段的出现顺序可以有所不 同, 并不能改变本发明的实质。
步骤 306: PE设备根据自身的 VLAN映射能力指示信息及 VLAN信息和对端 PE设备 的 VLAN映射能力指示信息及 VLAN信息, 确定是否启用本地 VLAN映射功能。
有关本步骤的详细说明请参见步骤 206, 此处就不再赘述。
通过获取对端运营商边缘 PE设备的叶子 PE属性信息, 当对端 PE设备的叶子 PE属 性信息指示对端 PE设备为叶子 PE设备, 且本地 PE设备为叶子 PE设备时, 如果未通过 BGP协议与对端 PE设备间建立有伪线, 则不与对端 PE设备建立伪线, 从而实现 E-Tree 业务下叶子节点间的有效隔离, 进而实现 VPLS网络下的通用 E-Tree业务。
这样, 通过获取对端 PE设备的 VLAN映射能力指示信息及 VLAN信息, 并根据本地 PE设备的 VLAN映射能力指示信息及 VLAN信息和对端 PE设备的 VLAN映射能力指示信息 及 VLAN信息, 确定是否启用本地 VLAN映射功能的技术方案的实现, 可以解决是否进行 VLAN映射的问题。
上述技术方案使得在数据平面上可以保证与以太网 E-Tree业务的兼容性, 并且不 需修改以太网及 VSI的转发平面。
本发明实施例进一步提供了一种运营商边缘 PE设备, 用于实现本发明的上述各方 法实施例。 参见图 8, 该设备包括: 第一获取模块 401和执行模块 402 ;
第一获取模块 401, 用于获取对端运营商边缘 PE设备的叶子 PE属性信息, 所述叶 子 PE属性信息用于指示 PE设备是否为叶子 PE设备;
执行模块 402, 用于当对端 PE设备的叶子 PE属性信息指示对端 PE设备为叶子 PE 设备, 且本地 PE设备为叶子 PE设备时, 禁止本地 PE设备与对端 PE设备之间的伪线连 接。
具体地, 第一获取模块 401包括:
第一获取单元,用于接收所述对端 PE设备发送的携带有所述对端 PE设备的叶子 PE 属性信息的二层相关信息,解析所述二层相关信息得到所述对端 PE设备的叶子 PE属性 信息; 或者
第二获取单元,用于接收所述对端 PE设备发送的携带有所述对端 PE设备的叶子 PE 属性信息的网络层可达性信息, 解析所述网络层可达性信息得到所述对端 PE设备的叶 子 PE属性信息。
执行模块 402, 具体用于如果本地 PE设备与对端 PE设备间已通过边界网关协议建 立有伪线时,停止在所述伪线上收发以太网帧或者用于如果本地 PE设备未与对端 PE设 备间通过边界网关协议建立伪线时, 禁止建立与对端 PE设备间的伪线。
参见图 9, 本发明实施例中, 图 8所示的运营商边缘设备还包括:
第二获取模块 403,用于当对端 PE设备的叶子 PE属性信息指示对端 PE设备为非叶 子 PE设备时, 获取对端 PE设备的虚拟局域网 VLAN映射能力指示信息及 VLAN信息; 确定模块 404,用于根据本地 PE设备的 VLAN映射能力指示信息及 VLAN信息和对端 PE设备的 VLAN映射能力指示信息及 VLAN信息, 确定是否启用本地 VLAN映射功能。
其中, 第二获取模块 403, 具体用于接收所述对端 PE设备发送的携带有所述对端 PE设备的 VLAN映射能力指示信息及 VLAN信息的二层相关信息,解析所述二层相关信息 得到所述对端 PE设备的 VLAN映射能力指示信息及 VLAN信息。
确定模块 404具体用于当对端 PE设备的 VLAN信息与本地 PE设备的 VLAN信息不一 致、本地 PE设备的 VLAN映射能力指示信息指示本地 PE设备具有 VLAN映射能力且对端 PE设备的 VLAN映射能力指示信息指示对端 PE设备不具有 VLAN映射能力时, 确定启用 本地 VLAN映射功能; 或者
用于当对端 PE设备的 VLAN信息与本地 PE设备的 VLAN信息不一致、 本地 PE设备 的 VLAN映射能力指示信息指示本地 PE设备具有 VLAN映射能力且对端 PE设备的 VLAN 映射能力指示信息指示对端 PE设备具有 VLAN映射能力时, 判断本地 PE设备的节点 ID 是否小于预先获取的对端 PE设备的节点 ID, 如果本地 PE设备的节点 ID小于对端 PE 设备的节点 ID, 确定启用本地 VLAN映射功能。
本发明实施例通过获取对端运营商边缘 PE设备的叶子 PE属性信息, 对端 PE设备 的叶子 PE属性信息指示对端 PE设备为叶子 PE设备, 且本地 PE设备的叶子 PE属性信 息指示本地 PE设备为叶子 PE设备时, 在已通过 BGP协议与对端 PE设备间建立有伪线 的时候, 停止在伪线上收发以太网帧, 或者在未通过 BGP协议与对端 PE设备间建立有 伪线的时候, 则不与对端 PE设备建立伪线, 从而实现 E-Tree业务下叶子节点间的有效 隔离, 进而实现 VPLS网络下的通用 E-Tree业务。
另外, 通过获取对端 PE设备的 VLAN映射能力指示信息及 VLAN信息, 并根据本地 PE设备的 VLAN映射能力指示信息及 VLAN信息和对端 PE设备的 VLAN映射能力指示信息 及 VLAN信息, 确定是否执行配置本地 PE设备上 VLAN与对端 PE设备上 VLAN间对应关 系的操作的技术方案的实现, 可以解决是否进行 VLAN映射的问题。
上述实施例中的 VLAN可以是 IEEE 802. 1系列标准中定义的 C-VLAN, S-VLAN, Q_in_Q
VLAN或者 B-VLAN。
上述技术方案使得在数据平面上可以保证与以太网 E-Tree业务的兼容性, 并且不 需修改以太网及 VSI的转发平面。 本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来 完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读 存储介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。 以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原 则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。
Claims
1、 一种实现以太树业务的方法, 其特征在于, 所述方法包括:
获取对端运营商边缘 PE设备的叶子 PE属性信息, 所述叶子 PE属性信息用于指示 PE设备是否为叶子 PE设备;
当所述对端 PE设备的叶子 PE属性信息指示对端 PE设备为叶子 PE设备,且本地 PE 设备为叶子 PE设备时, 禁止本地 PE设备与所述对端 PE设备之间的伪线连接。
2、 根据权利要求 1所述的方法, 其特征在于, 所述获取对端运营商边缘 PE设备的 叶子 PE属性信息包括:
接收所述对端 PE设备发送的携带有所述对端 PE设备的叶子 PE属性信息的二层相 关信息, 解析所述二层相关信息得到所述对端 PE设备的叶子 PE属性信息; 或者
接收所述对端 PE设备发送的携带有所述对端 PE设备的叶子 PE属性信息的网络层 可达性信息, 解析所述网络层可达性信息得到所述对端 PE设备的叶子 PE属性信息。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 如果所述本地 PE设备与所述对 端 PE设备间已通过边界网关协议建立有伪线, 所述禁止本地 PE设备与所述对端 PE设 备之间的伪线连接包括:
停止在所述伪线上收发以太网帧。
4、 根据权利要求 1或 2所述的方法, 其特征在于, 如果所述本地 PE设备未与所述 对端 PE设备间通过边界网关协议建立伪线,所述禁止与所述对端 PE设备之间的伪线连 接包括:
禁止建立本地 PE设备与所述对端 PE设备间的伪线。
5、 根据权利要求 1或 2所述的方法, 其特征在于, 当所述对端 PE设备的叶子 PE 属性信息指示对端 PE设备为非叶子 PE设备时, 所述方法还包括:
获取对端 PE设备的虚拟局域网 VLAN映射能力指示信息及 VLAN信息;
根据本地 PE设备的 VLAN映射能力指示信息,及 VLAN信息和所述对端 PE设备的 VLAN 映射能力指示信息及 VLAN信息, 确定是否执启用本地 VLAN映射功能。
6、 根据权利要求 5所述的方法, 其特征在于, 所述获取对端 PE设备的虚拟局域网 VLAN映射能力指示信息及 VLAN信息包括:
接收所述对端 PE设备发送的携带有所述对端 PE设备的 VLAN映射能力指示信息及 VLAN信息的二层相关信息,解析所述二层相关信息得到所述对端 PE设备的 VLAN映射能 力指示信息及 VLAN信息。
7、 根据权利要求 5所述的方法, 其特征在于, 所述根据本地 PE设备的 VLAN映射 能力指示信息,及 VLAN信息和所述对端 PE设备的 VLAN映射能力指示信息及 VLAN信息, 确定是否启用本地 VLAN映射功能包括:
当所述对端 PE设备的 VLAN信息与本地 PE设备的 VLAN信息不一致、 本地 PE设备 的 VLAN映射能力指示信息指示所述本地 PE设备具有 VLAN映射能力且所述对端 PE设备 的 VLAN映射能力指示信息指示对端 PE设备不具有 VLAN映射能力时,确定启用本地 VLAN 映射功能; 或
当所述对端 PE设备的 VLAN信息与所述本地 PE设备的 VLAN信息不一致、所述本地 PE设备的 VLAN映射能力指示信息指示所述本地 PE设备具有 VLAN映射能力且所述对端 PE设备的 VLAN映射能力指示信息指示所述对端 PE设备具有 VLAN映射能力时, 判断所 述本地 PE设备的节点 ID是否小于预先获取的所述对端 PE设备的节点 ID, 如果所述本 地 PE设备的节点 ID小于所述对端 PE设备的节点 ID, 确定启用本地 VLAN映射功能。
8、 一种运营商边缘设备, 其特征在于, 所述设备包括: 第一获取模块和执行模块; 所述第一获取模块, 用于获取对端运营商边缘 PE设备的叶子 PE属性信息, 所述叶 子 PE属性信息用于指示 PE设备是否为叶子 PE设备;
所述执行模块, 用于当所述对端 PE设备的叶子 PE属性信息指示对端 PE设备为叶 子 PE设备, 且本地 PE设备为叶子 PE设备时, 禁止本地 PE设备与所述对端 PE设备之 间的伪线连接。
9、 根据权利要求 8所述的设备, 其特征在于, 所述第一获取模块包括: 第一获取单元,用于接收所述对端 PE设备发送的携带有所述对端 PE设备的叶子 PE 属性信息的二层相关信息,解析所述二层相关信息得到所述对端 PE设备的叶子 PE属性 信息; 或者
第二获取单元,用于接收所述对端 PE设备发送的携带有所述对端 PE设备的叶子 PE 属性信息的网络层可达性信息, 解析所述网络层可达性信息得到所述对端 PE设备的叶 子 PE属性信息。
10、 根据权利要求 8或 9所述的设备, 其特征在于, 所述执行模块, 具体用于如果 所述本地 PE设备与所述对端 PE设备间已通过边界网关协议建立有伪线,停止在所述伪 线上收发以太网帧。
11、 根据权利要求 8或 9所述的设备, 其特征在于, 所述执行模块, 具体用于如果 所述本地 PE设备未与所述对端 PE设备间通过边界网关协议建立伪线,禁止建立本地 PE 设备与所述对端 PE设备间的伪线。
12、 根据权利要求 8或 9所述的设备, 其特征在于, 所述设备还包括: 第二获取模 块, 用于当所述对端 PE设备的叶子 PE属性信息指示对端 PE设备为非叶子 PE设备时, 获取对端 PE设备的虚拟局域网 VLAN映射能力指示信息及 VLAN信息;
确定模块, 用于根据本地 PE设备的 VLAN映射能力指示信息, 及 VLAN信息和所述 对端 PE设备的 VLAN映射能力指示信息及 VLAN信息,确定是否启用本地 VLAN映射功能。
13、 根据权利要求 10所述的设备, 其特征在于, 所述第二获取模块, 具体用于接 收所述对端 PE设备发送的携带有所述对端 PE设备的 VLAN映射能力指示信息及 VLAN信 息二层相关信息,解析所述二层相关信息得到所述对端 PE设备的 VLAN映射能力指示信 息及 VLAN信息。
14、 根据权利要求 10所述的设备, 其特征在于, 所述确定模块包括:
第一确定单元,用于当所述对端 PE设备的 VLAN信息与本地 PE设备的 VLAN信息不 一致、本地 PE设备的 VLAN映射能力指示信息指示所述本地 PE设备具有 VLAN映射能力 且所述对端 PE设备的 VLAN映射能力指示信息指示对端 PE设备不具有 VLAN映射能力时, 确定启用本地 VLAN映射功能; 或
第二确定单元,用于当所述对端 PE设备的 VLAN信息与所述本地 PE设备的 VLAN信 息不一致、 所述本地 PE设备的 VLAN映射能力指示信息指示所述本地 PE设备具有 VLAN 映射能力且所述对端 PE设备的 VLAN映射能力指示信息指示所述对端 PE设备具有 VLAN 映射能力时, 判断所述本地 PE设备的节点 ID是否小于预先获取的所述对端 PE设备的 节点 ID, 如果所述本地 PE设备的节点 ID小于所述对端 PE设备的节点 ID, 确定启用本 地 VLAN映射功能。
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| ES12861386.6T ES2607651T3 (es) | 2011-12-30 | 2012-07-26 | Método para implementar árbol ethernet y dispositivo periférico de proveedor |
| EP12861386.6A EP2787690B1 (en) | 2011-12-30 | 2012-07-26 | Method for achieving e-tree service and provider edge device |
| US14/319,306 US9680769B2 (en) | 2011-12-30 | 2014-06-30 | Method for implementing E-tree service and provider edge device |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110455729.4A CN103188123B (zh) | 2011-12-30 | 2011-12-30 | 实现以太树业务的方法及运营商边缘设备 |
| CN201110455729.4 | 2011-12-30 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/319,306 Continuation US9680769B2 (en) | 2011-12-30 | 2014-06-30 | Method for implementing E-tree service and provider edge device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2013097453A1 true WO2013097453A1 (zh) | 2013-07-04 |
Family
ID=48679094
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2012/079164 Ceased WO2013097453A1 (zh) | 2011-12-30 | 2012-07-26 | 实现以太树业务的方法及运营商边缘设备 |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US9680769B2 (zh) |
| EP (1) | EP2787690B1 (zh) |
| CN (1) | CN103188123B (zh) |
| ES (1) | ES2607651T3 (zh) |
| WO (1) | WO2013097453A1 (zh) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102769561B (zh) * | 2012-06-28 | 2015-05-27 | 华为技术有限公司 | 在业务保护方案中减少丢包的方法和系统 |
| CN103457820B (zh) | 2013-08-27 | 2018-06-26 | 华为技术有限公司 | 分层虚拟专用局域网服务的实现方法及装置 |
| US9804880B2 (en) * | 2015-06-16 | 2017-10-31 | Vmware, Inc. | Reservation for a multi-machine application |
| CN107800549B (zh) * | 2016-08-30 | 2020-01-03 | 新华三技术有限公司 | 基于交换设备的端口实现多租户设备环境mdc的方法和装置 |
| CN106411732B (zh) * | 2016-09-07 | 2020-11-20 | 新华三技术有限公司 | 一种报文转发方法及装置 |
| US11792044B2 (en) * | 2020-01-03 | 2023-10-17 | Nokia Solutions And Networks Oy | Offset label for aggregating multicasts from multiple virtual private networks on a single multicast distribution tree |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101505227A (zh) * | 2009-03-11 | 2009-08-12 | 华为技术有限公司 | 一种实现点到多点伪线的方法、设备和系统 |
| CN102170385A (zh) * | 2010-02-27 | 2011-08-31 | 华为技术有限公司 | 一种以太树业务中以太网帧的发送方法和运营商边缘设备 |
| CN102238028A (zh) * | 2011-05-04 | 2011-11-09 | 福建星网锐捷网络有限公司 | 以太网根基多点服务实现方法、系统、装置及网络设备 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8213435B2 (en) * | 2005-04-28 | 2012-07-03 | Cisco Technology, Inc. | Comprehensive model for VPLS |
| US8611347B2 (en) * | 2010-05-25 | 2013-12-17 | Juniper Networks, Inc. | Point-to-multipoint service in a layer two ethernet network |
| US8724629B1 (en) * | 2011-06-13 | 2014-05-13 | Juniper Networks, Inc. | E-tree service having extended shared VLAN learning across VPLS network |
| US8619635B2 (en) * | 2011-06-29 | 2013-12-31 | Telefonaktiebolaget L M Ericsson (Publ) | E-tree using two pseudowires between edge routers with enhanced forwarding methods and systems |
-
2011
- 2011-12-30 CN CN201110455729.4A patent/CN103188123B/zh active Active
-
2012
- 2012-07-26 ES ES12861386.6T patent/ES2607651T3/es active Active
- 2012-07-26 WO PCT/CN2012/079164 patent/WO2013097453A1/zh not_active Ceased
- 2012-07-26 EP EP12861386.6A patent/EP2787690B1/en active Active
-
2014
- 2014-06-30 US US14/319,306 patent/US9680769B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101505227A (zh) * | 2009-03-11 | 2009-08-12 | 华为技术有限公司 | 一种实现点到多点伪线的方法、设备和系统 |
| CN102170385A (zh) * | 2010-02-27 | 2011-08-31 | 华为技术有限公司 | 一种以太树业务中以太网帧的发送方法和运营商边缘设备 |
| CN102238028A (zh) * | 2011-05-04 | 2011-11-09 | 福建星网锐捷网络有限公司 | 以太网根基多点服务实现方法、系统、装置及网络设备 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP2787690A4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103188123A (zh) | 2013-07-03 |
| US20140321472A1 (en) | 2014-10-30 |
| EP2787690A1 (en) | 2014-10-08 |
| EP2787690B1 (en) | 2016-09-14 |
| CN103188123B (zh) | 2017-04-19 |
| ES2607651T3 (es) | 2017-04-03 |
| EP2787690A4 (en) | 2014-11-19 |
| US9680769B2 (en) | 2017-06-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109218178B (zh) | 一种报文处理方法及网络设备 | |
| CN110635935B (zh) | 为用户接口的相应服务接口使用多个evpn路由 | |
| EP2541841B1 (en) | Method for sending ethernet frames in ethernet tree service and provider edge device | |
| CN102106122B (zh) | 用于以太网网络上的dsl用户标识的方法和系统 | |
| CN102171998B (zh) | 业务实例映射方法、装置和系统 | |
| CN103155518B (zh) | 多径传送控制协议代理 | |
| US7881314B2 (en) | Network device providing access to both layer 2 and layer 3 services on a single physical interface | |
| US8351325B2 (en) | Method and system for layer-2 pseudo-wire rapid-deployment service over unknown internet protocol networks | |
| WO2009021458A1 (en) | Method, apparatus and system for connecting layer2 network and layer3 network | |
| JP2014532368A (ja) | トラフィックエンジニアリングトンネルに基づく仮想プライベートネットワーク実行方法及びシステム | |
| JP2005341591A (ja) | 仮想プライベートネットワーク、マルチサービスプロビジョニングプラットフォーム及び方法 | |
| CN112422398B (zh) | 消息传输方法及通信装置 | |
| WO2013097453A1 (zh) | 实现以太树业务的方法及运营商边缘设备 | |
| WO2011054263A1 (zh) | 一种三层虚拟专用网(vpn)的接入方法和接入系统 | |
| WO2014044151A1 (zh) | Vpn实现方法和pe设备 | |
| EP3113422B1 (en) | Method and system of enhancing multiple mac registration protocol (mmrp) for protocol internetworking | |
| CN101047636B (zh) | 端到端伪线仿真虚拟租用线接入虚拟专用网的方法及系统 | |
| CN105553810A (zh) | 一种转发专线业务报文的方法及装置 | |
| WO2013117165A1 (zh) | 实现基于VPLS的E-tree业务的方法和节点 | |
| WO2008028383A1 (fr) | Procédé d'identification de protocole de couche 3 dans une interconnexion à supports hétérogènes dans un réseau privé virtuel de protocole l2 et appareil et système correspondants | |
| CN102340446A (zh) | VPLS网络中E-tree业务的实现方法及PE设备 | |
| CN112737951A (zh) | 一种公私网混合场景下端到端sr控制方法、系统和可读存储介质 | |
| CN115632932B (zh) | Pw主备arp表项信息同步的方法 | |
| WO2006094440A1 (fr) | Procede et dispositif d’echange de reseau local virtuel | |
| CN218920438U (zh) | 一种基于vxlan的互联网接入控制系统 |
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: 12861386 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| REEP | Request for entry into the european phase |
Ref document number: 2012861386 Country of ref document: EP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2012861386 Country of ref document: EP |