摘要 |
When needing to forward a packet from a switch line card to a programmable line card,the switch line card may encapsulate a pseudo-Layer2header for the packet based on uplink forwarding process of the switch line card. The pseudo-Layer2header 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-Layer2header of the packet,and then may re-encapsulate a real Layer2header for the packet based on downlink forwarding process of the programmable line card,and transmit the packet through a corresponding egress interface. |