发明名称 INTEROPERATION OF SWITCH LINE CARD AND PROGRAMMABLE LINE CARD
摘要 When needing to forward a packet from a switch line card to a programmable line card, the switch line card may encapsulate a pseudo-Layer 2 header for the packet based on uplink forwarding process of the switch line card. The pseudo-Layer 2 header may carry an adjacency table index and an egress interface table index which is used by the programmable line card. Correspondingly, the programmable line card may obtain the adjacency table index and the egress interface table index from the pseudo-Layer 2 header of the packet, and then may re-encapsulate a real Layer 2 header for the packet based on downlink forwarding process of the programmable line card, and transmit the packet through a corresponding egress interface.
申请公布号 US2016112348(A1) 申请公布日期 2016.04.21
申请号 US201414893431 申请日期 2014.04.23
申请人 HANGZHOU H3C TECHNOLOGIES CO., LTD. 发明人 MENG Dan;ZHAO Yunfeng
分类号 H04L12/935;H04L12/46;H04L12/741 主分类号 H04L12/935
代理机构 代理人
主权项 1. A method for interoperating between a switch line card and a programmable line card, comprising: receiving a packet through an external interface of the switch line card, when a corresponding forward information base (FIB) entry is searched out in a FIB table of a switch chip of the switch line card, searching for, by the switch chip, an adjacency table entry and an egress interface entry, which are respectively a pseudo-adjacency table entry and a pseudo-egress interface entry when a downlink forwarding line card is a programmable line card; encapsulating, by the switch chip, an inter-board forwarding header and an Ethernet Layer 2 header for the packet, based on the adjacency table entry and the egress interface entry searched out, and forwarding the packet encapsulated to the downlink forwarding line card through a backboard, wherein the Ethernet Layer 2 header is a pseudo-Layer 2 header when the downlink forwarding line card is the programmable line card; identifying, by a programmable chip of the programmable line card the packet comes from an uplink switch line card, searching for a corresponding adjacency table entry and a corresponding egress interface entry; re-encapsulating, by the programmable chip, a Layer 2 header of a corresponding interface type for the packet, and transmitting the packet encapsulated through a corresponding external interface of the programmable line card.
地址 Hangzhou, Zhejiang CN