Patent ID: 8565597
Filing Date: 2013-10-22
Classification: H04L

Abstract:
1. A label switching method, comprising: when establishing a Passive Optical Network (PON)-based Label Switching Path (LSP) (PON-based LSP), establishing a PON logical service transmission channel between an Optical Line Terminal (OLT) and an Optical Network Unit (ONU), and according to an identifier (ID) of the PON logical service transmission channel as a PON label, updating a PON-based Forwarding Information Base (FIB) table on the ONU, and updating a PON-based Label Forwarding Information Base (LFIB) table on the OLT, wherein the PON-based LFIB table records a forwarding relationship between an ingress port plus an ingress label and an egress port plus an egress label, and the PON-based FIB table records a forwarding relationship between the ingress port plus a destination address and the egress port plus the egress label; and when a data packet arrives at the ONU, forwarding, by the ONU, according to the PON-based FIB table on the ONU, the data packet to the OLT, wherein the forwarding the data packet to the OLT comprises: converting the data packet to a packet with the PON label, and forwarding the packet with the PON label to the OLT, querying, by the OLT, the PON-based LFIB table according to an ingress PON interface as the ingress port and the ingress label of the received data packet, for performing label switching, and transmitting the packet to a next hop node according to the egress port and the egress label after the label switching; or when a data packet arrives at the OLT, querying, by the OLT, the PON-based LFIB table according to the ingress port and a Multi-protocol Label Switching (MPLS) label as the ingress label of the data packet, for performing label switching, transmitting the packet to the ONU according to an egress PON interface as the egress port and an egress PON label as the egress label, and forwarding, by the ONU, the received packet with the PON label according to the PON-based FIB table.