# US 2015/0146727 A1 · Forwarding Packets and PE Devices in VPLS

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0146727 A1
- Document ID: US20150146727A1
- Status: Published application
- Kind: A1
- Application number: 14/399,963
- Filed: 2013-09-17
- Published: 2015-05-28
- Earliest claimed: 2012-09-17
- Assignees: Hangzhou H3C Technologies Co., Ltd.
- Applicants: Hangzhou H3C Technologies Co., Ltd.
- Inventors: Jinrong Ye
- Web page: https://patentgrep.com/patent/US20150146727A1

## CPC

- H04L 12/462: {LAN interconnection over a bridge based backbone}
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 12/4641: {Virtual LANs, VLANs, e.g. virtual private networks [VPN] (LAN interconnection over a bridge based backbone H04L12/462; encapsulation techniques H04L12/4633; routing of packets H04L45/00; packet switches H04L49/00; virtual private networks for security H04L63/0272)}
- H04L 45/50: using label swapping, e.g. multi-protocol label switch [MPLS]
- H04L 45/66: {Layer 2 routing, e.g. in Ethernet based MAN's}
- H04L 45/745: Address table lookup; Address filtering
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method is provided for a first provider edge (PE) device to forward packets in a virtual private local area network service (VPLS) network. The VPLS network includes PE devices that are each connected by one or more attachment circuits (ACs) to one or more customer edge (CE) devices. The first PE device receives a unicast packet on a first AC, which is associated with a first virtual switch instance (VSI) on the first PE device. The first PE device searches, in a media access control (MAC) address table associated with the first VSI, for an entry that matches a MAC destination address carried in the packet. When a matching entry is not found for the MAC destination address, the first PE device only floods the unicast packet to other ACs associated with the first VSI.

## Claims

### Claim 1

A method for a first provider edge (PE) device to forward packets in a virtual private local area network service (VPLS) network, the VPLS network comprising a backbone network having a plurality of PE devices, each PE device being connected by one or more attachment circuits (ACs) to one or more customer edge (CE) devices, the method comprising:
the first PE device receiving a unicast packet on a first AC, the first AC being associated with a first virtual switch instance (VSI) on the first PE device;
the first PE device searching, in a media access control (MAC) address table associated with the first VSI, for an entry that matches a first MAC address carried in the unicast packet, the first MAC address being a MAC destination address; and
when a matching entry is not found for the first MAC address, the first PE device flooding the unicast packet to every AC, excluding the first AC, associated with the first VSI, and not flooding the unicast packet to the backbone network.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the VPLS network includes a first multipoint-to-multipoint label-switched path (MP2MP LSP) to connect the PE devices;
a pseudo wire (PW) is established between VSIs on every two PE devices and belonging to a same VPLS instance;
a unique VSI label is allocated to every VSI on each PE device, the VSI label corresponding to all inbound VC LSPs in PWs of the VSI; and
the method further comprises, after learning a second MAC address from the first AC, the first PE device sending a first notification packet over the first MP2MP LSP, the first notification packet carrying the second MAC address, a first VSI label corresponding to the first VSI, a VPLS ID of the VPLS instance corresponding to the first VSI, and a PE ID of the first PE device, wherein, based the first notification packet, other PE devices each add an entry to MAC address tables of corresponding VSIs that belong to the same VPLS instance as the first VSI.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
after a third MAC address in the MAC address table of the first VSI expires, the first PE device sending a cancellation message to the first MP2MP LSP, the cancellation message carrying the third MAC address, the VPLS ID of the VPLS associated with the first VSI, and the PE ID of the first PE device, wherein, based on the cancellation message, the other PE devices each delete another entry in the MAC address table of the corresponding VSIs that belong to the same VPLS instance as the first VSI.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
the first PE device receiving over the first MP2MP LSP a second notification packet from a second PE device, wherein the second notification packet carries a third MAC address that the second PE device learned from a second AC, a second VSI label corresponding to a second VSI on the second PE device, the VPLS ID of the VPLS instance of the first and the second VSIs, and a PE ID of the second PE device, the second AC being associated with the second VSI;
based on the VPLS ID carried in the second notification packet, the first PE device determining if there exists a VSI on the first PE device that belongs to the same VPLS instance as the second VSI; and
when the first PE device determines the first VSI belongs to the same VPLS instance as the second VSI, the first PE device creating another entry in the MAC address table corresponding to the first VSI, the other entry storing a relationship between the third MAC address, the second VSI label, and a selected tunnel, the selected tunnel being a tunnel selected for the second VSI from tunnels between the first PE device and the second PE device.

### Claim 5 (depends on 4)

The method of claim 4, the method further comprises:
the first PE device receiving over the first MP2MP LSP a cancellation packet sent by the second PE device after a fourth MAC address in the second MAC address table of the second VSI expires, wherein the cancellation packet carries the fourth MAC address, the VPLS ID of the VPLS instance associated with the second VSI, and the PE ID of the second PE device;
based on the VPLS ID carried in the cancellation packet, the first PE device determining if there exists a VSI on the first PE device that belongs to the same VPLS instance as the second VSI; and
when the first PE device determines the first VSI belongs to the same VPLS instance as the second VSI, the first PE device updating the MAC address table associated with the first VSI based on the cancellation packet to delete another entry corresponding to the fourth MAC address.

### Claim 6 (depends on 4)

The method of claim 4, further comprising:
when a matching entry is found for the first MAC address, the first PE using the VSI label and a tunnel label listed in the matching entry to encapsulate and forward the unicast packet.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
after receiving a MPLS packet from a PW, the first PE device removing another tunnel label and another VSI label from the MPLS packet;
determining the other VSI label is associated with another VSI on the first PE device; and
looking up and forwarding the MPLS packet based on another MAC address table associated with the other VSI.

### Claim 8 (depends on 2)

The method of claim 2, wherein:
the VPLS network includes a second MP2MP LSP to connect the PE devices that belong to the VPLS instance, the second MP2MP LSP to transmit broadcast packets; and
the method further comprises:
after receiving a broadcast packet on the first AC:
the first PE device determining the first AC is associated with the first VSI, and the VPLS instance of the first VSI is associated with the second MP2MP LSP; and
sending the broadcast packet through the second MP2MP LSP; and
after receiving another broadcast packet from the second MP2MP LSP:
the first PE device determining the VPLS instance of the first VSI is associated with the second MP2MP; and
broadcasting the other broadcast packet to all ACs associated with the first VSI and connect to local CE devices.

### Claim 9

A first provider edge (PE) device for use in a Virtual Private LAN Service (VPLS) network, comprising:
a receiving module to receive a unicast packet on a first attachment circuit (AC);
a searching module to search, in a media access control (MAC) address table corresponding to a first virtual switch instance (VSI) associated with the first AC, for an entry that matches a first MAC address carried in the unicast packet, the first MAC address being a MAC destination address of the unicast packet; and
a sending module to flood the unicast packet to every AC, excluding the first AC, associated with the first VSI when the searching module does not finds a matching entry.

### Claim 10

A first provider edge (PE) device for use in a Virtual Private LAN Service (VPLS) network having a first multipoint-to-multipoint label-switched path (MP2MP LSP) to connect PE devices, a pseudo wire (PW) established between VSIs on every two PE devices and belonging to a same VPLS instance, and a unique VSI label allocated to every VSI on each PE device where the VSI label corresponds to all inbound VC LSPs in PWs of the VSI, the first PE comprising:
a receiving module to receive a unicast packet on a first attachment circuit (AC);
a searching module to search, in a media access control (MAC) address table corresponding to a first virtual switch instance (VSI) associated with the first AC, for an entry that matches a first MAC address carried in the unicast packet, the first MAC address being a MAC destination address of the unicast packet; and
a sending module to:
flood the unicast packet to every AC, excluding the first AC, associated with the first VSI when the searching module does not finds a matching entry; and
, after learning a second MAC address from the first AC, send a first notification packet over the first MP2MP LSP, the first notification packet carrying the second MAC address, a first VSI label corresponding to the first VSI, a VPLS ID of the VPLS instance corresponding to the first VSI, and a PE ID of the first PE device, wherein, based the first notification packet, other PE devices each add an entry to MAC address tables of corresponding VSIs that belong to the same VPLS instance as the first VSI.

### Claim 11 (depends on 10)

The first PE device of claim 10, wherein:
said sending module is further to, after a third MAC address in the MAC address table of the first VSI expires, the first PE device sending a cancellation message to the first MP2MP LSP, the cancellation message carrying the third MAC address, the VPLS ID of the VPLS associated with the first VSI, and the PE ID of the first PE device, wherein, based on the cancellation message, the other PE devices each delete another entry in the MAC address table of the corresponding VSIs that belong to the same VPLS instance as the first VSI.

### Claim 12 (depends on 10)

The first PE device of claim 10, further comprising a determining module, a path data management module, and a forwarding data management module, wherein:
the receiving module is further to receive over the first MP2MP LSP a second notification packet from a second PE device, wherein the second notification packet carries a third MAC address that the second PE device learned from a second AC, a second VSI label corresponding to a second VSI on the second PE device, the VPLS ID of the VPLS instance of the first and the second VSIs, and a PE ID of the second PE device, the second AC being associated with the second VSI;
the determining module is to determine if there exists a VSI on the first PE device that belongs to the same VPLS instance as the second VSI;
the path data management module is to, when the determining module determines the first VSI belongs to the same VPLS instance as the second VSI, adding a relationship among the third MAC address, the second VSI label, and a selected tunnel to a path database on a control plane corresponding to the first VSI, the selected tunnel being a tunnel selected for the second VSI from tunnels between the first PE device and the second PE device; and
the forwarding data management module is to update the MAC address table corresponding to the first VSI based on the path database corresponding to the first VSI.

### Claim 13 (depends on 12)

The first PE device of claim 12, characterized in that,
the receiving module is further to receive over the first MP2MP LSP a cancellation packet sent by the second PE device after a fourth MAC address in the second MAC address table of the second VSI expires, wherein the cancellation packet carries the fourth MAC address, the VPLS ID of the VPLS instance associated with the second VSI, and the PE ID of the second PE device;
the determining module is further to, based on the VPLS ID carried in the cancellation packet, determine if there exists a VSI on the first PE device that belongs to the same VPLS instance as the second VSI; and
the path data management module is further to, when the determining module determines the first VSI belongs to the same VPLS instance as the second VSI, update the path database associated with the first VSI based on the cancellation packet to delete another entry corresponding to the fourth MAC address and notify the forwarding data management module to update the MAC address table associated with the first VSI based on the path database.

### Claim 14 (depends on 12)

The first PE device of claim 12, further comprising a tunnel label removing module and a VSI label removing module, wherein:
the receiving module is further to receive an MPLS message from a PW;
the tunnel label removing module is to remove another tunnel label from the MPLS packet;
the VSI label module is to remove another VSI label from the MPLS packet after the other tunnel label has been removed;
the sending module is further to determine the other VSI label is associated with another VSI on the first PE device, and look up and forward the MPLS packet based on another MAC address table associated with the other VSI.

### Claim 15 (depends on 10)

The first PE device of claim 10, wherein:
the VPLS network includes a second MP2MP LSP to connect the PE devices that belong to the VPLS instance, the second MP2MP LSP to transmit broadcast packets; and
the receiving module is further to receive a broadcast packet on the first AC; and
the sending module is further to:
after the receiving module receives the broadcast packet on the first AC:
determine the first AC is associated with the first VSI, and the VPLS instance of the first VSI is associated with the second MP2MP LSP; and
send the broadcast packet through the second MP2MP LSP; and
after receiving another broadcast packet from the second MP2MP LSP:
determine the VPLS instance of the first VSI is associated with the second MP2MP; and
broadcast the other broadcast packet to all ACs associated with the first VSI.
