Patent ID: 9654304
Date: 2017-05-16
CPC Classifications: H04L

Claim:
1. A method performed by a provider edge (PE) for sending a Transparent Interconnection of Lots of Links (TRILL) data frame, comprising: acquiring a first user virtual local area network (VLAN), or a combination of a first user VLAN and a first user multicast medium access control (MAC) address, in a first TRILL control frame received from a pseudo wire (PW) side of the PE; acquiring a first port identifier of first PW port receiving the first TRILL control frame; storing, in a forwarding table, a correspondence between the first user VLAN and the first port identifier or a correspondence between the combination of the first user VLAN and the first user multicast MAC address and the first port identifier; and searching, when a TRILL data frame is received from an attachment circuit (AC) side, according to a second user VLAN or a combination of the second user VLAN and the user multicast MAC address in the TRILL data frame, the forwarding table for a second port identifier corresponding to the VLAN or the combination of the user VLAN and the user multicast MAC address in the TRILL data frame, and forwarding the TRILL data frame from a second PW port corresponding to the second port identifier; and wherein the acquiring the first user VLAN or the combination of the first user VLAN and the first user multicast MAC address in the first TRILL control frame comprises the following: listening to a TRILL control frame comprising an interested VLAN and spanning tree roots subtype-length-value (Sub-TLV), and acquiring the first user VLAN from the TRILL control frame comprising the interested VLAN and spanning tree roots Sub-TLV; listening to a TRILL control frame comprising a multicast address Sub-TLV, and acquiring the combination of the first user VLAN and the first user multicast MAC address from the TRILL control frame comprising the multicast address Sub-TLV; listening to a TRILL control frame comprising a fine grained label Sub-TLV, and acquiring a label pair from the TRILL control frame comprising the fine grained label Sub-TLV to serve as the first user VLAN; and listening to a TRILL control frame comprising a fine grained label multicast address Sub-TLV, and acquiring a combination of a label pair and a user fine grained label multicast MAC address from the TRILL control frame comprising the fine grained label multicast address Sub-TLV to serve as the combination of the first user VLAN and the first user multicast MAC address.